Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BEAN and BPLUS targets for optiboot. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
11 changes: 11 additions & 0 deletions optiboot/bootloaders/optiboot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,17 @@ atmega328_pro8_isp: LFUSE ?= FF
atmega328_pro8_isp: EFUSE ?= 05
atmega328_pro8_isp: isp

bean: CHIP = atmega328
bean:
$(MAKE) $(CHIP) AVR_FREQ=8000000L LED_START_FLASHES=0
mv $(PROGRAM)_$(CHIP).hex $(PROGRAM)_BEAN.hex
mv $(PROGRAM)_$(CHIP).lst $(PROGRAM)_BEAN.lst
bplus: CHIP = atmega328
bplus:
$(MAKE) $(CHIP) AVR_FREQ=16000000L LED_START_FLASHES=0
mv $(PROGRAM)_$(CHIP).hex $(PROGRAM)_BPLUS.hex
mv $(PROGRAM)_$(CHIP).lst $(PROGRAM)_BPLUS.lst

#
# Include additional platforms
include Makefile.extras
Expand Down
30 changes: 30 additions & 0 deletions optiboot/bootloaders/optiboot/optiboot_BEAN.hex
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
:107E00001F92CDB7DEB7112484B714BE982F9D7092
:107E100009F0C4D082E08093C00088E18093C10063
:107E200086E08093C20088E08093C4008EE0A1D0F9
:107E3000812C912C93E0F92EEE24E39425E0D22EB0
:107E400031E1C32E8AD0813479F487D0898397D0E9
:107E50008981823811F482E005C0813811F486E00E
:107E600001C083E073D06FC0823411F484E103C099
:107E7000853419F485E08BD066C0853541F46DD02A
:107E8000882E6BD0912C982A880C991C5BC0863563
:107E900021F484E07CD080E0E5CF843609F036C060
:107EA0005CD05BD0B82E59D0A82E00E011E055D0A0
:107EB000F80181938F01BE12FACF61D0F5E4AF12C1
:107EC00001C0FFCFF401F7BEE89507B600FCFDCF77
:107ED000B401A0E0B1E02C911296AD0141505109DE
:107EE000FA01808130E0382BFB010901E7BEE895FB
:107EF00011246E5F7F4FBA12EECFF401D7BEE89522
:107F000007B600FCFDCFC7BEE8951DC0843769F4F5
:107F100024D023D0B82E21D032D08401F80185910D
:107F20008F0114D0BA94D1F70EC0853739F427D019
:107F30008EE10CD085E90AD08FE094CF813511F421
:107F400088E017D01CD080E101D07CCF9091C00098
:107F500095FFFCCF8093C60008958091C00087FFF5
:107F6000FCCF8091C00084FD01C0A8958091C6001F
:107F70000895E0E6F0E098E1908380830895EDDFD6
:107F8000803219F088E0F5DFFFCF84E1DFCFCF93B7
:107F9000C82FE3DFC150E9F7CF91F1CF282E80E061
:087FA000E8DFE0E0FF2709948F
:027FFE00020679
:0400000300007E007B
:00000001FF
Loading