Adjust GTM32 build flags (#16582)
This commit is contained in:
parent
a578749622
commit
6d1f6a9516
|
@ -442,11 +442,12 @@ src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
|
||||||
platform = ststm32
|
platform = ststm32
|
||||||
board = genericSTM32F103VE
|
board = genericSTM32F103VE
|
||||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
||||||
${common.build_flags} -DDEBUG_LEVEL=DEBUG_NONE -std=gnu++11 -MMD -ffunction-sections -fdata-sections -nostdlib
|
${common.build_flags} -DDEBUG_LEVEL=DEBUG_NONE -std=gnu++14 -MMD -ffunction-sections -fdata-sections -nostdlib
|
||||||
-DBOARD_generic_stm32f103v -DARDUINO_GENERIC_STM32F103V -DARDUINO_ARCH_STM32F1
|
-DBOARD_generic_stm32f103v -DARDUINO_GENERIC_STM32F103V -DARDUINO_ARCH_STM32F1
|
||||||
-DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DVECT_TAB_ADDR=0x8000000 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
-DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DVECT_TAB_ADDR=0x8000000 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
||||||
|
build_unflags = -std=gnu++11
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
||||||
lib_ignore = Adafruit NeoPixel, LiquidTWI2, SPI
|
lib_ignore = Adafruit NeoPixel, SPI
|
||||||
upload_protocol = serial
|
upload_protocol = serial
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue