🔨 STM32 build with -std=gnu++17 (#28188)

This commit is contained in:
Scott Lahteine 2025-11-24 19:55:30 -06:00 committed by GitHub
parent 46ee5b0a08
commit fe1d6f93e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,10 +13,10 @@
platform = ststm32@~12.1
#platform_packages = toolchain-gccarmnoneeabi@1.100301.220327 # Otherwise it's GCC 9.2.1
board_build.core = stm32
build_flags = ${common.build_flags} -std=gnu++14
build_flags = ${common.build_flags} -std=gnu++17
-DHAL_STM32 -DPLATFORM_M997_SUPPORT
-DUSBCON -DUSBD_USE_CDC -DTIM_IRQ_PRIO=13 -DADC_RESOLUTION=12
build_unflags = -std=gnu++11
build_unflags = -std=gnu++11 -std=gnu++14
build_src_filter = ${common.default_src_filter} +<src/HAL/STM32> -<src/HAL/STM32/tft> +<src/HAL/shared/backtrace>
extra_scripts = ${common.extra_scripts}
pre:buildroot/share/PlatformIO/scripts/stm32_serialbuffer.py