2022-08-08 21:11:19 +00:00
|
|
|
[env:pico]
|
|
|
|
extends = rp2040_base
|
2022-10-13 11:57:17 +00:00
|
|
|
board = rpipico
|
2022-08-08 21:11:19 +00:00
|
|
|
upload_protocol = picotool
|
|
|
|
|
|
|
|
# add our variants files to the include and src paths
|
|
|
|
build_flags = ${rp2040_base.build_flags}
|
2023-05-28 15:30:54 +00:00
|
|
|
-DRPI_PICO
|
2022-10-13 11:57:17 +00:00
|
|
|
-Ivariants/rpipico
|
2022-08-08 21:11:19 +00:00
|
|
|
-DDEBUG_RP2040_PORT=Serial
|
2023-05-23 21:19:36 +00:00
|
|
|
-DHW_SPI1_DEVICE
|
2024-05-16 13:08:59 +00:00
|
|
|
-L "${platformio.libdeps_dir}/${this.__env__}/bsec2/src/cortex-m0plus"
|
2022-08-08 21:11:19 +00:00
|
|
|
lib_deps =
|
2024-01-28 13:53:39 +00:00
|
|
|
${rp2040_base.lib_deps}
|
2024-11-16 00:20:20 +00:00
|
|
|
debug_build_flags = ${rp2040_base.build_flags}, -g
|
2024-01-28 13:53:39 +00:00
|
|
|
debug_tool = cmsis-dap ; for e.g. Picotool
|