cu-me-412/forward-pico/platformio.ini

36 lines
1.0 KiB
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 = https://github.com/platformio/platform-raspberrypi.git
;platform_packages =
; platformio/framework-arduino-mbed @ https://git.garykim.dev/gary-kim/ArduinoCore-mbed.git
board = pico
framework = arduino
lib_deps =
pololu/VL53L0X@^1.3.1
khoih-prog/RP2040_PWM@^1.3.1
nanopb/Nanopb
https://github.com/tobiglaser/RP2040-Encoder
densaugeo/base64@^1.4.0
upload_protocol = picotool
custom_nanopb_protos = +<proto/amr_comms.proto>
build_flags = -D PIO_FRAMEWORK_MBED_RTOS_PRESENT
[env:forward-pico]
build_flags = ${env.build_flags} -D FORWARD_PICO
[env:rear-pico]
build_flags = ${env.build_flags} -D REAR_PICO
[env:turret-pico]
build_flags = ${env.build_flags} -D TURRET_PICO