From 8431af2bff8bb01eb62a10f6da6b2476680dd841 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 29 Nov 2019 22:56:59 -0600 Subject: [PATCH] Add -fmerge-all-constants flag --- platformio.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index 7bd88b0a2..fb0697555 100644 --- a/platformio.ini +++ b/platformio.ini @@ -23,7 +23,7 @@ default_envs = megaatmega2560 [common] default_src_filter = + - - + 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 = U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip LiquidCrystal@1.3.4 @@ -109,7 +109,7 @@ board = sanguino_atmega1284p # [env:melzi] extends = env:sanguino_atmega1284p -build_flags = ${common.build_flags} -fmerge-all-constants +build_flags = ${common.build_flags} lib_ignore = TMCStepper upload_speed = 57600