Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add Leonard Pirate (32U4) support

you can make with "make BOARD=LEONARDPIRATE"
  • Loading branch information...
commit e70cb3c33acba0a3db8cbd99fd20fb13ad56ed2c 1 parent 882079f
@ytsuboi ytsuboi authored
View
1  .gitignore
@@ -0,0 +1 @@
+.DS_Store
View
537 precompiled/ninja-leonard-pirate-atmega32u4.hex
@@ -0,0 +1,537 @@
+:1000000075C1000090C100008EC100008CC10000CD
+:100010008AC1000088C1000086C1000084C10000C0
+:1000200082C1000080C1000018C700007CC1000030
+:100030007AC1000078C1000076C1000074C10000E0
+:1000400072C1000070C100006EC100006CC10000F0
+:100050006AC1000068C1000066C100000C94280C51
+:1000600062C1000060C100005EC100005CC1000010
+:100070005AC1000058C1000056C1000054C1000020
+:1000800052C1000050C100004EC100004CC1000030
+:100090004AC1000048C1000046C1000044C1000040
+:1000A00042C1000040C100003EC1000009023E0004
+:1000B000020100C03209040000010202010005240F
+:1000C000000110042402060524060001070581032F
+:1000D0000800FF09040100020A00000007050302EE
+:1000E000100000070582021000001201100100003C
+:1000F0000008EB034420000001020001040309048E
+:100100001803530074006F006E00650079004C0006
+:1001100061006200730000001C0342007500730060
+:100120004E0069006E006A00610000004E4F0049F9
+:10013000324320524541443A20004932432053542F
+:1001400041525420434F4E444954494F4E004E4172
+:10015000434B004E4F005945530020474F54204118
+:10016000434B3A20004932432057524954453A20E4
+:1001700000594553004E4F0020474F542041434BF8
+:100180003A20004932432057524954453A20004909
+:10019000324320535441525420434F4E4449544912
+:1001A0004F4E004932432053544F5020434F4E444A
+:1001B0004954494F4E004E4F004932432052454169
+:1001C000443A20004932432053544F5020434F4E6D
+:1001D000444954494F4E004E4F0059455300204763
+:1001E0004F542041434B3A20004932432057524953
+:1001F00054453A20004932432053544F5020434F36
+:100200004E444954494F4E004F4B004E41434B0022
+:10021000493243204F50454E00524541443A203028
+:10022000780057524954453A2030780043532044CF
+:10023000495341424C454400435320454E41424CB2
+:10024000454400510255025902600267026E02875E
+:100250000201FF000001FFFFFF02FF0000FFFFFFA0
+:100260000220000020FFFF02FF000010FFFF081027
+:1002700080D910D9FF10FFD910D9801080271027FE
+:10028000001000271027800240FF804080FF3E20A2
+:1002900000426164436D64004572726F720076655E
+:1002A0007273696F6E0068656C70006C65640072D3
+:1002B000657365740073706900693263009E02ADF6
+:1002C0000FA602790FAB024B0FAF02480FB50243E6
+:1002D0000FB9023E0F0000000031303132313140A1
+:1002E00030333A35312D796F7368690011241FBEA0
+:1002F000CFEFDAE0DEBFCDBF11E0A0E0B1E0E6E392
+:10030000F1E202C005900D92A633B107D9F711E0D2
+:10031000A6E3B1E001C01D92AA3AB107E1F70E943D
+:10032000410A0C9499106CCE089590933A018093F1
+:1003300039010895909338018093370108959230E0
+:1003400049F0933061F09130E9F422E130E08AEE37
+:1003500090E01CC02EE330E08CEA90E017C08130C2
+:1003600041F0813018F0823069F406C08CEF90E0E3
+:1003700005C080E091E002C088E191E0FC01249199
+:1003800030E004C020E030E080E090E0FA019183AA
+:100390008083C901089580E091E07DC180E091E013
+:1003A00036C10F931F93DF93CF930F92CDB7DEB774
+:1003B00089830E94300B00E011E0C8016981FBD005
+:1003C000C801D2D00AD60F90CF91DF911F910F9123
+:1003D00008951F9380913601882301F110E013C026
+:1003E000E0913701F09138013097A9F00995882301
+:1003F00091F080E091E063D0E0913901F0913A0111
+:10040000309749F009951F5F113129F080E091E0A4
+:1004100024D0009729F780E091E0A6D01F9108959D
+:1004200080E090E00C94820C80933601882351F098
+:1004300081ED91E00E94820C87E99CE076DF87E7FE
+:100440009CE009C080E090E00E94820C80E090E097
+:100450006CDF80E090E06ECF0895FC018091A101F7
+:10046000843049F587859089A189B2890097A105D3
+:10047000B10509F185818093E9008091E80082FF50
+:100480001AC03091F3002091F200932F80E0009782
+:1004900041F4222331F48091E8008B778093E800C7
+:1004A0000AC03091F3002091F200932F80E030E0F9
+:1004B000282B392B02C020E030E0C9010895FC014F
+:1004C0008091A1018430F1F487859089A189B28956
+:1004D0000097A105B105B1F085818093E900809175
+:1004E000F1004091F3009091F200342F20E02115AB
+:1004F000310549F4992339F49091E8009B77909362
+:10050000E800089580E00895FC018091A101843005
+:1005100039F587859089A189B2890097A105B10530
+:10052000F9F081818093E9003091F3002091F2008D
+:10053000932F80E0009711F42223A1F09091E8001E
+:100540008091E8008E778093E80095FD0BC0CCD2B7
+:10055000882349F49091E8009E779093E8000895ED
+:1005600082E0089580E008952091A101243011F5E2
+:10057000FC012785308941895289211531054105C2
+:100580005105C1F025812093E9002091E80022FF68
+:1005900010C05091F3004091F200352F20E021155A
+:1005A000310539F4442329F42091E8002B77209376
+:1005B000E800AACF0895DF93CF930F92CDB7DEB7AF
+:1005C000FC018091A1018430E9F487859089A1899B
+:1005D000B2890097A105B105A9F081818093E90056
+:1005E0008091E80085FD0AC08091E8008E778093B5
+:1005F000E800698379D26981882329F46093F10046
+:1006000080E001C082E00F90CF91DF9108950F93B9
+:100610001F93CF93DF93EC010D96FC0189E0DF017E
+:100620001D928A95E9F709818C81882311F412E0E3
+:1006300001C016E08A819B81FED1482F412B802F7B
+:1006400061E807D2882309F10D818885882311F498
+:1006500012E001C016E08E819F81EDD1482F412B21
+:10066000802F60E8F6D1882381F009858C85882366
+:1006700011F412E001C016E08A859B85DCD1482F79
+:10068000412B802F61ECE5D101C080E0DF91CF915B
+:100690001F910F910895CF93DF93EC018091E800B3
+:1006A00083FF60C0888190E02091A6013091A7016E
+:1006B0002817390709F056C08091A301813261F0F3
+:1006C000823220F4803209F04DC019C0823269F1C3
+:1006D000833209F047C038C08091A201813A09F005
+:1006E00041C08091E800877F8093E800CE010F969B
+:1006F00067E070E02AD28091E8008B7713C0809188
+:10070000A201813279F58091E800877F8093E8002B
+:10071000CE010F9667E070E0D8D2CE019DDE8091C9
+:10072000E8008E778093E8001DC08091A20181329D
+:10073000C9F48091E800877F8093E8008091A4014C
+:100740008D87CE0189DE0DC08091A201813251F4E6
+:100750008091E800877F8093E800CE016091A4013A
+:100760007BDEA1D1DF91CF91089520913B01213013
+:1007700019F020E030E002C0E2DD9C01C9010895DB
+:1007800080913B01813009F406CE089580913B01B0
+:10079000813009F403CE089510923C0180913B0111
+:1007A000813011F480E040CE089581E080933C01D7
+:1007B00080913B01813009F437CE089580913C014E
+:1007C000882329F080913B01813009F402DE05C4C1
+:1007D0001F93182F80913B01813009F421DE809115
+:1007E0003B01882309F00FD310933B01113009F42A
+:1007F0009BDDFFD21F9108951F93DF93CF9300D00D
+:10080000CDB7DEB7E2EAF1E08091F100819381E0BB
+:10081000EA3AF807C9F79091A2018091A3018530C7
+:1008200009F489C0863040F48130C1F1813070F024
+:10083000833009F0EBC032C0883009F4BCC0893085
+:1008400009F4CBC0863009F0E1C095C0903821F0A2
+:10085000923809F0DBC008C080919D0190919E0103
+:10086000992391F0826010C08091A60187708093D7
+:10087000E9008091EB0090E025E0969587952A9518
+:10088000E1F781701092E9009091E800977F9093D2
+:10089000E8008093F1001092F10098C0992319F0BC
+:1008A000923009F0B3C0292F30E02F71307021153C
+:1008B000310529F02230310509F0A9C00CC0909112
+:1008C000A401913009F0A3C010929E01833069F514
+:1008D00090939E012AC09091A401992331F59091A3
+:1008E000A601977009F493C09093E9002091EB0062
+:1008F00020FF8DC0833021F48091EB00806213C013
+:100900008091EB0080618093EB0021E030E002C039
+:10091000220F331F9A95E2F72093EA001092EA0023
+:100920008091EB0088608093EB001092E900809149
+:10093000E800877F4EC0992309F068C01091A40198
+:100940008091E800877F8093E800ADD005C080915A
+:10095000A101882309F45BC08091E80080FFF7CFF4
+:100960001F7711F482E001C083E08093A101106839
+:100970001093E3004CC09058923008F047C080912B
+:10098000A4019091A5016091A601AE014F5F5F4F58
+:10099000ECDEBC01009709F43AC08091E800877F43
+:1009A0008093E80089819A812ED18091E8008B772D
+:1009B0008093E8002CC0903849F58091E800877F4B
+:1009C0008093E80080919F018093F1008091E8007E
+:1009D0008E778093E80067D01AC09923B9F490917C
+:1009E000A4019230A0F48091E800877F8093E80012
+:1009F00090939F0158D080919F01882311F483E048
+:100A000001C084E08093A101C1DE01C0B9DE809104
+:100A1000E80083FF0AC08091EB0080628093EB00C6
+:100A20008091E800877F8093E8000F900F90CF912E
+:100A3000DF911F910895AC0128E030E080E003C011
+:100A40008F5F220F331F24173507D0F38295807FE5
+:100A500008958093E9008091EB0081608093EB0022
+:100A60001092ED006093EC004093ED008091EE0059
+:100A7000881F8827881F08951092F40080E08093D3
+:100A8000E9001092F0001092E8009091ED009D7F37
+:100A90009093ED009091EB009E7F9093EB008F5F21
+:100AA000873069F708958091A20188239CF404C0DF
+:100AB0008091A1018823B9F08091E80082FFF8CFEE
+:100AC0008091E8008B778093E80008958091A101E0
+:100AD000882349F08091E80080FFF8CF8091E800FA
+:100AE0008E778093E800089584E69091EC0090FF63
+:100AF00005C09091E80090FF05C025C09091E800E6
+:100B000092FD21C09091A101992311F482E00895F2
+:100B10009091A101953011F483E008959091EB003C
+:100B200095FF02C081E008959091E10092FFDDCF32
+:100B30009091E1009B7F9093E100882311F484E081
+:100B400008958150D2CF80E008952091A80130917E
+:100B5000A9012617370718F4FC0190E03CC0611585
+:100B6000710511F09B01F8CF2091E8002E772093BA
+:100B7000E80020E030E0F0CF8091E80083FF02C081
+:100B800081E008958091E80082FD33C08091A10149
+:100B90008823A9F18091A101853099F18091E80025
+:100BA00080FF19C08091F3008091F20006C09191FE
+:100BB0009093F100215030408F5F2115310511F0E5
+:100BC0008830A8F390E0883009F491E04091E80083
+:100BD0004E774093E8002115310571F6992361F6AF
+:100BE00008C08091A101882351F08091A101853036
+:100BF00041F08091E80082FFF4CF80E0089582E028
+:100C0000089583E008952091A8013091A901261745
+:100C1000370720F4482F592F90E03FC06115710528
+:100C200011F09B01F7CF2091E8002E772093E80088
+:100C300020E030E0EFCF8091E80083FF02C081E048
+:100C400008958091E80082FD36C08091A10188233B
+:100C5000C1F18091A1018530B1F18091E80080FF60
+:100C60001CC08091F3008091F20009C0FA014F5F2F
+:100C70005F4F94919093F100215030408F5F211588
+:100C8000310511F0883090F390E0883009F491E05C
+:100C90008091E8008E778093E8002115310559F6A0
+:100CA000992349F608C08091A101882351F08091D1
+:100CB000A101853041F08091E80082FFF4CF80E00F
+:100CC000089582E0089583E008956115710529F47F
+:100CD0004091E8004B774093E800FC0129C08091E7
+:100CE000E80083FF02C081E008958091A10188237C
+:100CF00089F18091A101853079F18091E80082FF2E
+:100D0000EECF06C08091F10081936150704059F0A0
+:100D10009091F3008091F200392F20E021153105E8
+:100D200089F7882379F79091E8009B779093E80002
+:100D300061157105A1F608C08091A101882351F0C9
+:100D40008091A101853041F08091E80080FFF4CFCF
+:100D500080E0089582E0089583E0089571D078D00E
+:100D60001092A10110929F0110929E0110929D017C
+:100D70008AE482BF80E189BD89B5826089BD09B4FA
+:100D800000FEFDCF8091D800982F9F779093D800D8
+:100D900080688093D8008091D70081608093D700CD
+:100DA0008091D8008F7D8093D8008091E0008B7F68
+:100DB0008093E0008091E0008E7F8093E00080913E
+:100DC000E1008E7F8093E1008091E200816080935A
+:100DD000E2008091E100877F8093E1008091E20052
+:100DE00088608093E2008091D80081608093D80071
+:100DF0000895B4DFE8EDF0E080818061808381E0D8
+:100E00008093A0010895CF93DF93A8DFE0EEF0E098
+:100E1000808181608083C8EDD0E088818F7788836E
+:100E20000FD016D019BCE7EDF0E080818E7F808373
+:100E300088818F7E88831092A001DF91CF910895E1
+:100E4000E8EDF0E080818E7F80831092E2000895CB
+:100E50001092DA001092E10008951F920F920FB6DF
+:100E60000F9211242F933F934F935F936F937F9330
+:100E70008F939F93AF93BF93EF93FF938091DA008B
+:100E800080FF15C08091D80080FF11C08091DA00EA
+:100E90008E7F8093DA008091D90080FF05C081E0C9
+:100EA0008093A10182DC03C01092A10175DC8091C6
+:100EB000E10080FF1DC08091E20080FF19C0809199
+:100EC000E1008E7F8093E1008091E2008E7F80932D
+:100ED000E2008091E20080618093E2008091D8007E
+:100EE00080628093D80019BC85E08093A10174D002
+:100EF0008091E10084FF2AC08091E20084FF26C037
+:100F000080E189BD89B5826089BD09B400FEFDCF4D
+:100F10008091D8008F7D8093D8008091E1008F7EF2
+:100F20008093E1008091E2008F7E8093E2008091C7
+:100F3000E20081608093E20080919F01882311F498
+:100F400083E001C084E08093A10146D08091E1005C
+:100F500083FF23C08091E20083FF1FC08091E100E6
+:100F6000877F8093E10082E08093A10110929F012E
+:100F70008091E1008E7F8093E1008091E2008E7F7E
+:100F80008093E2008091E20080618093E20074DD52
+:100F900080E060E042E05DDD1FD08091E10082FFF3
+:100FA0000AC08091E20082FF06C08091E1008B7F41
+:100FB0008093E10011D0FF91EF91BF91AF919F918C
+:100FC0008F917F916F915F914F913F912F910F90F2
+:100FD0000FBE0F901F90189508951F938091A10147
+:100FE000882361F01091E9001092E9008091E800F7
+:100FF00083FF01C001DC17701093E9001F91089571
+:10100000519850985998589810923D010895089514
+:10101000F89485E3982F9A95F1F7509A519A982F62
+:101020009A95F1F750988A95F1F7519810923D01F1
+:10103000789480EA9FE00197F1F70895F89490E0A2
+:1010400025E3322F3A95F1F787FF02C0519801C08E
+:10105000519A5098322F3A95F1F7509A9F5F9830F5
+:1010600011F0880FEECF789408951F93F89485E3DC
+:101070008A95F1F75198509815E3812F8A95F1F7E9
+:10108000EFD2489BFACF89B195E39A95F1F7509A40
+:10109000789490E09695879581701F910895AF920E
+:1010A000BF92CF92DF92EF92FF920F931F93DF9345
+:1010B000CF9300D0CDB7DEB75C01F894C42EDD2409
+:1010C00005E32AC0623020F031E0E32EF12C01C0AC
+:1010D000760190E010E06A839983C7DF110F182B27
+:1010E00099819F5F6A819830B1F7F5011083802F55
+:1010F0008A95F1F7EE2011F0519A01C051980894A9
+:10110000A11CB11C802F8A95F1F75098802F8A95E9
+:10111000F1F7509A519861506623A1F6789481E0D6
+:101120000F900F90CF91DF911F910F91FF90EF9053
+:10113000DF90CF90BF90AF9008950F931F93DF93F0
+:10114000CF930F92CDB7DEB78C01F89480E00AC040
+:10115000F80181918F01698371DF87DF69818111D6
+:1011600081E06150662311F0882391F3789491E037
+:1011700089270F90CF91DF911F910F910895F894D7
+:1011800095E3292F2A95F1F720913D01222339F08B
+:101190005198292F2A95F1F750989A95F1F7519A7D
+:1011A00095E39A95F1F7509A91E090933D018E7FE7
+:1011B000862B44DF5ADF90E0882309F491E0892FE1
+:1011C000089580E061E0DBDF23CF81E080933E0182
+:1011D00008951F936130710521F5FC0180818337EB
+:1011E00001F51FEF612F6170812FC9DF882391F016
+:1011F000812FE2D688E2ECD6812F8695DDD680E27B
+:10120000E7D610FF02C082E501C087E5E1D689E29A
+:10121000DFD6C6D6D6DF112311F01150E3CF81E01F
+:1012200001C080E01F910895DF93CF930F92CDB757
+:10123000DEB780913E01823019F0843039F510C05C
+:1012400080913F01682F61709ADF882321F4B9DF14
+:101250008EE491E015C08AE391E0A8D684E012C044
+:101260008FE291E0A3D6CE01019661E041E017DF65
+:10127000882319F08981B2D607C0A3DF8CE291E000
+:1012800095D685E080933E018BD604C09ADF85E039
+:1012900080933E010F90CF91DF9108951F93182FF7
+:1012A00080913E01823049F0833031F1813009F084
+:1012B00041C010933F0182E03FC08FE891E076D6B5
+:1012C0006FD683E891E072D680913F0175D688E7AA
+:1012D00091E06CD680913F01682F617050DF8823C8
+:1012E00021F46FDF85E791E01FC081E791E05ED6D2
+:1012F00010933F0183E01AC085E691E057D68091B4
+:101300003F015AD68AE591E051D68FE391E061E042
+:1013100014DF882331F086E591E048D610933F0131
+:1013200007C04FDF83E591E041D685E080933E0121
+:1013300037D604C046DF85E080933E011F910895B3
+:10134000DF93CF930F92CDB7DEB780913E0183300C
+:10135000B9F0843079F1823009F042C080913F01C8
+:10136000682F61700CDF882319F48BE092E002C0D3
+:1013700088E092E01BD614D64BDE85EF91E02EC0BC
+:1013800089EE91E013D680913F0116D68EED91E063
+:101390000DD68FE391E061E0D0DE882319F08AED6D
+:1013A00091E002C087ED91E001D6FAD531DE84EC00
+:1013B00091E014C089EB91E0F9D5CE01019661E08E
+:1013C00040E06DDE882319F0898108D603C086EBE2
+:1013D00091E0ECD5E5D51CDE83EA91E0E7D5E0D5D8
+:1013E00010923E010F90CF91DF91089510CE089595
+:1013F00080E192E0DBD5D4D510923E0101DEE1CE52
+:10140000249A2C9A84B1876084B92B9A83E58CBD89
+:101410008DB58EB508958CB58F7B8CBD08958EBD2E
+:101420000DB407FEFDCF8EB5089580E008951F939B
+:101430008FEFF5DF182F89E192E0B8D5812FCED557
+:10144000AFD51F9108952C9A8CE292E0AFD5A8C534
+:101450002C9888E392E0AAD5A3C51F93182FDFDF4D
+:1014600082E292E0A3D5812FADD59AD51F91089540
+:10147000D2CF0895C5CF0895F3D0A0D952D3DDD1EE
+:1014800084C10FD0DED03F9ACDD17CD12ED285E061
+:101490006AD181E09DD980E090E065D57894ECDF59
+:1014A000FECF90E080E80FB6F894809361009093AF
+:1014B00061000FBE089528E088E190E00FB6F8942F
+:1014C000A895809360000FBE20936000FFCFCF925D
+:1014D000DF92EF92FF920F931F93CF93DF93F62E3D
+:1014E000EA01188219821A821B82C82ED92E10E0B6
+:1014F0000AE048C0F6018081288139814A815B81F8
+:101500002115310541055105C9F41230B8F4823670
+:1015100029F4F1E0FF15D8F502E030C0112331F4D1
+:10152000883661F481E08F1540F131C0113031F41B
+:10153000883721F4E2E0EF1500F129C0813610F080
+:1015400097E509C0813410F097E305C08A3310F0A5
+:1015500090E001C090E3E82EE91AE016C0F4602F95
+:1015600070E080E090E05ED56E0D711D811D911DD3
+:10157000688379838A839B8301C000E11F5F08949D
+:10158000C11CD11C1F1508F4B5CF81E001C080E05B
+:10159000DF91CF911F910F91FF90EF90DF90CF904F
+:1015A0000895CF93DF93FC01DB0108C0888180326E
+:1015B00011F0893079F42196D183C083C081D18123
+:1015C000C417D50799F706C08881803261F0893049
+:1015D00051F021961196DC93CE93CD91DC91119729
+:1015E000C417D50789F780E020813181C217D3075E
+:1015F00009F081E0DF91CF910895EF92FF920F9370
+:101600001F93CF93DF93EC018B017901CADF88230D
+:1016100081F08881F8016081681B9981A70157DFFB
+:10162000882339F0F801808191819983888381E052
+:1016300001C080E0DF91CF911F910F91FF90EF905B
+:10164000089584B7886084BF29E088E190E00FB6F0
+:10165000F894A895809360000FBE209360000895D1
+:10166000A895089580931601089570708070907009
+:10167000683071058105910579F169307105810541
+:10168000910580F46130710581059105B0F16330F9
+:1016900071058105910500F16430710581059105A1
+:1016A00061F51AC06032710581059105A9F06132BA
+:1016B00071058105910530F4603171058105910551
+:1016C000E1F40AC0603471058105910529F06038A4
+:1016D00071058105910589F42091160130E040E003
+:1016E00050E026233723482359232115310541058E
+:1016F000510511F0479A08954798089510924701AF
+:101700002091450130914601F90164918091440195
+:1017100090E0AC01440F551F480F591FFA01319654
+:10172000E20FF31FE491E0934C0110924D014E5FE4
+:101730005F4F420F531FFA014491409348011092AA
+:1017400049010196FC01EE0FFF1FE80FF91FE20FA0
+:10175000F31FE491E0934A0110924B0170E095D49D
+:10176000809344010895E82FF0E0EE0FFF1FED5B3A
+:10177000FD4F85919491909346018093450110927D
+:101780004401BCCF80E0EFDFB9CF9B01AC01809179
+:10179000400190914101A0914201B0914301821713
+:1017A0009307A407B50708F03CC02091470130E03B
+:1017B00060914C0170914D012617370710F09EDFA4
+:1017C00023C0FB01E21BF30B80914801909149017A
+:1017D000E89FA001E99F500DF89F500D1124E09162
+:1017E0004A01F0914B012E9FC0012F9F900D3E9F0B
+:1017F000900D1124840F951F34D4862F33DF8091F0
+:1018000047018F5F8093470118D06C507F4F8F4FF7
+:101810009F4F6093400170934101809342019093E8
+:101820004301089585B5816085BDA89A16BCEEE692
+:10183000F0E0808181608083089520914E01309195
+:101840004F014091500150915101B901CA010895D1
+:101850001F920F920FB60F9211242F933F934F9325
+:101860005F936F937F938F939F93AF93BF93EF9308
+:10187000FF9380914E0190914F01A0915001B09142
+:1018800051010196A11DB11D80934E0190934F010E
+:10189000A0935001B093510160914E0170914F019E
+:1018A0008091500190915101E0DEFF91EF91BF9145
+:1018B000AF919F918F917F916F915F914F913F91E8
+:1018C0002F910F900FBE0F901F9018958093580185
+:1018D000882319F0813041F405C01092590110920B
+:1018E0005501089510925601089580E0EFCF809140
+:1018F0005801882311F081E008958091550191E00D
+:1019000089270895909354018093530108959091ED
+:101910005201992339F4E0915301F0915401309729
+:1019200009F0099508958DE0F2DF8AE0F0CF1F936A
+:10193000182F80915801882339F08130C9F58093A0
+:1019400056011093570134C080915501882381F5C9
+:101950001D3029F01F3741F0183099F405C081E09F
+:1019600080935501E0DF24C080915901882301F163
+:1019700081508093590188E0CADF80E2C8DF88E0A7
+:1019800016C0809159018F3388F480911701882304
+:1019900011F0812FBCDF80915901E82FF0E0E65A69
+:1019A000FE4F10838F5F8093590102C087E0AFDF45
+:1019B0001F910895CF93DF93EC0104C02196F901A4
+:1019C0008491A5DF9E01FE0194919923B9F7DF91DF
+:1019D000CF9108958A3010F4805D0895895C089550
+:1019E0001F93182F82958F70F5DF91DF812F8F70F5
+:1019F000F1DF8DDF1F9108951F93182F80E387DF9C
+:101A000088E785DF812FECDF1F9108959F92AF92C9
+:101A1000BF92CF92DF92EF92FF920F931F93CF93DB
+:101A2000DF93162FE72EF82E092FC0E0D0E099247F
+:101A30009394A12C8AECB82E8AE9C82E8BE3D82E79
+:101A4000612F7E2D8F2D902FA601950131D3C901D5
+:101A5000DA010097A105B10511F4992019F4BADF54
+:101A600056DF9924612F7E2D8F2D902FA601950191
+:101A70001FD3162FE72EF82E092FC601B5012AE035
+:101A800030E040E050E014D3A22EB32EC42ED52E69
+:101A90002196C930D105A1F6812F9CDF38DFDF9177
+:101AA000CF911F910F91FF90EF90DF90CF90BF905B
+:101AB000AF909F9008951F93182F82E628DF17FF9D
+:101AC00002C081E301C080E322DF16FF02C081E390
+:101AD00001C080E31CDF15FF02C081E301C080E389
+:101AE00016DF14FF02C081E301C080E310DF13FFA3
+:101AF00002C081E301C080E30ADF12FF02C081E37C
+:101B000001C080E304DF11FF02C081E301C080E374
+:101B1000FEDE10FF02C081E301C080E3F8DE1F910A
+:101B2000089580915801882399F480915501882364
+:101B300079F060915901662321F08AE591E070E027
+:101B400025D1109259018EE892E034DF10925501B0
+:101B500008954F925F926F927F928F929F92AF9271
+:101B6000BF92CF92DF92EF92FF920F931F93DF937A
+:101B7000CF93CDB7DEB72C970FB6F894DEBF0FBE6C
+:101B8000CDBF8C017B01842E290181E090E0A0E093
+:101B9000B0E08D839E83AF83B887C8010196962EEF
+:101BA000981A6801AA24BB2425E0622E712C6C0EC1
+:101BB0007D1E1BC0F60180818A3381F41A141B0438
+:101BC0006CF4C6010196692DA30181DC882311F014
+:101BD00076010EC01D821E821F8218860894C11CC9
+:101BE000D11C0894A11CB11C9A94CE14DF0411F7E7
+:101BF0006E2D601BC801AE014F5F5F4F68DC88230C
+:101C000039F1E0919A01F0919B01309709F4A2C05B
+:101C100080859185009791F49DC0E0919A01F091A3
+:101C20009B010084F185E02D8981215030404040A6
+:101C300050402D833E834F83588709952D813E81E7
+:101C40004F815885211531054105510531F786C071
+:101C5000E01AF10AF1E0EF16F10451F5F801808184
+:101C6000823711F0823521F5E0919A01F0919B01C4
+:101C7000309709F46FC082859385009781F46AC01C
+:101C8000E0919A01F0919B010284F385E02D019788
+:101C9000A109B1098D839E83AF83B88709958D8192
+:101CA0009E81AF81B8850097A105B10549F756C05F
+:101CB000882009F43BC099E0A92EB12CAC0EBD1EC2
+:101CC000C5016DEB72E044E050E021D28DEBC82EEF
+:101CD00082E0D82E9A2C6B2C24C0C801B501A70134
+:101CE00009D20097A1F4C5011BD2E816F90678F0D5
+:101CF000EB85FC85C8018E0D9F1DB20109958823D7
+:101D000021F488E992E056DE0EDE81E028C084E00E
+:101D100090E0C80ED91E892D962DB60144E050E002
+:101D2000F6D1A984BA84A114B104B9F6E0919A015C
+:101D3000F0919B01309771F00484F585E02D309788
+:101D400049F02D813E814F815885C801B701099521
+:101D5000882321F481E992E02DDEE5DD80E02C96F8
+:101D60000FB6F894DEBF0FBECDBFCF91DF911F91AC
+:101D70000F91FF90EF90DF90CF90BF90AF909F902A
+:101D80008F907F906F905F904F900895CF92DF92E9
+:101D9000EF92FF920F931F93CF93DF93EC018B0190
+:101DA000080F191F7C0141E053C08881913099F1DF
+:101DB0008B35C1F08C3568F4833209F456C0843217
+:101DC00028F4893031F1803251F423C08C3239F457
+:101DD00020C08B3739F08D3779F08D3569F07E0171
+:101DE00091E038C0E0919A01F0919B01309781F029
+:101DF0000480F581E02D09C0E0919A01F0919B01EA
+:101E0000309731F00680F781E02D309709F0099581
+:101E100040E090E01FC08B35A1F08C3560F4833238
+:101E200081F0843228F4893061F0803299F409C05D
+:101E30008C3281F406C08B3721F08D3711F08D354F
+:101E400049F4C701BE01980184DE882371F440E0A3
+:101E500090E001C02196C017D10709F0A6CF9130BC
+:101E600021F4C701BE019E0174DEDF91CF911F9165
+:101E70000F91FF90EF90DF90CF90089589E191E06E
+:101E800072D081E0089587E291E06DD081E00895FD
+:101E900012DB81E00895DF93CF93CDB7DEB72897AB
+:101EA0000FB6F894DEBF0FBECDBF98878F83AB010E
+:101EB000CE010796BE016F5F7F4F9E012D5F3F4FA2
+:101EC0009CDB882361F08B819C81AD81BE81873052
+:101ED0009105A105B10518F446DC81E001C080E060
+:101EE00028960FB6F894DEBF0FBECDBFCF91DF911D
+:101EF0000895EF92FF920F931F93DF93CF9300D03B
+:101F000000D0CDB7DEB77E010894E11CF11CC701FB
+:101F10006DEB72E044E050E0FAD00DEB12E0C70147
+:101F2000FE2CE92E0AC046DDFEDC0C5F1F4F8F2D14
+:101F30009E2DB80144E050E0EAD089819A81009753
+:101F400091F781E00F900F900F900F90CF91DF915C
+:101F50001F910F91FF90EF90089589ED92E02ADD97
+:101F6000E2DC81E00895CF93DF93EC01E0919A01E8
+:101F7000F0919B01309731F00280F381E02D309792
+:101F800009F00995D0939B01C0939A01209729F0FD
+:101F9000E881F981309709F00995DF91CF91089593
+:101FA00080911801882309F0BECC08952091180172
+:101FB000222309F0FFCC089590911801992309F08C
+:101FC0001BCD089590911801992309F009CD08952A
+:101FD00090911801992309F09ACC089590919C0151
+:101FE000923071F0933028F49923A1F0913099F454
+:101FF00005C0933039F0943071F40AC088DC0BC00E
+:102000005ADD09C0682F70E080E090E0FFDC03C07B
+:10201000E7DC01C0F1DC80911801882311F480E233
+:1020200076CC0895629FD001739FF001829FE00DEE
+:10203000F11D649FE00DF11D929FF00D839FF00D47
+:10204000749FF00D659FF00D9927729FB00DE11DF3
+:10205000F91F639FB00DE11DF91FBD01CF011124D0
+:102060000895AA1BBB1B51E107C0AA1FBB1FA617DF
+:10207000B70710F0A61BB70B881F991F5A95A9F731
+:1020800080959095BC01CD01089597FB092E0726F8
+:102090000AD077FD04D0E5DF06D000201AF4709551
+:1020A00061957F4F0895F6F7909581959F4F08951C
+:1020B000A1E21A2EAA1BBB1BFD010DC0AA1FBB1F4C
+:1020C000EE1FFF1FA217B307E407F50720F0A21BBE
+:1020D000B30BE40BF50B661F771F881F991F1A942B
+:1020E00069F760957095809590959B01AC01BD0155
+:1020F000CF010895FB01DC0104C08D91059080198A
+:1021000021F441505040C8F7881B990B0895FB01FA
+:10211000DC0102C005900D9241505040D8F708955F
+:10212000FC0105900020E9F7809590958E0F9F1F88
+:062130000895F894FFCFB2
+:10213600000210000003100000010800000000006B
+:10214600000000000000FF0101F809F609E508A0FB
+:10215600094E091409E9083A0A380A280A230A2DF9
+:062166000A170A150A0029
+:00000001FF
View
4 src/Makefile
@@ -4,10 +4,14 @@ else
ifeq ($(BOARD),TEENSY)
include config-teensy.mk
else
+ifeq ($(BOARD),LEONARDPIRATE)
+include config-leonard_pirate.mk
+else
# Default to arduino
include config-arduino.mk
endif
endif
+endif
include rules.mk
View
19 src/config-leonard_pirate.mk
@@ -0,0 +1,19 @@
+#
+# CONFIG FOR TEENSY/MICROPENDOUS/AT90USBxxx etc
+#
+MCU=atmega32u4
+F_CPU = 16000000UL
+CFLAGS += -DLED0_PORT=PORTC -DLED0_PIN=PC7 -DLED0_DDR=DDRC
+# Hardware watchdog
+CONFIG_WATCHDOG=y
+# I2C support
+CONFIG_BUS_I2C=y
+# SPI support
+CONFIG_BUS_SPI=y
+# USB CDC serial driver
+CONFIG_USBDEV_CDC=y
+# Console on CDC serial
+CONFIG_USBDEV_CDC_CONSOLE=y
+PROGRAM_CMD=avrdude -p atmega32u4 -c stk500v2 -P usb -F -U flash:w:$(TARGET).hex -U lfuse:w:0xCE:m -U hfuse:w:0xD8:m -U efuse:w:0xFF:m
+
+
View
9 src/hw_i2c.c
@@ -67,6 +67,15 @@
#define SCL_OUT PORTB
#define SDA_IN PINB
#define SCL_IN PINB
+#elif __AVR_ATmega32U4__
+#define SDA PD1 // SDA pin
+#define SCL PD0 // SCL pin
+#define SDA_DDR DDRD
+#define SCL_DDR DDRD
+#define SDA_OUT PORTD
+#define SCL_OUT PORTD
+#define SDA_IN PIND
+#define SCL_IN PIND
#else
#error Unsupported processor
#endif
View
8 src/hw_spi.h
@@ -19,6 +19,14 @@
#define SPI_MOSI PB2
#define SPI_MISO PB3
#define SPI_CS PB4
+#elif __AVR_ATmega32U4__
+#define SPI_PORT PORTB
+#define SPI_DDR DDRB
+#define SPI_SS PB0
+#define SPI_SCLK PB1
+#define SPI_MOSI PB2
+#define SPI_MISO PB3
+#define SPI_CS PB4
#else
#error Unsupported processor
#endif
Please sign in to comment.
Something went wrong with that request. Please try again.