From 0838a4eb18086ac0d03612b977a451a9286a34f2 Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Sun, 7 Jul 2013 06:18:21 +0000 Subject: [PATCH] automatically switch on powersupply; boards.txt for our bootloader on mainboard --- arduino_sanguino/boards.txt | 65 +++++++++++++++++++++++++++++++++++++++++++ teacup_firmware/config.h | 2 +- 2 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 arduino_sanguino/boards.txt diff --git a/arduino_sanguino/boards.txt b/arduino_sanguino/boards.txt new file mode 100644 index 0000000..fa3a975 --- /dev/null +++ b/arduino_sanguino/boards.txt @@ -0,0 +1,65 @@ +############################################################ + +atmega644.name=Sanguino W/ ATmega644P + +atmega644.upload.protocol=arduino +##atmega644.upload.protocol=stk500 +atmega644.upload.maximum_size=63488 +atmega644.upload.speed=115200 +##atmega644.upload.speed=57600 + +atmega644.bootloader.low_fuses=0xFF +atmega644.bootloader.high_fuses=0x9A +atmega644.bootloader.extended_fuses=0xFF +atmega644.bootloader.path=atmega +atmega644.bootloader.file=ATmegaBOOT_168_atmega644p.hex +#atmega644.bootloader.file=ATmegaBOOT_644P.hex +atmega644.bootloader.unlock_bits=0x3F +atmega644.bootloader.lock_bits=0x0F + +atmega644.build.mcu=atmega644p +atmega644.build.f_cpu=16000000L +atmega644.build.core=arduino +atmega644.build.variant=standard +############################################################## + +atmega12848m.name=Sanguino W/ ATmega1284p 8mhz + +atmega12848m.upload.protocol=stk500 +atmega12848m.upload.maximum_size=131072 +atmega12848m.upload.speed=19200 + +atmega12848m.bootloader.low_fuses=0xFD +atmega12848m.bootloader.high_fuses=0x9A +atmega12848m.bootloader.extended_fuses=0xFF +atmega12848m.bootloader.path=atmega +atmega12848m.bootloader.file=ATmegaBOOT_168_atmega1284p_8m.hex +atmega12848m.bootloader.unlock_bits=0x3F +atmega12848m.bootloader.lock_bits=0x0F + +atmega12848m.build.mcu=atmega1284p +atmega12848m.build.f_cpu=8000000L +atmega12848m.build.core=arduino +atmega12848m.build.variant=standard + +############################################################## + +atmega1284.name=Sanguino W/ ATmega1284p 16mhz + +atmega1284.upload.protocol=stk500 +atmega1284.upload.maximum_size=131072 +atmega1284.upload.speed=57600 + +atmega1284.bootloader.low_fuses=0xFF +atmega1284.bootloader.high_fuses=0x9A +atmega1284.bootloader.extended_fuses=0xFF +atmega1284.bootloader.path=atmega +atmega1284.bootloader.file=ATmegaBOOT_168_atmega1284p.hex +atmega1284.bootloader.unlock_bits=0x3F +atmega1284.bootloader.lock_bits=0x0F + +atmega1284.build.mcu=atmega1284p +atmega1284.build.f_cpu=16000000L +atmega1284.build.core=arduino +atmega1284.build.variant=standard +# diff --git a/teacup_firmware/config.h b/teacup_firmware/config.h index 564ff71..9a32a76 100644 --- a/teacup_firmware/config.h +++ b/teacup_firmware/config.h @@ -258,7 +258,7 @@ #define SD_WRITE_PROTECT DIO3 //#define PS_ON_PIN DIO14 -#define PS_ON_PIN PD4 // on TechZoneComm Motherboard, JTAG Port, TDI Pin +#define PS_ON_PIN PC5 // on TechZoneComm Motherboard, JTAG Port, TDI Pin //#define STEPPER_ENABLE_PIN xxxx //#define STEPPER_INVERT_ENABLE -- 1.7.10.4