2024-07-26 01:16:21 +00:00
|
|
|
[stm32_base]
|
|
|
|
extends = arduino_base
|
|
|
|
platform = ststm32
|
2024-10-01 14:02:10 +00:00
|
|
|
platform_packages = platformio/framework-arduinoststm32@https://github.com/stm32duino/Arduino_Core_STM32.git#ea74156acd823b6d14739f389e6cdc648f8ee36e
|
2024-07-26 01:16:21 +00:00
|
|
|
|
|
|
|
build_type = release
|
|
|
|
|
|
|
|
;board_build.flash_offset = 0x08000000
|
|
|
|
|
|
|
|
build_flags =
|
|
|
|
${arduino_base.build_flags}
|
|
|
|
-flto
|
|
|
|
-Isrc/platform/stm32wl -g
|
|
|
|
-DMESHTASTIC_MINIMIZE_BUILD
|
2024-08-13 11:56:20 +00:00
|
|
|
-DMESHTASTIC_EXCLUDE_GPS
|
2024-07-26 01:16:21 +00:00
|
|
|
-DDEBUG_MUTE
|
|
|
|
; -DVECT_TAB_OFFSET=0x08000000
|
|
|
|
-DconfigUSE_CMSIS_RTOS_V2=1
|
|
|
|
; -DSPI_MODE_0=SPI_MODE0
|
|
|
|
-fmerge-all-constants
|
|
|
|
-ffunction-sections
|
|
|
|
-fdata-sections
|
|
|
|
|
|
|
|
build_src_filter =
|
2024-09-21 12:50:19 +00:00
|
|
|
${arduino_base.build_src_filter} -<platform/esp32/> -<nimble/> -<mesh/api/> -<mesh/wifi/> -<mesh/http/> -<modules/esp32> -<mesh/eth/> -<input> -<buzz> -<modules/RemoteHardwareModule.cpp> -<platform/nrf52> -<platform/portduino> -<platform/rp2xx0> -<mesh/raspihttp>
|
2024-07-26 01:16:21 +00:00
|
|
|
|
|
|
|
board_upload.offset_address = 0x08000000
|
|
|
|
upload_protocol = stlink
|
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|
|
|
|
charlesbaynham/OSFS@^1.2.3
|
2024-11-11 15:05:48 +00:00
|
|
|
jgromes/RadioLib@7.0.2
|
2024-07-26 01:16:21 +00:00
|
|
|
https://github.com/caveman99/Crypto.git#f61ae26a53f7a2d0ba5511625b8bf8eff3a35d5e
|
|
|
|
|
|
|
|
lib_ignore =
|
2024-11-11 15:05:48 +00:00
|
|
|
mathertel/OneButton@2.6.1
|
2024-08-13 01:31:45 +00:00
|
|
|
Wire
|