mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 18:29:56 +00:00
a0dd7b43d5
* Adding pico-extra utils * RP2040 can now go to deepsleep * First RP2040 DeepSleep code - TODO : do better and restore * FIX RAK11310 compilation (revert SDK + missing defines) --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
25 lines
890 B
INI
25 lines
890 B
INI
; Common settings for rp2040 Processor based targets
|
|
[rp2040_base]
|
|
platform = https://github.com/maxgerhardt/platform-raspberrypi.git#v1.2.0-gcc12
|
|
extends = arduino_base
|
|
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#4.0.3
|
|
|
|
board_build.core = earlephilhower
|
|
board_build.filesystem_size = 0.5m
|
|
build_flags =
|
|
${arduino_base.build_flags} -Wno-unused-variable -Wcast-align
|
|
-Isrc/platform/rp2xx0
|
|
-Isrc/platform/rp2xx0/hardware_rosc/include
|
|
-Isrc/platform/rp2xx0/pico_sleep/include
|
|
-D__PLAT_RP2040__
|
|
# -D _POSIX_THREADS
|
|
build_src_filter =
|
|
${arduino_base.build_src_filter} -<platform/esp32/> -<nimble/> -<modules/esp32> -<platform/nrf52/> -<platform/stm32wl> -<mesh/eth/> -<mesh/wifi/> -<mesh/http/> -<mesh/raspihttp>
|
|
|
|
lib_ignore =
|
|
BluetoothOTA
|
|
|
|
lib_deps =
|
|
${arduino_base.lib_deps}
|
|
${environmental_base.lib_deps}
|
|
rweather/Crypto |