From 6d1f6a95168fd36e6ca49fa0012ca308b9679771 Mon Sep 17 00:00:00 2001 From: Vertabreaker Date: Fri, 17 Jan 2020 03:46:50 -0500 Subject: [PATCH] Adjust GTM32 build flags (#16582) --- platformio.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index 2726ab7865..7689aea3c3 100644 --- a/platformio.ini +++ b/platformio.ini @@ -442,11 +442,12 @@ src_filter = ${common.default_src_filter} + platform = ststm32 board = genericSTM32F103VE 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 -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} + -lib_ignore = Adafruit NeoPixel, LiquidTWI2, SPI +lib_ignore = Adafruit NeoPixel, SPI upload_protocol = serial #