mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 18:29:56 +00:00
36 lines
1.0 KiB
INI
36 lines
1.0 KiB
INI
|
[stm32_base]
|
||
|
extends = arduino_base
|
||
|
platform = ststm32
|
||
|
platform_packages = platformio/framework-arduinoststm32@https://github.com/stm32duino/Arduino_Core_STM32.git#361a7fdb67e2a7104e99b4f42a802469eef8b129
|
||
|
|
||
|
build_type = release
|
||
|
|
||
|
;board_build.flash_offset = 0x08000000
|
||
|
|
||
|
build_flags =
|
||
|
${arduino_base.build_flags}
|
||
|
-flto
|
||
|
-Isrc/platform/stm32wl -g
|
||
|
-DMESHTASTIC_MINIMIZE_BUILD
|
||
|
-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 =
|
||
|
${arduino_base.build_src_filter} -<platform/esp32/> -<nimble/> -<mesh/api/> -<mesh/wifi/> -<mesh/http/> -<modules/esp32> -<mesh/eth/> -<input> -<buzz> -<modules/Telemetry> -<platform/nrf52> -<platform/portduino> -<platform/rp2040> -<mesh/raspihttp>
|
||
|
|
||
|
board_upload.offset_address = 0x08000000
|
||
|
upload_protocol = stlink
|
||
|
|
||
|
lib_deps =
|
||
|
${env.lib_deps}
|
||
|
charlesbaynham/OSFS@^1.2.3
|
||
|
https://github.com/caveman99/Crypto.git#f61ae26a53f7a2d0ba5511625b8bf8eff3a35d5e
|
||
|
|
||
|
lib_ignore =
|
||
|
mathertel/OneButton
|
||
|
Wire
|