2024-07-26 03:16:21 +02:00
|
|
|
[stm32_base]
|
|
|
|
|
extends = arduino_base
|
2025-02-19 19:14:54 -05:00
|
|
|
platform = platformio/ststm32
|
2025-02-19 20:32:38 +08:00
|
|
|
platform_packages = platformio/framework-arduinoststm32@^4.20900.0
|
2024-07-26 03:16:21 +02:00
|
|
|
|
|
|
|
|
build_type = release
|
|
|
|
|
|
|
|
|
|
;board_build.flash_offset = 0x08000000
|
|
|
|
|
|
|
|
|
|
build_flags =
|
|
|
|
|
${arduino_base.build_flags}
|
|
|
|
|
-flto
|
|
|
|
|
-Isrc/platform/stm32wl -g
|
2025-02-15 16:06:10 +01:00
|
|
|
-DMESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
|
|
|
|
|
-DMESHTASTIC_EXCLUDE_INPUTBROKER
|
|
|
|
|
-DMESHTASTIC_EXCLUDE_I2C
|
|
|
|
|
-DMESHTASTIC_EXCLUDE_POWERMON
|
|
|
|
|
-DMESHTASTIC_EXCLUDE_SCREEN
|
|
|
|
|
-DMESHTASTIC_EXCLUDE_MQTT
|
|
|
|
|
-DMESHTASTIC_EXCLUDE_BLUETOOTH
|
|
|
|
|
-DMESHTASTIC_EXCLUDE_PKI
|
2024-08-13 06:56:20 -05:00
|
|
|
-DMESHTASTIC_EXCLUDE_GPS
|
2024-07-26 03:16:21 +02:00
|
|
|
; -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 14:50:19 +02: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 03:16:21 +02:00
|
|
|
|
|
|
|
|
board_upload.offset_address = 0x08000000
|
|
|
|
|
upload_protocol = stlink
|
|
|
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
|
${env.lib_deps}
|
|
|
|
|
charlesbaynham/OSFS@^1.2.3
|
2024-11-11 16:05:48 +01:00
|
|
|
jgromes/RadioLib@7.0.2
|
2024-07-26 03:16:21 +02:00
|
|
|
https://github.com/caveman99/Crypto.git#f61ae26a53f7a2d0ba5511625b8bf8eff3a35d5e
|
|
|
|
|
|
|
|
|
|
lib_ignore =
|
2024-11-11 16:05:48 +01:00
|
|
|
mathertel/OneButton@2.6.1
|
2025-02-19 19:14:54 -05:00
|
|
|
Wire
|