mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-27 07:04:53 +00:00

* POC. Board definition JSON upcoming. Generic for now * side-effect: RP2040 is building again. * WIP Pico Targets * current state of affairs * ahem * POC. Board definition JSON upcoming. Generic for now * side-effect: RP2040 is building again. * WIP Pico Targets * current state of affairs * ahem * fmt * update toolkit and fmt * Add built in LED pin * Use arduino pins * init SPI bus on right pins. * Use SPI1 and control chip select manually * Use macro define for SPI selection. This needs to be defined in the ini file since portduino needs it inside the framework source * Remove manual CS; works when not using setCS() * Remove whoopsie debug line * we are not ARDUINO_AVR_NANO_EVERY any more * fix rp2040 compilation * fix RadioLibHAL * Use new arduino-pico core * Use cortex-m0plus for BSEC2 library * Forgot RAK11310 target for BSEC2 library * That branch was merged * RAK11310 is working too --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com> Co-authored-by: GUVWAF <thijs@havinga.eu>
24 lines
933 B
INI
24 lines
933 B
INI
; Common settings for rp2040 Processor based targets
|
|
[rp2040_base]
|
|
platform = https://github.com/maxgerhardt/platform-raspberrypi.git#0c33219f53faa035e188925ea1324f472e8b93d2
|
|
extends = arduino_base
|
|
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#652f9f9eda0d77efeafebc7c1ff5cd45defc71bf
|
|
|
|
board_build.core = earlephilhower
|
|
board_build.filesystem_size = 0.5m
|
|
build_flags =
|
|
${arduino_base.build_flags} -Wno-unused-variable
|
|
-Isrc/platform/rp2040
|
|
-D__PLAT_RP2040__
|
|
# -D _POSIX_THREADS
|
|
build_src_filter =
|
|
${arduino_base.build_src_filter} -<platform/esp32/> -<nimble/> -<mesh/api/> -<mesh/http/> -<modules/esp32> -<mqtt/> -<platform/nrf52/> -<platform/stm32wl> -<mesh/eth/>
|
|
|
|
lib_ignore =
|
|
BluetoothOTA
|
|
|
|
lib_deps =
|
|
${arduino_base.lib_deps}
|
|
${environmental_base.lib_deps}
|
|
jgromes/RadioLib@^6.0.0
|
|
https://github.com/kokke/tiny-AES-c.git#f06ac37fc31dfdaca2e0d9bec83f90d5663c319b |