Dont have one handy but here is the guts of what you need to do
install Sanguino support into arduino IDE see [
dustsreprap.blogspot.com]
Find where it installs the files
linux ~/.arduino15/packages/Sanguino/hardware/avr/1.0.2
winodws C:\Users\(username)\AppData\Local\Arduino15\packages\Sanguino\hardware\avr\1.0.2
edit the boards.txt file in this directory
add the following
## Gen7 with ATmega1284P and 20 MHz
sanguino.menu.cpu.atmega1284p_20m=Gen7 with ATmega1284P and 20 MHz
sanguino.menu.cpu.atmega1284p_20m.upload.maximum_size=129024
sanguino.menu.cpu.atmega1284p_20m.upload.maximum_data_size=16384
sanguino.menu.cpu.atmega1284p_20m.upload.speed=115200
sanguino.menu.cpu.atmega1284p_20m.build.mcu=atmega1284p
sanguino.menu.cpu.atmega1284p_20m.build.f_cpu=20000000L
sanguino.menu.cpu.atmega1284p_20m.upload.protocol=stk500v2
make sure you restart arduino ide to pick up the changes in the boards.txt file.
Set the arduino IDE board to sanguino and set the processor to "Gen7 with ATmega1284P and 20 MHz"
In marlin configuration.h set motherboard to BOARD_GEN7_14
This compiles, but I can't test uploads.
NB this is only for uploading firmware using existing installed bootloader ... more is needed to upload bootloader and set fuse values.
Edited 2 time(s). Last edit at 12/08/2018 09:48AM by Dust.