Add -fmerge-all-constants flag

2.0.x
Scott Lahteine 5 years ago
parent f83bc0aa13
commit 8431af2bff

@ -23,7 +23,7 @@ default_envs = megaatmega2560
[common] [common]
default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared> default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
extra_scripts = pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py extra_scripts = pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py
build_flags = -fmax-errors=5 -g -D__MARLIN_FIRMWARE__ build_flags = -fmax-errors=5 -g -D__MARLIN_FIRMWARE__ -fmerge-all-constants
lib_deps = lib_deps =
U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
LiquidCrystal@1.3.4 LiquidCrystal@1.3.4
@ -109,7 +109,7 @@ board = sanguino_atmega1284p
# #
[env:melzi] [env:melzi]
extends = env:sanguino_atmega1284p extends = env:sanguino_atmega1284p
build_flags = ${common.build_flags} -fmerge-all-constants build_flags = ${common.build_flags}
lib_ignore = TMCStepper lib_ignore = TMCStepper
upload_speed = 57600 upload_speed = 57600

Loading…
Cancel
Save