Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.*.swp
*.orig
*.bak
*.o
*.elf
*.hex
*.lst
9 changes: 9 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Version 1:

* *: Fork from https://github.com/maniacbug/mighty-1284p/.
* README.md: Update.
* .gitignore: Update.
* cores: Remove outdated copy of Arduino source tree.
* bootloaders: Build from source.
* variants: Remove alternative pinouts.
* variants/standard/pins_arduino.h: Correct NUM_DIGITAL_PINS.
17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ Everything you need to run Arduino on ATmega1284P.

## Current state

Everything is here and has been initially tested. It should work fine. There is more detailed testing which must be completed before calling it completely 'done' though.

The platform now includes optiboot. This bootloader is better in every way than the previous version, so it is recommended in all cases. The prior one is included for reference.
This is a fork of Maniacbug's work, which seems to have been abandoned. It uses upstream Arduino files as much as possible instead of (out of date) copies. It has been tested and is considered complete. Please report any bugs you may find.

## Installation

1. Download the [ZIP File](https://github.com/maniacbug/mighty-1284p/zipball/master)
2. Unzip it a folder called 'hardware' off your sketches directory, e.g. /Users/maniacbug/Source/Arduino/hardware/mighty-1284p
Recommended method: on your Debian system, install the package from the repository. Alternatively:

1. Download the [ZIP File](https://github.com/wijnen/mighty-1284p/zipball/master)
2. Unzip it a folder called 'hardware' in your sketchbook directory, e.g. ~/Arduino/hardware/mighty-1284p
3. Restart the IDE
4. Select Tools > Board > Mighty 1284p 16MHz using Optiboot
5. To burn the bootloader, follow the Arduino [Bootloader](http://arduino.cc/en/Hacking/Bootloader) instructions.
Expand All @@ -29,8 +29,5 @@ http://maniacbug.wordpress.com/2011/11/27/arduino-on-atmega1284p-4/

## Supported Boards

* 'Mighty 1284p 16MHz using Optiboot'. The main board. Use this unless you have some clear reason to use another board. This uses a straightforward pinout that is especially helpful on a breadboard-built unit.
* 'avr-developers.com pinouts 16MHz using Optiboot'. Some people prefer the pinouts from avr-developers.com. The classic pinouts.
* 'Bobuino'. CrossRoads' board built for maximum compatibility with Arduino Uno-class shields.
* 'Original Mighty 1284p 16MHz'. The very first bootloader I ever got working. Not recommended for use, but here as historical record.
* 'Original Mighty 1284p 8MHz'. Ditto, but runs at 8MHz.
* 'Mighty 1284p using Optiboot'.
* 'Original Mighty 1284p'. Uses a different booloader; if you have a board with this, burning optiboot is recommended.
67 changes: 4 additions & 63 deletions boards.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##############################################################

mighty_opt.name=Mighty 1284p 16MHz using Optiboot
mighty_opt.name=Mighty 1284p using Optiboot
mighty_opt.upload.protocol=arduino
mighty_opt.upload.maximum_size=130048
mighty_opt.upload.speed=115200
Expand All @@ -13,51 +13,12 @@ mighty_opt.bootloader.unlock_bits=0x3F
mighty_opt.bootloader.lock_bits=0x0F
mighty_opt.build.mcu=atmega1284p
mighty_opt.build.f_cpu=16000000L
#mighty_opt.build.core=arduino:arduino
mighty_opt.build.core=standard
mighty_opt.build.core=arduino:arduino
mighty_opt.build.variant=standard

##############################################################

avr_developers.name=avr-developers.com pinouts 16MHz using Optiboot
avr_developers.upload.protocol=arduino
avr_developers.upload.maximum_size=130048
avr_developers.upload.speed=115200
avr_developers.bootloader.low_fuses=0xff
avr_developers.bootloader.high_fuses=0xde
avr_developers.bootloader.extended_fuses=0xfd
avr_developers.bootloader.path=optiboot
avr_developers.bootloader.file=optiboot_atmega1284p.hex
avr_developers.bootloader.unlock_bits=0x3F
avr_developers.bootloader.lock_bits=0x0F
avr_developers.build.mcu=atmega1284p
avr_developers.build.f_cpu=16000000L
#avr_developers.build.core=arduino:arduino
avr_developers.build.core=standard
avr_developers.build.variant=avr_developers

##############################################################

bobuino.name=Bobuino
bobuino.upload.protocol=arduino
bobuino.upload.maximum_size=130048
bobuino.upload.speed=115200
bobuino.bootloader.low_fuses=0xff
bobuino.bootloader.high_fuses=0xde
bobuino.bootloader.extended_fuses=0xfd
bobuino.bootloader.path=optiboot
bobuino.bootloader.file=optiboot_atmega1284p.hex
bobuino.bootloader.unlock_bits=0x3F
bobuino.bootloader.lock_bits=0x0F
bobuino.build.mcu=atmega1284p
bobuino.build.f_cpu=16000000L
#bobuino.build.core=arduino:arduino
bobuino.build.core=standard
bobuino.build.variant=bobuino

##############################################################

mighty.name=Original Mighty 1284p 16MHz
mighty.name=Original Mighty 1284p
mighty.upload.protocol=stk500v1
mighty.upload.maximum_size=129024
mighty.upload.speed=57600
Expand All @@ -70,25 +31,5 @@ mighty.bootloader.unlock_bits=0x3F
mighty.bootloader.lock_bits=0x0F
mighty.build.mcu=atmega1284p
mighty.build.f_cpu=16000000L
#mighty.build.core=arduino:arduino
mighty.build.core=standard
mighty.build.core=arduino:arduino
mighty.build.variant=standard

##############################################################

mighty8.name=Original Mighty 1284p 8MHz
mighty8.upload.protocol=stk500v1
mighty8.upload.maximum_size=129024
mighty8.upload.speed=28800
mighty8.bootloader.low_fuses=0xff
mighty8.bootloader.high_fuses=0xdc
mighty8.bootloader.extended_fuses=0xfd
mighty8.bootloader.path=standard
mighty8.bootloader.file=ATmegaBOOT_1284P_8MHz.hex
mighty8.bootloader.unlock_bits=0x3F
mighty8.bootloader.lock_bits=0x0F
mighty8.build.mcu=atmega1284p
mighty8.build.f_cpu=8000000L
#mighty8.build.core=arduino:arduino
mighty8.build.core=standard
mighty8.build.variant=standard
Loading