FIx Sanguino/1284p board_upload.maximum_size (#18502)

2.0.x
ellensp 4 years ago committed by GitHub
parent 382c566a77
commit bb89e33e24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -147,6 +147,7 @@ board = sanguino_atmega644p
platform = atmelavr platform = atmelavr
extends = common_avr8 extends = common_avr8
board = sanguino_atmega1284p board = sanguino_atmega1284p
board_upload.maximum_size = 126976
# #
# Melzi and clones (ATmega1284p) # Melzi and clones (ATmega1284p)
@ -157,13 +158,16 @@ extends = common_avr8
board = sanguino_atmega1284p board = sanguino_atmega1284p
lib_ignore = TMCStepper lib_ignore = TMCStepper
upload_speed = 57600 upload_speed = 57600
board_upload.maximum_size = 126976
# #
# Melzi and clones (Optiboot bootloader) # Melzi and clones (Optiboot bootloader)
# #
[env:melzi_optiboot] [env:melzi_optiboot]
platform = atmelavr platform = atmelavr
extends = env:melzi extends = common_avr8
board = sanguino_atmega1284p
lib_ignore = TMCStepper
upload_speed = 115200 upload_speed = 115200
# #
@ -171,8 +175,7 @@ upload_speed = 115200
# #
[env:melzi_optimized] [env:melzi_optimized]
platform = atmelavr platform = atmelavr
extends = env:melzi extends = env:melzi_optiboot
upload_speed = 115200
build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
build_unflags = -g -ggdb build_unflags = -g -ggdb

Loading…
Cancel
Save