mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-12-27 09:59:52 -07:00
🔨 STM32 build with -std=gnu++17 (#28188)
This commit is contained in:
parent
46ee5b0a08
commit
fe1d6f93e2
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue