mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-23 00:58:14 +00:00
32 lines
893 B
INI
32 lines
893 B
INI
[env:pico2w]
|
|
extends = rp2350_base
|
|
board = rpipico2w
|
|
upload_protocol = jlink
|
|
# debug settings for external openocd with RP2040 support (custom build)
|
|
debug_tool = custom
|
|
debug_init_cmds =
|
|
target extended-remote localhost:3333
|
|
$INIT_BREAK
|
|
monitor reset halt
|
|
$LOAD_CMDS
|
|
monitor init
|
|
monitor reset halt
|
|
|
|
# add our variants files to the include and src paths
|
|
build_flags = ${rp2350_base.build_flags}
|
|
-DRPI_PICO2
|
|
-Ivariants/rpipico2w
|
|
# -DDEBUG_RP2040_PORT=Serial
|
|
-DHW_SPI1_DEVICE
|
|
-DARDUINO_RASPBERRY_PI_PICO_2W
|
|
-DARDUINO_ARCH_RP2040
|
|
-DHAS_WIFI=1
|
|
-L "${platformio.libdeps_dir}/${this.__env__}/bsec2/src/cortex-m33"
|
|
-fexceptions # for exception handling in MQTT
|
|
-DHAS_UDP_MULTICAST=1
|
|
build_src_filter = ${rp2350_base.build_src_filter} +<mesh/wifi/>
|
|
lib_deps =
|
|
${rp2350_base.lib_deps}
|
|
${networking_base.lib_deps}
|
|
debug_build_flags = ${rp2350_base.build_flags}, -g
|