🔨 Build flag tweaks

This commit is contained in:
Scott Lahteine
2023-12-21 22:35:51 -06:00
parent 2c5468ce33
commit ec7ab5a277
3 changed files with 9 additions and 8 deletions

View File

@@ -14,8 +14,8 @@
#
[common_avr8]
platform = atmelavr@~4.0.1
build_flags = ${common.build_flags} -Wl,--relax
build_src_flags = -std=gnu++1z
build_flags = ${common.build_flags} -std=gnu++1z -Wl,--relax
build_unflags = -std=gnu++11
board_build.f_cpu = 16000000L
build_src_filter = ${common.default_src_filter} +<src/HAL/AVR>

View File

@@ -326,7 +326,7 @@ extends = STM32F1_maple
board = marlin_malyanM200
build_flags = ${STM32F1_maple.build_flags}
-DMCU_STM32F103CB -D__STM32F1__=1 -std=c++1y -DSERIAL_USB -ffunction-sections -fdata-sections
-Wl,--gc-sections -DDEBUG_LEVEL=0 -D__MARLIN_FIRMWARE__
-Wl,--gc-sections -DDEBUG_LEVEL=0
lib_ignore = ${STM32F1_maple.lib_ignore}
SoftwareSerialM