Skip to content

Commit

Permalink
FIx MarlinFirmware#18501 Incorrect sanguino_atmega1284p board_upload …
Browse files Browse the repository at this point in the history
…maximum_size
  • Loading branch information
ellensp authored and ellensp committed Jul 2, 2020
1 parent bfcf7ac commit 98a08e9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
[platformio]
src_dir = Marlin
boards_dir = buildroot/share/PlatformIO/boards
default_envs = mega2560
default_envs = sanguino1284p

#
# The 'common' values are used for most Marlin builds
Expand Down 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

0 comments on commit 98a08e9

Please sign in to comment.