1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 12:04:19 +00:00

🔨 Melzi with OptiBoot build (#22630)

This commit is contained in:
DerAndere 2021-08-26 01:05:06 +02:00 committed by GitHub
parent 181530db76
commit 88816548b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 2 deletions

View File

@ -329,7 +329,7 @@
#elif MB(OMCA)
#include "sanguino/pins_OMCA.h" // ATmega644P, ATmega644 env:sanguino644p
#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)
#include "sanguino/pins_SETHI.h" // ATmega644P, ATmega644, ATmega1284P env:sanguino1284p_optimized env:sanguino1284p env:sanguino644p

View File

@ -86,8 +86,24 @@
* 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__)
#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
#define BOARD_INFO_NAME "Anet 1.0"

View File

@ -141,6 +141,7 @@ platform = atmelavr
extends = common_avr8
board = sanguino_atmega1284p
upload_speed = 115200
board_upload.maximum_size = 130048
#
# Melzi and clones (Zonestar Melzi2 with tuned flags)