Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIx #18501 Incorrect sanguino_atmega1284p board_upload maximum_size #18502

Merged
merged 2 commits into from
Jul 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ board = sanguino_atmega644p
platform = atmelavr
extends = common_avr8
board = sanguino_atmega1284p
board_upload.maximum_size = 126976

#
# Melzi and clones (ATmega1284p)
Expand All @@ -157,22 +158,24 @@ extends = common_avr8
board = sanguino_atmega1284p
lib_ignore = TMCStepper
upload_speed = 57600
board_upload.maximum_size = 126976

#
# Melzi and clones (Optiboot bootloader)
#
[env:melzi_optiboot]
platform = atmelavr
extends = env:melzi
extends = common_avr8
board = sanguino_atmega1284p
lib_ignore = TMCStepper
upload_speed = 115200

#
# Melzi and clones (Zonestar Melzi2 with tuned flags)
#
[env:melzi_optimized]
platform = atmelavr
extends = env:melzi
upload_speed = 115200
extends = env:melzi_optiboot
build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
build_unflags = -g -ggdb

Expand Down