1
0
Fork 0
Projet_Barbapapa_Firmware/platformio.ini
Teo-CD 73d80312aa Build: Introduce prod/dev environments
Platformio supports multiple environments and sharing a global configuration.
Make use of this to easily allow switching between the production build, with HID,
and the development build, with serial.

Update the README with information on how to build those environments.
2023-12-17 21:18:58 +00:00

25 lines
638 B
INI

; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env]
platform = teensy
board = teensy41
framework = arduino
lib_deps =
computer991/Arduino_MFRC522v2
adafruit/Adafruit PCD8544 Nokia 5110 LCD library
adafruit/Adafruit GFX Library
adafruit/Adafruit BusIO
[env:dev]
[env:prod]
build_flags = -D USB_RAWHID