mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-22 18:25:18 +00:00
Add -fmerge-all-constants flag
This commit is contained in:
parent
f83bc0aa13
commit
8431af2bff
@ -23,7 +23,7 @@ default_envs = megaatmega2560
|
||||
[common]
|
||||
default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user