🔨 Melzi with OptiBoot build (#22630)
This commit is contained in:
parent
a0ebe7c8ff
commit
22fdfa9629
|
@ -329,7 +329,7 @@
|
||||||
#elif MB(OMCA)
|
#elif MB(OMCA)
|
||||||
#include "sanguino/pins_OMCA.h" // ATmega644P, ATmega644 env:sanguino644p
|
#include "sanguino/pins_OMCA.h" // ATmega644P, ATmega644 env:sanguino644p
|
||||||
#elif MB(ANET_10)
|
#elif MB(ANET_10)
|
||||||
#include "sanguino/pins_ANET_10.h" // ATmega1284P env:sanguino1284p env:sanguino1284p_optimized
|
#include "sanguino/pins_ANET_10.h" // ATmega1284P env:sanguino1284p env:sanguino1284p_optimized env:melzi_optiboot
|
||||||
#elif MB(SETHI)
|
#elif MB(SETHI)
|
||||||
#include "sanguino/pins_SETHI.h" // ATmega644P, ATmega644, ATmega1284P env:sanguino1284p_optimized env:sanguino1284p env:sanguino644p
|
#include "sanguino/pins_SETHI.h" // ATmega644P, ATmega644, ATmega1284P env:sanguino1284p_optimized env:sanguino1284p env:sanguino644p
|
||||||
|
|
||||||
|
|
|
@ -86,8 +86,24 @@
|
||||||
* Many thanks to Hans Raaf (@oderwat) for developing the Anet-specific software and supporting the Anet community.
|
* Many thanks to Hans Raaf (@oderwat) for developing the Anet-specific software and supporting the Anet community.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* OptiBoot Bootloader:
|
||||||
|
* Optiboot is an alternative bootloader that can be flashed on the board to free up space for a larger firmware build.
|
||||||
|
* See https://github.com/Optiboot/optiboot for more information.
|
||||||
|
*
|
||||||
|
* Install Marlin with Arduino IDE:
|
||||||
|
* For a board with the stock bootloader, select 'Sanguino' in 'Tools > Board' and 'ATmega1284P' in 'Tools > Processor.'
|
||||||
|
* For a board with OptiBoot, select 'Sanguino (Optiboot)' in 'Tools > Board' and 'ATmega1284P' in 'Tools > Processor.'
|
||||||
|
*
|
||||||
|
* Install Marlin with PlatformIO IDE:
|
||||||
|
* (NOTE: You can set a default build environment by editing the value of 'default_env' in 'platformio.ini'.
|
||||||
|
* For the best user experience install the "Auto Build Marlin" extension.)
|
||||||
|
* For a board with the stock bootloader use Build / Upload under the 'sanguino1284p' or 'sanguino1284p_optimized' target.
|
||||||
|
* For a board with OptiBoot, use Build / Upload under the 'melzi_optiboot' target.
|
||||||
|
*/
|
||||||
|
|
||||||
#if NOT_TARGET(__AVR_ATmega1284P__)
|
#if NOT_TARGET(__AVR_ATmega1284P__)
|
||||||
#error "Oops! Select 'Sanguino' in 'Tools > Board' and 'ATmega1284P' in 'Tools > Processor.' (For PlatformIO, use 'melzi' or 'melzi_optiboot.')"
|
#error "Oops! Select 'Sanguino' in 'Tools > Board' and 'ATmega1284P' in 'Tools > Processor.' (For PlatformIO, use 'sanguino1284p' or 'sanguino1284p_optimized'. With optiboot, use 'melzi_optiboot.')"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BOARD_INFO_NAME "Anet 1.0"
|
#define BOARD_INFO_NAME "Anet 1.0"
|
||||||
|
|
|
@ -141,6 +141,7 @@ platform = atmelavr
|
||||||
extends = common_avr8
|
extends = common_avr8
|
||||||
board = sanguino_atmega1284p
|
board = sanguino_atmega1284p
|
||||||
upload_speed = 115200
|
upload_speed = 115200
|
||||||
|
board_upload.maximum_size = 130048
|
||||||
|
|
||||||
#
|
#
|
||||||
# Melzi and clones (Zonestar Melzi2 with tuned flags)
|
# Melzi and clones (Zonestar Melzi2 with tuned flags)
|
||||||
|
|
Loading…
Reference in a new issue