2023-05-23 21:19:36 +00:00
|
|
|
[env:rak11310]
|
|
|
|
extends = rp2040_base
|
|
|
|
board = wiscore_rak11300
|
|
|
|
upload_protocol = picotool
|
2024-10-08 10:24:37 +00:00
|
|
|
# keep an old SDK to use less memory.
|
2024-11-16 00:20:20 +00:00
|
|
|
platform = https://github.com/maxgerhardt/platform-raspberrypi.git#v1.2.0-gcc12
|
2024-10-08 10:24:37 +00:00
|
|
|
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#3.7.2
|
2023-05-23 21:19:36 +00:00
|
|
|
|
|
|
|
# add our variants files to the include and src paths
|
|
|
|
build_flags = ${rp2040_base.build_flags}
|
2023-05-28 15:30:54 +00:00
|
|
|
-DRAK11310
|
2023-05-23 21:19:36 +00:00
|
|
|
-Ivariants/rak11310
|
|
|
|
-DDEBUG_RP2040_PORT=Serial
|
2024-05-16 13:08:59 +00:00
|
|
|
-L "${platformio.libdeps_dir}/${this.__env__}/bsec2/src/cortex-m0plus"
|
2024-12-31 12:36:49 +00:00
|
|
|
build_src_filter = ${rp2040_base.build_src_filter} +<../variants/rak11310> +<mesh/eth/> +<mesh/api/> +<mqtt/>
|
2023-05-23 21:19:36 +00:00
|
|
|
lib_deps =
|
2024-01-28 13:53:39 +00:00
|
|
|
${rp2040_base.lib_deps}
|
2024-12-31 12:36:49 +00:00
|
|
|
${networking_base.lib_deps}
|
|
|
|
https://github.com/RAKWireless/RAK13800-W5100S.git#1.0.2
|
2024-11-16 00:20:20 +00:00
|
|
|
debug_build_flags = ${rp2040_base.build_flags}, -g
|
2024-12-31 12:36:49 +00:00
|
|
|
debug_tool = cmsis-dap ; for e.g. Picotool
|