2024-07-26 01:16:21 +00:00
|
|
|
[stm32_base]
|
|
|
|
extends = arduino_base
|
2025-04-09 17:31:40 +00:00
|
|
|
platform =
|
|
|
|
# renovate: datasource=custom.pio depName=platformio/ststm32 packageName=platformio/platform/ststm32
|
|
|
|
platformio/ststm32@19.1.0
|
|
|
|
platform_packages =
|
|
|
|
# TODO renovate
|
|
|
|
platformio/framework-arduinoststm32@https://github.com/stm32duino/Arduino_Core_STM32/archive/2.10.1.zip
|
2025-03-21 15:12:27 +00:00
|
|
|
extra_scripts =
|
|
|
|
${env.extra_scripts}
|
|
|
|
post:extra_scripts/extra_stm32.py
|
2024-07-26 01:16:21 +00:00
|
|
|
|
|
|
|
build_type = release
|
|
|
|
|
2025-03-21 15:12:27 +00:00
|
|
|
build_flags =
|
2024-07-26 01:16:21 +00:00
|
|
|
${arduino_base.build_flags}
|
|
|
|
-flto
|
|
|
|
-Isrc/platform/stm32wl -g
|
2025-02-15 15:06:10 +00:00
|
|
|
-DMESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
|
|
|
|
-DMESHTASTIC_EXCLUDE_INPUTBROKER
|
|
|
|
-DMESHTASTIC_EXCLUDE_I2C
|
|
|
|
-DMESHTASTIC_EXCLUDE_POWERMON
|
|
|
|
-DMESHTASTIC_EXCLUDE_SCREEN
|
|
|
|
-DMESHTASTIC_EXCLUDE_MQTT
|
|
|
|
-DMESHTASTIC_EXCLUDE_BLUETOOTH
|
2024-08-13 11:56:20 +00:00
|
|
|
-DMESHTASTIC_EXCLUDE_GPS
|
2025-03-21 15:12:27 +00:00
|
|
|
;-DDEBUG_MUTE
|
2024-07-26 01:16:21 +00:00
|
|
|
-fmerge-all-constants
|
|
|
|
-ffunction-sections
|
|
|
|
-fdata-sections
|
2025-03-21 15:12:27 +00:00
|
|
|
|
|
|
|
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
|
2025-03-21 15:12:27 +00:00
|
|
|
debug_tool = stlink
|
2024-07-26 01:16:21 +00:00
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|
2025-03-21 15:12:27 +00:00
|
|
|
${radiolib_base.lib_deps}
|
2025-04-09 17:31:40 +00:00
|
|
|
# renovate: datasource=git-refs depName=caveman99-stm32-Crypto packageName=https://github.com/caveman99/Crypto gitBranch=main
|
2025-03-29 11:19:05 +00:00
|
|
|
https://github.com/caveman99/Crypto/archive/eae9c768054118a9399690f8af202853d1ae8516.zip
|
2024-07-26 01:16:21 +00:00
|
|
|
|
|
|
|
lib_ignore =
|
2024-11-11 15:05:48 +00:00
|
|
|
mathertel/OneButton@2.6.1
|
2025-03-21 15:12:27 +00:00
|
|
|
Wire
|