diff --git a/avr/boards.txt b/avr/boards.txt index 0c3c878..0332078 100644 --- a/avr/boards.txt +++ b/avr/boards.txt @@ -46,9 +46,9 @@ HoodLoader2atmega16u2.build.extra_flags={build.usb_flags} -DMAGIC_KEY_POS=(RAMEN #Board selection (only important for burning bootloaders) HoodLoader2atmega16u2.menu.board.uno=HoodLoader2 Uno -HoodLoader2atmega16u2.menu.board.uno.bootloader.file=HexFiles/HoodLoader2_0_5_Uno_atmega16u2.hex +HoodLoader2atmega16u2.menu.board.uno.bootloader.file=HexFiles/HoodLoader2_0_6_Uno_atmega16u2.hex HoodLoader2atmega16u2.menu.board.mega2560=HoodLoader2 Mega -HoodLoader2atmega16u2.menu.board.mega2560.bootloader.file=HexFiles/HoodLoader2_0_5_Mega_atmega16u2.hex +HoodLoader2atmega16u2.menu.board.mega2560.bootloader.file=HexFiles/HoodLoader2_0_6_Mega_atmega16u2.hex HoodLoader2atmega16u2.menu.board.dev=HoodLoader2 Dev HoodLoader2atmega16u2.menu.board.dev.bootloader.file=HoodLoader2/HoodLoader2.hex @@ -120,9 +120,9 @@ HoodLoader2atmega32u2.build.extra_flags={build.usb_flags} -DMAGIC_KEY_POS=(RAMEN #Board selection (only important for burning bootloaders) HoodLoader2atmega32u2.menu.board.uno=HoodLoader2 Uno -HoodLoader2atmega32u2.menu.board.uno.bootloader.file=HexFiles/HoodLoader2_0_5_Uno_atmega32u2.hex +HoodLoader2atmega32u2.menu.board.uno.bootloader.file=HexFiles/HoodLoader2_0_6_Uno_atmega32u2.hex HoodLoader2atmega32u2.menu.board.mega2560=HoodLoader2 Mega -HoodLoader2atmega32u2.menu.board.mega2560.bootloader.file=HexFiles/HoodLoader2_0_5_Mega_32u2.hex +HoodLoader2atmega32u2.menu.board.mega2560.bootloader.file=HexFiles/HoodLoader2_0_6_Mega_32u2.hex HoodLoader2atmega32u2.menu.board.dev=HoodLoader2 Dev HoodLoader2atmega32u2.menu.board.dev.bootloader.file=HoodLoader2/HoodLoader2.hex @@ -179,9 +179,9 @@ HoodLoader2atmega8u2.build.extra_flags={build.usb_flags} -DMAGIC_KEY_POS=(RAMEND #Board selection (only important for burning bootloaders) HoodLoader2atmega8u2.menu.board.uno=HoodLoader2 Uno -HoodLoader2atmega8u2.menu.board.uno.bootloader.file=HexFiles/HoodLoader2_0_5_Uno_atmega8u2.hex +HoodLoader2atmega8u2.menu.board.uno.bootloader.file=HexFiles/HoodLoader2_0_6_Uno_atmega8u2.hex HoodLoader2atmega8u2.menu.board.mega2560=HoodLoader2 Mega -HoodLoader2atmega8u2.menu.board.mega2560.bootloader.file=HexFiles/HoodLoader2_0_5_Mega_atmega8u2.hex +HoodLoader2atmega8u2.menu.board.mega2560.bootloader.file=HexFiles/HoodLoader2_0_6_Mega_atmega8u2.hex # DFU fuse settings are not suitable for HoodLoader2 HoodLoader2atmega8u2.menu.board.dfu=DFU @@ -237,9 +237,9 @@ HoodLoader2at90usb82.build.extra_flags={build.usb_flags} -DMAGIC_KEY_POS=(RAMEND #Board selection (only important for burning bootloaders) HoodLoader2at90usb82.menu.board.uno=HoodLoader2 Uno -HoodLoader2at90usb82.menu.board.uno.bootloader.file=HexFiles/HoodLoader2_0_5_Uno_at90usb82.hex +HoodLoader2at90usb82.menu.board.uno.bootloader.file=HexFiles/HoodLoader2_0_6_Uno_at90usb82.hex HoodLoader2at90usb82.menu.board.mega2560=HoodLoader2 Mega -HoodLoader2at90usb82.menu.board.mega2560.bootloader.file=HexFiles/HoodLoader2_0_5_Mega_at90usb82.hex +HoodLoader2at90usb82.menu.board.mega2560.bootloader.file=HexFiles/HoodLoader2_0_6_Mega_at90usb82.hex # DFU fuse settings are not suitable for HoodLoader2 HoodLoader2at90usb82.menu.board.dfu=DFU @@ -295,9 +295,9 @@ HoodLoader2at90usb162.build.extra_flags={build.usb_flags} -DMAGIC_KEY_POS=(RAMEN #Board selection (only important for burning bootloaders) HoodLoader2at90usb162.menu.board.uno=HoodLoader2 Uno -HoodLoader2at90usb162.menu.board.uno.bootloader.file=HexFiles/HoodLoader2_0_5_Uno_at90usb162.hex +HoodLoader2at90usb162.menu.board.uno.bootloader.file=HexFiles/HoodLoader2_0_6_Uno_at90usb162.hex HoodLoader2at90usb162.menu.board.mega2560=HoodLoader2 Mega -HoodLoader2at90usb162.menu.board.mega2560.bootloader.file=HexFiles/HoodLoader2_0_5_Mega_at90usb162.hex +HoodLoader2at90usb162.menu.board.mega2560.bootloader.file=HexFiles/HoodLoader2_0_6_Mega_at90usb162.hex # DFU fuse settings are not suitable for HoodLoader2 HoodLoader2at90usb162.menu.board.dfu=DFU @@ -351,9 +351,9 @@ HoodLoader2atmega32u4.build.extra_flags={build.usb_flags} -DMAGIC_KEY_POS=(RAMEN #Board/Bootloader selection HoodLoader2atmega32u4.menu.board.leo=HoodLoader2 Leonardo -HoodLoader2atmega32u4.menu.board.leo.bootloader.file=HexFiles/HoodLoader2_0_5_Leonardo_atmega32u4.hex +HoodLoader2atmega32u4.menu.board.leo.bootloader.file=HexFiles/HoodLoader2_0_6_Leonardo_atmega32u4.hex HoodLoader2atmega32u4.menu.board.micro=HoodLoader2 Micro -HoodLoader2atmega32u4.menu.board.micro.bootloader.file=HexFiles/HoodLoader2_0_5_Micro_atmega32u4.hex +HoodLoader2atmega32u4.menu.board.micro.bootloader.file=HexFiles/HoodLoader2_0_6_Micro_atmega32u4.hex HoodLoader2atmega32u4.menu.board.micro.build.variant=arduino:micro HoodLoader2atmega32u4.menu.board.micro.build.pid=0x8037 HoodLoader2atmega32u4.menu.board.micro.build.board=AVR_MICRO diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_6_Leonardo_atmega32u4.hex b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Leonardo_atmega32u4.hex new file mode 100644 index 0000000..6e56592 --- /dev/null +++ b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Leonardo_atmega32u4.hex @@ -0,0 +1,256 @@ +:1070000055C00000B0C00000AEC00000ACC0000021 +:10701000AAC00000A8C00000A6C00000A4C00000D4 +:10702000A2C00000A0C00000CFC100009CC00000B2 +:107030009AC0000098C0000096C0000094C00000F4 +:1070400092C0000090C000008EC000008CC0000004 +:107050008AC0000088C0000086C0000084C0000014 +:1070600082C0000049C4000034C400007CC000009D +:107070007AC0000078C0000076C0000074C0000034 +:1070800072C0000070C000006EC000006CC0000044 +:107090006AC0000068C0000066C0000064C0000054 +:1070A00062C0000060C000005EC0000011241FBE6E +:1070B000CFEFDAE0DEBFCDBF2091FF0A1092FF0ACA +:1070C000909100801092008084B714BE0FB6F8949F +:1070D000A895309160003861309360001092600094 +:1070E0000FBE5D9A289AE0E0F0E0459154914F3F41 +:1070F0005F4F21F181FF18C0273701F19737F1F079 +:1071000087E78093FF0A809300808FEF9EE924E257 +:10711000815090402040E1F700C000001092FF0A2B +:10712000109200804ED10AC080FF02C04AD106C032 +:1071300083FF04C0273711F09737C1F713E0A2E8A7 +:10714000B2E0EEEEFEE702C005900D92AC31B10761 +:10715000D9F723E0ACE1B3E001C01D92AD32B20734 +:10716000E1F7D3D3C2C64CCF8091240387FF0FC071 +:107170008091E80082FD04C08BB58111F9CF10C069 +:107180008091E8008B770AC08BB5882349F0809105 +:10719000E80080FFF9CF8091E8008E778093E800C7 +:1071A00008958F708093E900EBEEF0E080818160BC +:1071B0008083EDEEF0E010826093EC0040838091DC +:1071C000EE00881F8827881F089520912A03309198 +:1071D0002B032617370748F06115710539F4209104 +:1071E000E8002E772093E80001C0B901FC0120E0FF +:1071F0006115710571F18BB58823E9F18530E9F1ED +:107200008091E80083FD3BC08091E80082FD2DC0A5 +:107210008091E80080FFECCF2091F3008091F20094 +:1072200090E0922B6115710551F08830910538F48A +:1072300021912093F100615071090196F3CF21E073 +:10724000089709F020E08091E8008E778093E800AD +:10725000CFCF2111D0CF09C08BB5882361F0853005 +:1072600061F08091E80083FD0AC08091E80082FF10 +:10727000F3CF80E0089582E0089583E0089581E0EF +:107280000895CF935B9A1092C9001092C800109293 +:10729000CA001EBA10922303109222031ABC209136 +:1072A000830230918402409185025091860221151B +:1072B00031054105510519F4109221034FC02115E4 +:1072C00081EE38074105510521F481E080932103C7 +:1072D00045C082E08093210380918802813021F0B3 +:1072E000823021F4C0E203C0C0E301C0C0E080915D +:1072F0008702823009F4C86080918902873031F0BA +:10730000883031F0863029F4C26003C0C46001C007 +:10731000C660DA01C901B695A79597958795BC0116 +:10732000CD0160587B47814E9F4FBDD5215031091B +:1073300020FD04C0211580E1380720F036952795FF +:1073400080E001C082E03093CD002093CC00C09358 +:10735000CA008093C80088E98093C9005B98CF91E8 +:10736000089593E09093E9009BB5992391F0909153 +:10737000E80090FFF9CF8093F10081E0860D8F3314 +:1073800010F4682E0895612C8091E8008E77809328 +:10739000E800089584E08093E9008091E80085FD8D +:1073A0000DC08091E8008B778093E8008091E80021 +:1073B00082FDF3CF8BB58111F9CF02C08091F1002E +:1073C0000895E0E0F0E009941F920F920FB60F923B +:1073D00011242F933F934F935F936F937F938F93DA +:1073E0009F93AF93BF93EF93FF938091DA0080FF59 +:1073F00019C08091D80080FF15C08091DA008E7F7F +:107400008093DA008091D90080FF0AC080E189BDB5 +:1074100082E189BD09B400FEFDCF81E08BBD02C0D1 +:1074200019BC1BBC8091E10080FF16C08091E20076 +:1074300080FF12C08091E2008E7F8093E2008091F5 +:10744000E20080618093E2008091D80080628093A6 +:10745000D80019BC85E08BBD8091E10084FF2DC070 +:107460008091E20084FF29C080E189BD82E189BD6D +:1074700009B400FEFDCF8091D8008F7D8093D800A5 +:107480008091E1008F7E8093E1008091E2008F7E09 +:107490008093E2008091E20081608093E20080911D +:1074A0002C03882311F084E007C08091E30087FD5E +:1074B00002C081E001C083E08BBD8091E10083FFC9 +:1074C00020C08091E20083FF1CC08091E100877F93 +:1074D0008093E10082E08BBD10922C038091E1004B +:1074E0008E7F8093E1008091E2008E7F8093E200A6 +:1074F0008091E20080618093E20042E060E080E001 +:1075000050DEFF91EF91BF91AF919F918F917F914D +:107510006F915F914F913F912F910F900FBE0F9000 +:107520001F9018959FB7F89407B600FCFDCFF99906 +:10753000FECF809529E0E1E0F0E0082E209357008F +:10754000E8959FBF0895E1E0F0E089E0809357005F +:107550008491089529E0FC012093570084910895B7 +:1075600021E2FC01209357008491089507B600FCA6 +:10757000FDCFF999FECF21E0FB010A0120935700CE +:10758000E895112408952FB7F89407B600FCFDCFB5 +:10759000F999FECF35E0FB0130935700E89507B627 +:1075A00000FCFDCF91E190935700E8952FBF08951F +:1075B0002FB7F89407B600FCFDCFF999FECF33E062 +:1075C000FB0130935700E89507B600FCFDCF91E131 +:1075D00090935700E8952FBF08957F928F929F92C6 +:1075E000AF92BF92CF92DF92EF92FF920F931F93D1 +:1075F000CF93DF93612CCEDE082F853419F41092DF +:10760000820207C088E8800F823010F0043521F430 +:10761000C1DE8DE0A6DE36C10035D9F30C34C9F3E6 +:10762000043721F484E49DDE80E0F4CF013611F4C8 +:1076300089E5F0CF0134D1F4ADDEC82FABDE2C2FBD +:1076400030E0322F2227330F90E0880F991F822BD2 +:10765000932B092E000CAA0BBB0B80931D03909358 +:107660001E03A0931F03B0932003D3CF003711F460 +:1076700083E5D0CF033549F4C4E1D3E0899171DECD +:1076800083E0CB31D807D1F7FDC0063521F481E383 +:1076900068DE80E3BFCF033731F487E862DE85E937 +:1076A00060DE8EE1B7CF053691F4C12CD12C760186 +:1076B000C701B6017DDF80E8C80ED11CE11CF11CBA +:1076C000C11480E7D806E104F10491F7A2CF023794 +:1076D00011F439DF9FCF063419F4E0E0F0E009C07F +:1076E0000E3419F4E3E0F0E004C0013539F4E2E0CF +:1076F000F0E089E08093570084918CCF023631F41A +:1077000089E52FDE80E02DDE80E884CF023419F099 +:10771000073609F0B4C03EDEF82E3CDEC82F3ADE54 +:10772000182F8BEB810F823010F08FE373CFD0E0F6 +:10773000DF29073609F03EC000E0BB24B394209750 +:1077400009F4A0C0C0901D03D0901E03E0901F0359 +:10775000F09020031634B9F4E02FF0E0EC29FD2975 +:107760008491FFDD002369F082E0C80ED11CE11C8A +:10777000F11CC0921D03D0921E03E0921F03F092F1 +:1077800020030B2515C0D701C601B695A79597957F +:1077900087956FD3E6DD82E0C80ED11CE11CF11C99 +:1077A000C0921D03D0921E03E0921F03F0922003AB +:1077B0002197C5CF80901D0390901E03A0901F03BA +:1077C000B0902003163419F4C501B401F1DE712C18 +:1077D00000E0209709F44CC0163431F50023E9F09D +:1077E000D9DDC0901D03D0901E03E0901F03F090E0 +:1077F0002003472D50E0582BC701B601B7DE82E0C9 +:10780000C80ED11CE11CF11CC0921D03D0921E03B6 +:10781000E0921F03F092200302C0BCDD782E81E0CD +:10782000011180E0082F22C0B5DD682F80911D0373 +:1078300090911E03A0911F03B0912003B695A795C8 +:10784000979587951ED380911D0390911E03A0915B +:107850001F03B09120030296A11DB11D80931D034B +:1078600090931E03A0931F03B09320032197B1CFE1 +:10787000163409F0CECEC501B40185DECACE0B3177 +:1078800009F053CF662079F083E08093E9008BB54F +:10789000882389F08091E80080FFF9CF8091E8008B +:1078A0008E778093E80084E08093E9008091E8007F +:1078B0008B778093E800DF91CF911F910F91FF901C +:1078C000EF90DF90CF90BF90AF909F908F907F9080 +:1078D00008952F01EEB3F2E031903092CE00EEBB6E +:1078E000F798F2012EB23090230323101895E8E99F +:1078F000E093C900F20118953090CE002F01EAB54F +:10790000F1E03192EABDF201189590E080E80FB6FF +:10791000F89480936100909361000FBE91E095BF51 +:1079200082E085BF8091D8008F7E8093D8008091BF +:10793000D70081608093D70014E012BF90931C039E +:107940008091D8008E7F8093D8001092E200109230 +:10795000DA001092E1008091D8008F778093D800F0 +:107960008091D80080688093D8008091D8008F7D66 +:107970008093D80019BC1BBC10922C038091E000AE +:107980008B7F8093E0008091D80081608093D80045 +:1079900042E060E080E005DC8091E1008E7F809332 +:1079A000E1008091E20081608093E2008091E2003A +:1079B00088608093E2008091E0008E7F8093E000F9 +:1079C0008091D80080618093D80015BD88E38AB982 +:1079D000209A5C9A5A9A7894F12CE12C01E010E0FC +:1079E000DBB41092E9008091E80083FF7EC1E4E2FD +:1079F000F3E08091F100819323E0EC32F207C9F7C4 +:107A000080912403982F9F77913209F06AC090915A +:107A10002503913299F4813A09F063C08091E8001E +:107A2000877F8093E80067E070E083E892E0CDDB39 +:107A30008091E8008B778093E80053C0903209F082 +:107A40003DC0813209F04DC08091E800877F80936E +:107A5000E800E3E8F2E027E0222331F18BB5882348 +:107A600031F1853021F18091E80083FD20C08091C3 +:107A7000E80082FFF1CF3091F3008091F20090E0B6 +:107A8000932B892B29F08091F1008193215099F754 +:107A90008091E8008B778093E800DECF853039F065 +:107AA0008091E80080FD03C08BB58111F7CF8091F4 +:107AB000E8008E778093E800E4DB13C0923289F40B +:107AC000813279F48091E800877F8093E8004CDB75 +:107AD0008091260380FF04C05C9830E43A95F1F76A +:107AE0005C9A8091E80083FFF2C08091240390911A +:107AF0002503953009F46AC030F4913071F168F0D3 +:107B0000933059F1E4C0983009F4A6C0993009F4D3 +:107B1000B5C0963009F0DBC07BC0803899F0823860 +:107B200009F0D5C0809128038F70873008F0CFC04E +:107B30008093E9008091EB0085FB882780F9109203 +:107B4000E90001C080E09091E800977F9093E80001 +:107B50008093F1001092F1008AC0282F2D7F09F048 +:107B6000B6C0823009F0B3C080912603811128C0CD +:107B7000809128038F702FEF280F263008F0A7C0C0 +:107B80008093E9002091EB0020FF1AC0933021F48C +:107B90008091EB00806212C09091EB009061909315 +:107BA000EB00980102C0220F331F8A95E2F7209361 +:107BB000EA001092EA008091EB0088608093EB006D +:107BC0001092E9008091E800877F54C081117FC046 +:107BD000809126038F77C82E8091E30080788C29CE +:107BE0008093E3008091E800877F8093E800BCDA0F +:107BF0008091E80080FFFCCF8091E3008068809353 +:107C0000E300C11002C082E001C083E08BBD5FC011 +:107C10008058823008F05BC08091260330912703A2 +:107C2000C32F90E0D92FC230D10539F0C330D10530 +:107C300049F0219709F04BC0FDC06EE370E084EC81 +:107C400092E00BC1882309F4FAC0813009F4FCC02A +:107C5000823009F03CC0FDC08038C9F58091E80051 +:107C6000877F8093E80080912C038093F1008091BE +:107C7000E8008E778093E80077DA29C0811127C069 +:107C800080912603909127039927029704F580910C +:107C9000E800877F8093E800C0902603C0922C0301 +:107CA00063DAC11006C08091E30087FD02C081E065 +:107CB00001C084E08BBD42E061EC82E072DA46E311 +:107CC00061E883E06EDA42E260E884E06ADA80919B +:107CD000E80083FF0AC08091E800877F8093E80076 +:107CE0008091EB0080628093EB008BB5843079F05B +:107CF00024E0D21275CE1092830210928402109268 +:107D0000850210928602BDDA5D9A289A65CE90911E +:107D10008202911116C08FE99FE00197F1F700C030 +:107D200000008091E00081608093E0009CE088E1A9 +:107D30000FB6F894A895809360000FBE90936000F2 +:107D4000FFCF8093E9008091E80082FF0CC0809112 +:107D5000F3008091F200811107C09091E8009B77B9 +:107D60009093E80001C080E090912103913029F4C4 +:107D7000882309F44DC031DC4BC0923009F048C073 +:107D8000909123032EB3921B90959F778823B1F097 +:107D90009817A0F0F2E0E09123039091F100919305 +:107DA000EF778150D1F78091E8008B778093E800DE +:107DB000E093230388EB8093C90002C09F3719F03A +:107DC000289893E0F92E8AB590912203891B01F13E +:107DD000A89902C08F33C8F093E09093E900909186 +:107DE000E80090FF12C08F3308F08FE3E091220388 +:107DF000F1E091919093F1008150D1F78091E800EA +:107E00008E778093E800E09322035D9883E0E82E6C +:107E1000A89BE6CD81E085BBEE2021F0EA94E1103D +:107E200001C05D9AFF2009F4DBCDFA94F110D8CDA2 +:107E3000289AD6CD62E170E082E093E00EC064E063 +:107E400070E08CEA92E009C062E170E080EB92E0C1 +:107E500004C060E270E08AE892E02091E800277FA9 +:107E60002093E800B2D98091E8008B778093E800F6 +:107E70002ECFF999FECF92BD81BDF89A992780B592 +:107E80000895262FF999FECF92BD81BDF89A0197EA +:107E900000B4021639F01FBA20BD0FB6F894FA9A52 +:107EA000F99A0FBE0895A1E21A2EAA1BBB1BFD0171 +:107EB0000DC0AA1FBB1FEE1FFF1FA217B307E407C9 +:107EC000F50720F0A21BB30BE40BF50B661F771F21 +:107ED000881F991F1A9469F7609570958095909501 +:0E7EE0009B01AC01BD01CF010895F894FFCFC6 +:107EEE000100000000000008200348006F006F0032 +:107EFE0064004C006F006100640065007200320087 +:107F0E0020004C0065006F000000040309041203FA +:107F1E004E00690063006F0048006F006F00640040 +:107F2E00000009023E000201008032090400000137 +:107F3E000202010005240010010424020205240699 +:107F4E000001070582030800FF09040100020A0070 +:107F5E00000007050402200001070583024000010E +:107F6E001201100102000008412336000602010230 +:0A7F7E000001484C322E302E360070 +:107FA00007CBF1CAE3CADCCAD5CACDCABBCA089599 +:087FB000089508950895089555 +:107FE000DFCFDFCFDFCFDFCFDFCFDFCFDFCFDFCF21 +:087FF000DFCFDFCFDFCFDFCFD1 +:087FF8000070000000DFFBDC5B +:040000030000700089 +:00000001FF diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_6_Mega_at90usb162.hex b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Mega_at90usb162.hex new file mode 100644 index 0000000..2fe1657 --- /dev/null +++ b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Mega_at90usb162.hex @@ -0,0 +1,255 @@ +:103000007FC00000DAC00000D8C00000D6C00000B9 +:10301000D4C00000D2C00000D0C00000CEC000006C +:10302000CCC00000CAC00000C8C000009BC10000A6 +:10303000C4C00000C2C00000C0C00000BEC000008C +:10304000BCC00000BAC00000B8C00000B6C000009C +:10305000B4C00000B2C00000B0C0000002C4000054 +:10306000EDC30000AAC00000A8C00000A6C0000078 +:10307000A4C0000009023E000201008032090400E1 +:1030800000010202010005240010010424020205CF +:1030900024060001070582030800FF09040100025D +:1030A0000A00000007050402200001070583024012 +:1030B0000001120110010200000841234200060233 +:1030C00001020001220348006F006F0064004C0001 +:1030D0006F006100640065007200320020004D0046 +:1030E000650067006100000012034E006900630084 +:1030F0006F0048006F006F006400000004030904C3 +:1031000011241FBECFEFD2E0DEBFCDBF2091FF0262 +:103110001092FF02909180021092800284B714BE38 +:103120000FB6F894A8953091600038613093600034 +:10313000109260000FBE5D9A5C9AE0E0F0E045916D +:1031400054914F3F5F4F21F181FF18C0273701F1A4 +:103150009737F1F087E78093FF02809380028FEF2B +:103160009EE924E2815090402040E1F700C0000039 +:103170001092FF0210928002F2D00AC080FF02C0BB +:10318000EED006C083FF04C0273711F09737C1F790 +:1031900012E0A2E8B2E0E4E6FFE302C005900D927F +:1031A000A239B107D9F722E0A2E9B2E001C01D922D +:1031B000A33AB207E1F75ED3D3C622CF80919A0239 +:1031C00087FF0FC08091E80082FD04C08BB581119C +:1031D000F9CF10C08091E8008B770AC08BB58823A7 +:1031E00049F08091E80080FFF9CF8091E8008E7768 +:1031F0008093E80008958F708093E900EBEEF0E093 +:10320000808181608083EDEEF0E010826093EC00BD +:1032100040838091EE00881F8827881F0895CF93F0 +:103220005B9A1092C9001092C8001092CA001EBA90 +:1032300010929902109298021ABC20918302309148 +:103240008402409185025091860221153105410585 +:10325000510519F4109297024FC0211581EE3807DD +:103260004105510521F481E08093970245C082E039 +:103270008093970280918802813021F0823021F47E +:10328000C0E203C0C0E301C0C0E080918702823089 +:1032900009F4C86080918902873031F0883031F0BC +:1032A000863029F4C26003C0C46001C0C660DA0180 +:1032B000C901B695A79597958795BC01CD01605832 +:1032C0007B47814E9F4F2AD62150310920FD04C0F3 +:1032D000211580E1380720F03695279580E001C060 +:1032E00082E03093CD002093CC00C093CA0080933D +:1032F000C80088E98093C9005B98CF91089593E056 +:103300009093E9009BB5992391F09091E80090FF8C +:10331000F9CF8093F10081E0860D8F3310F4682E91 +:103320000895612C8091E8008E778093E8000895DD +:1033300084E08093E9008091E80085FD0DC08091D4 +:10334000E8008B778093E8008091E80082FDF3CF5E +:103350008BB58111F9CF02C08091F1000895E0E0B2 +:10336000F0E009941F920F920FB60F9211242F9341 +:103370003F934F935F936F937F938F939F93AF93FD +:10338000BF93EF93FF938091E10080FF15C0809180 +:10339000E20080FF11C08091E2008E7F8093E20006 +:1033A0008091E20080618093E2008091D800806289 +:1033B0008093D80019BC1BBC8091E10084FF2DC014 +:1033C0008091E20084FF29C084E089BD86E089BD48 +:1033D00009B400FEFDCF8091D8008F7D8093D80086 +:1033E0008091E1008F7E8093E1008091E2008F7EEA +:1033F0008093E2008091E20081608093E2008091FE +:10340000A202882311F084E007C08091E30087FDC9 +:1034100002C081E001C083E08BBD8091E10083FFA9 +:1034200020C08091E20083FF1CC08091E100877F73 +:103430008093E10082E08BBD1092A2028091E100B6 +:103440008E7F8093E1008091E2008E7F8093E20086 +:103450008091E20080618093E20042E060E080E0E1 +:10346000CADEFF91EF91BF91AF919F918F917F91B4 +:103470006F915F914F913F912F910F900FBE0F90E1 +:103480001F9018959FB7F89407B600FCFDCFF999E7 +:10349000FECF809529E0E1E0F0E0082E2093570070 +:1034A000E8959FBF0895E1E0F0E089E08093570040 +:1034B0008491089529E0FC01209357008491089598 +:1034C00021E2FC01209357008491089507B600FC87 +:1034D000FDCFF999FECF21E0FB010A0120935700AF +:1034E000E895112408952FB7F89407B600FCFDCF96 +:1034F000F999FECF35E0FB0130935700E89507B608 +:1035000000FCFDCF91E190935700E8952FBF0895FF +:103510002FB7F89407B600FCFDCFF999FECF33E042 +:10352000FB0130935700E89507B600FCFDCF91E111 +:1035300090935700E8952FBF08957F928F929F92A6 +:10354000AF92BF92CF92DF92EF92FF920F931F93B1 +:10355000CF93DF93612CECDE082F853419F41092A1 +:10356000820207C088E8800F823010F0043521F411 +:10357000DFDE8DE0C4DE3BC10035D9F30C34C9F386 +:10358000043721F484E4BBDE80E0F4CF013611F48B +:1035900089E5F0CF0134D1F4CBDEC82FC9DE2C2F62 +:1035A00030E0322F2227330F90E0880F991F822BB3 +:1035B000932B092E000CAA0BBB0B809393029093C4 +:1035C0009402A0939502B0939602D3CF003711F4E2 +:1035D00083E5D0CF033549F4CAE8D2E089918FDE84 +:1035E00082E0C139D807D1F702C1063521F481E361 +:1035F00086DE80E3BFCF033731F482E880DE84E9E2 +:103600007EDE8EE1B7CF053691F4C12CD12C760148 +:10361000C701B6017DDF80E8C80ED11CE11CF11C9A +:10362000C11480E3D806E104F10491F7A2CF0C366F +:1036300019F47EDE27DF9DCF023711F434DF9ACFF5 +:10364000063419F4E0E0F0E009C00E3419F4E3E0C8 +:10365000F0E004C0013539F4E2E0F0E089E0809365 +:103660005700849187CF023631F489E548DE80E047 +:1036700046DE80E87FCF023419F0073609F0B4C087 +:1036800057DEF82E55DEC82F53DE182F8BEB810F37 +:10369000823010F08FE36ECFD0E0DF29073609F0DB +:1036A0003EC000E0BB24B394209709F4A0C0C090B2 +:1036B0009302D0909402E0909502F0909602163416 +:1036C000B9F4E02FF0E0EC29FD29849118DE002305 +:1036D00069F082E0C80ED11CE11CF11CC09293027B +:1036E000D0929402E0929502F09296020B2515C0BA +:1036F000D701C601B695A79597958795F5D3FFDDB8 +:1037000082E0C80ED11CE11CF11CC0929302D09241 +:103710009402E0929502F09296022197C5CF809094 +:10372000930290909402A0909502B0909602163465 +:1037300019F4C501B401ECDE712C00E0209709F406 +:103740004CC0163431F50023E9F0F2DDC09093024D +:10375000D0909402E0909502F0909602472D50E0B0 +:10376000582BC701B601B2DE82E0C80ED11CE11CA5 +:10377000F11CC0929302D0929402E0929502F092D2 +:10378000960202C0D5DD782E81E0011180E0082F7D +:1037900022C0CEDD682F8091930290919402A09177 +:1037A0009502B0919602B695A79597958795A4D363 +:1037B0008091930290919402A0919502B09196020B +:1037C0000296A11DB11D8093930290939402A09341 +:1037D0009502B09396022197B1CF163409F0C9CE65 +:1037E000C501B40180DEC5CE0B3109F053CF662090 +:1037F00079F083E08093E9008BB5882389F080918C +:10380000E80080FFF9CF8091E8008E778093E80090 +:1038100084E08093E9008091E8008B778093E80052 +:10382000DF91CF911F910F91FF90EF90DF90CF909C +:10383000BF90AF909F908F907F9008952F01EEB32F +:10384000F2E031903092CE00EEBBF798F2012EB24A +:103850003090990223101895E8E9E093C900F2012D +:1038600018953090CE002F01EAB5F1E03192EABD13 +:10387000F2011895CF93DF9300D01F92CDB7DEB73A +:1038800090E080E80FB6F894809361009093610017 +:103890000FBE91E095BF82E085BF809163008E7F6F +:1038A00080936300909392021092E2001092E100E4 +:1038B0008091D8008F778093D8008091D80080685D +:1038C0008093D8008091D8008F7D8093D80084E0C9 +:1038D00089BD86E089BD09B400FEFDCF1BBC1092F6 +:1038E000A20242E060E080E086DC8091E1008E7F11 +:1038F0008093E1008091E20081608093E2008091FA +:10390000E20088608093E2008091E0008E7F8093E7 +:10391000E00084E085BD8AB1886B8AB95F9A5A9AC3 +:10392000789422EAE22E22E0F22E38EEA32E30E343 +:10393000B32E4CEFC42E40E3D42E812C912C01E009 +:1039400010E02BB529831092E9008091E80083FFF5 +:1039500022C2EAE9F2E08091F1008193EE16FF06BF +:10396000D1F780919A02982F9F77913209F0AAC0DF +:1039700090919B02913209F057C0813A09F0A2C0A0 +:103980008091E800877F8093E8008091A002909169 +:10399000A1028730910510F087E090E040E0E3E875 +:1039A000F2E0009759F12BB52223C1F12530B1F196 +:1039B0002091E80023FD32C02091E80022FD2AC0BA +:1039C0002091E80020FFEDCF2091F20030E0009739 +:1039D00051F02830310538F441914093F1000197BE +:1039E0002F5F3F4FF4CF41E02830310509F040E030 +:1039F0002091E8002E772093E800D3CF4111D3CF58 +:103A000009C08BB5882351F0853041F08091E800E2 +:103A100083FD04C08091E80082FFF3CF8091E8002D +:103A20008B778093E8004EC09032C9F5813209F05F +:103A300049C08091E800877F8093E800E3E8F2E0E6 +:103A400087E0882311F19BB5992311F1953001F19D +:103A50009091E80093FD1CC09091E80092FFF1CF97 +:103A60009091F200992329F09091F1009193815067 +:103A7000B9F79091E8009B779093E800E2CF85300A +:103A800039F08091E80080FD03C08BB58111F7CF3C +:103A90008091E8008E778093E800C1DB13C09232FA +:103AA00089F4813279F48091E800877F8093E8007F +:103AB00085DB80919C0280FF04C05F9830E43A95DA +:103AC000F1F75F9A8091E80083FF57C180919A02D5 +:103AD00090919B02953009F46DC030F4913071F1F2 +:103AE00068F0933059F149C1983009F40EC199300A +:103AF00009F41AC1963009F040C17EC0803899F0AF +:103B0000823809F03AC180919E028F70853008F0AA +:103B100034C18093E9008091EB0085FB882780F910 +:103B20001092E90001C080E09091E800977F9093A7 +:103B3000E8008093F1001092F100F2C0282F2D7F51 +:103B400009F01BC1823009F018C180919C028111DB +:103B500028C080919E028F702FEF280F243008F02C +:103B60000CC18093E9002091EB0020FF1AC0933034 +:103B700021F48091EB00806212C09091EB00906183 +:103B80009093EB00F80102C0EE0FFF1F8A95E2F759 +:103B9000E093EA001092EA008091EB008860809345 +:103BA000EB001092E9008091E800877F8093E800A5 +:103BB00005DBE3C08111E1C080919C028F77782EF4 +:103BC0008091E300807887298093E3008091E8006A +:103BD000877F8093E800F2DA8091E80080FFFCCFD5 +:103BE0008091E30080688093E300711002C082E05E +:103BF00001C083E08BBDC1C08058823008F0BDC0D9 +:103C000080919C02F0919D02FA831B822A813B8164 +:103C10002230310541F02330310551F0213031059A +:103C200009F0ABC05CC12EE330E0E4E7F0E31BC079 +:103C3000811106C0F601249130E0ECEFF0E30FC0F3 +:103C4000813031F4F501249130E0E8EEF0E307C073 +:103C5000823009F092C0E4ECF0E3249130E02115C9 +:103C6000310509F48AC08091E800877F8093E800DD +:103C70008091A0029091A1022817390708F4C90188 +:103C800040E0009761F12BB52223C9F12530B9F14D +:103C90002091E80023FD33C02091E80022FD2BC0D5 +:103CA0002091E80020FFEDCF2091F20030E0009756 +:103CB00059F02830310540F444914093F100319699 +:103CC00001972F5F3F4FF3CF41E02830310509F0D6 +:103CD00040E02091E8002E772093E800D2CF4111F8 +:103CE000D2CF09C08BB5882351F0853041F0809147 +:103CF000E80083FD04C08091E80082FFF3CF80914B +:103D0000E8008B778093E80038C08038B1F5809167 +:103D1000E800877F8093E8008091A2028093F10001 +:103D20008091E8008E7742CF811127C080919C025C +:103D300090919D029927029704F58091E800877F72 +:103D40008093E80070909C027092A20237DA7110A2 +:103D500006C08091E30087FD02C081E001C084E0DD +:103D60008BBD42E061EC82E046DA46E361E883E045 +:103D700042DA42E260E884E03EDA8091E80083FFC4 +:103D80000AC08091E800877F8093E8008091EB0073 +:103D900080628093EB008BB5843081F0F981F43040 +:103DA00009F0CFCD10928302109284021092850206 +:103DB0001092860234DA5D9A5C9ABFCD90918202AD +:103DC000911116C08FE99FE00197F1F700C0000044 +:103DD0008091E00081608093E0009CE088E10FB674 +:103DE000F894A895809360000FBE90936000FFCF79 +:103DF0008093E9008091E80082FF0AC09091F20070 +:103E0000911107C08091E8008B778093E80001C092 +:103E100090E080919702813029F4992309F44DC0F4 +:103E20008CDB4BC0823009F048C0809199022EB3E0 +:103E3000821B80958F779923B1F08917A0F0F2E06B +:103E4000E09199028091F1008193EF779150D1F741 +:103E50008091E8008B778093E800E093990288EBEB +:103E60008093C90002C08F3719F05C9893E0892EC7 +:103E70008AB590919802891B01F1A89902C08F33ED +:103E8000C8F093E09093E9009091E80090FF12C091 +:103E90008F3308F08FE3E0919802F1E091919093D5 +:103EA000F1008150D1F78091E8008E778093E8008F +:103EB000E09398025D9883E0982EA89B42CD91E014 +:103EC00095BB992021F09A94911001C05D9A8820A9 +:103ED00009F437CD8A94811034CD5C9A32CD22E139 +:103EE00030E0E2EBF0E3BFCEF999FECF92BD81BDA9 +:103EF000F89A992780B50895262FF999FECF92BD9B +:103F000081BDF89A019700B4021639F01FBA20BD9E +:103F10000FB6F894FA9AF99A0FBE0895A1E21A2EF4 +:103F2000AA1BBB1BFD010DC0AA1FBB1FEE1FFF1F5D +:103F3000A217B307E407F50720F0A21BB30BE40BAD +:103F4000F50B661F771F881F991F1A9469F76095F4 +:103F50007095809590959B01AC01BD01CF010895AE +:043F6000F894FFCF03 +:103F64000100000000000008484C322E302E3600BC +:103FA000B7CAA1CA93CA8CCA85CA7DCA6BCA08950A +:083FB000089508950895089595 +:103FE000DFCFDFCFDFCFDFCFDFCFDFCFDFCFDFCF61 +:083FF000DFCFDFCFDFCFDFCF11 +:083FF8000030000000DFFBDCDB +:0400000300003000C9 +:00000001FF diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_6_Mega_at90usb82.hex b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Mega_at90usb82.hex new file mode 100644 index 0000000..02b3b6b --- /dev/null +++ b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Mega_at90usb82.hex @@ -0,0 +1,255 @@ +:101000007FC00000DAC00000D8C00000D6C00000D9 +:10101000D4C00000D2C00000D0C00000CEC000008C +:10102000CCC00000CAC00000C8C000009BC10000C6 +:10103000C4C00000C2C00000C0C00000BEC00000AC +:10104000BCC00000BAC00000B8C00000B6C00000BC +:10105000B4C00000B2C00000B0C0000002C4000074 +:10106000EDC30000AAC00000A8C00000A6C0000098 +:10107000A4C0000009023E00020100803209040001 +:1010800000010202010005240010010424020205EF +:1010900024060001070582030800FF09040100027D +:1010A0000A00000007050402200001070583024032 +:1010B0000001120110010200000841234200060253 +:1010C00001020001220348006F006F0064004C0021 +:1010D0006F006100640065007200320020004D0066 +:1010E000650067006100000012034E0069006300A4 +:1010F0006F0048006F006F006400000004030904E3 +:1011000011241FBECFEFD2E0DEBFCDBF2091FF0282 +:101110001092FF02909180021092800284B714BE58 +:101120000FB6F894A8953091600038613093600054 +:10113000109260000FBE5D9A5C9AE0E0F0E045918D +:1011400054914F3F5F4F21F181FF18C0273701F1C4 +:101150009737F1F087E78093FF02809380028FEF4B +:101160009EE924E2815090402040E1F700C0000059 +:101170001092FF0210928002F2D00AC080FF02C0DB +:10118000EED006C083FF04C0273711F09737C1F7B0 +:1011900012E0A2E8B2E0E4E6FFE102C005900D92A1 +:1011A000A239B107D9F722E0A2E9B2E001C01D924D +:1011B000A33AB207E1F75ED3D3C622CF80919A0259 +:1011C00087FF0FC08091E80082FD04C08BB58111BC +:1011D000F9CF10C08091E8008B770AC08BB58823C7 +:1011E00049F08091E80080FFF9CF8091E8008E7788 +:1011F0008093E80008958F708093E900EBEEF0E0B3 +:10120000808181608083EDEEF0E010826093EC00DD +:1012100040838091EE00881F8827881F0895CF9310 +:101220005B9A1092C9001092C8001092CA001EBAB0 +:1012300010929902109298021ABC20918302309168 +:1012400084024091850250918602211531054105A5 +:10125000510519F4109297024FC0211581EE3807FD +:101260004105510521F481E08093970245C082E059 +:101270008093970280918802813021F0823021F49E +:10128000C0E203C0C0E301C0C0E0809187028230A9 +:1012900009F4C86080918902873031F0883031F0DC +:1012A000863029F4C26003C0C46001C0C660DA01A0 +:1012B000C901B695A79597958795BC01CD01605852 +:1012C0007B47814E9F4F2AD62150310920FD04C013 +:1012D000211580E1380720F03695279580E001C080 +:1012E00082E03093CD002093CC00C093CA0080935D +:1012F000C80088E98093C9005B98CF91089593E076 +:101300009093E9009BB5992391F09091E80090FFAC +:10131000F9CF8093F10081E0860D8F3310F4682EB1 +:101320000895612C8091E8008E778093E8000895FD +:1013300084E08093E9008091E80085FD0DC08091F4 +:10134000E8008B778093E8008091E80082FDF3CF7E +:101350008BB58111F9CF02C08091F1000895E0E0D2 +:10136000F0E009941F920F920FB60F9211242F9361 +:101370003F934F935F936F937F938F939F93AF931D +:10138000BF93EF93FF938091E10080FF15C08091A0 +:10139000E20080FF11C08091E2008E7F8093E20026 +:1013A0008091E20080618093E2008091D8008062A9 +:1013B0008093D80019BC1BBC8091E10084FF2DC034 +:1013C0008091E20084FF29C084E089BD86E089BD68 +:1013D00009B400FEFDCF8091D8008F7D8093D800A6 +:1013E0008091E1008F7E8093E1008091E2008F7E0A +:1013F0008093E2008091E20081608093E20080911E +:10140000A202882311F084E007C08091E30087FDE9 +:1014100002C081E001C083E08BBD8091E10083FFC9 +:1014200020C08091E20083FF1CC08091E100877F93 +:101430008093E10082E08BBD1092A2028091E100D6 +:101440008E7F8093E1008091E2008E7F8093E200A6 +:101450008091E20080618093E20042E060E080E001 +:10146000CADEFF91EF91BF91AF919F918F917F91D4 +:101470006F915F914F913F912F910F900FBE0F9001 +:101480001F9018959FB7F89407B600FCFDCFF99907 +:10149000FECF809529E0E1E0F0E0082E2093570090 +:1014A000E8959FBF0895E1E0F0E089E08093570060 +:1014B0008491089529E0FC012093570084910895B8 +:1014C00021E2FC01209357008491089507B600FCA7 +:1014D000FDCFF999FECF21E0FB010A0120935700CF +:1014E000E895112408952FB7F89407B600FCFDCFB6 +:1014F000F999FECF35E0FB0130935700E89507B628 +:1015000000FCFDCF91E190935700E8952FBF08951F +:101510002FB7F89407B600FCFDCFF999FECF33E062 +:10152000FB0130935700E89507B600FCFDCF91E131 +:1015300090935700E8952FBF08957F928F929F92C6 +:10154000AF92BF92CF92DF92EF92FF920F931F93D1 +:10155000CF93DF93612CECDE082F853419F41092C1 +:10156000820207C088E8800F823010F0043521F431 +:10157000DFDE8DE0C4DE3BC10035D9F30C34C9F3A6 +:10158000043721F484E4BBDE80E0F4CF013611F4AB +:1015900089E5F0CF0134D1F4CBDEC82FC9DE2C2F82 +:1015A00030E0322F2227330F90E0880F991F822BD3 +:1015B000932B092E000CAA0BBB0B809393029093E4 +:1015C0009402A0939502B0939602D3CF003711F402 +:1015D00083E5D0CF033549F4CAE8D2E089918FDEA4 +:1015E00082E0C139D807D1F702C1063521F481E381 +:1015F00086DE80E3BFCF033731F482E880DE83E903 +:101600007EDE8EE1B7CF053691F4C12CD12C760168 +:10161000C701B6017DDF80E8C80ED11CE11CF11CBA +:10162000C11480E1D806E104F10491F7A2CF0C3691 +:1016300019F47EDE27DF9DCF023711F434DF9ACF15 +:10164000063419F4E0E0F0E009C00E3419F4E3E0E8 +:10165000F0E004C0013539F4E2E0F0E089E0809385 +:101660005700849187CF023631F489E548DE80E067 +:1016700046DE80E87FCF023419F0073609F0B4C0A7 +:1016800057DEF82E55DEC82F53DE182F8BEB810F57 +:10169000823010F08FE36ECFD0E0DF29073609F0FB +:1016A0003EC000E0BB24B394209709F4A0C0C090D2 +:1016B0009302D0909402E0909502F0909602163436 +:1016C000B9F4E02FF0E0EC29FD29849118DE002325 +:1016D00069F082E0C80ED11CE11CF11CC09293029B +:1016E000D0929402E0929502F09296020B2515C0DA +:1016F000D701C601B695A79597958795F5D3FFDDD8 +:1017000082E0C80ED11CE11CF11CC0929302D09261 +:101710009402E0929502F09296022197C5CF8090B4 +:10172000930290909402A0909502B0909602163485 +:1017300019F4C501B401ECDE712C00E0209709F426 +:101740004CC0163431F50023E9F0F2DDC09093026D +:10175000D0909402E0909502F0909602472D50E0D0 +:10176000582BC701B601B2DE82E0C80ED11CE11CC5 +:10177000F11CC0929302D0929402E0929502F092F2 +:10178000960202C0D5DD782E81E0011180E0082F9D +:1017900022C0CEDD682F8091930290919402A09197 +:1017A0009502B0919602B695A79597958795A4D383 +:1017B0008091930290919402A0919502B09196022B +:1017C0000296A11DB11D8093930290939402A09361 +:1017D0009502B09396022197B1CF163409F0C9CE85 +:1017E000C501B40180DEC5CE0B3109F053CF6620B0 +:1017F00079F083E08093E9008BB5882389F08091AC +:10180000E80080FFF9CF8091E8008E778093E800B0 +:1018100084E08093E9008091E8008B778093E80072 +:10182000DF91CF911F910F91FF90EF90DF90CF90BC +:10183000BF90AF909F908F907F9008952F01EEB34F +:10184000F2E031903092CE00EEBBF798F2012EB26A +:101850003090990223101895E8E9E093C900F2014D +:1018600018953090CE002F01EAB5F1E03192EABD33 +:10187000F2011895CF93DF9300D01F92CDB7DEB75A +:1018800090E080E80FB6F894809361009093610037 +:101890000FBE91E095BF82E085BF809163008E7F8F +:1018A00080936300909392021092E2001092E10004 +:1018B0008091D8008F778093D8008091D80080687D +:1018C0008093D8008091D8008F7D8093D80084E0E9 +:1018D00089BD86E089BD09B400FEFDCF1BBC109216 +:1018E000A20242E060E080E086DC8091E1008E7F31 +:1018F0008093E1008091E20081608093E20080911A +:10190000E20088608093E2008091E0008E7F809307 +:10191000E00084E085BD8AB1886B8AB95F9A5A9AE3 +:10192000789422EAE22E22E0F22E38EEA32E30E165 +:10193000B32E4CEFC42E40E1D42E812C912C01E02B +:1019400010E02BB529831092E9008091E80083FF15 +:1019500022C2EAE9F2E08091F1008193EE16FF06DF +:10196000D1F780919A02982F9F77913209F0AAC0FF +:1019700090919B02913209F057C0813A09F0A2C0C0 +:101980008091E800877F8093E8008091A002909189 +:10199000A1028730910510F087E090E040E0E3E895 +:1019A000F2E0009759F12BB52223C1F12530B1F1B6 +:1019B0002091E80023FD32C02091E80022FD2AC0DA +:1019C0002091E80020FFEDCF2091F20030E0009759 +:1019D00051F02830310538F441914093F1000197DE +:1019E0002F5F3F4FF4CF41E02830310509F040E050 +:1019F0002091E8002E772093E800D3CF4111D3CF78 +:101A000009C08BB5882351F0853041F08091E80002 +:101A100083FD04C08091E80082FFF3CF8091E8004D +:101A20008B778093E8004EC09032C9F5813209F07F +:101A300049C08091E800877F8093E800E3E8F2E006 +:101A400087E0882311F19BB5992311F1953001F1BD +:101A50009091E80093FD1CC09091E80092FFF1CFB7 +:101A60009091F200992329F09091F1009193815087 +:101A7000B9F79091E8009B779093E800E2CF85302A +:101A800039F08091E80080FD03C08BB58111F7CF5C +:101A90008091E8008E778093E800C1DB13C092321A +:101AA00089F4813279F48091E800877F8093E8009F +:101AB00085DB80919C0280FF04C05F9830E43A95FA +:101AC000F1F75F9A8091E80083FF57C180919A02F5 +:101AD00090919B02953009F46DC030F4913071F112 +:101AE00068F0933059F149C1983009F40EC199302A +:101AF00009F41AC1963009F040C17EC0803899F0CF +:101B0000823809F03AC180919E028F70853008F0CA +:101B100034C18093E9008091EB0085FB882780F930 +:101B20001092E90001C080E09091E800977F9093C7 +:101B3000E8008093F1001092F100F2C0282F2D7F71 +:101B400009F01BC1823009F018C180919C028111FB +:101B500028C080919E028F702FEF280F243008F04C +:101B60000CC18093E9002091EB0020FF1AC0933054 +:101B700021F48091EB00806212C09091EB009061A3 +:101B80009093EB00F80102C0EE0FFF1F8A95E2F779 +:101B9000E093EA001092EA008091EB008860809365 +:101BA000EB001092E9008091E800877F8093E800C5 +:101BB00005DBE3C08111E1C080919C028F77782E14 +:101BC0008091E300807887298093E3008091E8008A +:101BD000877F8093E800F2DA8091E80080FFFCCFF5 +:101BE0008091E30080688093E300711002C082E07E +:101BF00001C083E08BBDC1C08058823008F0BDC0F9 +:101C000080919C02F0919D02FA831B822A813B8184 +:101C10002230310541F02330310551F021303105BA +:101C200009F0ABC05CC12EE330E0E4E7F0E11BC09B +:101C3000811106C0F601249130E0ECEFF0E10FC015 +:101C4000813031F4F501249130E0E8EEF0E107C095 +:101C5000823009F092C0E4ECF0E1249130E02115EB +:101C6000310509F48AC08091E800877F8093E800FD +:101C70008091A0029091A1022817390708F4C901A8 +:101C800040E0009761F12BB52223C9F12530B9F16D +:101C90002091E80023FD33C02091E80022FD2BC0F5 +:101CA0002091E80020FFEDCF2091F20030E0009776 +:101CB00059F02830310540F444914093F1003196B9 +:101CC00001972F5F3F4FF3CF41E02830310509F0F6 +:101CD00040E02091E8002E772093E800D2CF411118 +:101CE000D2CF09C08BB5882351F0853041F0809167 +:101CF000E80083FD04C08091E80082FFF3CF80916B +:101D0000E8008B778093E80038C08038B1F5809187 +:101D1000E800877F8093E8008091A2028093F10021 +:101D20008091E8008E7742CF811127C080919C027C +:101D300090919D029927029704F58091E800877F92 +:101D40008093E80070909C027092A20237DA7110C2 +:101D500006C08091E30087FD02C081E001C084E0FD +:101D60008BBD42E061EC82E046DA46E361E883E065 +:101D700042DA42E260E884E03EDA8091E80083FFE4 +:101D80000AC08091E800877F8093E8008091EB0093 +:101D900080628093EB008BB5843081F0F981F43060 +:101DA00009F0CFCD10928302109284021092850226 +:101DB0001092860234DA5D9A5C9ABFCD90918202CD +:101DC000911116C08FE99FE00197F1F700C0000064 +:101DD0008091E00081608093E0009CE088E10FB694 +:101DE000F894A895809360000FBE90936000FFCF99 +:101DF0008093E9008091E80082FF0AC09091F20090 +:101E0000911107C08091E8008B778093E80001C0B2 +:101E100090E080919702813029F4992309F44DC014 +:101E20008CDB4BC0823009F048C0809199022EB300 +:101E3000821B80958F779923B1F08917A0F0F2E08B +:101E4000E09199028091F1008193EF779150D1F761 +:101E50008091E8008B778093E800E093990288EB0B +:101E60008093C90002C08F3719F05C9893E0892EE7 +:101E70008AB590919802891B01F1A89902C08F330D +:101E8000C8F093E09093E9009091E80090FF12C0B1 +:101E90008F3308F08FE3E0919802F1E091919093F5 +:101EA000F1008150D1F78091E8008E778093E800AF +:101EB000E09398025D9883E0982EA89B42CD91E034 +:101EC00095BB992021F09A94911001C05D9A8820C9 +:101ED00009F437CD8A94811034CD5C9A32CD22E159 +:101EE00030E0E2EBF0E1BFCEF999FECF92BD81BDCB +:101EF000F89A992780B50895262FF999FECF92BDBB +:101F000081BDF89A019700B4021639F01FBA20BDBE +:101F10000FB6F894FA9AF99A0FBE0895A1E21A2E14 +:101F2000AA1BBB1BFD010DC0AA1FBB1FEE1FFF1F7D +:101F3000A217B307E407F50720F0A21BB30BE40BCD +:101F4000F50B661F771F881F991F1A9469F7609514 +:101F50007095809590959B01AC01BD01CF010895CE +:041F6000F894FFCF23 +:101F64000100000000000008484C322E302E3600DC +:101FA000B7CAA1CA93CA8CCA85CA7DCA6BCA08952A +:081FB0000895089508950895B5 +:101FE000DFCFDFCFDFCFDFCFDFCFDFCFDFCFDFCF81 +:081FF000DFCFDFCFDFCFDFCF31 +:081FF8000010000000DFFBDC1B +:0400000300001000E9 +:00000001FF diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_6_Mega_atmega16u2.hex b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Mega_atmega16u2.hex new file mode 100644 index 0000000..03ec2fc --- /dev/null +++ b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Mega_atmega16u2.hex @@ -0,0 +1,255 @@ +:103000007FC00000DAC00000D8C00000D6C00000B9 +:10301000D4C00000D2C00000D0C00000CEC000006C +:10302000CCC00000CAC00000C8C000009BC10000A6 +:10303000C4C00000C2C00000C0C00000BEC000008C +:10304000BCC00000BAC00000B8C00000B6C000009C +:10305000B4C00000B2C00000B0C0000002C4000054 +:10306000EDC30000AAC00000A8C00000A6C0000078 +:10307000A4C0000009023E000201008032090400E1 +:1030800000010202010005240010010424020205CF +:1030900024060001070582030800FF09040100025D +:1030A0000A00000007050402200001070583024012 +:1030B0000001120110010200000841234200060233 +:1030C00001020001220348006F006F0064004C0001 +:1030D0006F006100640065007200320020004D0046 +:1030E000650067006100000012034E006900630084 +:1030F0006F0048006F006F006400000004030904C3 +:1031000011241FBECFEFD2E0DEBFCDBF2091FF0262 +:103110001092FF02909180021092800284B714BE38 +:103120000FB6F894A8953091600038613093600034 +:10313000109260000FBE5D9A5C9AE0E0F0E045916D +:1031400054914F3F5F4F21F181FF18C0273701F1A4 +:103150009737F1F087E78093FF02809380028FEF2B +:103160009EE924E2815090402040E1F700C0000039 +:103170001092FF0210928002F2D00AC080FF02C0BB +:10318000EED006C083FF04C0273711F09737C1F790 +:1031900012E0A2E8B2E0E4E6FFE302C005900D927F +:1031A000A239B107D9F722E0A2E9B2E001C01D922D +:1031B000A33AB207E1F75ED3D3C622CF80919A0239 +:1031C00087FF0FC08091E80082FD04C08BB581119C +:1031D000F9CF10C08091E8008B770AC08BB58823A7 +:1031E00049F08091E80080FFF9CF8091E8008E7768 +:1031F0008093E80008958F708093E900EBEEF0E093 +:10320000808181608083EDEEF0E010826093EC00BD +:1032100040838091EE00881F8827881F0895CF93F0 +:103220005B9A1092C9001092C8001092CA001EBA90 +:1032300010929902109298021ABC20918302309148 +:103240008402409185025091860221153105410585 +:10325000510519F4109297024FC0211581EE3807DD +:103260004105510521F481E08093970245C082E039 +:103270008093970280918802813021F0823021F47E +:10328000C0E203C0C0E301C0C0E080918702823089 +:1032900009F4C86080918902873031F0883031F0BC +:1032A000863029F4C26003C0C46001C0C660DA0180 +:1032B000C901B695A79597958795BC01CD01605832 +:1032C0007B47814E9F4F2AD62150310920FD04C0F3 +:1032D000211580E1380720F03695279580E001C060 +:1032E00082E03093CD002093CC00C093CA0080933D +:1032F000C80088E98093C9005B98CF91089593E056 +:103300009093E9009BB5992391F09091E80090FF8C +:10331000F9CF8093F10081E0860D8F3310F4682E91 +:103320000895612C8091E8008E778093E8000895DD +:1033300084E08093E9008091E80085FD0DC08091D4 +:10334000E8008B778093E8008091E80082FDF3CF5E +:103350008BB58111F9CF02C08091F1000895E0E0B2 +:10336000F0E009941F920F920FB60F9211242F9341 +:103370003F934F935F936F937F938F939F93AF93FD +:10338000BF93EF93FF938091E10080FF15C0809180 +:10339000E20080FF11C08091E2008E7F8093E20006 +:1033A0008091E20080618093E2008091D800806289 +:1033B0008093D80019BC1BBC8091E10084FF2DC014 +:1033C0008091E20084FF29C084E089BD86E089BD48 +:1033D00009B400FEFDCF8091D8008F7D8093D80086 +:1033E0008091E1008F7E8093E1008091E2008F7EEA +:1033F0008093E2008091E20081608093E2008091FE +:10340000A202882311F084E007C08091E30087FDC9 +:1034100002C081E001C083E08BBD8091E10083FFA9 +:1034200020C08091E20083FF1CC08091E100877F73 +:103430008093E10082E08BBD1092A2028091E100B6 +:103440008E7F8093E1008091E2008E7F8093E20086 +:103450008091E20080618093E20042E060E080E0E1 +:10346000CADEFF91EF91BF91AF919F918F917F91B4 +:103470006F915F914F913F912F910F900FBE0F90E1 +:103480001F9018959FB7F89407B600FCFDCFF999E7 +:10349000FECF809529E0E1E0F0E0082E2093570070 +:1034A000E8959FBF0895E1E0F0E089E08093570040 +:1034B0008491089529E0FC01209357008491089598 +:1034C00021E2FC01209357008491089507B600FC87 +:1034D000FDCFF999FECF21E0FB010A0120935700AF +:1034E000E895112408952FB7F89407B600FCFDCF96 +:1034F000F999FECF35E0FB0130935700E89507B608 +:1035000000FCFDCF91E190935700E8952FBF0895FF +:103510002FB7F89407B600FCFDCFF999FECF33E042 +:10352000FB0130935700E89507B600FCFDCF91E111 +:1035300090935700E8952FBF08957F928F929F92A6 +:10354000AF92BF92CF92DF92EF92FF920F931F93B1 +:10355000CF93DF93612CECDE082F853419F41092A1 +:10356000820207C088E8800F823010F0043521F411 +:10357000DFDE8DE0C4DE3BC10035D9F30C34C9F386 +:10358000043721F484E4BBDE80E0F4CF013611F48B +:1035900089E5F0CF0134D1F4CBDEC82FC9DE2C2F62 +:1035A00030E0322F2227330F90E0880F991F822BB3 +:1035B000932B092E000CAA0BBB0B809393029093C4 +:1035C0009402A0939502B0939602D3CF003711F4E2 +:1035D00083E5D0CF033549F4CAE8D2E089918FDE84 +:1035E00082E0C139D807D1F702C1063521F481E361 +:1035F00086DE80E3BFCF033731F489E880DE84E9DB +:103600007EDE8EE1B7CF053691F4C12CD12C760148 +:10361000C701B6017DDF80E8C80ED11CE11CF11C9A +:10362000C11480E3D806E104F10491F7A2CF0C366F +:1036300019F47EDE27DF9DCF023711F434DF9ACFF5 +:10364000063419F4E0E0F0E009C00E3419F4E3E0C8 +:10365000F0E004C0013539F4E2E0F0E089E0809365 +:103660005700849187CF023631F489E548DE80E047 +:1036700046DE80E87FCF023419F0073609F0B4C087 +:1036800057DEF82E55DEC82F53DE182F8BEB810F37 +:10369000823010F08FE36ECFD0E0DF29073609F0DB +:1036A0003EC000E0BB24B394209709F4A0C0C090B2 +:1036B0009302D0909402E0909502F0909602163416 +:1036C000B9F4E02FF0E0EC29FD29849118DE002305 +:1036D00069F082E0C80ED11CE11CF11CC09293027B +:1036E000D0929402E0929502F09296020B2515C0BA +:1036F000D701C601B695A79597958795F5D3FFDDB8 +:1037000082E0C80ED11CE11CF11CC0929302D09241 +:103710009402E0929502F09296022197C5CF809094 +:10372000930290909402A0909502B0909602163465 +:1037300019F4C501B401ECDE712C00E0209709F406 +:103740004CC0163431F50023E9F0F2DDC09093024D +:10375000D0909402E0909502F0909602472D50E0B0 +:10376000582BC701B601B2DE82E0C80ED11CE11CA5 +:10377000F11CC0929302D0929402E0929502F092D2 +:10378000960202C0D5DD782E81E0011180E0082F7D +:1037900022C0CEDD682F8091930290919402A09177 +:1037A0009502B0919602B695A79597958795A4D363 +:1037B0008091930290919402A0919502B09196020B +:1037C0000296A11DB11D8093930290939402A09341 +:1037D0009502B09396022197B1CF163409F0C9CE65 +:1037E000C501B40180DEC5CE0B3109F053CF662090 +:1037F00079F083E08093E9008BB5882389F080918C +:10380000E80080FFF9CF8091E8008E778093E80090 +:1038100084E08093E9008091E8008B778093E80052 +:10382000DF91CF911F910F91FF90EF90DF90CF909C +:10383000BF90AF909F908F907F9008952F01EEB32F +:10384000F2E031903092CE00EEBBF798F2012EB24A +:103850003090990223101895E8E9E093C900F2012D +:1038600018953090CE002F01EAB5F1E03192EABD13 +:10387000F2011895CF93DF9300D01F92CDB7DEB73A +:1038800090E080E80FB6F894809361009093610017 +:103890000FBE91E095BF82E085BF809163008E7F6F +:1038A00080936300909392021092E2001092E100E4 +:1038B0008091D8008F778093D8008091D80080685D +:1038C0008093D8008091D8008F7D8093D80084E0C9 +:1038D00089BD86E089BD09B400FEFDCF1BBC1092F6 +:1038E000A20242E060E080E086DC8091E1008E7F11 +:1038F0008093E1008091E20081608093E2008091FA +:10390000E20088608093E2008091E0008E7F8093E7 +:10391000E00084E085BD8AB1886B8AB95F9A5A9AC3 +:10392000789422EAE22E22E0F22E38EEA32E30E343 +:10393000B32E4CEFC42E40E3D42E812C912C01E009 +:1039400010E02BB529831092E9008091E80083FFF5 +:1039500022C2EAE9F2E08091F1008193EE16FF06BF +:10396000D1F780919A02982F9F77913209F0AAC0DF +:1039700090919B02913209F057C0813A09F0A2C0A0 +:103980008091E800877F8093E8008091A002909169 +:10399000A1028730910510F087E090E040E0E3E875 +:1039A000F2E0009759F12BB52223C1F12530B1F196 +:1039B0002091E80023FD32C02091E80022FD2AC0BA +:1039C0002091E80020FFEDCF2091F20030E0009739 +:1039D00051F02830310538F441914093F1000197BE +:1039E0002F5F3F4FF4CF41E02830310509F040E030 +:1039F0002091E8002E772093E800D3CF4111D3CF58 +:103A000009C08BB5882351F0853041F08091E800E2 +:103A100083FD04C08091E80082FFF3CF8091E8002D +:103A20008B778093E8004EC09032C9F5813209F05F +:103A300049C08091E800877F8093E800E3E8F2E0E6 +:103A400087E0882311F19BB5992311F1953001F19D +:103A50009091E80093FD1CC09091E80092FFF1CF97 +:103A60009091F200992329F09091F1009193815067 +:103A7000B9F79091E8009B779093E800E2CF85300A +:103A800039F08091E80080FD03C08BB58111F7CF3C +:103A90008091E8008E778093E800C1DB13C09232FA +:103AA00089F4813279F48091E800877F8093E8007F +:103AB00085DB80919C0280FF04C05F9830E43A95DA +:103AC000F1F75F9A8091E80083FF57C180919A02D5 +:103AD00090919B02953009F46DC030F4913071F1F2 +:103AE00068F0933059F149C1983009F40EC199300A +:103AF00009F41AC1963009F040C17EC0803899F0AF +:103B0000823809F03AC180919E028F70853008F0AA +:103B100034C18093E9008091EB0085FB882780F910 +:103B20001092E90001C080E09091E800977F9093A7 +:103B3000E8008093F1001092F100F2C0282F2D7F51 +:103B400009F01BC1823009F018C180919C028111DB +:103B500028C080919E028F702FEF280F243008F02C +:103B60000CC18093E9002091EB0020FF1AC0933034 +:103B700021F48091EB00806212C09091EB00906183 +:103B80009093EB00F80102C0EE0FFF1F8A95E2F759 +:103B9000E093EA001092EA008091EB008860809345 +:103BA000EB001092E9008091E800877F8093E800A5 +:103BB00005DBE3C08111E1C080919C028F77782EF4 +:103BC0008091E300807887298093E3008091E8006A +:103BD000877F8093E800F2DA8091E80080FFFCCFD5 +:103BE0008091E30080688093E300711002C082E05E +:103BF00001C083E08BBDC1C08058823008F0BDC0D9 +:103C000080919C02F0919D02FA831B822A813B8164 +:103C10002230310541F02330310551F0213031059A +:103C200009F0ABC05CC12EE330E0E4E7F0E31BC079 +:103C3000811106C0F601249130E0ECEFF0E30FC0F3 +:103C4000813031F4F501249130E0E8EEF0E307C073 +:103C5000823009F092C0E4ECF0E3249130E02115C9 +:103C6000310509F48AC08091E800877F8093E800DD +:103C70008091A0029091A1022817390708F4C90188 +:103C800040E0009761F12BB52223C9F12530B9F14D +:103C90002091E80023FD33C02091E80022FD2BC0D5 +:103CA0002091E80020FFEDCF2091F20030E0009756 +:103CB00059F02830310540F444914093F100319699 +:103CC00001972F5F3F4FF3CF41E02830310509F0D6 +:103CD00040E02091E8002E772093E800D2CF4111F8 +:103CE000D2CF09C08BB5882351F0853041F0809147 +:103CF000E80083FD04C08091E80082FFF3CF80914B +:103D0000E8008B778093E80038C08038B1F5809167 +:103D1000E800877F8093E8008091A2028093F10001 +:103D20008091E8008E7742CF811127C080919C025C +:103D300090919D029927029704F58091E800877F72 +:103D40008093E80070909C027092A20237DA7110A2 +:103D500006C08091E30087FD02C081E001C084E0DD +:103D60008BBD42E061EC82E046DA46E361E883E045 +:103D700042DA42E260E884E03EDA8091E80083FFC4 +:103D80000AC08091E800877F8093E8008091EB0073 +:103D900080628093EB008BB5843081F0F981F43040 +:103DA00009F0CFCD10928302109284021092850206 +:103DB0001092860234DA5D9A5C9ABFCD90918202AD +:103DC000911116C08FE99FE00197F1F700C0000044 +:103DD0008091E00081608093E0009CE088E10FB674 +:103DE000F894A895809360000FBE90936000FFCF79 +:103DF0008093E9008091E80082FF0AC09091F20070 +:103E0000911107C08091E8008B778093E80001C092 +:103E100090E080919702813029F4992309F44DC0F4 +:103E20008CDB4BC0823009F048C0809199022EB3E0 +:103E3000821B80958F779923B1F08917A0F0F2E06B +:103E4000E09199028091F1008193EF779150D1F741 +:103E50008091E8008B778093E800E093990288EBEB +:103E60008093C90002C08F3719F05C9893E0892EC7 +:103E70008AB590919802891B01F1A89902C08F33ED +:103E8000C8F093E09093E9009091E80090FF12C091 +:103E90008F3308F08FE3E0919802F1E091919093D5 +:103EA000F1008150D1F78091E8008E778093E8008F +:103EB000E09398025D9883E0982EA89B42CD91E014 +:103EC00095BB992021F09A94911001C05D9A8820A9 +:103ED00009F437CD8A94811034CD5C9A32CD22E139 +:103EE00030E0E2EBF0E3BFCEF999FECF92BD81BDA9 +:103EF000F89A992780B50895262FF999FECF92BD9B +:103F000081BDF89A019700B4021639F01FBA20BD9E +:103F10000FB6F894FA9AF99A0FBE0895A1E21A2EF4 +:103F2000AA1BBB1BFD010DC0AA1FBB1FEE1FFF1F5D +:103F3000A217B307E407F50720F0A21BB30BE40BAD +:103F4000F50B661F771F881F991F1A9469F76095F4 +:103F50007095809590959B01AC01BD01CF010895AE +:043F6000F894FFCF03 +:103F64000100000000000008484C322E302E3600BC +:103FA000B7CAA1CA93CA8CCA85CA7DCA6BCA08950A +:083FB000089508950895089595 +:103FE000DFCFDFCFDFCFDFCFDFCFDFCFDFCFDFCF61 +:083FF000DFCFDFCFDFCFDFCF11 +:083FF8000030000000DFFBDCDB +:0400000300003000C9 +:00000001FF diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_6_Mega_atmega32u2.hex b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Mega_atmega32u2.hex new file mode 100644 index 0000000..807b7df --- /dev/null +++ b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Mega_atmega32u2.hex @@ -0,0 +1,253 @@ +:1070000039C0000094C0000092C0000090C0000091 +:107010008EC000008CC000008AC0000088C0000044 +:1070200086C0000084C0000082C00000AEC1000025 +:107030007EC000007CC000007AC0000078C0000064 +:1070400076C0000074C0000072C0000070C0000074 +:107050006EC000006CC000006AC0000050C4000098 +:107060003BC4000064C0000062C0000060C00000BB +:107070005EC0000011241FBECFEFD4E0DEBFCDBF45 +:107080002091FF041092FF049091800210928002E0 +:1070900084B714BE0FB6F894A8953091600038619B +:1070A00030936000109260000FBE5D9A5C9AE0E041 +:1070B000F0E0459154914F3F5F4F21F181FF18C09F +:1070C000273701F19737F1F087E78093FF0480932A +:1070D00080028FEF9EE924E2815090402040E1F74A +:1070E00000C000001092FF04109280024BD10AC031 +:1070F00080FF02C047D106C083FF04C0273711F0CC +:107100009737C1F713E0A2E8B2E0EAEBFEE702C06E +:1071100005900D92AE31B107D9F723E0AEE1B3E0AF +:1071200001C01D92AF32B207E1F7F2D3C4C668CFF7 +:107130008091260387FF0FC08091E80082FD04C084 +:107140008BB58111F9CF10C08091E8008B770AC010 +:107150008BB5882349F08091E80080FFF9CF8091BA +:10716000E8008E778093E80008958F708093E9009F +:10717000EBEEF0E0808181608083EDEEF0E0108244 +:107180006093EC0040838091EE00881F8827881F61 +:10719000089520912C0330912D032617370748F0CE +:1071A0006115710539F42091E8002E772093E800ED +:1071B00001C0B901FC0120E06115710559F18BB5E1 +:1071C0008823D1F18530D1F18091E80083FD38C06A +:1071D0008091E80082FD2AC08091E80080FFECCF1A +:1071E0008091F20090E06115710551F088309105B1 +:1071F00038F421912093F100615071090196F3CF89 +:1072000021E0089709F020E08091E8008E778093D4 +:10721000E800D2CF2111D3CF09C08BB5882361F00C +:10722000853061F08091E80083FD0AC08091E8001C +:1072300082FFF3CF80E0089582E0089583E008950F +:1072400081E00895CF935B9A1092C9001092C80014 +:107250001092CA001EBA10922503109224031ABC81 +:1072600020918302309184024091850250918602E0 +:10727000211531054105510519F4109223034FC022 +:10728000211581EE38074105510521F481E08093F5 +:10729000230345C082E080932303809188028130DC +:1072A00021F0823021F4C0E203C0C0E301C0C0E09D +:1072B00080918702823009F4C8608091890287300A +:1072C00031F0883031F0863029F4C26003C0C460E8 +:1072D00001C0C660DA01C901B695A7959795879553 +:1072E000BC01CD0160587B47814E9F4FC2D52150D4 +:1072F000310920FD04C0211580E1380720F03695C2 +:10730000279580E001C082E03093CD002093CC002F +:10731000C093CA008093C80088E98093C9005B9835 +:10732000CF91089593E09093E9009BB5992391F054 +:107330009091E80090FFF9CF8093F10081E0860DF5 +:107340008F3310F4682E0895612C8091E8008E77B9 +:107350008093E800089584E08093E9008091E8003C +:1073600085FD0DC08091E8008B778093E8008091C7 +:10737000E80082FDF3CF8BB58111F9CF02C0809177 +:10738000F1000895E0E0F0E009941F920F920FB62B +:107390000F9211242F933F934F935F936F937F939B +:1073A0008F939F93AF93BF93EF93FF938091E100EF +:1073B00080FF15C08091E20080FF11C08091E20043 +:1073C0008E7F8093E2008091E20080618093E200F2 +:1073D0008091D80080628093D80019BC1BBC80913A +:1073E000E10084FF2DC08091E20084FF29C084E089 +:1073F00089BD86E089BD09B400FEFDCF8091D8002B +:107400008F7D8093D8008091E1008F7E8093E10092 +:107410008091E2008F7E8093E2008091E2008160A3 +:107420008093E20080912E03882311F084E007C04E +:107430008091E30087FD02C081E001C083E08BBD45 +:107440008091E10083FF20C08091E20083FF1CC097 +:107450008091E100877F8093E10082E08BBD1092F4 +:107460002E038091E1008E7F8093E1008091E20005 +:107470008E7F8093E2008091E20080618093E20041 +:1074800042E060E080E071DEFF91EF91BF91AF914B +:107490009F918F917F916F915F914F913F912F912C +:1074A0000F900FBE0F901F9018959FB7F89407B6D6 +:1074B00000FCFDCFF999FECF809529E0E1E0F0E0F6 +:1074C000082E20935700E8959FBF0895E1E0F0E073 +:1074D00089E0809357008491089529E0FC0120936E +:1074E00057008491089521E2FC0120935700849174 +:1074F000089507B600FCFDCFF999FECF21E0FB010E +:107500000A0120935700E895112408952FB7F894A5 +:1075100007B600FCFDCFF999FECF35E0FB013093B3 +:107520005700E89507B600FCFDCF91E19093570016 +:10753000E8952FBF08952FB7F89407B600FCFDCF4C +:10754000F999FECF33E0FB0130935700E89507B679 +:1075500000FCFDCF91E190935700E8952FBF08956F +:107560007F928F929F92AF92BF92CF92DF92EF92D3 +:10757000FF920F931F93CF93DF93612CECDE082FC4 +:10758000853419F41092820207C088E8800F823097 +:1075900010F0043521F4DFDE8DE0C4DE76C1003565 +:1075A000D9F30C34C9F3043721F484E4BBDE80E062 +:1075B000F4CF013611F489E5F0CF013491F4CBDE3C +:1075C000C82FC9DE2C2F30E0322F2227330F90E056 +:1075D000880F991F822B932B092E000CAA0BBB0B33 +:1075E00028C1003711F483E5D8CF033549F4C6E14B +:1075F000D3E0899197DE83E0CD31D807D1F745C13B +:10760000063521F481E38EDE80E3C7CF033731F402 +:107610008AE888DE85E986DE8EE1BFCF053691F403 +:10762000C12CD12C7601C701B60185DF80E8C80ED8 +:10763000D11CE11CF11CC11480E7D806E104F1045F +:1076400091F7AACF0C3619F486DE2FDFA5CF0237CB +:1076500011F43CDFA2CF063419F4E0E0F0E009C0F9 +:107660000E3419F4E3E0F0E004C0013539F4E2E04F +:10767000F0E089E08093570084918FCF023631F497 +:1076800089E550DE80E04EDE80E887CF023419F0D5 +:10769000073609F0B2C05FDEF82E5DDEC82F5BDE74 +:1076A000182F8BEB810F823010F08FE376CFD0E074 +:1076B000DF29073609F03EC000E0BB24B3942097D1 +:1076C00009F4E3C0C0901F03D0902003E090210391 +:1076D000F09022031634B9F4E02FF0E0EC29FD29F4 +:1076E000849120DE002369F082E0C80ED11CE11CE9 +:1076F000F11CC0921F03D0922003E0922103F0926C +:1077000022030B2515C0D701C601B695A7959795FD +:10771000879595D307DE82E0C80ED11CE11CF11CD1 +:10772000C0921F03D0922003E0922103F092220323 +:107730002197C5CF80901F0390902003A090210334 +:10774000B0902203163419F4C501B401F4DE712C93 +:1077500000E0209709F44AC0163421F50023E9F02F +:10776000FADDC0901F03D0902003E0902103F09039 +:107770002203472D50E0582BC701B601BADE82E044 +:10778000C80ED11CE11CF11CC0921F03D092200333 +:10779000E0922103F092220302C0DDDD782E81E029 +:1077A000082722C0D8DD682F80911F039091200305 +:1077B000A0912103B0912203B695A795979587953F +:1077C00046D380911F0390912003A0912103B09193 +:1077D00022030296A11DB11D80931F0390932003E5 +:1077E000A0932103B09322032197B3CF163409F05D +:1077F000D3CEC501B4018ADECFCE043419F5ABDD9A +:10780000682F80911F0390912003A0912103B091D4 +:107810002203B695A7959795879519D380911F0355 +:1078200090912003A0912103B09122030296A11D03 +:10783000B11D80931F0390932003A0932103B09365 +:107840002203AACE0436F1F4C0901F03D090200387 +:10785000E0902103F0902203D701C601B695A795C9 +:1078600097958795ECD25EDD82E0C80ED11CE11CB5 +:10787000F11CC0921F03D0922003E0922103F092EA +:10788000220303C00B3109F010CF662079F083E0AA +:107890008093E9008BB5882389F08091E80080FF10 +:1078A000F9CF8091E8008E778093E80084E08093A0 +:1078B000E9008091E8008B778093E800DF91CF9119 +:1078C0001F910F91FF90EF90DF90CF90BF90AF90FE +:1078D0009F908F907F9008952F01EEB3F2E031904A +:1078E0003092CE00EEBBF798F2012EB23090250315 +:1078F00023101895E8E9E093C900F201189530903B +:10790000CE002F01EAB5F1E03192EABDF2011895FF +:1079100090E080E80FB6F894809361009093610046 +:107920000FBE91E095BF82E085BF809163008E7F9E +:107930008093630090931E031092E2001092E10086 +:107940008091D8008F778093D8008091D80080688C +:107950008093D8008091D8008F7D8093D80084E0F8 +:1079600089BD86E089BD09B400FEFDCF1BBC109225 +:107970002E0342E060E080E0F8DB8091E1008E7F42 +:107980008093E1008091E20081608093E200809129 +:10799000E20088608093E2008091E0008E7F809317 +:1079A000E00084E085BD8AB1886B8AB95F9A5A9AF3 +:1079B0007894F12CE12C01E010E0DBB41092E900A6 +:1079C0008091E80083FF79C1E6E2F3E08091F10065 +:1079D000819323E0EE32F207C9F780912603982FB6 +:1079E0009F77913209F065C090912703913299F405 +:1079F000813A09F05EC08091E800877F8093E800BB +:107A000067E070E083E892E0C4DB8091E8008B7768 +:107A10008093E8004EC09032C9F5813209F049C028 +:107A20008091E800877F8093E800E3E8F2E087E058 +:107A3000882311F19BB5992311F1953001F19091B3 +:107A4000E80093FD1CC09091E80092FFF1CF909167 +:107A5000F200992329F09091F10091938150B9F7A8 +:107A60009091E8009B779093E800E2CF853039F061 +:107A70008091E80080FD03C08BB58111F7CF809124 +:107A8000E8008E778093E800DDDB13C0923289F442 +:107A9000813279F48091E800877F8093E80048DBA9 +:107AA0008091280380FF04C05F9830E43A95F1F795 +:107AB0005F9A8091E80083FFF2C080912603909145 +:107AC0002703953009F46AC030F4913071F168F001 +:107AD000933059F1E4C0983009F4A6C0993009F404 +:107AE000B5C0963009F0DBC07BC0803899F0823891 +:107AF00009F0D5C080912A038F70853008F0CFC07F +:107B00008093E9008091EB0085FB882780F9109233 +:107B1000E90001C080E09091E800977F9093E80031 +:107B20008093F1001092F1008AC0282F2D7F09F078 +:107B3000B6C0823009F0B3C080912803811128C0FB +:107B400080912A038F702FEF280F243008F0A7C0F0 +:107B50008093E9002091EB0020FF1AC0933021F4BC +:107B60008091EB00806212C09091EB009061909345 +:107B7000EB00980102C0220F331F8A95E2F7209391 +:107B8000EA001092EA008091EB0088608093EB009D +:107B90001092E9008091E800877F54C081117FC076 +:107BA000809128038F77C82E8091E30080788C29FC +:107BB0008093E3008091E800877F8093E800B8DA43 +:107BC0008091E80080FFFCCF8091E3008068809383 +:107BD000E300C11002C082E001C083E08BBD5FC042 +:107BE0008058823008F05BC08091280330912903CF +:107BF000C32F90E0D92FC230D10539F0C330D10561 +:107C000049F0219709F04BC0FBC06EE370E086ECB1 +:107C100092E009C1882309F4F8C0813009F4FAC060 +:107C2000823009F03CC0FBC08038C9F58091E80083 +:107C3000877F8093E80080912E038093F1008091EC +:107C4000E8008E778093E80073DA29C0811127C09D +:107C500080912803909129039927029704F5809138 +:107C6000E800877F8093E800C0902803C0922E032D +:107C70005FDAC11006C08091E30087FD02C081E099 +:107C800001C084E08BBD42E061EC82E06EDA46E345 +:107C900061E883E06ADA42E260E884E066DA8091D3 +:107CA000E80083FF0AC08091E800877F8093E800A6 +:107CB0008091EB0080628093EB008BB5843079F08B +:107CC00024E0D2127ACE1092830210928402109293 +:107CD000850210928602B6DA5D9A5C9A6ACE90911D +:107CE0008202911116C08FE99FE00197F1F700C061 +:107CF00000008091E00081608093E0009CE088E1DA +:107D00000FB6F894A895809360000FBE9093600022 +:107D1000FFCF8093E9008091E80082FF0AC0909134 +:107D2000F200911107C08091E8008B778093E80002 +:107D300001C090E080912303813029F4992309F454 +:107D40004DC00EDC4BC0823009F048C08091250345 +:107D50002EB3821B80958F779923B1F08917A0F0FD +:107D6000F2E0E09125038091F1008193EF7791504B +:107D7000D1F78091E8008B778093E800E0932503AA +:107D800088EB8093C90002C08F3719F05C9893E0AC +:107D9000F92E8AB590912403891B01F1A89902C09C +:107DA0008F33C8F093E09093E9009091E80090FF42 +:107DB00012C08F3308F08FE3E0912403F1E091913A +:107DC0009093F1008150D1F78091E8008E778093F5 +:107DD000E800E09324035D9883E0E82EA89BEDCDB6 +:107DE00081E085BBEE2021F0EA94E11001C05D9AAC +:107DF000FF2009F4E2CDFA94F110DFCD5C9ADDCDDD +:107E000062E170E084E093E00EC064E070E08EEA2E +:107E100092E009C062E170E082EB92E004C062E2AD +:107E200070E08AE892E02091E800277F2093E80044 +:107E3000B0D98091E8008B778093E80030CFF99932 +:107E4000FECF92BD81BDF89A992780B50895262F5F +:107E5000F999FECF92BD81BDF89A019700B4021640 +:107E600039F01FBA20BD0FB6F894FA9AF99A0FBEEE +:107E70000895A1E21A2EAA1BBB1BFD010DC0AA1F6B +:107E8000BB1FEE1FFF1FA217B307E407F50720F083 +:107E9000A21BB30BE40BF50B661F771F881F991FFE +:107EA0001A9469F760957095809590959B01AC0147 +:0A7EB000BD01CF010895F894FFCF43 +:107EBA000100000000000008220348006F006F0064 +:107ECA0064004C006F0061006400650072003200BB +:107EDA0020004D00650067006100000004030904EA +:107EEA0012034E00690063006F0048006F006F00C4 +:107EFA006400000009023E00020100803209040009 +:107F0A0000010202010005240010010424020205F6 +:107F1A0024060001070582030800FF090401000284 +:107F2A000A00000007050402200001070583024039 +:107F3A00000112011001020000084123420006025A +:0C7F4A0001020001484C322E302E36009F +:107FA000CACAB4CAA6CA9FCA98CA90CA7ECA089545 +:087FB000089508950895089555 +:107FE000DFCFDFCFDFCFDFCFDFCFDFCFDFCFDFCF21 +:087FF000DFCFDFCFDFCFDFCFD1 +:087FF8000070000000DFFBDC5B +:040000030000700089 +:00000001FF diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_6_Mega_atmega8u2.hex b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Mega_atmega8u2.hex new file mode 100644 index 0000000..abf6d31 --- /dev/null +++ b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Mega_atmega8u2.hex @@ -0,0 +1,255 @@ +:101000007FC00000DAC00000D8C00000D6C00000D9 +:10101000D4C00000D2C00000D0C00000CEC000008C +:10102000CCC00000CAC00000C8C000009BC10000C6 +:10103000C4C00000C2C00000C0C00000BEC00000AC +:10104000BCC00000BAC00000B8C00000B6C00000BC +:10105000B4C00000B2C00000B0C0000002C4000074 +:10106000EDC30000AAC00000A8C00000A6C0000098 +:10107000A4C0000009023E00020100803209040001 +:1010800000010202010005240010010424020205EF +:1010900024060001070582030800FF09040100027D +:1010A0000A00000007050402200001070583024032 +:1010B0000001120110010200000841234200060253 +:1010C00001020001220348006F006F0064004C0021 +:1010D0006F006100640065007200320020004D0066 +:1010E000650067006100000012034E0069006300A4 +:1010F0006F0048006F006F006400000004030904E3 +:1011000011241FBECFEFD2E0DEBFCDBF2091FF0282 +:101110001092FF02909180021092800284B714BE58 +:101120000FB6F894A8953091600038613093600054 +:10113000109260000FBE5D9A5C9AE0E0F0E045918D +:1011400054914F3F5F4F21F181FF18C0273701F1C4 +:101150009737F1F087E78093FF02809380028FEF4B +:101160009EE924E2815090402040E1F700C0000059 +:101170001092FF0210928002F2D00AC080FF02C0DB +:10118000EED006C083FF04C0273711F09737C1F7B0 +:1011900012E0A2E8B2E0E4E6FFE102C005900D92A1 +:1011A000A239B107D9F722E0A2E9B2E001C01D924D +:1011B000A33AB207E1F75ED3D3C622CF80919A0259 +:1011C00087FF0FC08091E80082FD04C08BB58111BC +:1011D000F9CF10C08091E8008B770AC08BB58823C7 +:1011E00049F08091E80080FFF9CF8091E8008E7788 +:1011F0008093E80008958F708093E900EBEEF0E0B3 +:10120000808181608083EDEEF0E010826093EC00DD +:1012100040838091EE00881F8827881F0895CF9310 +:101220005B9A1092C9001092C8001092CA001EBAB0 +:1012300010929902109298021ABC20918302309168 +:1012400084024091850250918602211531054105A5 +:10125000510519F4109297024FC0211581EE3807FD +:101260004105510521F481E08093970245C082E059 +:101270008093970280918802813021F0823021F49E +:10128000C0E203C0C0E301C0C0E0809187028230A9 +:1012900009F4C86080918902873031F0883031F0DC +:1012A000863029F4C26003C0C46001C0C660DA01A0 +:1012B000C901B695A79597958795BC01CD01605852 +:1012C0007B47814E9F4F2AD62150310920FD04C013 +:1012D000211580E1380720F03695279580E001C080 +:1012E00082E03093CD002093CC00C093CA0080935D +:1012F000C80088E98093C9005B98CF91089593E076 +:101300009093E9009BB5992391F09091E80090FFAC +:10131000F9CF8093F10081E0860D8F3310F4682EB1 +:101320000895612C8091E8008E778093E8000895FD +:1013300084E08093E9008091E80085FD0DC08091F4 +:10134000E8008B778093E8008091E80082FDF3CF7E +:101350008BB58111F9CF02C08091F1000895E0E0D2 +:10136000F0E009941F920F920FB60F9211242F9361 +:101370003F934F935F936F937F938F939F93AF931D +:10138000BF93EF93FF938091E10080FF15C08091A0 +:10139000E20080FF11C08091E2008E7F8093E20026 +:1013A0008091E20080618093E2008091D8008062A9 +:1013B0008093D80019BC1BBC8091E10084FF2DC034 +:1013C0008091E20084FF29C084E089BD86E089BD68 +:1013D00009B400FEFDCF8091D8008F7D8093D800A6 +:1013E0008091E1008F7E8093E1008091E2008F7E0A +:1013F0008093E2008091E20081608093E20080911E +:10140000A202882311F084E007C08091E30087FDE9 +:1014100002C081E001C083E08BBD8091E10083FFC9 +:1014200020C08091E20083FF1CC08091E100877F93 +:101430008093E10082E08BBD1092A2028091E100D6 +:101440008E7F8093E1008091E2008E7F8093E200A6 +:101450008091E20080618093E20042E060E080E001 +:10146000CADEFF91EF91BF91AF919F918F917F91D4 +:101470006F915F914F913F912F910F900FBE0F9001 +:101480001F9018959FB7F89407B600FCFDCFF99907 +:10149000FECF809529E0E1E0F0E0082E2093570090 +:1014A000E8959FBF0895E1E0F0E089E08093570060 +:1014B0008491089529E0FC012093570084910895B8 +:1014C00021E2FC01209357008491089507B600FCA7 +:1014D000FDCFF999FECF21E0FB010A0120935700CF +:1014E000E895112408952FB7F89407B600FCFDCFB6 +:1014F000F999FECF35E0FB0130935700E89507B628 +:1015000000FCFDCF91E190935700E8952FBF08951F +:101510002FB7F89407B600FCFDCFF999FECF33E062 +:10152000FB0130935700E89507B600FCFDCF91E131 +:1015300090935700E8952FBF08957F928F929F92C6 +:10154000AF92BF92CF92DF92EF92FF920F931F93D1 +:10155000CF93DF93612CECDE082F853419F41092C1 +:10156000820207C088E8800F823010F0043521F431 +:10157000DFDE8DE0C4DE3BC10035D9F30C34C9F3A6 +:10158000043721F484E4BBDE80E0F4CF013611F4AB +:1015900089E5F0CF0134D1F4CBDEC82FC9DE2C2F82 +:1015A00030E0322F2227330F90E0880F991F822BD3 +:1015B000932B092E000CAA0BBB0B809393029093E4 +:1015C0009402A0939502B0939602D3CF003711F402 +:1015D00083E5D0CF033549F4CAE8D2E089918FDEA4 +:1015E00082E0C139D807D1F702C1063521F481E381 +:1015F00086DE80E3BFCF033731F489E880DE83E9FC +:101600007EDE8EE1B7CF053691F4C12CD12C760168 +:10161000C701B6017DDF80E8C80ED11CE11CF11CBA +:10162000C11480E1D806E104F10491F7A2CF0C3691 +:1016300019F47EDE27DF9DCF023711F434DF9ACF15 +:10164000063419F4E0E0F0E009C00E3419F4E3E0E8 +:10165000F0E004C0013539F4E2E0F0E089E0809385 +:101660005700849187CF023631F489E548DE80E067 +:1016700046DE80E87FCF023419F0073609F0B4C0A7 +:1016800057DEF82E55DEC82F53DE182F8BEB810F57 +:10169000823010F08FE36ECFD0E0DF29073609F0FB +:1016A0003EC000E0BB24B394209709F4A0C0C090D2 +:1016B0009302D0909402E0909502F0909602163436 +:1016C000B9F4E02FF0E0EC29FD29849118DE002325 +:1016D00069F082E0C80ED11CE11CF11CC09293029B +:1016E000D0929402E0929502F09296020B2515C0DA +:1016F000D701C601B695A79597958795F5D3FFDDD8 +:1017000082E0C80ED11CE11CF11CC0929302D09261 +:101710009402E0929502F09296022197C5CF8090B4 +:10172000930290909402A0909502B0909602163485 +:1017300019F4C501B401ECDE712C00E0209709F426 +:101740004CC0163431F50023E9F0F2DDC09093026D +:10175000D0909402E0909502F0909602472D50E0D0 +:10176000582BC701B601B2DE82E0C80ED11CE11CC5 +:10177000F11CC0929302D0929402E0929502F092F2 +:10178000960202C0D5DD782E81E0011180E0082F9D +:1017900022C0CEDD682F8091930290919402A09197 +:1017A0009502B0919602B695A79597958795A4D383 +:1017B0008091930290919402A0919502B09196022B +:1017C0000296A11DB11D8093930290939402A09361 +:1017D0009502B09396022197B1CF163409F0C9CE85 +:1017E000C501B40180DEC5CE0B3109F053CF6620B0 +:1017F00079F083E08093E9008BB5882389F08091AC +:10180000E80080FFF9CF8091E8008E778093E800B0 +:1018100084E08093E9008091E8008B778093E80072 +:10182000DF91CF911F910F91FF90EF90DF90CF90BC +:10183000BF90AF909F908F907F9008952F01EEB34F +:10184000F2E031903092CE00EEBBF798F2012EB26A +:101850003090990223101895E8E9E093C900F2014D +:1018600018953090CE002F01EAB5F1E03192EABD33 +:10187000F2011895CF93DF9300D01F92CDB7DEB75A +:1018800090E080E80FB6F894809361009093610037 +:101890000FBE91E095BF82E085BF809163008E7F8F +:1018A00080936300909392021092E2001092E10004 +:1018B0008091D8008F778093D8008091D80080687D +:1018C0008093D8008091D8008F7D8093D80084E0E9 +:1018D00089BD86E089BD09B400FEFDCF1BBC109216 +:1018E000A20242E060E080E086DC8091E1008E7F31 +:1018F0008093E1008091E20081608093E20080911A +:10190000E20088608093E2008091E0008E7F809307 +:10191000E00084E085BD8AB1886B8AB95F9A5A9AE3 +:10192000789422EAE22E22E0F22E38EEA32E30E165 +:10193000B32E4CEFC42E40E1D42E812C912C01E02B +:1019400010E02BB529831092E9008091E80083FF15 +:1019500022C2EAE9F2E08091F1008193EE16FF06DF +:10196000D1F780919A02982F9F77913209F0AAC0FF +:1019700090919B02913209F057C0813A09F0A2C0C0 +:101980008091E800877F8093E8008091A002909189 +:10199000A1028730910510F087E090E040E0E3E895 +:1019A000F2E0009759F12BB52223C1F12530B1F1B6 +:1019B0002091E80023FD32C02091E80022FD2AC0DA +:1019C0002091E80020FFEDCF2091F20030E0009759 +:1019D00051F02830310538F441914093F1000197DE +:1019E0002F5F3F4FF4CF41E02830310509F040E050 +:1019F0002091E8002E772093E800D3CF4111D3CF78 +:101A000009C08BB5882351F0853041F08091E80002 +:101A100083FD04C08091E80082FFF3CF8091E8004D +:101A20008B778093E8004EC09032C9F5813209F07F +:101A300049C08091E800877F8093E800E3E8F2E006 +:101A400087E0882311F19BB5992311F1953001F1BD +:101A50009091E80093FD1CC09091E80092FFF1CFB7 +:101A60009091F200992329F09091F1009193815087 +:101A7000B9F79091E8009B779093E800E2CF85302A +:101A800039F08091E80080FD03C08BB58111F7CF5C +:101A90008091E8008E778093E800C1DB13C092321A +:101AA00089F4813279F48091E800877F8093E8009F +:101AB00085DB80919C0280FF04C05F9830E43A95FA +:101AC000F1F75F9A8091E80083FF57C180919A02F5 +:101AD00090919B02953009F46DC030F4913071F112 +:101AE00068F0933059F149C1983009F40EC199302A +:101AF00009F41AC1963009F040C17EC0803899F0CF +:101B0000823809F03AC180919E028F70853008F0CA +:101B100034C18093E9008091EB0085FB882780F930 +:101B20001092E90001C080E09091E800977F9093C7 +:101B3000E8008093F1001092F100F2C0282F2D7F71 +:101B400009F01BC1823009F018C180919C028111FB +:101B500028C080919E028F702FEF280F243008F04C +:101B60000CC18093E9002091EB0020FF1AC0933054 +:101B700021F48091EB00806212C09091EB009061A3 +:101B80009093EB00F80102C0EE0FFF1F8A95E2F779 +:101B9000E093EA001092EA008091EB008860809365 +:101BA000EB001092E9008091E800877F8093E800C5 +:101BB00005DBE3C08111E1C080919C028F77782E14 +:101BC0008091E300807887298093E3008091E8008A +:101BD000877F8093E800F2DA8091E80080FFFCCFF5 +:101BE0008091E30080688093E300711002C082E07E +:101BF00001C083E08BBDC1C08058823008F0BDC0F9 +:101C000080919C02F0919D02FA831B822A813B8184 +:101C10002230310541F02330310551F021303105BA +:101C200009F0ABC05CC12EE330E0E4E7F0E11BC09B +:101C3000811106C0F601249130E0ECEFF0E10FC015 +:101C4000813031F4F501249130E0E8EEF0E107C095 +:101C5000823009F092C0E4ECF0E1249130E02115EB +:101C6000310509F48AC08091E800877F8093E800FD +:101C70008091A0029091A1022817390708F4C901A8 +:101C800040E0009761F12BB52223C9F12530B9F16D +:101C90002091E80023FD33C02091E80022FD2BC0F5 +:101CA0002091E80020FFEDCF2091F20030E0009776 +:101CB00059F02830310540F444914093F1003196B9 +:101CC00001972F5F3F4FF3CF41E02830310509F0F6 +:101CD00040E02091E8002E772093E800D2CF411118 +:101CE000D2CF09C08BB5882351F0853041F0809167 +:101CF000E80083FD04C08091E80082FFF3CF80916B +:101D0000E8008B778093E80038C08038B1F5809187 +:101D1000E800877F8093E8008091A2028093F10021 +:101D20008091E8008E7742CF811127C080919C027C +:101D300090919D029927029704F58091E800877F92 +:101D40008093E80070909C027092A20237DA7110C2 +:101D500006C08091E30087FD02C081E001C084E0FD +:101D60008BBD42E061EC82E046DA46E361E883E065 +:101D700042DA42E260E884E03EDA8091E80083FFE4 +:101D80000AC08091E800877F8093E8008091EB0093 +:101D900080628093EB008BB5843081F0F981F43060 +:101DA00009F0CFCD10928302109284021092850226 +:101DB0001092860234DA5D9A5C9ABFCD90918202CD +:101DC000911116C08FE99FE00197F1F700C0000064 +:101DD0008091E00081608093E0009CE088E10FB694 +:101DE000F894A895809360000FBE90936000FFCF99 +:101DF0008093E9008091E80082FF0AC09091F20090 +:101E0000911107C08091E8008B778093E80001C0B2 +:101E100090E080919702813029F4992309F44DC014 +:101E20008CDB4BC0823009F048C0809199022EB300 +:101E3000821B80958F779923B1F08917A0F0F2E08B +:101E4000E09199028091F1008193EF779150D1F761 +:101E50008091E8008B778093E800E093990288EB0B +:101E60008093C90002C08F3719F05C9893E0892EE7 +:101E70008AB590919802891B01F1A89902C08F330D +:101E8000C8F093E09093E9009091E80090FF12C0B1 +:101E90008F3308F08FE3E0919802F1E091919093F5 +:101EA000F1008150D1F78091E8008E778093E800AF +:101EB000E09398025D9883E0982EA89B42CD91E034 +:101EC00095BB992021F09A94911001C05D9A8820C9 +:101ED00009F437CD8A94811034CD5C9A32CD22E159 +:101EE00030E0E2EBF0E1BFCEF999FECF92BD81BDCB +:101EF000F89A992780B50895262FF999FECF92BDBB +:101F000081BDF89A019700B4021639F01FBA20BDBE +:101F10000FB6F894FA9AF99A0FBE0895A1E21A2E14 +:101F2000AA1BBB1BFD010DC0AA1FBB1FEE1FFF1F7D +:101F3000A217B307E407F50720F0A21BB30BE40BCD +:101F4000F50B661F771F881F991F1A9469F7609514 +:101F50007095809590959B01AC01BD01CF010895CE +:041F6000F894FFCF23 +:101F64000100000000000008484C322E302E3600DC +:101FA000B7CAA1CA93CA8CCA85CA7DCA6BCA08952A +:081FB0000895089508950895B5 +:101FE000DFCFDFCFDFCFDFCFDFCFDFCFDFCFDFCF81 +:081FF000DFCFDFCFDFCFDFCF31 +:081FF8000010000000DFFBDC1B +:0400000300001000E9 +:00000001FF diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_6_Micro_atmega32u4.hex b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Micro_atmega32u4.hex new file mode 100644 index 0000000..fd8cb86 --- /dev/null +++ b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Micro_atmega32u4.hex @@ -0,0 +1,256 @@ +:1070000055C00000B0C00000AEC00000ACC0000021 +:10701000AAC00000A8C00000A6C00000A4C00000D4 +:10702000A2C00000A0C00000CFC100009CC00000B2 +:107030009AC0000098C0000096C0000094C00000F4 +:1070400092C0000090C000008EC000008CC0000004 +:107050008AC0000088C0000086C0000084C0000014 +:1070600082C0000049C4000034C400007CC000009D +:107070007AC0000078C0000076C0000074C0000034 +:1070800072C0000070C000006EC000006CC0000044 +:107090006AC0000068C0000066C0000064C0000054 +:1070A00062C0000060C000005EC0000011241FBE6E +:1070B000CFEFDAE0DEBFCDBF2091FF0A1092FF0ACA +:1070C000909100801092008084B714BE0FB6F8949F +:1070D000A895309160003861309360001092600094 +:1070E0000FBE5D9A289AE0E0F0E0459154914F3F41 +:1070F0005F4F21F181FF18C0273701F19737F1F079 +:1071000087E78093FF0A809300808FEF9EE924E257 +:10711000815090402040E1F700C000001092FF0A2B +:10712000109200804ED10AC080FF02C04AD106C032 +:1071300083FF04C0273711F09737C1F713E0A2E8A7 +:10714000B2E0EEEEFEE702C005900D92A032B1076C +:10715000D9F723E0A0E2B3E001C01D92A133B2074A +:10716000E1F7D3D3C2C64CCF8091280387FF0FC06D +:107170008091E80082FD04C08BB58111F9CF10C069 +:107180008091E8008B770AC08BB5882349F0809105 +:10719000E80080FFF9CF8091E8008E778093E800C7 +:1071A00008958F708093E900EBEEF0E080818160BC +:1071B0008083EDEEF0E010826093EC0040838091DC +:1071C000EE00881F8827881F089520912E03309194 +:1071D0002F032617370748F06115710539F4209100 +:1071E000E8002E772093E80001C0B901FC0120E0FF +:1071F0006115710571F18BB58823E9F18530E9F1ED +:107200008091E80083FD3BC08091E80082FD2DC0A5 +:107210008091E80080FFECCF2091F3008091F20094 +:1072200090E0922B6115710551F08830910538F48A +:1072300021912093F100615071090196F3CF21E073 +:10724000089709F020E08091E8008E778093E800AD +:10725000CFCF2111D0CF09C08BB5882361F0853005 +:1072600061F08091E80083FD0AC08091E80082FF10 +:10727000F3CF80E0089582E0089583E0089581E0EF +:107280000895CF935B9A1092C9001092C800109293 +:10729000CA001EBA10922703109226031ABC20912E +:1072A000830230918402409185025091860221151B +:1072B00031054105510519F4109225034FC02115E0 +:1072C00081EE38074105510521F481E080932503C3 +:1072D00045C082E08093250380918802813021F0AF +:1072E000823021F4C0E203C0C0E301C0C0E080915D +:1072F0008702823009F4C86080918902873031F0BA +:10730000883031F0863029F4C26003C0C46001C007 +:10731000C660DA01C901B695A79597958795BC0116 +:10732000CD0160587B47814E9F4FBDD5215031091B +:1073300020FD04C0211580E1380720F036952795FF +:1073400080E001C082E03093CD002093CC00C09358 +:10735000CA008093C80088E98093C9005B98CF91E8 +:10736000089593E09093E9009BB5992391F0909153 +:10737000E80090FFF9CF8093F10081E0860D8F3314 +:1073800010F4682E0895612C8091E8008E77809328 +:10739000E800089584E08093E9008091E80085FD8D +:1073A0000DC08091E8008B778093E8008091E80021 +:1073B00082FDF3CF8BB58111F9CF02C08091F1002E +:1073C0000895E0E0F0E009941F920F920FB60F923B +:1073D00011242F933F934F935F936F937F938F93DA +:1073E0009F93AF93BF93EF93FF938091DA0080FF59 +:1073F00019C08091D80080FF15C08091DA008E7F7F +:107400008093DA008091D90080FF0AC080E189BDB5 +:1074100082E189BD09B400FEFDCF81E08BBD02C0D1 +:1074200019BC1BBC8091E10080FF16C08091E20076 +:1074300080FF12C08091E2008E7F8093E2008091F5 +:10744000E20080618093E2008091D80080628093A6 +:10745000D80019BC85E08BBD8091E10084FF2DC070 +:107460008091E20084FF29C080E189BD82E189BD6D +:1074700009B400FEFDCF8091D8008F7D8093D800A5 +:107480008091E1008F7E8093E1008091E2008F7E09 +:107490008093E2008091E20081608093E20080911D +:1074A0003003882311F084E007C08091E30087FD5A +:1074B00002C081E001C083E08BBD8091E10083FFC9 +:1074C00020C08091E20083FF1CC08091E100877F93 +:1074D0008093E10082E08BBD109230038091E10047 +:1074E0008E7F8093E1008091E2008E7F8093E200A6 +:1074F0008091E20080618093E20042E060E080E001 +:1075000050DEFF91EF91BF91AF919F918F917F914D +:107510006F915F914F913F912F910F900FBE0F9000 +:107520001F9018959FB7F89407B600FCFDCFF99906 +:10753000FECF809529E0E1E0F0E0082E209357008F +:10754000E8959FBF0895E1E0F0E089E0809357005F +:107550008491089529E0FC012093570084910895B7 +:1075600021E2FC01209357008491089507B600FCA6 +:10757000FDCFF999FECF21E0FB010A0120935700CE +:10758000E895112408952FB7F89407B600FCFDCFB5 +:10759000F999FECF35E0FB0130935700E89507B627 +:1075A00000FCFDCF91E190935700E8952FBF08951F +:1075B0002FB7F89407B600FCFDCFF999FECF33E062 +:1075C000FB0130935700E89507B600FCFDCF91E131 +:1075D00090935700E8952FBF08957F928F929F92C6 +:1075E000AF92BF92CF92DF92EF92FF920F931F93D1 +:1075F000CF93DF93612CCEDE082F853419F41092DF +:10760000820207C088E8800F823010F0043521F430 +:10761000C1DE8DE0A6DE36C10035D9F30C34C9F3E6 +:10762000043721F484E49DDE80E0F4CF013611F4C8 +:1076300089E5F0CF0134D1F4ADDEC82FABDE2C2FBD +:1076400030E0322F2227330F90E0880F991F822BD2 +:10765000932B092E000CAA0BBB0B80932103909354 +:107660002203A0932303B0932403D3CF003711F454 +:1076700083E5D0CF033549F4C8E1D3E0899171DEC9 +:1076800083E0CF31D807D1F7FDC0063521F481E37F +:1076900068DE80E3BFCF033731F487E862DE85E937 +:1076A00060DE8EE1B7CF053691F4C12CD12C760186 +:1076B000C701B6017DDF80E8C80ED11CE11CF11CBA +:1076C000C11480E7D806E104F10491F7A2CF023794 +:1076D00011F439DF9FCF063419F4E0E0F0E009C07F +:1076E0000E3419F4E3E0F0E004C0013539F4E2E0CF +:1076F000F0E089E08093570084918CCF023631F41A +:1077000089E52FDE80E02DDE80E884CF023419F099 +:10771000073609F0B4C03EDEF82E3CDEC82F3ADE54 +:10772000182F8BEB810F823010F08FE373CFD0E0F6 +:10773000DF29073609F03EC000E0BB24B394209750 +:1077400009F4A0C0C0902103D0902203E09023034D +:10775000F09024031634B9F4E02FF0E0EC29FD2971 +:107760008491FFDD002369F082E0C80ED11CE11C8A +:10777000F11CC0922103D0922203E0922303F092E5 +:1077800024030B2515C0D701C601B695A79597957B +:1077900087956FD3E6DD82E0C80ED11CE11CF11C99 +:1077A000C0922103D0922203E0922303F09224039B +:1077B0002197C5CF8090210390902203A0902303AE +:1077C000B0902403163419F4C501B401F1DE712C14 +:1077D00000E0209709F44CC0163431F50023E9F09D +:1077E000D9DDC0902103D0902203E0902303F090D4 +:1077F0002403472D50E0582BC701B601B7DE82E0C5 +:10780000C80ED11CE11CF11CC0922103D0922203AE +:10781000E0922303F092240302C0BCDD782E81E0C5 +:10782000011180E0082F22C0B5DD682F809121036F +:1078300090912203A0912303B0912403B695A795BC +:10784000979587951ED38091210390912203A09153 +:107850002303B09124030296A11DB11D809321033F +:1078600090932203A0932303B09324032197B1CFD5 +:10787000163409F0CECEC501B40185DECACE0B3177 +:1078800009F053CF662079F083E08093E9008BB54F +:10789000882389F08091E80080FFF9CF8091E8008B +:1078A0008E778093E80084E08093E9008091E8007F +:1078B0008B778093E800DF91CF911F910F91FF901C +:1078C000EF90DF90CF90BF90AF909F908F907F9080 +:1078D00008952F01EEB3F2E031903092CE00EEBB6E +:1078E000F798F2012EB23090270323101895E8E99B +:1078F000E093C900F20118953090CE002F01EAB54F +:10790000F1E03192EABDF201189590E080E80FB6FF +:10791000F89480936100909361000FBE91E095BF51 +:1079200082E085BF8091D8008F7E8093D8008091BF +:10793000D70081608093D70014E012BF909320039A +:107940008091D8008E7F8093D8001092E200109230 +:10795000DA001092E1008091D8008F778093D800F0 +:107960008091D80080688093D8008091D8008F7D66 +:107970008093D80019BC1BBC109230038091E000AA +:107980008B7F8093E0008091D80081608093D80045 +:1079900042E060E080E005DC8091E1008E7F809332 +:1079A000E1008091E20081608093E2008091E2003A +:1079B00088608093E2008091E0008E7F8093E000F9 +:1079C0008091D80080618093D80015BD88E38AB982 +:1079D000209A5C9A5A9A7894F12CE12C01E010E0FC +:1079E000DBB41092E9008091E80083FF7EC1E8E2F9 +:1079F000F3E08091F100819323E0E033F207C9F7CF +:107A000080912803982F9F77913209F06AC0909156 +:107A10002903913299F4813A09F063C08091E8001A +:107A2000877F8093E80067E070E083E892E0CDDB39 +:107A30008091E8008B778093E80053C0903209F082 +:107A40003DC0813209F04DC08091E800877F80936E +:107A5000E800E3E8F2E027E0222331F18BB5882348 +:107A600031F1853021F18091E80083FD20C08091C3 +:107A7000E80082FFF1CF3091F3008091F20090E0B6 +:107A8000932B892B29F08091F1008193215099F754 +:107A90008091E8008B778093E800DECF853039F065 +:107AA0008091E80080FD03C08BB58111F7CF8091F4 +:107AB000E8008E778093E800E4DB13C0923289F40B +:107AC000813279F48091E800877F8093E8004CDB75 +:107AD00080912A0380FF04C05C9830E43A95F1F766 +:107AE0005C9A8091E80083FFF2C080912803909116 +:107AF0002903953009F46AC030F4913071F168F0CF +:107B0000933059F1E4C0983009F4A6C0993009F4D3 +:107B1000B5C0963009F0DBC07BC0803899F0823860 +:107B200009F0D5C080912C038F70873008F0CFC04A +:107B30008093E9008091EB0085FB882780F9109203 +:107B4000E90001C080E09091E800977F9093E80001 +:107B50008093F1001092F1008AC0282F2D7F09F048 +:107B6000B6C0823009F0B3C080912A03811128C0C9 +:107B700080912C038F702FEF280F263008F0A7C0BC +:107B80008093E9002091EB0020FF1AC0933021F48C +:107B90008091EB00806212C09091EB009061909315 +:107BA000EB00980102C0220F331F8A95E2F7209361 +:107BB000EA001092EA008091EB0088608093EB006D +:107BC0001092E9008091E800877F54C081117FC046 +:107BD00080912A038F77C82E8091E30080788C29CA +:107BE0008093E3008091E800877F8093E800BCDA0F +:107BF0008091E80080FFFCCF8091E3008068809353 +:107C0000E300C11002C082E001C083E08BBD5FC011 +:107C10008058823008F05BC080912A0330912B039A +:107C2000C32F90E0D92FC230D10539F0C330D10530 +:107C300049F0219709F04BC0FDC06EE370E088EC7D +:107C400092E00BC1882309F4FAC0813009F4FCC02A +:107C5000823009F03CC0FDC08038C9F58091E80051 +:107C6000877F8093E800809130038093F1008091BA +:107C7000E8008E778093E80077DA29C0811127C069 +:107C800080912A0390912B039927029704F5809104 +:107C9000E800877F8093E800C0902A03C0923003F9 +:107CA00063DAC11006C08091E30087FD02C081E065 +:107CB00001C084E08BBD42E061EC82E072DA46E311 +:107CC00061E883E06EDA42E260E884E06ADA80919B +:107CD000E80083FF0AC08091E800877F8093E80076 +:107CE0008091EB0080628093EB008BB5843079F05B +:107CF00024E0D21275CE1092830210928402109268 +:107D0000850210928602BDDA5D9A289A65CE90911E +:107D10008202911116C08FE99FE00197F1F700C030 +:107D200000008091E00081608093E0009CE088E1A9 +:107D30000FB6F894A895809360000FBE90936000F2 +:107D4000FFCF8093E9008091E80082FF0CC0809112 +:107D5000F3008091F200811107C09091E8009B77B9 +:107D60009093E80001C080E090912503913029F4C0 +:107D7000882309F44DC031DC4BC0923009F048C073 +:107D8000909127032EB3921B90959F778823B1F093 +:107D90009817A0F0F2E0E09127039091F100919301 +:107DA000EF778150D1F78091E8008B778093E800DE +:107DB000E093270388EB8093C90002C09F3719F036 +:107DC000289893E0F92E8AB590912603891B01F13A +:107DD000A89902C08F33C8F093E09093E900909186 +:107DE000E80090FF12C08F3308F08FE3E091260384 +:107DF000F1E091919093F1008150D1F78091E800EA +:107E00008E778093E800E09326035D9883E0E82E68 +:107E1000A89BE6CD81E085BBEE2021F0EA94E1103D +:107E200001C05D9AFF2009F4DBCDFA94F110D8CDA2 +:107E3000289AD6CD62E170E086E093E00EC064E05F +:107E400070E080EB92E009C062E170E084EB92E0C8 +:107E500004C064E270E08AE892E02091E800277FA5 +:107E60002093E800B2D98091E8008B778093E800F6 +:107E70002ECFF999FECF92BD81BDF89A992780B592 +:107E80000895262FF999FECF92BD81BDF89A0197EA +:107E900000B4021639F01FBA20BD0FB6F894FA9A52 +:107EA000F99A0FBE0895A1E21A2EAA1BBB1BFD0171 +:107EB0000DC0AA1FBB1FEE1FFF1FA217B307E407C9 +:107EC000F50720F0A21BB30BE40BF50B661F771F21 +:107ED000881F991F1A9469F7609570958095909501 +:0E7EE0009B01AC01BD01CF010895F894FFCFC6 +:107EEE000100000000000008240348006F006F002E +:107EFE0064004C006F006100640065007200320087 +:107F0E0020004D006900630072006F000000040342 +:107F1E00090412034E00690063006F0048006F00F1 +:107F2E006F006400000009023E0002010080320969 +:107F3E0004000001020201000524001001042402C5 +:107F4E00020524060001070582030800FF0904014B +:107F5E0000020A0000000705040220000107058345 +:107F6E0002400001120110010200000841233700F7 +:0E7F7E00060201020001484C322E302E360061 +:107FA00007CBF1CAE3CADCCAD5CACDCABBCA089599 +:087FB000089508950895089555 +:107FE000DFCFDFCFDFCFDFCFDFCFDFCFDFCFDFCF21 +:087FF000DFCFDFCFDFCFDFCFD1 +:087FF8000070000000DFFBDC5B +:040000030000700089 +:00000001FF diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_6_Uno_at90usb162.hex b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Uno_at90usb162.hex new file mode 100644 index 0000000..763bec7 --- /dev/null +++ b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Uno_at90usb162.hex @@ -0,0 +1,255 @@ +:103000007EC00000D9C00000D7C00000D5C00000BD +:10301000D3C00000D1C00000CFC00000CDC0000070 +:10302000CBC00000C9C00000C7C000009AC10000AA +:10303000C3C00000C1C00000BFC00000BDC0000090 +:10304000BBC00000B9C00000B7C00000B5C00000A0 +:10305000B3C00000B1C00000AFC0000001C4000058 +:10306000ECC30000A9C00000A7C00000A5C000007C +:10307000A3C0000009023E000201008032090400E2 +:1030800000010202010005240010010424020205CF +:1030900024060001070582030800FF09040100025D +:1030A0000A00000007050402200001070583024012 +:1030B0000001120110010200000841234300060232 +:1030C00001020001200348006F006F0064004C0003 +:1030D0006F0061006400650072003200200055003E +:1030E0006E006F00000012034E00690063006F0065 +:1030F00048006F006F0064000000040309041124FD +:103100001FBECFEFD2E0DEBFCDBF2091FF021092F5 +:10311000FF02909180021092800284B714BE0FB615 +:10312000F894A89530916000386130936000109257 +:1031300060000FBE5D9A5C9AE0E0F0E0459154912A +:103140004F3F5F4F21F181FF18C0273701F19737BB +:10315000F1F087E78093FF02809380028FEF9EE972 +:1031600024E2815090402040E1F700C0000010921E +:10317000FF0210928002F2D00AC080FF02C0EED09F +:1031800006C083FF04C0273711F09737C1F712E05C +:10319000A2E8B2E0E2E6FFE302C005900D92A23998 +:1031A000B107D9F722E0A2E9B2E001C01D92A33A2B +:1031B000B207E1F75ED3D3C623CF80919A0287FF8F +:1031C0000FC08091E80082FD04C08BB58111F9CF5A +:1031D00010C08091E8008B770AC08BB5882349F036 +:1031E0008091E80080FFF9CF8091E8008E7780938E +:1031F000E80008958F708093E900EBEEF0E08081A5 +:1032000081608083EDEEF0E010826093EC004083FB +:103210008091EE00881F8827881F0895CF935B9ABE +:103220001092C9001092C8001092CA001EBA1092E3 +:103230009902109298021ABC209183023091840264 +:1032400040918502509186022115310541055105B5 +:1032500019F4109297024FC0211581EE38074105ED +:10326000510521F481E08093970245C082E080936C +:10327000970280918802813021F0823021F4C0E2EF +:1032800003C0C0E301C0C0E080918702823009F42E +:10329000C86080918902873031F0883031F0863003 +:1032A00029F4C26003C0C46001C0C660DA01C9016C +:1032B000B695A79597958795BC01CD0160587B473A +:1032C000814E9F4F2AD62150310920FD04C021157F +:1032D00080E1380720F03695279580E001C082E034 +:1032E0003093CD002093CC00C093CA008093C800D7 +:1032F00088E98093C9005B98CF91089593E09093FB +:10330000E9009BB5992391F09091E80090FFF9CFE7 +:103310008093F10081E0860D8F3310F4682E0895BC +:10332000612C8091E8008E778093E800089584E016 +:103330008093E9008091E80085FD0DC08091E80050 +:103340008B778093E8008091E80082FDF3CF8BB506 +:103350008111F9CF02C08091F1000895E0E0F0E022 +:1033600009941F920F920FB60F9211242F933F933F +:103370004F935F936F937F938F939F93AF93BF937D +:10338000EF93FF938091E10080FF15C08091E200F0 +:1033900080FF11C08091E2008E7F8093E2008091D7 +:1033A000E20080618093E2008091D8008062809387 +:1033B000D80019BC1BBC8091E10084FF2DC0809116 +:1033C000E20084FF29C084E089BD86E089BD09B49C +:1033D00000FEFDCF8091D8008F7D8093D800809132 +:1033E000E1008F7E8093E1008091E2008F7E8093E8 +:1033F000E2008091E20081608093E2008091A2026D +:10340000882311F084E007C08091E30087FD02C0AB +:1034100081E001C083E08BBD8091E10083FF20C08B +:103420008091E20083FF1CC08091E100877F809340 +:10343000E10082E08BBD1092A2028091E1008E7FBC +:103440008093E1008091E2008E7F8093E200809182 +:10345000E20080618093E20042E060E080E0CADE4A +:10346000FF91EF91BF91AF919F918F917F916F915C +:103470005F914F913F912F910F900FBE0F901F9032 +:1034800018959FB7F89407B600FCFDCFF999FECFC9 +:10349000809529E0E1E0F0E0082E20935700E895C0 +:1034A0009FBF0895E1E0F0E089E0809357008491A8 +:1034B000089529E0FC01209357008491089521E2AA +:1034C000FC01209357008491089507B600FCFDCFBE +:1034D000F999FECF21E0FB010A0120935700E895FE +:1034E000112408952FB7F89407B600FCFDCFF99981 +:1034F000FECF35E0FB0130935700E89507B600FC9E +:10350000FDCF91E190935700E8952FBF08952FB715 +:10351000F89407B600FCFDCFF999FECF33E0FB012C +:1035200030935700E89507B600FCFDCF91E19093EA +:103530005700E8952FBF08957F928F929F92AF9288 +:10354000BF92CF92DF92EF92FF920F931F93CF9390 +:10355000DF93612CECDE082F853419F4109282027F +:1035600007C088E8800F823010F0043521F4DFDED8 +:103570008DE0C4DE3BC10035D9F30C34C9F3043708 +:1035800021F484E4BBDE80E0F4CF013611F489E558 +:10359000F0CF0134D1F4CBDEC82FC9DE2C2F30E0C0 +:1035A000322F2227330F90E0880F991F822B932B05 +:1035B000092E000CAA0BBB0B8093930290939402EC +:1035C000A0939502B0939602D3CF003711F483E510 +:1035D000D0CF033549F4CAE8D2E089918FDE82E08A +:1035E000C139D807D1F702C1063521F481E386DE5F +:1035F00080E3BFCF033731F482E880DE84E97EDEEA +:103600008EE1B7CF053691F4C12CD12C7601C701DC +:10361000B6017DDF80E8C80ED11CE11CF11CC1148D +:1036200080E3D806E104F10491F7A2CF0C3619F437 +:103630007EDE27DF9DCF023711F434DF9ACF0634C8 +:1036400019F4E0E0F0E009C00E3419F4E3E0F0E032 +:1036500004C0013539F4E2E0F0E089E080935700DE +:10366000849187CF023631F489E548DE80E046DE7A +:1036700080E87FCF023419F0073609F0B4C057DE76 +:10368000F82E55DEC82F53DE182F8BEB810F8230BA +:1036900010F08FE36ECFD0E0DF29073609F03EC08F +:1036A00000E0BB24B394209709F4A0C0C09093021B +:1036B000D0909402E0909502F09096021634B9F4FE +:1036C000E02FF0E0EC29FD29849118DE002369F059 +:1036D00082E0C80ED11CE11CF11CC0929302D09272 +:1036E0009402E0929502F09296020B2515C0D70144 +:1036F000C601B695A79597958795F5D3FFDD82E02E +:10370000C80ED11CE11CF11CC0929302D09294020D +:10371000E0929502F09296022197C5CF8090930295 +:1037200090909402A0909502B0909602163419F4ED +:10373000C501B401ECDE712C00E0209709F44CC007 +:10374000163431F50023E9F0F2DDC0909302D090F9 +:103750009402E0909502F0909602472D50E0582B8D +:10376000C701B601B2DE82E0C80ED11CE11CF11C1B +:10377000C0929302D0929402E0929502F092960247 +:1037800002C0D5DD782E81E0011180E0082F22C033 +:10379000CEDD682F8091930290919402A0919502C2 +:1037A000B0919602B695A79597958795A4D38091E9 +:1037B000930290919402A0919502B0919602029684 +:1037C000A11DB11D8093930290939402A093950242 +:1037D000B09396022197B1CF163409F0C9CEC50136 +:1037E000B40180DEC5CE0B3109F053CF662079F0ED +:1037F00083E08093E9008BB5882389F08091E8000D +:1038000080FFF9CF8091E8008E778093E80084E014 +:103810008093E9008091E8008B778093E800DF9146 +:10382000CF911F910F91FF90EF90DF90CF90BF90BD +:10383000AF909F908F907F9008952F01EEB3F2E0AC +:1038400031903092CE00EEBBF798F2012EB230905C +:10385000990223101895E8E9E093C900F201189540 +:103860003090CE002F01EAB5F1E03192EABDF201CD +:103870001895CF93DF9300D01F92CDB7DEB790E0BD +:1038800080E80FB6F89480936100909361000FBEBA +:1038900091E095BF82E085BF809163008E7F809329 +:1038A0006300909392021092E2001092E1008091E6 +:1038B000D8008F778093D8008091D800806880935B +:1038C000D8008091D8008F7D8093D80084E089BD96 +:1038D00086E089BD09B400FEFDCF1BBC1092A20298 +:1038E00042E060E080E086DC8091E1008E7F8093A2 +:1038F000E1008091E20081608093E2008091E2002B +:1039000088608093E2008091E0008E7F8093E000E9 +:1039100084E085BD8AB1886B8AB95F9A5A9A789497 +:1039200022EAE22E22E0F22E36EEA32E30E3B32E70 +:103930004AEFC42E40E3D42E812C912C01E010E0FC +:103940002BB529831092E9008091E80083FF22C201 +:10395000EAE9F2E08091F1008193EE16FF06D1F7DB +:1039600080919A02982F9F77913209F0AAC0909186 +:103970009B02913209F057C0813A09F0A2C08091B0 +:10398000E800877F8093E8008091A0029091A102D7 +:103990008730910510F087E090E040E0E3E8F2E046 +:1039A000009759F12BB52223C1F12530B1F12091B7 +:1039B000E80023FD32C02091E80022FD2AC02091BA +:1039C000E80020FFEDCF2091F20030E0009751F0A9 +:1039D0002830310538F441914093F10001972F5F71 +:1039E0003F4FF4CF41E02830310509F040E020910D +:1039F000E8002E772093E800D3CF4111D3CF09C040 +:103A00008BB5882351F0853041F08091E80083FD2B +:103A100004C08091E80082FFF3CF8091E8008B77AB +:103A20008093E8004EC09032C9F5813209F049C058 +:103A30008091E800877F8093E800E3E8F2E087E088 +:103A4000882311F19BB5992311F1953001F19091E3 +:103A5000E80093FD1CC09091E80092FFF1CF909197 +:103A6000F200992329F09091F10091938150B9F7D8 +:103A70009091E8009B779093E800E2CF853039F091 +:103A80008091E80080FD03C08BB58111F7CF809154 +:103A9000E8008E778093E800C1DB13C0923289F48E +:103AA000813279F48091E800877F8093E80085DB9C +:103AB00080919C0280FF04C05F9830E43A95F1F752 +:103AC0005F9A8091E80083FF57C180919A0290919C +:103AD0009B02953009F46DC030F4913071F168F0BB +:103AE000933059F149C1983009F40EC1993009F465 +:103AF0001AC1963009F040C17EC0803899F08238F2 +:103B000009F03AC180919E028F70853008F034C16F +:103B10008093E9008091EB0085FB882780F9109263 +:103B2000E90001C080E09091E800977F9093E80061 +:103B30008093F1001092F100F2C0282F2D7F09F040 +:103B40001BC1823009F018C180919C02811128C0EC +:103B500080919E028F702FEF280F243008F00CC147 +:103B60008093E9002091EB0020FF1AC0933021F4EC +:103B70008091EB00806212C09091EB009061909375 +:103B8000EB00F80102C0EE0FFF1F8A95E2F7E09309 +:103B9000EA001092EA008091EB0088608093EB00CD +:103BA0001092E9008091E800877F8093E80005DBB0 +:103BB000E3C08111E1C080919C028F77782E8091C3 +:103BC000E300807887298093E3008091E800877F75 +:103BD0008093E800F2DA8091E80080FFFCCF8091CA +:103BE000E30080688093E300711002C082E001C0AE +:103BF00083E08BBDC1C08058823008F0BDC0809189 +:103C00009C02F0919D02FA831B822A813B81223023 +:103C1000310541F02330310551F02130310509F0F3 +:103C2000ABC05CC12EE330E0E4E7F0E31BC08111E0 +:103C300006C0F601249130E0EAEFF0E30FC08130D6 +:103C400031F4F501249130E0E6EEF0E307C0823074 +:103C500009F092C0E4ECF0E3249130E02115310545 +:103C600009F48AC08091E800877F8093E800809102 +:103C7000A0029091A1022817390708F4C90140E079 +:103C8000009761F12BB52223C9F12530B9F12091BC +:103C9000E80023FD33C02091E80022FD2BC02091D5 +:103CA000E80020FFEDCF2091F20030E0009759F0BE +:103CB0002830310540F444914093F100319601974A +:103CC0002F5F3F4FF3CF41E02830310509F040E04E +:103CD0002091E8002E772093E800D2CF4111D2CF77 +:103CE00009C08BB5882351F0853041F08091E80000 +:103CF00083FD04C08091E80082FFF3CF8091E8004B +:103D00008B778093E80038C08038B1F58091E80067 +:103D1000877F8093E8008091A2028093F1008091D8 +:103D2000E8008E7742CF811127C080919C0290914C +:103D30009D029927029704F58091E800877F809380 +:103D4000E80070909C027092A20237DA711006C0EF +:103D50008091E30087FD02C081E001C084E08BBD5B +:103D600042E061EC82E046DA46E361E883E042DA71 +:103D700042E260E884E03EDA8091E80083FF0AC016 +:103D80008091E800877F8093E8008091EB0080625B +:103D90008093EB008BB5843081F0F981F43009F029 +:103DA000CFCD10928302109284021092850210925D +:103DB000860234DA5D9A5C9ABFCD909182029111AD +:103DC00016C08FE99FE00197F1F700C000008091D5 +:103DD000E00081608093E0009CE088E10FB6F894F9 +:103DE000A895809360000FBE90936000FFCF8093F2 +:103DF000E9008091E80082FF0AC09091F2009111E1 +:103E000007C08091E8008B778093E80001C090E0C4 +:103E100080919702813029F4992309F44DC08CDBFD +:103E20004BC0823009F048C0809199022EB3821BAA +:103E300080958F779923B1F08917A0F0F2E0E09197 +:103E400099028091F1008193EF779150D1F78091A1 +:103E5000E8008B778093E800E093990288EB8093E9 +:103E6000C90002C08F3719F05C9893E0892E8AB59B +:103E700090919802891B01F1A89902C08F33C8F074 +:103E800093E09093E9009091E80090FF12C08F3387 +:103E900008F08FE3E0919802F1E091919093F100A6 +:103EA0008150D1F78091E8008E778093E800E0930D +:103EB00098025D9883E0982EA89B42CD91E095BB37 +:103EC000992021F09A94911001C05D9A882009F4FC +:103ED00037CD8A94811034CD5C9A32CD22E130E026 +:103EE000E2EBF0E3BFCEF999FECF92BD81BDF89A27 +:103EF000992780B50895262FF999FECF92BD81BDEF +:103F0000F89A019700B4021639F01FBA20BD0FB617 +:103F1000F894FA9AF99A0FBE0895A1E21A2EAA1BF4 +:103F2000BB1BFD010DC0AA1FBB1FEE1FFF1FA21769 +:103F3000B307E407F50720F0A21BB30BE40BF50B66 +:103F4000661F771F881F991F1A9469F760957095EF +:103F5000809590959B01AC01BD01CF010895F89427 +:023F6000FFCF91 +:103F62000100000000000008484C322E302E3600BE +:103FA000B6CAA0CA92CA8BCA84CA7CCA6ACA089511 +:083FB000089508950895089595 +:103FE000DFCFDFCFDFCFDFCFDFCFDFCFDFCFDFCF61 +:083FF000DFCFDFCFDFCFDFCF11 +:083FF8000030000000DFFBDCDB +:0400000300003000C9 +:00000001FF diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_6_Uno_at90usb82.hex b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Uno_at90usb82.hex new file mode 100644 index 0000000..e272eb2 --- /dev/null +++ b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Uno_at90usb82.hex @@ -0,0 +1,255 @@ +:101000007EC00000D9C00000D7C00000D5C00000DD +:10101000D3C00000D1C00000CFC00000CDC0000090 +:10102000CBC00000C9C00000C7C000009AC10000CA +:10103000C3C00000C1C00000BFC00000BDC00000B0 +:10104000BBC00000B9C00000B7C00000B5C00000C0 +:10105000B3C00000B1C00000AFC0000001C4000078 +:10106000ECC30000A9C00000A7C00000A5C000009C +:10107000A3C0000009023E00020100803209040002 +:1010800000010202010005240010010424020205EF +:1010900024060001070582030800FF09040100027D +:1010A0000A00000007050402200001070583024032 +:1010B0000001120110010200000841234300060252 +:1010C00001020001200348006F006F0064004C0023 +:1010D0006F0061006400650072003200200055005E +:1010E0006E006F00000012034E00690063006F0085 +:1010F00048006F006F00640000000403090411241D +:101100001FBECFEFD2E0DEBFCDBF2091FF02109215 +:10111000FF02909180021092800284B714BE0FB635 +:10112000F894A89530916000386130936000109277 +:1011300060000FBE5D9A5C9AE0E0F0E0459154914A +:101140004F3F5F4F21F181FF18C0273701F19737DB +:10115000F1F087E78093FF02809380028FEF9EE992 +:1011600024E2815090402040E1F700C0000010923E +:10117000FF0210928002F2D00AC080FF02C0EED0BF +:1011800006C083FF04C0273711F09737C1F712E07C +:10119000A2E8B2E0E2E6FFE102C005900D92A239BA +:1011A000B107D9F722E0A2E9B2E001C01D92A33A4B +:1011B000B207E1F75ED3D3C623CF80919A0287FFAF +:1011C0000FC08091E80082FD04C08BB58111F9CF7A +:1011D00010C08091E8008B770AC08BB5882349F056 +:1011E0008091E80080FFF9CF8091E8008E778093AE +:1011F000E80008958F708093E900EBEEF0E08081C5 +:1012000081608083EDEEF0E010826093EC0040831B +:101210008091EE00881F8827881F0895CF935B9ADE +:101220001092C9001092C8001092CA001EBA109203 +:101230009902109298021ABC209183023091840284 +:1012400040918502509186022115310541055105D5 +:1012500019F4109297024FC0211581EE380741050D +:10126000510521F481E08093970245C082E080938C +:10127000970280918802813021F0823021F4C0E20F +:1012800003C0C0E301C0C0E080918702823009F44E +:10129000C86080918902873031F0883031F0863023 +:1012A00029F4C26003C0C46001C0C660DA01C9018C +:1012B000B695A79597958795BC01CD0160587B475A +:1012C000814E9F4F2AD62150310920FD04C021159F +:1012D00080E1380720F03695279580E001C082E054 +:1012E0003093CD002093CC00C093CA008093C800F7 +:1012F00088E98093C9005B98CF91089593E090931B +:10130000E9009BB5992391F09091E80090FFF9CF07 +:101310008093F10081E0860D8F3310F4682E0895DC +:10132000612C8091E8008E778093E800089584E036 +:101330008093E9008091E80085FD0DC08091E80070 +:101340008B778093E8008091E80082FDF3CF8BB526 +:101350008111F9CF02C08091F1000895E0E0F0E042 +:1013600009941F920F920FB60F9211242F933F935F +:101370004F935F936F937F938F939F93AF93BF939D +:10138000EF93FF938091E10080FF15C08091E20010 +:1013900080FF11C08091E2008E7F8093E2008091F7 +:1013A000E20080618093E2008091D80080628093A7 +:1013B000D80019BC1BBC8091E10084FF2DC0809136 +:1013C000E20084FF29C084E089BD86E089BD09B4BC +:1013D00000FEFDCF8091D8008F7D8093D800809152 +:1013E000E1008F7E8093E1008091E2008F7E809308 +:1013F000E2008091E20081608093E2008091A2028D +:10140000882311F084E007C08091E30087FD02C0CB +:1014100081E001C083E08BBD8091E10083FF20C0AB +:101420008091E20083FF1CC08091E100877F809360 +:10143000E10082E08BBD1092A2028091E1008E7FDC +:101440008093E1008091E2008E7F8093E2008091A2 +:10145000E20080618093E20042E060E080E0CADE6A +:10146000FF91EF91BF91AF919F918F917F916F917C +:101470005F914F913F912F910F900FBE0F901F9052 +:1014800018959FB7F89407B600FCFDCFF999FECFE9 +:10149000809529E0E1E0F0E0082E20935700E895E0 +:1014A0009FBF0895E1E0F0E089E0809357008491C8 +:1014B000089529E0FC01209357008491089521E2CA +:1014C000FC01209357008491089507B600FCFDCFDE +:1014D000F999FECF21E0FB010A0120935700E8951E +:1014E000112408952FB7F89407B600FCFDCFF999A1 +:1014F000FECF35E0FB0130935700E89507B600FCBE +:10150000FDCF91E190935700E8952FBF08952FB735 +:10151000F89407B600FCFDCFF999FECF33E0FB014C +:1015200030935700E89507B600FCFDCF91E190930A +:101530005700E8952FBF08957F928F929F92AF92A8 +:10154000BF92CF92DF92EF92FF920F931F93CF93B0 +:10155000DF93612CECDE082F853419F4109282029F +:1015600007C088E8800F823010F0043521F4DFDEF8 +:101570008DE0C4DE3BC10035D9F30C34C9F3043728 +:1015800021F484E4BBDE80E0F4CF013611F489E578 +:10159000F0CF0134D1F4CBDEC82FC9DE2C2F30E0E0 +:1015A000322F2227330F90E0880F991F822B932B25 +:1015B000092E000CAA0BBB0B80939302909394020C +:1015C000A0939502B0939602D3CF003711F483E530 +:1015D000D0CF033549F4CAE8D2E089918FDE82E0AA +:1015E000C139D807D1F702C1063521F481E386DE7F +:1015F00080E3BFCF033731F482E880DE83E97EDE0B +:101600008EE1B7CF053691F4C12CD12C7601C701FC +:10161000B6017DDF80E8C80ED11CE11CF11CC114AD +:1016200080E1D806E104F10491F7A2CF0C3619F459 +:101630007EDE27DF9DCF023711F434DF9ACF0634E8 +:1016400019F4E0E0F0E009C00E3419F4E3E0F0E052 +:1016500004C0013539F4E2E0F0E089E080935700FE +:10166000849187CF023631F489E548DE80E046DE9A +:1016700080E87FCF023419F0073609F0B4C057DE96 +:10168000F82E55DEC82F53DE182F8BEB810F8230DA +:1016900010F08FE36ECFD0E0DF29073609F03EC0AF +:1016A00000E0BB24B394209709F4A0C0C09093023B +:1016B000D0909402E0909502F09096021634B9F41E +:1016C000E02FF0E0EC29FD29849118DE002369F079 +:1016D00082E0C80ED11CE11CF11CC0929302D09292 +:1016E0009402E0929502F09296020B2515C0D70164 +:1016F000C601B695A79597958795F5D3FFDD82E04E +:10170000C80ED11CE11CF11CC0929302D09294022D +:10171000E0929502F09296022197C5CF80909302B5 +:1017200090909402A0909502B0909602163419F40D +:10173000C501B401ECDE712C00E0209709F44CC027 +:10174000163431F50023E9F0F2DDC0909302D09019 +:101750009402E0909502F0909602472D50E0582BAD +:10176000C701B601B2DE82E0C80ED11CE11CF11C3B +:10177000C0929302D0929402E0929502F092960267 +:1017800002C0D5DD782E81E0011180E0082F22C053 +:10179000CEDD682F8091930290919402A0919502E2 +:1017A000B0919602B695A79597958795A4D3809109 +:1017B000930290919402A0919502B09196020296A4 +:1017C000A11DB11D8093930290939402A093950262 +:1017D000B09396022197B1CF163409F0C9CEC50156 +:1017E000B40180DEC5CE0B3109F053CF662079F00D +:1017F00083E08093E9008BB5882389F08091E8002D +:1018000080FFF9CF8091E8008E778093E80084E034 +:101810008093E9008091E8008B778093E800DF9166 +:10182000CF911F910F91FF90EF90DF90CF90BF90DD +:10183000AF909F908F907F9008952F01EEB3F2E0CC +:1018400031903092CE00EEBBF798F2012EB230907C +:10185000990223101895E8E9E093C900F201189560 +:101860003090CE002F01EAB5F1E03192EABDF201ED +:101870001895CF93DF9300D01F92CDB7DEB790E0DD +:1018800080E80FB6F89480936100909361000FBEDA +:1018900091E095BF82E085BF809163008E7F809349 +:1018A0006300909392021092E2001092E100809106 +:1018B000D8008F778093D8008091D800806880937B +:1018C000D8008091D8008F7D8093D80084E089BDB6 +:1018D00086E089BD09B400FEFDCF1BBC1092A202B8 +:1018E00042E060E080E086DC8091E1008E7F8093C2 +:1018F000E1008091E20081608093E2008091E2004B +:1019000088608093E2008091E0008E7F8093E00009 +:1019100084E085BD8AB1886B8AB95F9A5A9A7894B7 +:1019200022EAE22E22E0F22E36EEA32E30E1B32E92 +:101930004AEFC42E40E1D42E812C912C01E010E01E +:101940002BB529831092E9008091E80083FF22C221 +:10195000EAE9F2E08091F1008193EE16FF06D1F7FB +:1019600080919A02982F9F77913209F0AAC09091A6 +:101970009B02913209F057C0813A09F0A2C08091D0 +:10198000E800877F8093E8008091A0029091A102F7 +:101990008730910510F087E090E040E0E3E8F2E066 +:1019A000009759F12BB52223C1F12530B1F12091D7 +:1019B000E80023FD32C02091E80022FD2AC02091DA +:1019C000E80020FFEDCF2091F20030E0009751F0C9 +:1019D0002830310538F441914093F10001972F5F91 +:1019E0003F4FF4CF41E02830310509F040E020912D +:1019F000E8002E772093E800D3CF4111D3CF09C060 +:101A00008BB5882351F0853041F08091E80083FD4B +:101A100004C08091E80082FFF3CF8091E8008B77CB +:101A20008093E8004EC09032C9F5813209F049C078 +:101A30008091E800877F8093E800E3E8F2E087E0A8 +:101A4000882311F19BB5992311F1953001F1909103 +:101A5000E80093FD1CC09091E80092FFF1CF9091B7 +:101A6000F200992329F09091F10091938150B9F7F8 +:101A70009091E8009B779093E800E2CF853039F0B1 +:101A80008091E80080FD03C08BB58111F7CF809174 +:101A9000E8008E778093E800C1DB13C0923289F4AE +:101AA000813279F48091E800877F8093E80085DBBC +:101AB00080919C0280FF04C05F9830E43A95F1F772 +:101AC0005F9A8091E80083FF57C180919A029091BC +:101AD0009B02953009F46DC030F4913071F168F0DB +:101AE000933059F149C1983009F40EC1993009F485 +:101AF0001AC1963009F040C17EC0803899F0823812 +:101B000009F03AC180919E028F70853008F034C18F +:101B10008093E9008091EB0085FB882780F9109283 +:101B2000E90001C080E09091E800977F9093E80081 +:101B30008093F1001092F100F2C0282F2D7F09F060 +:101B40001BC1823009F018C180919C02811128C00C +:101B500080919E028F702FEF280F243008F00CC167 +:101B60008093E9002091EB0020FF1AC0933021F40C +:101B70008091EB00806212C09091EB009061909395 +:101B8000EB00F80102C0EE0FFF1F8A95E2F7E09329 +:101B9000EA001092EA008091EB0088608093EB00ED +:101BA0001092E9008091E800877F8093E80005DBD0 +:101BB000E3C08111E1C080919C028F77782E8091E3 +:101BC000E300807887298093E3008091E800877F95 +:101BD0008093E800F2DA8091E80080FFFCCF8091EA +:101BE000E30080688093E300711002C082E001C0CE +:101BF00083E08BBDC1C08058823008F0BDC08091A9 +:101C00009C02F0919D02FA831B822A813B81223043 +:101C1000310541F02330310551F02130310509F013 +:101C2000ABC05CC12EE330E0E4E7F0E11BC0811102 +:101C300006C0F601249130E0EAEFF0E10FC08130F8 +:101C400031F4F501249130E0E6EEF0E107C0823096 +:101C500009F092C0E4ECF0E1249130E02115310567 +:101C600009F48AC08091E800877F8093E800809122 +:101C7000A0029091A1022817390708F4C90140E099 +:101C8000009761F12BB52223C9F12530B9F12091DC +:101C9000E80023FD33C02091E80022FD2BC02091F5 +:101CA000E80020FFEDCF2091F20030E0009759F0DE +:101CB0002830310540F444914093F100319601976A +:101CC0002F5F3F4FF3CF41E02830310509F040E06E +:101CD0002091E8002E772093E800D2CF4111D2CF97 +:101CE00009C08BB5882351F0853041F08091E80020 +:101CF00083FD04C08091E80082FFF3CF8091E8006B +:101D00008B778093E80038C08038B1F58091E80087 +:101D1000877F8093E8008091A2028093F1008091F8 +:101D2000E8008E7742CF811127C080919C0290916C +:101D30009D029927029704F58091E800877F8093A0 +:101D4000E80070909C027092A20237DA711006C00F +:101D50008091E30087FD02C081E001C084E08BBD7B +:101D600042E061EC82E046DA46E361E883E042DA91 +:101D700042E260E884E03EDA8091E80083FF0AC036 +:101D80008091E800877F8093E8008091EB0080627B +:101D90008093EB008BB5843081F0F981F43009F049 +:101DA000CFCD10928302109284021092850210927D +:101DB000860234DA5D9A5C9ABFCD909182029111CD +:101DC00016C08FE99FE00197F1F700C000008091F5 +:101DD000E00081608093E0009CE088E10FB6F89419 +:101DE000A895809360000FBE90936000FFCF809312 +:101DF000E9008091E80082FF0AC09091F200911101 +:101E000007C08091E8008B778093E80001C090E0E4 +:101E100080919702813029F4992309F44DC08CDB1D +:101E20004BC0823009F048C0809199022EB3821BCA +:101E300080958F779923B1F08917A0F0F2E0E091B7 +:101E400099028091F1008193EF779150D1F78091C1 +:101E5000E8008B778093E800E093990288EB809309 +:101E6000C90002C08F3719F05C9893E0892E8AB5BB +:101E700090919802891B01F1A89902C08F33C8F094 +:101E800093E09093E9009091E80090FF12C08F33A7 +:101E900008F08FE3E0919802F1E091919093F100C6 +:101EA0008150D1F78091E8008E778093E800E0932D +:101EB00098025D9883E0982EA89B42CD91E095BB57 +:101EC000992021F09A94911001C05D9A882009F41C +:101ED00037CD8A94811034CD5C9A32CD22E130E046 +:101EE000E2EBF0E1BFCEF999FECF92BD81BDF89A49 +:101EF000992780B50895262FF999FECF92BD81BD0F +:101F0000F89A019700B4021639F01FBA20BD0FB637 +:101F1000F894FA9AF99A0FBE0895A1E21A2EAA1B14 +:101F2000BB1BFD010DC0AA1FBB1FEE1FFF1FA21789 +:101F3000B307E407F50720F0A21BB30BE40BF50B86 +:101F4000661F771F881F991F1A9469F7609570950F +:101F5000809590959B01AC01BD01CF010895F89447 +:021F6000FFCFB1 +:101F62000100000000000008484C322E302E3600DE +:101FA000B6CAA0CA92CA8BCA84CA7CCA6ACA089531 +:081FB0000895089508950895B5 +:101FE000DFCFDFCFDFCFDFCFDFCFDFCFDFCFDFCF81 +:081FF000DFCFDFCFDFCFDFCF31 +:081FF8000010000000DFFBDC1B +:0400000300001000E9 +:00000001FF diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_6_Uno_atmega16u2.hex b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Uno_atmega16u2.hex new file mode 100644 index 0000000..19742fa --- /dev/null +++ b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Uno_atmega16u2.hex @@ -0,0 +1,255 @@ +:103000007EC00000D9C00000D7C00000D5C00000BD +:10301000D3C00000D1C00000CFC00000CDC0000070 +:10302000CBC00000C9C00000C7C000009AC10000AA +:10303000C3C00000C1C00000BFC00000BDC0000090 +:10304000BBC00000B9C00000B7C00000B5C00000A0 +:10305000B3C00000B1C00000AFC0000001C4000058 +:10306000ECC30000A9C00000A7C00000A5C000007C +:10307000A3C0000009023E000201008032090400E2 +:1030800000010202010005240010010424020205CF +:1030900024060001070582030800FF09040100025D +:1030A0000A00000007050402200001070583024012 +:1030B0000001120110010200000841234300060232 +:1030C00001020001200348006F006F0064004C0003 +:1030D0006F0061006400650072003200200055003E +:1030E0006E006F00000012034E00690063006F0065 +:1030F00048006F006F0064000000040309041124FD +:103100001FBECFEFD2E0DEBFCDBF2091FF021092F5 +:10311000FF02909180021092800284B714BE0FB615 +:10312000F894A89530916000386130936000109257 +:1031300060000FBE5D9A5C9AE0E0F0E0459154912A +:103140004F3F5F4F21F181FF18C0273701F19737BB +:10315000F1F087E78093FF02809380028FEF9EE972 +:1031600024E2815090402040E1F700C0000010921E +:10317000FF0210928002F2D00AC080FF02C0EED09F +:1031800006C083FF04C0273711F09737C1F712E05C +:10319000A2E8B2E0E2E6FFE302C005900D92A23998 +:1031A000B107D9F722E0A2E9B2E001C01D92A33A2B +:1031B000B207E1F75ED3D3C623CF80919A0287FF8F +:1031C0000FC08091E80082FD04C08BB58111F9CF5A +:1031D00010C08091E8008B770AC08BB5882349F036 +:1031E0008091E80080FFF9CF8091E8008E7780938E +:1031F000E80008958F708093E900EBEEF0E08081A5 +:1032000081608083EDEEF0E010826093EC004083FB +:103210008091EE00881F8827881F0895CF935B9ABE +:103220001092C9001092C8001092CA001EBA1092E3 +:103230009902109298021ABC209183023091840264 +:1032400040918502509186022115310541055105B5 +:1032500019F4109297024FC0211581EE38074105ED +:10326000510521F481E08093970245C082E080936C +:10327000970280918802813021F0823021F4C0E2EF +:1032800003C0C0E301C0C0E080918702823009F42E +:10329000C86080918902873031F0883031F0863003 +:1032A00029F4C26003C0C46001C0C660DA01C9016C +:1032B000B695A79597958795BC01CD0160587B473A +:1032C000814E9F4F2AD62150310920FD04C021157F +:1032D00080E1380720F03695279580E001C082E034 +:1032E0003093CD002093CC00C093CA008093C800D7 +:1032F00088E98093C9005B98CF91089593E09093FB +:10330000E9009BB5992391F09091E80090FFF9CFE7 +:103310008093F10081E0860D8F3310F4682E0895BC +:10332000612C8091E8008E778093E800089584E016 +:103330008093E9008091E80085FD0DC08091E80050 +:103340008B778093E8008091E80082FDF3CF8BB506 +:103350008111F9CF02C08091F1000895E0E0F0E022 +:1033600009941F920F920FB60F9211242F933F933F +:103370004F935F936F937F938F939F93AF93BF937D +:10338000EF93FF938091E10080FF15C08091E200F0 +:1033900080FF11C08091E2008E7F8093E2008091D7 +:1033A000E20080618093E2008091D8008062809387 +:1033B000D80019BC1BBC8091E10084FF2DC0809116 +:1033C000E20084FF29C084E089BD86E089BD09B49C +:1033D00000FEFDCF8091D8008F7D8093D800809132 +:1033E000E1008F7E8093E1008091E2008F7E8093E8 +:1033F000E2008091E20081608093E2008091A2026D +:10340000882311F084E007C08091E30087FD02C0AB +:1034100081E001C083E08BBD8091E10083FF20C08B +:103420008091E20083FF1CC08091E100877F809340 +:10343000E10082E08BBD1092A2028091E1008E7FBC +:103440008093E1008091E2008E7F8093E200809182 +:10345000E20080618093E20042E060E080E0CADE4A +:10346000FF91EF91BF91AF919F918F917F916F915C +:103470005F914F913F912F910F900FBE0F901F9032 +:1034800018959FB7F89407B600FCFDCFF999FECFC9 +:10349000809529E0E1E0F0E0082E20935700E895C0 +:1034A0009FBF0895E1E0F0E089E0809357008491A8 +:1034B000089529E0FC01209357008491089521E2AA +:1034C000FC01209357008491089507B600FCFDCFBE +:1034D000F999FECF21E0FB010A0120935700E895FE +:1034E000112408952FB7F89407B600FCFDCFF99981 +:1034F000FECF35E0FB0130935700E89507B600FC9E +:10350000FDCF91E190935700E8952FBF08952FB715 +:10351000F89407B600FCFDCFF999FECF33E0FB012C +:1035200030935700E89507B600FCFDCF91E19093EA +:103530005700E8952FBF08957F928F929F92AF9288 +:10354000BF92CF92DF92EF92FF920F931F93CF9390 +:10355000DF93612CECDE082F853419F4109282027F +:1035600007C088E8800F823010F0043521F4DFDED8 +:103570008DE0C4DE3BC10035D9F30C34C9F3043708 +:1035800021F484E4BBDE80E0F4CF013611F489E558 +:10359000F0CF0134D1F4CBDEC82FC9DE2C2F30E0C0 +:1035A000322F2227330F90E0880F991F822B932B05 +:1035B000092E000CAA0BBB0B8093930290939402EC +:1035C000A0939502B0939602D3CF003711F483E510 +:1035D000D0CF033549F4CAE8D2E089918FDE82E08A +:1035E000C139D807D1F702C1063521F481E386DE5F +:1035F00080E3BFCF033731F489E880DE84E97EDEE3 +:103600008EE1B7CF053691F4C12CD12C7601C701DC +:10361000B6017DDF80E8C80ED11CE11CF11CC1148D +:1036200080E3D806E104F10491F7A2CF0C3619F437 +:103630007EDE27DF9DCF023711F434DF9ACF0634C8 +:1036400019F4E0E0F0E009C00E3419F4E3E0F0E032 +:1036500004C0013539F4E2E0F0E089E080935700DE +:10366000849187CF023631F489E548DE80E046DE7A +:1036700080E87FCF023419F0073609F0B4C057DE76 +:10368000F82E55DEC82F53DE182F8BEB810F8230BA +:1036900010F08FE36ECFD0E0DF29073609F03EC08F +:1036A00000E0BB24B394209709F4A0C0C09093021B +:1036B000D0909402E0909502F09096021634B9F4FE +:1036C000E02FF0E0EC29FD29849118DE002369F059 +:1036D00082E0C80ED11CE11CF11CC0929302D09272 +:1036E0009402E0929502F09296020B2515C0D70144 +:1036F000C601B695A79597958795F5D3FFDD82E02E +:10370000C80ED11CE11CF11CC0929302D09294020D +:10371000E0929502F09296022197C5CF8090930295 +:1037200090909402A0909502B0909602163419F4ED +:10373000C501B401ECDE712C00E0209709F44CC007 +:10374000163431F50023E9F0F2DDC0909302D090F9 +:103750009402E0909502F0909602472D50E0582B8D +:10376000C701B601B2DE82E0C80ED11CE11CF11C1B +:10377000C0929302D0929402E0929502F092960247 +:1037800002C0D5DD782E81E0011180E0082F22C033 +:10379000CEDD682F8091930290919402A0919502C2 +:1037A000B0919602B695A79597958795A4D38091E9 +:1037B000930290919402A0919502B0919602029684 +:1037C000A11DB11D8093930290939402A093950242 +:1037D000B09396022197B1CF163409F0C9CEC50136 +:1037E000B40180DEC5CE0B3109F053CF662079F0ED +:1037F00083E08093E9008BB5882389F08091E8000D +:1038000080FFF9CF8091E8008E778093E80084E014 +:103810008093E9008091E8008B778093E800DF9146 +:10382000CF911F910F91FF90EF90DF90CF90BF90BD +:10383000AF909F908F907F9008952F01EEB3F2E0AC +:1038400031903092CE00EEBBF798F2012EB230905C +:10385000990223101895E8E9E093C900F201189540 +:103860003090CE002F01EAB5F1E03192EABDF201CD +:103870001895CF93DF9300D01F92CDB7DEB790E0BD +:1038800080E80FB6F89480936100909361000FBEBA +:1038900091E095BF82E085BF809163008E7F809329 +:1038A0006300909392021092E2001092E1008091E6 +:1038B000D8008F778093D8008091D800806880935B +:1038C000D8008091D8008F7D8093D80084E089BD96 +:1038D00086E089BD09B400FEFDCF1BBC1092A20298 +:1038E00042E060E080E086DC8091E1008E7F8093A2 +:1038F000E1008091E20081608093E2008091E2002B +:1039000088608093E2008091E0008E7F8093E000E9 +:1039100084E085BD8AB1886B8AB95F9A5A9A789497 +:1039200022EAE22E22E0F22E36EEA32E30E3B32E70 +:103930004AEFC42E40E3D42E812C912C01E010E0FC +:103940002BB529831092E9008091E80083FF22C201 +:10395000EAE9F2E08091F1008193EE16FF06D1F7DB +:1039600080919A02982F9F77913209F0AAC0909186 +:103970009B02913209F057C0813A09F0A2C08091B0 +:10398000E800877F8093E8008091A0029091A102D7 +:103990008730910510F087E090E040E0E3E8F2E046 +:1039A000009759F12BB52223C1F12530B1F12091B7 +:1039B000E80023FD32C02091E80022FD2AC02091BA +:1039C000E80020FFEDCF2091F20030E0009751F0A9 +:1039D0002830310538F441914093F10001972F5F71 +:1039E0003F4FF4CF41E02830310509F040E020910D +:1039F000E8002E772093E800D3CF4111D3CF09C040 +:103A00008BB5882351F0853041F08091E80083FD2B +:103A100004C08091E80082FFF3CF8091E8008B77AB +:103A20008093E8004EC09032C9F5813209F049C058 +:103A30008091E800877F8093E800E3E8F2E087E088 +:103A4000882311F19BB5992311F1953001F19091E3 +:103A5000E80093FD1CC09091E80092FFF1CF909197 +:103A6000F200992329F09091F10091938150B9F7D8 +:103A70009091E8009B779093E800E2CF853039F091 +:103A80008091E80080FD03C08BB58111F7CF809154 +:103A9000E8008E778093E800C1DB13C0923289F48E +:103AA000813279F48091E800877F8093E80085DB9C +:103AB00080919C0280FF04C05F9830E43A95F1F752 +:103AC0005F9A8091E80083FF57C180919A0290919C +:103AD0009B02953009F46DC030F4913071F168F0BB +:103AE000933059F149C1983009F40EC1993009F465 +:103AF0001AC1963009F040C17EC0803899F08238F2 +:103B000009F03AC180919E028F70853008F034C16F +:103B10008093E9008091EB0085FB882780F9109263 +:103B2000E90001C080E09091E800977F9093E80061 +:103B30008093F1001092F100F2C0282F2D7F09F040 +:103B40001BC1823009F018C180919C02811128C0EC +:103B500080919E028F702FEF280F243008F00CC147 +:103B60008093E9002091EB0020FF1AC0933021F4EC +:103B70008091EB00806212C09091EB009061909375 +:103B8000EB00F80102C0EE0FFF1F8A95E2F7E09309 +:103B9000EA001092EA008091EB0088608093EB00CD +:103BA0001092E9008091E800877F8093E80005DBB0 +:103BB000E3C08111E1C080919C028F77782E8091C3 +:103BC000E300807887298093E3008091E800877F75 +:103BD0008093E800F2DA8091E80080FFFCCF8091CA +:103BE000E30080688093E300711002C082E001C0AE +:103BF00083E08BBDC1C08058823008F0BDC0809189 +:103C00009C02F0919D02FA831B822A813B81223023 +:103C1000310541F02330310551F02130310509F0F3 +:103C2000ABC05CC12EE330E0E4E7F0E31BC08111E0 +:103C300006C0F601249130E0EAEFF0E30FC08130D6 +:103C400031F4F501249130E0E6EEF0E307C0823074 +:103C500009F092C0E4ECF0E3249130E02115310545 +:103C600009F48AC08091E800877F8093E800809102 +:103C7000A0029091A1022817390708F4C90140E079 +:103C8000009761F12BB52223C9F12530B9F12091BC +:103C9000E80023FD33C02091E80022FD2BC02091D5 +:103CA000E80020FFEDCF2091F20030E0009759F0BE +:103CB0002830310540F444914093F100319601974A +:103CC0002F5F3F4FF3CF41E02830310509F040E04E +:103CD0002091E8002E772093E800D2CF4111D2CF77 +:103CE00009C08BB5882351F0853041F08091E80000 +:103CF00083FD04C08091E80082FFF3CF8091E8004B +:103D00008B778093E80038C08038B1F58091E80067 +:103D1000877F8093E8008091A2028093F1008091D8 +:103D2000E8008E7742CF811127C080919C0290914C +:103D30009D029927029704F58091E800877F809380 +:103D4000E80070909C027092A20237DA711006C0EF +:103D50008091E30087FD02C081E001C084E08BBD5B +:103D600042E061EC82E046DA46E361E883E042DA71 +:103D700042E260E884E03EDA8091E80083FF0AC016 +:103D80008091E800877F8093E8008091EB0080625B +:103D90008093EB008BB5843081F0F981F43009F029 +:103DA000CFCD10928302109284021092850210925D +:103DB000860234DA5D9A5C9ABFCD909182029111AD +:103DC00016C08FE99FE00197F1F700C000008091D5 +:103DD000E00081608093E0009CE088E10FB6F894F9 +:103DE000A895809360000FBE90936000FFCF8093F2 +:103DF000E9008091E80082FF0AC09091F2009111E1 +:103E000007C08091E8008B778093E80001C090E0C4 +:103E100080919702813029F4992309F44DC08CDBFD +:103E20004BC0823009F048C0809199022EB3821BAA +:103E300080958F779923B1F08917A0F0F2E0E09197 +:103E400099028091F1008193EF779150D1F78091A1 +:103E5000E8008B778093E800E093990288EB8093E9 +:103E6000C90002C08F3719F05C9893E0892E8AB59B +:103E700090919802891B01F1A89902C08F33C8F074 +:103E800093E09093E9009091E80090FF12C08F3387 +:103E900008F08FE3E0919802F1E091919093F100A6 +:103EA0008150D1F78091E8008E778093E800E0930D +:103EB00098025D9883E0982EA89B42CD91E095BB37 +:103EC000992021F09A94911001C05D9A882009F4FC +:103ED00037CD8A94811034CD5C9A32CD22E130E026 +:103EE000E2EBF0E3BFCEF999FECF92BD81BDF89A27 +:103EF000992780B50895262FF999FECF92BD81BDEF +:103F0000F89A019700B4021639F01FBA20BD0FB617 +:103F1000F894FA9AF99A0FBE0895A1E21A2EAA1BF4 +:103F2000BB1BFD010DC0AA1FBB1FEE1FFF1FA21769 +:103F3000B307E407F50720F0A21BB30BE40BF50B66 +:103F4000661F771F881F991F1A9469F760957095EF +:103F5000809590959B01AC01BD01CF010895F89427 +:023F6000FFCF91 +:103F62000100000000000008484C322E302E3600BE +:103FA000B6CAA0CA92CA8BCA84CA7CCA6ACA089511 +:083FB000089508950895089595 +:103FE000DFCFDFCFDFCFDFCFDFCFDFCFDFCFDFCF61 +:083FF000DFCFDFCFDFCFDFCF11 +:083FF8000030000000DFFBDCDB +:0400000300003000C9 +:00000001FF diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_6_Uno_atmega32u2.hex b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Uno_atmega32u2.hex new file mode 100644 index 0000000..fefb5a2 --- /dev/null +++ b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Uno_atmega32u2.hex @@ -0,0 +1,253 @@ +:1070000039C0000094C0000092C0000090C0000091 +:107010008EC000008CC000008AC0000088C0000044 +:1070200086C0000084C0000082C00000AEC1000025 +:107030007EC000007CC000007AC0000078C0000064 +:1070400076C0000074C0000072C0000070C0000074 +:107050006EC000006CC000006AC0000050C4000098 +:107060003BC4000064C0000062C0000060C00000BB +:107070005EC0000011241FBECFEFD4E0DEBFCDBF45 +:107080002091FF041092FF049091800210928002E0 +:1070900084B714BE0FB6F894A8953091600038619B +:1070A00030936000109260000FBE5D9A5C9AE0E041 +:1070B000F0E0459154914F3F5F4F21F181FF18C09F +:1070C000273701F19737F1F087E78093FF0480932A +:1070D00080028FEF9EE924E2815090402040E1F74A +:1070E00000C000001092FF04109280024BD10AC031 +:1070F00080FF02C047D106C083FF04C0273711F0CC +:107100009737C1F713E0A2E8B2E0EAEBFEE702C06E +:1071100005900D92AC31B107D9F723E0ACE1B3E0B3 +:1071200001C01D92AD32B207E1F7F2D3C4C668CFF9 +:107130008091240387FF0FC08091E80082FD04C086 +:107140008BB58111F9CF10C08091E8008B770AC010 +:107150008BB5882349F08091E80080FFF9CF8091BA +:10716000E8008E778093E80008958F708093E9009F +:10717000EBEEF0E0808181608083EDEEF0E0108244 +:107180006093EC0040838091EE00881F8827881F61 +:10719000089520912A0330912B032617370748F0D2 +:1071A0006115710539F42091E8002E772093E800ED +:1071B00001C0B901FC0120E06115710559F18BB5E1 +:1071C0008823D1F18530D1F18091E80083FD38C06A +:1071D0008091E80082FD2AC08091E80080FFECCF1A +:1071E0008091F20090E06115710551F088309105B1 +:1071F00038F421912093F100615071090196F3CF89 +:1072000021E0089709F020E08091E8008E778093D4 +:10721000E800D2CF2111D3CF09C08BB5882361F00C +:10722000853061F08091E80083FD0AC08091E8001C +:1072300082FFF3CF80E0089582E0089583E008950F +:1072400081E00895CF935B9A1092C9001092C80014 +:107250001092CA001EBA10922303109222031ABC85 +:1072600020918302309184024091850250918602E0 +:10727000211531054105510519F4109221034FC024 +:10728000211581EE38074105510521F481E08093F5 +:10729000210345C082E080932103809188028130E0 +:1072A00021F0823021F4C0E203C0C0E301C0C0E09D +:1072B00080918702823009F4C8608091890287300A +:1072C00031F0883031F0863029F4C26003C0C460E8 +:1072D00001C0C660DA01C901B695A7959795879553 +:1072E000BC01CD0160587B47814E9F4FC2D52150D4 +:1072F000310920FD04C0211580E1380720F03695C2 +:10730000279580E001C082E03093CD002093CC002F +:10731000C093CA008093C80088E98093C9005B9835 +:10732000CF91089593E09093E9009BB5992391F054 +:107330009091E80090FFF9CF8093F10081E0860DF5 +:107340008F3310F4682E0895612C8091E8008E77B9 +:107350008093E800089584E08093E9008091E8003C +:1073600085FD0DC08091E8008B778093E8008091C7 +:10737000E80082FDF3CF8BB58111F9CF02C0809177 +:10738000F1000895E0E0F0E009941F920F920FB62B +:107390000F9211242F933F934F935F936F937F939B +:1073A0008F939F93AF93BF93EF93FF938091E100EF +:1073B00080FF15C08091E20080FF11C08091E20043 +:1073C0008E7F8093E2008091E20080618093E200F2 +:1073D0008091D80080628093D80019BC1BBC80913A +:1073E000E10084FF2DC08091E20084FF29C084E089 +:1073F00089BD86E089BD09B400FEFDCF8091D8002B +:107400008F7D8093D8008091E1008F7E8093E10092 +:107410008091E2008F7E8093E2008091E2008160A3 +:107420008093E20080912C03882311F084E007C050 +:107430008091E30087FD02C081E001C083E08BBD45 +:107440008091E10083FF20C08091E20083FF1CC097 +:107450008091E100877F8093E10082E08BBD1092F4 +:107460002C038091E1008E7F8093E1008091E20007 +:107470008E7F8093E2008091E20080618093E20041 +:1074800042E060E080E071DEFF91EF91BF91AF914B +:107490009F918F917F916F915F914F913F912F912C +:1074A0000F900FBE0F901F9018959FB7F89407B6D6 +:1074B00000FCFDCFF999FECF809529E0E1E0F0E0F6 +:1074C000082E20935700E8959FBF0895E1E0F0E073 +:1074D00089E0809357008491089529E0FC0120936E +:1074E00057008491089521E2FC0120935700849174 +:1074F000089507B600FCFDCFF999FECF21E0FB010E +:107500000A0120935700E895112408952FB7F894A5 +:1075100007B600FCFDCFF999FECF35E0FB013093B3 +:107520005700E89507B600FCFDCF91E19093570016 +:10753000E8952FBF08952FB7F89407B600FCFDCF4C +:10754000F999FECF33E0FB0130935700E89507B679 +:1075500000FCFDCF91E190935700E8952FBF08956F +:107560007F928F929F92AF92BF92CF92DF92EF92D3 +:10757000FF920F931F93CF93DF93612CECDE082FC4 +:10758000853419F41092820207C088E8800F823097 +:1075900010F0043521F4DFDE8DE0C4DE76C1003565 +:1075A000D9F30C34C9F3043721F484E4BBDE80E062 +:1075B000F4CF013611F489E5F0CF013491F4CBDE3C +:1075C000C82FC9DE2C2F30E0322F2227330F90E056 +:1075D000880F991F822B932B092E000CAA0BBB0B33 +:1075E00028C1003711F483E5D8CF033549F4C4E14D +:1075F000D3E0899197DE83E0CB31D807D1F745C13D +:10760000063521F481E38EDE80E3C7CF033731F402 +:107610008AE888DE85E986DE8EE1BFCF053691F403 +:10762000C12CD12C7601C701B60185DF80E8C80ED8 +:10763000D11CE11CF11CC11480E7D806E104F1045F +:1076400091F7AACF0C3619F486DE2FDFA5CF0237CB +:1076500011F43CDFA2CF063419F4E0E0F0E009C0F9 +:107660000E3419F4E3E0F0E004C0013539F4E2E04F +:10767000F0E089E08093570084918FCF023631F497 +:1076800089E550DE80E04EDE80E887CF023419F0D5 +:10769000073609F0B2C05FDEF82E5DDEC82F5BDE74 +:1076A000182F8BEB810F823010F08FE376CFD0E074 +:1076B000DF29073609F03EC000E0BB24B3942097D1 +:1076C00009F4E3C0C0901D03D0901E03E0901F0397 +:1076D000F09020031634B9F4E02FF0E0EC29FD29F6 +:1076E000849120DE002369F082E0C80ED11CE11CE9 +:1076F000F11CC0921D03D0921E03E0921F03F09272 +:1077000020030B2515C0D701C601B695A7959795FF +:10771000879595D307DE82E0C80ED11CE11CF11CD1 +:10772000C0921D03D0921E03E0921F03F09220032B +:107730002197C5CF80901D0390901E03A0901F033A +:10774000B0902003163419F4C501B401F4DE712C95 +:1077500000E0209709F44AC0163421F50023E9F02F +:10776000FADDC0901D03D0901E03E0901F03F0903F +:107770002003472D50E0582BC701B601BADE82E046 +:10778000C80ED11CE11CF11CC0921D03D0921E0337 +:10779000E0921F03F092200302C0DDDD782E81E02D +:1077A000082722C0D8DD682F80911D0390911E0309 +:1077B000A0911F03B0912003B695A7959795879543 +:1077C00046D380911D0390911E03A0911F03B09199 +:1077D00020030296A11DB11D80931D0390931E03EB +:1077E000A0931F03B09320032197B3CF163409F061 +:1077F000D3CEC501B4018ADECFCE043419F5ABDD9A +:10780000682F80911D0390911E03A0911F03B091DA +:107810002003B695A7959795879519D380911D0359 +:1078200090911E03A0911F03B09120030296A11D09 +:10783000B11D80931D0390931E03A0931F03B0936B +:107840002003AACE0436F1F4C0901D03D0901E038D +:10785000E0901F03F0902003D701C601B695A795CD +:1078600097958795ECD25EDD82E0C80ED11CE11CB5 +:10787000F11CC0921D03D0921E03E0921F03F092F0 +:10788000200303C00B3109F010CF662079F083E0AC +:107890008093E9008BB5882389F08091E80080FF10 +:1078A000F9CF8091E8008E778093E80084E08093A0 +:1078B000E9008091E8008B778093E800DF91CF9119 +:1078C0001F910F91FF90EF90DF90CF90BF90AF90FE +:1078D0009F908F907F9008952F01EEB3F2E031904A +:1078E0003092CE00EEBBF798F2012EB23090230317 +:1078F00023101895E8E9E093C900F201189530903B +:10790000CE002F01EAB5F1E03192EABDF2011895FF +:1079100090E080E80FB6F894809361009093610046 +:107920000FBE91E095BF82E085BF809163008E7F9E +:107930008093630090931C031092E2001092E10088 +:107940008091D8008F778093D8008091D80080688C +:107950008093D8008091D8008F7D8093D80084E0F8 +:1079600089BD86E089BD09B400FEFDCF1BBC109225 +:107970002C0342E060E080E0F8DB8091E1008E7F44 +:107980008093E1008091E20081608093E200809129 +:10799000E20088608093E2008091E0008E7F809317 +:1079A000E00084E085BD8AB1886B8AB95F9A5A9AF3 +:1079B0007894F12CE12C01E010E0DBB41092E900A6 +:1079C0008091E80083FF79C1E4E2F3E08091F10067 +:1079D000819323E0EC32F207C9F780912403982FBA +:1079E0009F77913209F065C090912503913299F407 +:1079F000813A09F05EC08091E800877F8093E800BB +:107A000067E070E083E892E0C4DB8091E8008B7768 +:107A10008093E8004EC09032C9F5813209F049C028 +:107A20008091E800877F8093E800E3E8F2E087E058 +:107A3000882311F19BB5992311F1953001F19091B3 +:107A4000E80093FD1CC09091E80092FFF1CF909167 +:107A5000F200992329F09091F10091938150B9F7A8 +:107A60009091E8009B779093E800E2CF853039F061 +:107A70008091E80080FD03C08BB58111F7CF809124 +:107A8000E8008E778093E800DDDB13C0923289F442 +:107A9000813279F48091E800877F8093E80048DBA9 +:107AA0008091260380FF04C05F9830E43A95F1F797 +:107AB0005F9A8091E80083FFF2C080912403909147 +:107AC0002503953009F46AC030F4913071F168F003 +:107AD000933059F1E4C0983009F4A6C0993009F404 +:107AE000B5C0963009F0DBC07BC0803899F0823891 +:107AF00009F0D5C0809128038F70853008F0CFC081 +:107B00008093E9008091EB0085FB882780F9109233 +:107B1000E90001C080E09091E800977F9093E80031 +:107B20008093F1001092F1008AC0282F2D7F09F078 +:107B3000B6C0823009F0B3C080912603811128C0FD +:107B4000809128038F702FEF280F243008F0A7C0F2 +:107B50008093E9002091EB0020FF1AC0933021F4BC +:107B60008091EB00806212C09091EB009061909345 +:107B7000EB00980102C0220F331F8A95E2F7209391 +:107B8000EA001092EA008091EB0088608093EB009D +:107B90001092E9008091E800877F54C081117FC076 +:107BA000809126038F77C82E8091E30080788C29FE +:107BB0008093E3008091E800877F8093E800B8DA43 +:107BC0008091E80080FFFCCF8091E3008068809383 +:107BD000E300C11002C082E001C083E08BBD5FC042 +:107BE0008058823008F05BC08091260330912703D3 +:107BF000C32F90E0D92FC230D10539F0C330D10561 +:107C000049F0219709F04BC0FBC06EE370E084ECB3 +:107C100092E009C1882309F4F8C0813009F4FAC060 +:107C2000823009F03CC0FBC08038C9F58091E80083 +:107C3000877F8093E80080912C038093F1008091EE +:107C4000E8008E778093E80073DA29C0811127C09D +:107C500080912603909127039927029704F580913C +:107C6000E800877F8093E800C0902603C0922C0331 +:107C70005FDAC11006C08091E30087FD02C081E099 +:107C800001C084E08BBD42E061EC82E06EDA46E345 +:107C900061E883E06ADA42E260E884E066DA8091D3 +:107CA000E80083FF0AC08091E800877F8093E800A6 +:107CB0008091EB0080628093EB008BB5843079F08B +:107CC00024E0D2127ACE1092830210928402109293 +:107CD000850210928602B6DA5D9A5C9A6ACE90911D +:107CE0008202911116C08FE99FE00197F1F700C061 +:107CF00000008091E00081608093E0009CE088E1DA +:107D00000FB6F894A895809360000FBE9093600022 +:107D1000FFCF8093E9008091E80082FF0AC0909134 +:107D2000F200911107C08091E8008B778093E80002 +:107D300001C090E080912103813029F4992309F456 +:107D40004DC00EDC4BC0823009F048C08091230347 +:107D50002EB3821B80958F779923B1F08917A0F0FD +:107D6000F2E0E09123038091F1008193EF7791504D +:107D7000D1F78091E8008B778093E800E0932303AC +:107D800088EB8093C90002C08F3719F05C9893E0AC +:107D9000F92E8AB590912203891B01F1A89902C09E +:107DA0008F33C8F093E09093E9009091E80090FF42 +:107DB00012C08F3308F08FE3E0912203F1E091913C +:107DC0009093F1008150D1F78091E8008E778093F5 +:107DD000E800E09322035D9883E0E82EA89BEDCDB8 +:107DE00081E085BBEE2021F0EA94E11001C05D9AAC +:107DF000FF2009F4E2CDFA94F110DFCD5C9ADDCDDD +:107E000062E170E082E093E00EC064E070E08CEA32 +:107E100092E009C062E170E080EB92E004C060E2B1 +:107E200070E08AE892E02091E800277F2093E80044 +:107E3000B0D98091E8008B778093E80030CFF99932 +:107E4000FECF92BD81BDF89A992780B50895262F5F +:107E5000F999FECF92BD81BDF89A019700B4021640 +:107E600039F01FBA20BD0FB6F894FA9AF99A0FBEEE +:107E70000895A1E21A2EAA1BBB1BFD010DC0AA1F6B +:107E8000BB1FEE1FFF1FA217B307E407F50720F083 +:107E9000A21BB30BE40BF50B661F771F881F991FFE +:107EA0001A9469F760957095809590959B01AC0147 +:0A7EB000BD01CF010895F894FFCF43 +:107EBA000100000000000008200348006F006F0066 +:107ECA0064004C006F0061006400650072003200BB +:107EDA00200055006E006F0000000403090412031D +:107EEA004E00690063006F0048006F006F00640075 +:107EFA00000009023E00020100803209040000016C +:107F0A0002020100052400100104240202052406CD +:107F1A000001070582030800FF09040100020A00A4 +:107F2A000000070504022000010705830240000142 +:107F3A001201100102000008412343000602010257 +:0A7F4A000001484C322E302E3600A4 +:107FA000CACAB4CAA6CA9FCA98CA90CA7ECA089545 +:087FB000089508950895089555 +:107FE000DFCFDFCFDFCFDFCFDFCFDFCFDFCFDFCF21 +:087FF000DFCFDFCFDFCFDFCFD1 +:087FF8000070000000DFFBDC5B +:040000030000700089 +:00000001FF diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_6_Uno_atmega8u2.hex b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Uno_atmega8u2.hex new file mode 100644 index 0000000..dcac67b --- /dev/null +++ b/avr/bootloaders/HexFiles/HoodLoader2_0_6_Uno_atmega8u2.hex @@ -0,0 +1,255 @@ +:101000007EC00000D9C00000D7C00000D5C00000DD +:10101000D3C00000D1C00000CFC00000CDC0000090 +:10102000CBC00000C9C00000C7C000009AC10000CA +:10103000C3C00000C1C00000BFC00000BDC00000B0 +:10104000BBC00000B9C00000B7C00000B5C00000C0 +:10105000B3C00000B1C00000AFC0000001C4000078 +:10106000ECC30000A9C00000A7C00000A5C000009C +:10107000A3C0000009023E00020100803209040002 +:1010800000010202010005240010010424020205EF +:1010900024060001070582030800FF09040100027D +:1010A0000A00000007050402200001070583024032 +:1010B0000001120110010200000841234300060252 +:1010C00001020001200348006F006F0064004C0023 +:1010D0006F0061006400650072003200200055005E +:1010E0006E006F00000012034E00690063006F0085 +:1010F00048006F006F00640000000403090411241D +:101100001FBECFEFD2E0DEBFCDBF2091FF02109215 +:10111000FF02909180021092800284B714BE0FB635 +:10112000F894A89530916000386130936000109277 +:1011300060000FBE5D9A5C9AE0E0F0E0459154914A +:101140004F3F5F4F21F181FF18C0273701F19737DB +:10115000F1F087E78093FF02809380028FEF9EE992 +:1011600024E2815090402040E1F700C0000010923E +:10117000FF0210928002F2D00AC080FF02C0EED0BF +:1011800006C083FF04C0273711F09737C1F712E07C +:10119000A2E8B2E0E2E6FFE102C005900D92A239BA +:1011A000B107D9F722E0A2E9B2E001C01D92A33A4B +:1011B000B207E1F75ED3D3C623CF80919A0287FFAF +:1011C0000FC08091E80082FD04C08BB58111F9CF7A +:1011D00010C08091E8008B770AC08BB5882349F056 +:1011E0008091E80080FFF9CF8091E8008E778093AE +:1011F000E80008958F708093E900EBEEF0E08081C5 +:1012000081608083EDEEF0E010826093EC0040831B +:101210008091EE00881F8827881F0895CF935B9ADE +:101220001092C9001092C8001092CA001EBA109203 +:101230009902109298021ABC209183023091840284 +:1012400040918502509186022115310541055105D5 +:1012500019F4109297024FC0211581EE380741050D +:10126000510521F481E08093970245C082E080938C +:10127000970280918802813021F0823021F4C0E20F +:1012800003C0C0E301C0C0E080918702823009F44E +:10129000C86080918902873031F0883031F0863023 +:1012A00029F4C26003C0C46001C0C660DA01C9018C +:1012B000B695A79597958795BC01CD0160587B475A +:1012C000814E9F4F2AD62150310920FD04C021159F +:1012D00080E1380720F03695279580E001C082E054 +:1012E0003093CD002093CC00C093CA008093C800F7 +:1012F00088E98093C9005B98CF91089593E090931B +:10130000E9009BB5992391F09091E80090FFF9CF07 +:101310008093F10081E0860D8F3310F4682E0895DC +:10132000612C8091E8008E778093E800089584E036 +:101330008093E9008091E80085FD0DC08091E80070 +:101340008B778093E8008091E80082FDF3CF8BB526 +:101350008111F9CF02C08091F1000895E0E0F0E042 +:1013600009941F920F920FB60F9211242F933F935F +:101370004F935F936F937F938F939F93AF93BF939D +:10138000EF93FF938091E10080FF15C08091E20010 +:1013900080FF11C08091E2008E7F8093E2008091F7 +:1013A000E20080618093E2008091D80080628093A7 +:1013B000D80019BC1BBC8091E10084FF2DC0809136 +:1013C000E20084FF29C084E089BD86E089BD09B4BC +:1013D00000FEFDCF8091D8008F7D8093D800809152 +:1013E000E1008F7E8093E1008091E2008F7E809308 +:1013F000E2008091E20081608093E2008091A2028D +:10140000882311F084E007C08091E30087FD02C0CB +:1014100081E001C083E08BBD8091E10083FF20C0AB +:101420008091E20083FF1CC08091E100877F809360 +:10143000E10082E08BBD1092A2028091E1008E7FDC +:101440008093E1008091E2008E7F8093E2008091A2 +:10145000E20080618093E20042E060E080E0CADE6A +:10146000FF91EF91BF91AF919F918F917F916F917C +:101470005F914F913F912F910F900FBE0F901F9052 +:1014800018959FB7F89407B600FCFDCFF999FECFE9 +:10149000809529E0E1E0F0E0082E20935700E895E0 +:1014A0009FBF0895E1E0F0E089E0809357008491C8 +:1014B000089529E0FC01209357008491089521E2CA +:1014C000FC01209357008491089507B600FCFDCFDE +:1014D000F999FECF21E0FB010A0120935700E8951E +:1014E000112408952FB7F89407B600FCFDCFF999A1 +:1014F000FECF35E0FB0130935700E89507B600FCBE +:10150000FDCF91E190935700E8952FBF08952FB735 +:10151000F89407B600FCFDCFF999FECF33E0FB014C +:1015200030935700E89507B600FCFDCF91E190930A +:101530005700E8952FBF08957F928F929F92AF92A8 +:10154000BF92CF92DF92EF92FF920F931F93CF93B0 +:10155000DF93612CECDE082F853419F4109282029F +:1015600007C088E8800F823010F0043521F4DFDEF8 +:101570008DE0C4DE3BC10035D9F30C34C9F3043728 +:1015800021F484E4BBDE80E0F4CF013611F489E578 +:10159000F0CF0134D1F4CBDEC82FC9DE2C2F30E0E0 +:1015A000322F2227330F90E0880F991F822B932B25 +:1015B000092E000CAA0BBB0B80939302909394020C +:1015C000A0939502B0939602D3CF003711F483E530 +:1015D000D0CF033549F4CAE8D2E089918FDE82E0AA +:1015E000C139D807D1F702C1063521F481E386DE7F +:1015F00080E3BFCF033731F489E880DE83E97EDE04 +:101600008EE1B7CF053691F4C12CD12C7601C701FC +:10161000B6017DDF80E8C80ED11CE11CF11CC114AD +:1016200080E1D806E104F10491F7A2CF0C3619F459 +:101630007EDE27DF9DCF023711F434DF9ACF0634E8 +:1016400019F4E0E0F0E009C00E3419F4E3E0F0E052 +:1016500004C0013539F4E2E0F0E089E080935700FE +:10166000849187CF023631F489E548DE80E046DE9A +:1016700080E87FCF023419F0073609F0B4C057DE96 +:10168000F82E55DEC82F53DE182F8BEB810F8230DA +:1016900010F08FE36ECFD0E0DF29073609F03EC0AF +:1016A00000E0BB24B394209709F4A0C0C09093023B +:1016B000D0909402E0909502F09096021634B9F41E +:1016C000E02FF0E0EC29FD29849118DE002369F079 +:1016D00082E0C80ED11CE11CF11CC0929302D09292 +:1016E0009402E0929502F09296020B2515C0D70164 +:1016F000C601B695A79597958795F5D3FFDD82E04E +:10170000C80ED11CE11CF11CC0929302D09294022D +:10171000E0929502F09296022197C5CF80909302B5 +:1017200090909402A0909502B0909602163419F40D +:10173000C501B401ECDE712C00E0209709F44CC027 +:10174000163431F50023E9F0F2DDC0909302D09019 +:101750009402E0909502F0909602472D50E0582BAD +:10176000C701B601B2DE82E0C80ED11CE11CF11C3B +:10177000C0929302D0929402E0929502F092960267 +:1017800002C0D5DD782E81E0011180E0082F22C053 +:10179000CEDD682F8091930290919402A0919502E2 +:1017A000B0919602B695A79597958795A4D3809109 +:1017B000930290919402A0919502B09196020296A4 +:1017C000A11DB11D8093930290939402A093950262 +:1017D000B09396022197B1CF163409F0C9CEC50156 +:1017E000B40180DEC5CE0B3109F053CF662079F00D +:1017F00083E08093E9008BB5882389F08091E8002D +:1018000080FFF9CF8091E8008E778093E80084E034 +:101810008093E9008091E8008B778093E800DF9166 +:10182000CF911F910F91FF90EF90DF90CF90BF90DD +:10183000AF909F908F907F9008952F01EEB3F2E0CC +:1018400031903092CE00EEBBF798F2012EB230907C +:10185000990223101895E8E9E093C900F201189560 +:101860003090CE002F01EAB5F1E03192EABDF201ED +:101870001895CF93DF9300D01F92CDB7DEB790E0DD +:1018800080E80FB6F89480936100909361000FBEDA +:1018900091E095BF82E085BF809163008E7F809349 +:1018A0006300909392021092E2001092E100809106 +:1018B000D8008F778093D8008091D800806880937B +:1018C000D8008091D8008F7D8093D80084E089BDB6 +:1018D00086E089BD09B400FEFDCF1BBC1092A202B8 +:1018E00042E060E080E086DC8091E1008E7F8093C2 +:1018F000E1008091E20081608093E2008091E2004B +:1019000088608093E2008091E0008E7F8093E00009 +:1019100084E085BD8AB1886B8AB95F9A5A9A7894B7 +:1019200022EAE22E22E0F22E36EEA32E30E1B32E92 +:101930004AEFC42E40E1D42E812C912C01E010E01E +:101940002BB529831092E9008091E80083FF22C221 +:10195000EAE9F2E08091F1008193EE16FF06D1F7FB +:1019600080919A02982F9F77913209F0AAC09091A6 +:101970009B02913209F057C0813A09F0A2C08091D0 +:10198000E800877F8093E8008091A0029091A102F7 +:101990008730910510F087E090E040E0E3E8F2E066 +:1019A000009759F12BB52223C1F12530B1F12091D7 +:1019B000E80023FD32C02091E80022FD2AC02091DA +:1019C000E80020FFEDCF2091F20030E0009751F0C9 +:1019D0002830310538F441914093F10001972F5F91 +:1019E0003F4FF4CF41E02830310509F040E020912D +:1019F000E8002E772093E800D3CF4111D3CF09C060 +:101A00008BB5882351F0853041F08091E80083FD4B +:101A100004C08091E80082FFF3CF8091E8008B77CB +:101A20008093E8004EC09032C9F5813209F049C078 +:101A30008091E800877F8093E800E3E8F2E087E0A8 +:101A4000882311F19BB5992311F1953001F1909103 +:101A5000E80093FD1CC09091E80092FFF1CF9091B7 +:101A6000F200992329F09091F10091938150B9F7F8 +:101A70009091E8009B779093E800E2CF853039F0B1 +:101A80008091E80080FD03C08BB58111F7CF809174 +:101A9000E8008E778093E800C1DB13C0923289F4AE +:101AA000813279F48091E800877F8093E80085DBBC +:101AB00080919C0280FF04C05F9830E43A95F1F772 +:101AC0005F9A8091E80083FF57C180919A029091BC +:101AD0009B02953009F46DC030F4913071F168F0DB +:101AE000933059F149C1983009F40EC1993009F485 +:101AF0001AC1963009F040C17EC0803899F0823812 +:101B000009F03AC180919E028F70853008F034C18F +:101B10008093E9008091EB0085FB882780F9109283 +:101B2000E90001C080E09091E800977F9093E80081 +:101B30008093F1001092F100F2C0282F2D7F09F060 +:101B40001BC1823009F018C180919C02811128C00C +:101B500080919E028F702FEF280F243008F00CC167 +:101B60008093E9002091EB0020FF1AC0933021F40C +:101B70008091EB00806212C09091EB009061909395 +:101B8000EB00F80102C0EE0FFF1F8A95E2F7E09329 +:101B9000EA001092EA008091EB0088608093EB00ED +:101BA0001092E9008091E800877F8093E80005DBD0 +:101BB000E3C08111E1C080919C028F77782E8091E3 +:101BC000E300807887298093E3008091E800877F95 +:101BD0008093E800F2DA8091E80080FFFCCF8091EA +:101BE000E30080688093E300711002C082E001C0CE +:101BF00083E08BBDC1C08058823008F0BDC08091A9 +:101C00009C02F0919D02FA831B822A813B81223043 +:101C1000310541F02330310551F02130310509F013 +:101C2000ABC05CC12EE330E0E4E7F0E11BC0811102 +:101C300006C0F601249130E0EAEFF0E10FC08130F8 +:101C400031F4F501249130E0E6EEF0E107C0823096 +:101C500009F092C0E4ECF0E1249130E02115310567 +:101C600009F48AC08091E800877F8093E800809122 +:101C7000A0029091A1022817390708F4C90140E099 +:101C8000009761F12BB52223C9F12530B9F12091DC +:101C9000E80023FD33C02091E80022FD2BC02091F5 +:101CA000E80020FFEDCF2091F20030E0009759F0DE +:101CB0002830310540F444914093F100319601976A +:101CC0002F5F3F4FF3CF41E02830310509F040E06E +:101CD0002091E8002E772093E800D2CF4111D2CF97 +:101CE00009C08BB5882351F0853041F08091E80020 +:101CF00083FD04C08091E80082FFF3CF8091E8006B +:101D00008B778093E80038C08038B1F58091E80087 +:101D1000877F8093E8008091A2028093F1008091F8 +:101D2000E8008E7742CF811127C080919C0290916C +:101D30009D029927029704F58091E800877F8093A0 +:101D4000E80070909C027092A20237DA711006C00F +:101D50008091E30087FD02C081E001C084E08BBD7B +:101D600042E061EC82E046DA46E361E883E042DA91 +:101D700042E260E884E03EDA8091E80083FF0AC036 +:101D80008091E800877F8093E8008091EB0080627B +:101D90008093EB008BB5843081F0F981F43009F049 +:101DA000CFCD10928302109284021092850210927D +:101DB000860234DA5D9A5C9ABFCD909182029111CD +:101DC00016C08FE99FE00197F1F700C000008091F5 +:101DD000E00081608093E0009CE088E10FB6F89419 +:101DE000A895809360000FBE90936000FFCF809312 +:101DF000E9008091E80082FF0AC09091F200911101 +:101E000007C08091E8008B778093E80001C090E0E4 +:101E100080919702813029F4992309F44DC08CDB1D +:101E20004BC0823009F048C0809199022EB3821BCA +:101E300080958F779923B1F08917A0F0F2E0E091B7 +:101E400099028091F1008193EF779150D1F78091C1 +:101E5000E8008B778093E800E093990288EB809309 +:101E6000C90002C08F3719F05C9893E0892E8AB5BB +:101E700090919802891B01F1A89902C08F33C8F094 +:101E800093E09093E9009091E80090FF12C08F33A7 +:101E900008F08FE3E0919802F1E091919093F100C6 +:101EA0008150D1F78091E8008E778093E800E0932D +:101EB00098025D9883E0982EA89B42CD91E095BB57 +:101EC000992021F09A94911001C05D9A882009F41C +:101ED00037CD8A94811034CD5C9A32CD22E130E046 +:101EE000E2EBF0E1BFCEF999FECF92BD81BDF89A49 +:101EF000992780B50895262FF999FECF92BD81BD0F +:101F0000F89A019700B4021639F01FBA20BD0FB637 +:101F1000F894FA9AF99A0FBE0895A1E21A2EAA1B14 +:101F2000BB1BFD010DC0AA1FBB1FEE1FFF1FA21789 +:101F3000B307E407F50720F0A21BB30BE40BF50B86 +:101F4000661F771F881F991F1A9469F7609570950F +:101F5000809590959B01AC01BD01CF010895F89447 +:021F6000FFCFB1 +:101F62000100000000000008484C322E302E3600DE +:101FA000B6CAA0CA92CA8BCA84CA7CCA6ACA089531 +:081FB0000895089508950895B5 +:101FE000DFCFDFCFDFCFDFCFDFCFDFCFDFCFDFCF81 +:081FF000DFCFDFCFDFCFDFCF31 +:081FF8000010000000DFFBDC1B +:0400000300001000E9 +:00000001FF diff --git a/avr/bootloaders/HoodLoader2/Board/Board.h b/avr/bootloaders/HoodLoader2/Board/Board.h index 9869ed7..1c6e570 100644 --- a/avr/bootloaders/HoodLoader2/Board/Board.h +++ b/avr/bootloaders/HoodLoader2/Board/Board.h @@ -150,16 +150,33 @@ extern "C" { #define AVR_RESET_LINE_DDR DDRD #define AVR_RESET_LINE_PIN PIND #define AVR_RESET_LINE_MASK (1 << PD4) // PD4 = D4, PD6 = D12, PD7 = D7 - + + /* Pin that is used to de-/activate (0/1) Autoreset */ #define AUTORESET_PORT PORTB #define AUTORESET_DDR DDRB #define AUTORESET_PIN PINB #define AUTORESET_MASK (1 << PB4) // D8 + + /* Pin that can power the main MCU */ + #define AVR_VCCEN_LINE_PORT PORTB + #define AVR_VCCEN_LINE_DDR DDRB + #define AVR_VCCEN_LINE_PIN PINB + #define AVR_VCCEN_LINE_MASK (1 << PB5) // D9 /* Inline Functions: */ #if !defined(__DOXYGEN__) static inline void Board_Init(void) { + /* switch on the main MCU */ + #ifdef WITH_VCC_ENABLE + // when switching is done via pullup/input pin can stay input (saves 2 bytes) + AVR_VCCEN_LINE_DDR |= AVR_VCCEN_LINE_MASK; // Set VCCEN pin to output + #if(VCCEN_ACTIVE_HIGH) + AVR_VCCEN_LINE_PORT |= AVR_VCCEN_LINE_MASK; // VCCEN is HIGH active (n-ch mosfet) + #else + AVR_VCCEN_LINE_PORT &= ~AVR_VCCEN_LINE_MASK; // VCCEN is LOW active (p-ch mosfet) + #endif + #endif // We use = here since the pins should be input/low anyways. // This saves us some more bytes for flash DDRD = LEDMASK_TX | (1 << PD3) | AVR_RESET_LINE_MASK; @@ -171,8 +188,25 @@ extern "C" { static inline void Board_Reset(bool reset) { + #ifdef AUTORESET_JUMPER + if(!(AUTORESET_PIN & AUTORESET_MASK)) + return; + #endif + if (reset) + { AVR_RESET_LINE_PORT &= ~AVR_RESET_LINE_MASK; + #ifdef USING_SOFTWARE_RESET + // Changing this delay to specific values between 3 and 42 μs saves some bytes of flash (due to perfect timer interrupt) + // 4 Bytes for 3, 6, 12, 18, 24, 30, 36, 42 μs + // 6 Bytes for 1, 2, 5, 7, 8, 10, 20, 40, 46, μs, + // 10 Bytes for 200, 500, 1000 μs (values > 48 μs) + // 1, 2, 3, 5, 12, 20, 40, 200, 500 μs values tested with Arduino Uno R3 @ 16 MHz, so the valid range is: 1 to 500 μs; values like 800, 1000 μs didn't work for me + // 12 μs seams to bee a good default value + _delay_us(12); // wait 12 microsecords to reset main MCU on boards with resistor instead of capacitor on reset line + AVR_RESET_LINE_PORT |= AVR_RESET_LINE_MASK; + #endif + } else AVR_RESET_LINE_PORT |= AVR_RESET_LINE_MASK; } @@ -186,21 +220,38 @@ extern "C" { // Arduino Uno/Mega 8/16/32u2 #else - /** Pin that can reset the main MCU. */ + /* Pin that can reset the main MCU. */ #define AVR_RESET_LINE_PORT PORTD #define AVR_RESET_LINE_DDR DDRD #define AVR_RESET_LINE_PIN PIND #define AVR_RESET_LINE_MASK (1 << PD7) + /* Pin that is used to de-/activate (0/1) Autoreset */ #define AUTORESET_PORT PORTB #define AUTORESET_DDR DDRB #define AUTORESET_PIN PINB #define AUTORESET_MASK (1 << PB6) // D6 + + /* Pin that can power the main MCU */ + #define AVR_VCCEN_LINE_PORT PORTB + #define AVR_VCCEN_LINE_DDR DDRB + #define AVR_VCCEN_LINE_PIN PINB + #define AVR_VCCEN_LINE_MASK (1 << PB5) // D5 /* Inline Functions: */ #if !defined(__DOXYGEN__) static inline void Board_Init(void) { + /* switch on the main MCU */ + #ifdef WITH_VCC_ENABLE + // when switching is done via pullup/input pin can stay input (saves 2 bytes) + AVR_VCCEN_LINE_DDR |= AVR_VCCEN_LINE_MASK; // Set VCCEN pin to output + #if(VCCEN_ACTIVE_HIGH) + AVR_VCCEN_LINE_PORT |= AVR_VCCEN_LINE_MASK; // VCCEN is HIGH active (n-ch mosfet) + #else + AVR_VCCEN_LINE_PORT &= ~AVR_VCCEN_LINE_MASK; // VCCEN is LOW active (p-ch mosfet) + #endif + #endif DDRD |= LEDS_ALL_LEDS | (1 << PD3) | AVR_RESET_LINE_MASK; PORTD |= AVR_RESET_LINE_MASK; PORTD |= (1 << PD2); @@ -211,20 +262,24 @@ extern "C" { #ifdef AUTORESET_JUMPER if(!(AUTORESET_PIN & AUTORESET_MASK)) return; - - if (reset) - AVR_RESET_LINE_PORT &= ~AVR_RESET_LINE_MASK; - else - AVR_RESET_LINE_PORT |= AVR_RESET_LINE_MASK; + #endif - #else - if (reset) + { AVR_RESET_LINE_PORT &= ~AVR_RESET_LINE_MASK; + #ifdef USING_SOFTWARE_RESET + // Changing this delay to specific values between 3 and 42 μs saves some bytes of flash (due to perfect timer interrupt) + // 4 Bytes for 3, 6, 12, 18, 24, 30, 36, 42 μs + // 6 Bytes for 1, 2, 5, 7, 8, 10, 20, 40, 46, μs, + // 10 Bytes for 200, 500, 1000 μs (values > 48 μs) + // 1, 2, 3, 5, 12, 20, 40, 200, 500 μs values tested with Arduino Uno R3 @ 16 MHz, so the valid range is: 1 to 500 μs; values like 800, 1000 μs didn't work for me + // 12 μs seams to bee a good default value + _delay_us(12); // wait 12 microsecords to reset main MCU on boards with resistor instead of capacitor on reset line + AVR_RESET_LINE_PORT |= AVR_RESET_LINE_MASK; + #endif + } else AVR_RESET_LINE_PORT |= AVR_RESET_LINE_MASK; - - #endif } static inline void Board_Erase(bool erase) diff --git a/avr/bootloaders/HoodLoader2/makefile b/avr/bootloaders/HoodLoader2/makefile index 9599300..de6541f 100644 --- a/avr/bootloaders/HoodLoader2/makefile +++ b/avr/bootloaders/HoodLoader2/makefile @@ -19,7 +19,7 @@ F_USB = $(F_CPU) OPTIMIZATION = s TARGET = HoodLoader2 SRC = $(TARGET).c Descriptors.c BootloaderAPI.c BootloaderAPITable.S $(LUFA_SRC_USB) -LUFA_PATH = ../lufa/LUFA +LUFA_PATH = ../lufa-LUFA-170418/LUFA CC_FLAGS = -DUSE_LUFA_CONFIG_HEADER -IConfig/ $(HOODLOADER2_OPTS) -DBOOT_START_ADDR=$(BOOT_START_OFFSET) $(REGS) LD_FLAGS = -Wl,--section-start=.text=$(BOOT_START_OFFSET) $(BOOT_API_LD_FLAGS),--section-start=.data=$(RAM_OFFSET) $(REGS) LTO = Y @@ -61,6 +61,26 @@ HOODLOADER2_OPTS += -DPOWER_ON_TO_BOOTLOADER=false # Pull the pin low to disable autoreset. You may change the pin in the Board.h file #HOODLOADER2_OPTS += -DAUTORESET_JUMPER + +# Arduino modifications to support DebugWire: +# SoftwareReset: +# Due to SoftwareReset it is possible to optionally replace the capacitor +# between DTR (pin 20) of the USB MCU and RESET pin (PB6) of the main MCU by a resistor. +# This enables ISP programming without a bypass capacitor of 10 μF +# which is usually needed to be connected to main MCU's RESET and GND. +# Furthermore it does not affect upload to Arduinos with capacitor! (==> enabled by default) +HOODLOADER2_OPTS += -DUSING_SOFTWARE_RESET # needs 4 Bytes of flash memory only + +# PowerSwitch: +# A Mosfet is soldered between +5V and the output of the voltage regulator +# to switch on/off power supply of the main MCU by software running on USB MCU. +# Besides the power supply of the USB MCU is not affected. +# The default VCCEN pin to control the active low p-channel mosfet is PB5. (set to output!!!) +#HOODLOADER2_OPTS += -DWITH_VCC_ENABLE +# change this to true for n-ch Mosfet (tricky to use because of n-channels inflated GS-Voltage) +#HOODLOADER2_OPTS += -DVCCEN_ACTIVE_HIGH=false # false (default) for p-ch Mosfet (recommanded) + + # Bootkey locations # 2nd Bootkey is not used for 32u4 devices (due to flash size) # 2nd Bootkey option only makes sense if you compile with the old programming speed 57600 diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_5_Leonardo_atmega32u4.hex b/avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Leonardo_atmega32u4.hex similarity index 100% rename from avr/bootloaders/HexFiles/HoodLoader2_0_5_Leonardo_atmega32u4.hex rename to avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Leonardo_atmega32u4.hex diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_5_Mega_at90usb162.hex b/avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Mega_at90usb162.hex similarity index 100% rename from avr/bootloaders/HexFiles/HoodLoader2_0_5_Mega_at90usb162.hex rename to avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Mega_at90usb162.hex diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_5_Mega_at90usb82.hex b/avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Mega_at90usb82.hex similarity index 100% rename from avr/bootloaders/HexFiles/HoodLoader2_0_5_Mega_at90usb82.hex rename to avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Mega_at90usb82.hex diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_5_Mega_atmega16u2.hex b/avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Mega_atmega16u2.hex similarity index 100% rename from avr/bootloaders/HexFiles/HoodLoader2_0_5_Mega_atmega16u2.hex rename to avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Mega_atmega16u2.hex diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_5_Mega_atmega32u2.hex b/avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Mega_atmega32u2.hex similarity index 100% rename from avr/bootloaders/HexFiles/HoodLoader2_0_5_Mega_atmega32u2.hex rename to avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Mega_atmega32u2.hex diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_5_Mega_atmega8u2.hex b/avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Mega_atmega8u2.hex similarity index 100% rename from avr/bootloaders/HexFiles/HoodLoader2_0_5_Mega_atmega8u2.hex rename to avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Mega_atmega8u2.hex diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_5_Micro_atmega32u4.hex b/avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Micro_atmega32u4.hex similarity index 100% rename from avr/bootloaders/HexFiles/HoodLoader2_0_5_Micro_atmega32u4.hex rename to avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Micro_atmega32u4.hex diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_5_Uno_at90usb162.hex b/avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Uno_at90usb162.hex similarity index 100% rename from avr/bootloaders/HexFiles/HoodLoader2_0_5_Uno_at90usb162.hex rename to avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Uno_at90usb162.hex diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_5_Uno_at90usb82.hex b/avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Uno_at90usb82.hex similarity index 100% rename from avr/bootloaders/HexFiles/HoodLoader2_0_5_Uno_at90usb82.hex rename to avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Uno_at90usb82.hex diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_5_Uno_atmega16u2.hex b/avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Uno_atmega16u2.hex similarity index 100% rename from avr/bootloaders/HexFiles/HoodLoader2_0_5_Uno_atmega16u2.hex rename to avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Uno_atmega16u2.hex diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_5_Uno_atmega32u2.hex b/avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Uno_atmega32u2.hex similarity index 100% rename from avr/bootloaders/HexFiles/HoodLoader2_0_5_Uno_atmega32u2.hex rename to avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Uno_atmega32u2.hex diff --git a/avr/bootloaders/HexFiles/HoodLoader2_0_5_Uno_atmega8u2.hex b/avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Uno_atmega8u2.hex similarity index 100% rename from avr/bootloaders/HexFiles/HoodLoader2_0_5_Uno_atmega8u2.hex rename to avr/bootloaders/LegacyVersions/HoodLoader2_0_5_Uno_atmega8u2.hex diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/HID_EEPROM_Loader/HID_EEPROM_Loader.c b/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/HID_EEPROM_Loader/HID_EEPROM_Loader.c deleted file mode 100644 index 7ee46b4..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/HID_EEPROM_Loader/HID_EEPROM_Loader.c +++ /dev/null @@ -1,61 +0,0 @@ -/* - LUFA Library - Copyright (C) Dean Camera, 2014. - - dean [at] fourwalledcubicle [dot] com - www.lufa-lib.org -*/ - -/* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) - - Permission to use, copy, modify, distribute, and sell this - software and its documentation for any purpose is hereby granted - without fee, provided that the above copyright notice appear in - all copies and that both that the copyright notice and this - permission notice and warranty disclaimer appear in supporting - documentation, and that the name of the author not be used in - advertising or publicity pertaining to distribution of the - software without specific, written prior permission. - - The author disclaims all warranties with regard to this - software, including all implied warranties of merchantability - and fitness. In no event shall the author be liable for any - special, indirect or consequential damages or any damages - whatsoever resulting from loss of use, data or profits, whether - in an action of contract, negligence or other tortious action, - arising out of or in connection with the use or performance of - this software. -*/ - -/** \file - * - * Special application to extract an EEPROM image stored in FLASH memory, and - * copy it to the device EEPROM. This application is designed to be used with - * the HID build system module of LUFA to program the EEPROM of a target device - * that uses the HID bootloader protocol, which does not have native EEPROM - * programming support. - */ - -#include -#include -#include - -/* References to the binary EEPROM data linked in the AVR's FLASH memory space */ -extern const char _binary_InputEEData_bin_start[]; -extern const char _binary_InputEEData_bin_end[]; -extern const char _binary_InputEEData_bin_size[]; - -/* Friendly names for the embedded binary data stored in FLASH memory space */ -#define InputEEData _binary_InputEEData_bin_start -#define InputEEData_size ((int)_binary_InputEEData_bin_size) - -int main(void) -{ - /* Copy out the embedded EEPROM data from FLASH to EEPROM memory space */ - for (uint16_t i = 0; i < InputEEData_size; i++) - eeprom_update_byte((uint8_t*)i, pgm_read_byte(&InputEEData[i])); - - /* Infinite loop once complete */ - for (;;); -} diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/HID_EEPROM_Loader/makefile b/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/HID_EEPROM_Loader/makefile deleted file mode 100644 index e839ba6..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/HID_EEPROM_Loader/makefile +++ /dev/null @@ -1,42 +0,0 @@ -# -# LUFA Library -# Copyright (C) Dean Camera, 2014. -# -# dean [at] fourwalledcubicle [dot] com -# www.lufa-lib.org -# -# -------------------------------------- -# LUFA Project Makefile. -# -------------------------------------- - -# Run "make help" for target help. - -MCU = at90usb1287 -ARCH = AVR8 -F_CPU = 1000000 -F_USB = $(F_CPU) -OPTIMIZATION = s -TARGET = HID_EEPROM_Loader -SRC = $(TARGET).c -LUFA_PATH = ../../../LUFA -CC_FLAGS = -LD_FLAGS = -OBJECT_FILES = InputEEData.o - -# Default target -all: - -# Determine the AVR sub-architecture of the build main application object file -FIND_AVR_SUBARCH = avr$(shell avr-objdump -f $(TARGET).o | grep architecture | cut -d':' -f3 | cut -d',' -f1) - -# Create a linkable object file with the input binary EEPROM data stored in the FLASH section -InputEEData.o: InputEEData.bin $(TARGET).o $(MAKEFILE_LIST) - @echo $(MSG_OBJCPY_CMD) Converting \"$<\" to a object file \"$@\" - avr-objcopy -I binary -O elf32-avr -B $(call FIND_AVR_SUBARCH) --rename-section .data=.progmem.data,contents,alloc,readonly,data $< $@ - -# Include LUFA build script makefiles -include $(LUFA_PATH)/Build/lufa_core.mk -include $(LUFA_PATH)/Build/lufa_build.mk -include $(LUFA_PATH)/Build/lufa_cppcheck.mk -include $(LUFA_PATH)/Build/lufa_doxygen.mk -include $(LUFA_PATH)/Build/lufa_hid.mk diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_atprogram.mk b/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_atprogram.mk deleted file mode 100644 index 9433834..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_atprogram.mk +++ /dev/null @@ -1,103 +0,0 @@ -# -# LUFA Library -# Copyright (C) Dean Camera, 2014. -# -# dean [at] fourwalledcubicle [dot] com -# www.lufa-lib.org -# - -LUFA_BUILD_MODULES += ATPROGRAM -LUFA_BUILD_TARGETS += atprogram atprogram-ee -LUFA_BUILD_MANDATORY_VARS += MCU TARGET -LUFA_BUILD_OPTIONAL_VARS += ATPROGRAM_PROGRAMMER ATPROGRAM_INTERFACE ATPROGRAM_PORT -LUFA_BUILD_PROVIDED_VARS += -LUFA_BUILD_PROVIDED_MACROS += - -# ----------------------------------------------------------------------------- -# LUFA ATPROGRAM Programmer Buildsystem Makefile Module. -# ----------------------------------------------------------------------------- -# DESCRIPTION: -# Provides a set of targets to re-program a device using the Atmel atprogram -# utility in AVR Studio 5.x and Atmel Studio 6.0 onwards. -# ----------------------------------------------------------------------------- -# TARGETS: -# -# atprogram - Program target FLASH with application using -# atprogram -# atprogram-ee - Program target EEPROM with application data -# using atprogram -# -# MANDATORY PARAMETERS: -# -# MCU - Microcontroller device model name -# TARGET - Application name -# -# OPTIONAL PARAMETERS: -# -# ATPROGRAM_PROGRAMMER - Name of programming hardware to use -# ATPROGRAM_INTERFACE - Name of programming interface to use -# ATPROGRAM_PORT - Name of communication port to use -# -# PROVIDED VARIABLES: -# -# (None) -# -# PROVIDED MACROS: -# -# (None) -# -# ----------------------------------------------------------------------------- - -SHELL = /bin/sh - -ERROR_IF_UNSET ?= $(if $(filter undefined, $(origin $(strip $(1)))), $(error Makefile $(strip $(1)) value not set)) -ERROR_IF_EMPTY ?= $(if $(strip $($(strip $(1)))), , $(error Makefile $(strip $(1)) option cannot be blank)) -ERROR_IF_NONBOOL ?= $(if $(filter Y N, $($(strip $(1)))), , $(error Makefile $(strip $(1)) option must be Y or N)) - -# Default values of optionally user-supplied variables -ATPROGRAM_PROGRAMMER ?= jtagice3 -ATPROGRAM_INTERFACE ?= jtag -ATPROGRAM_PORT ?= - -# Sanity check user supplied values -$(foreach MANDATORY_VAR, $(LUFA_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) -$(call ERROR_IF_EMPTY, MCU) -$(call ERROR_IF_EMPTY, TARGET) -$(call ERROR_IF_EMPTY, ATPROGRAM_PROGRAMMER) -$(call ERROR_IF_EMPTY, ATPROGRAM_INTERFACE) - -# Output Messages -MSG_ATPROGRAM_CMD := ' [ATPRGRM] :' - -# Construct base atprogram command flags -BASE_ATPROGRAM_FLAGS := --tool $(ATPROGRAM_PROGRAMMER) --interface $(ATPROGRAM_INTERFACE) --device $(MCU) -ifneq ($(ATPROGRAM_PORT),) - BASE_ATPROGRAM_FLAGS += --port $(ATPROGRAM_PORT) -endif - -# Construct the flags to use for the various memory spaces -ifeq ($(ARCH), AVR8) - ATPROGRAM_FLASH_FLAGS := --chiperase --flash - ATPROGRAM_EEPROM_FLAGS := --eeprom -else ifeq ($(ARCH), XMEGA) - ATPROGRAM_FLASH_FLAGS := --erase --flash - ATPROGRAM_EEPROM_FLAGS := --eeprom -else ifeq ($(ARCH), UC3) - ATPROGRAM_FLASH_FLAGS := --erase - ATPROGRAM_EEPROM_FLAGS := --eeprom -else - $(error Unsupported architecture "$(ARCH)") -endif - -# Programs in the target FLASH memory using ATPROGRAM -atprogram: $(TARGET).elf $(MAKEFILE_LIST) - @echo $(MSG_ATPROGRAM_CMD) Programming device \"$(MCU)\" FLASH using \"$(ATPROGRAM_PROGRAMMER)\" - atprogram $(BASE_ATPROGRAM_FLAGS) program $(ATPROGRAM_FLASH_FLAGS) --file $< - -# Programs in the target EEPROM memory using ATPROGRAM -atprogram-ee: $(TARGET).elf $(MAKEFILE_LIST) - @echo $(MSG_ATPROGRAM_CMD) Programming device \"$(MCU)\" EEPROM using \"$(ATPROGRAM_PROGRAMMER)\" - atprogram $(BASE_ATPROGRAM_FLAGS) program $(ATPROGRAM_EEPROM_FLAGS) --file $< - -# Phony build targets for this module -.PHONY: atprogram atprogram-ee diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_avrdude.mk b/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_avrdude.mk deleted file mode 100644 index 4eff418..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_avrdude.mk +++ /dev/null @@ -1,86 +0,0 @@ -# -# LUFA Library -# Copyright (C) Dean Camera, 2014. -# -# dean [at] fourwalledcubicle [dot] com -# www.lufa-lib.org -# - -LUFA_BUILD_MODULES += AVRDUDE -LUFA_BUILD_TARGETS += avrdude avrdude-ee -LUFA_BUILD_MANDATORY_VARS += MCU TARGET -LUFA_BUILD_OPTIONAL_VARS += AVRDUDE_PROGRAMMER AVRDUDE_PORT AVRDUDE_FLAGS -LUFA_BUILD_PROVIDED_VARS += -LUFA_BUILD_PROVIDED_MACROS += - -# ----------------------------------------------------------------------------- -# LUFA AVRDUDE Programmer Buildsystem Makefile Module. -# ----------------------------------------------------------------------------- -# DESCRIPTION: -# Provides a set of targets to re-program a device using the open source -# avr-dude utility. -# ----------------------------------------------------------------------------- -# TARGETS: -# -# avrdude - Program target FLASH with application using -# avrdude -# avrdude-ee - Program target EEPROM with application data -# using avrdude -# -# MANDATORY PARAMETERS: -# -# MCU - Microcontroller device model name -# TARGET - Application name -# -# OPTIONAL PARAMETERS: -# -# AVRDUDE_PROGRAMMER - Name of programming hardware to use -# AVRDUDE_PORT - Name of communication port to use -# AVRDUDE_FLAGS - Flags to pass to avr-dude -# -# PROVIDED VARIABLES: -# -# (None) -# -# PROVIDED MACROS: -# -# (None) -# -# ----------------------------------------------------------------------------- - -SHELL = /bin/sh - -ERROR_IF_UNSET ?= $(if $(filter undefined, $(origin $(strip $(1)))), $(error Makefile $(strip $(1)) value not set)) -ERROR_IF_EMPTY ?= $(if $(strip $($(strip $(1)))), , $(error Makefile $(strip $(1)) option cannot be blank)) -ERROR_IF_NONBOOL ?= $(if $(filter Y N, $($(strip $(1)))), , $(error Makefile $(strip $(1)) option must be Y or N)) - -# Default values of optionally user-supplied variables -AVRDUDE_PROGRAMMER ?= jtagicemkii -AVRDUDE_PORT ?= usb -AVRDUDE_FLAGS ?= - -# Sanity check user supplied values -$(foreach MANDATORY_VAR, $(LUFA_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) -$(call ERROR_IF_EMPTY, MCU) -$(call ERROR_IF_EMPTY, TARGET) -$(call ERROR_IF_EMPTY, AVRDUDE_PROGRAMMER) -$(call ERROR_IF_EMPTY, AVRDUDE_PORT) - -# Output Messages -MSG_AVRDUDE_CMD := ' [AVRDUDE] :' - -# Construct base avrdude command flags -BASE_AVRDUDE_FLAGS := -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER) - -# Programs in the target FLASH memory using AVRDUDE -avrdude: $(TARGET).hex $(MAKEFILE_LIST) - @echo $(MSG_AVRDUDE_CMD) Programming device \"$(MCU)\" FLASH using \"$(AVRDUDE_PROGRAMMER)\" on port \"$(AVRDUDE_PORT)\" - avrdude $(BASE_AVRDUDE_FLAGS) -U flash:w:$< $(AVRDUDE_FLAGS) - -# Programs in the target EEPROM memory using AVRDUDE -avrdude-ee: $(TARGET).eep $(MAKEFILE_LIST) - @echo $(MSG_AVRDUDE_CMD) Programming device \"$(MCU)\" EEPROM using \"$(AVRDUDE_PROGRAMMER)\" on port \"$(AVRDUDE_PORT)\" - avrdude $(BASE_AVRDUDE_FLAGS) -U eeprom:w:$< $(AVRDUDE_FLAGS) - -# Phony build targets for this module -.PHONY: avrdude avrdude-ee diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_cppcheck.mk b/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_cppcheck.mk deleted file mode 100644 index 0b9b611..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_cppcheck.mk +++ /dev/null @@ -1,107 +0,0 @@ -# -# LUFA Library -# Copyright (C) Dean Camera, 2014. -# -# dean [at] fourwalledcubicle [dot] com -# www.lufa-lib.org -# - -LUFA_BUILD_MODULES += CPPCHECK -LUFA_BUILD_TARGETS += cppcheck cppcheck-config -LUFA_BUILD_MANDATORY_VARS += SRC -LUFA_BUILD_OPTIONAL_VARS += CPPCHECK_INCLUDES CPPCHECK_EXCLUDES CPPCHECK_MSG_TEMPLATE CPPCHECK_ENABLE \ - CPPCHECK_SUPPRESS CPPCHECK_FAIL_ON_WARNING CPPCHECK_QUIET CPPCHECK_FLAGS -LUFA_BUILD_PROVIDED_VARS += -LUFA_BUILD_PROVIDED_MACROS += - -# ----------------------------------------------------------------------------- -# LUFA CPPCheck Buildsystem Makefile Module. -# ----------------------------------------------------------------------------- -# DESCRIPTION: -# Provides a set of targets to scan a project with the free "cppcheck" static -# analysis tool, to check for code errors at runtime -# (see http://cppcheck.sourceforge.net). -# ----------------------------------------------------------------------------- -# TARGETS: -# -# cppcheck - Scan the project with CPPCheck -# cppcheck-config - Use CPPCheck to look for missing include files -# -# MANDATORY PARAMETERS: -# -# SRC - List of source files to statically analyze -# -# OPTIONAL PARAMETERS: -# -# CPPCHECK_INCLUDES - Extra include paths to search for missing -# header files -# CPPCHECK_EXCLUDES - Source file paths to exclude checking (can be -# a path fragment if desired) -# CPPCHECK_MSG_TEMPLATE - Template for cppcheck error and warning output -# CPPCHECK_ENABLE - General cppcheck category checks to enable -# CPPCHECK_SUPPRESS - Specific cppcheck warnings to disable by ID -# CPPCHECK_FAIL_ON_WARNING - Set to Y to fail the build on cppcheck -# warnings, N to continue even if warnings occur -# CPPCHECK_QUIET - Enable cppcheck verbose or quiet output mode -# CPPCHECK_FLAGS - Additional flags to pass to cppcheck -# -# PROVIDED VARIABLES: -# -# (None) -# -# PROVIDED MACROS: -# -# (None) -# -# ----------------------------------------------------------------------------- - -SHELL = /bin/sh - -ERROR_IF_UNSET ?= $(if $(filter undefined, $(origin $(strip $(1)))), $(error Makefile $(strip $(1)) value not set)) -ERROR_IF_EMPTY ?= $(if $(strip $($(strip $(1)))), , $(error Makefile $(strip $(1)) option cannot be blank)) -ERROR_IF_NONBOOL ?= $(if $(filter Y N, $($(strip $(1)))), , $(error Makefile $(strip $(1)) option must be Y or N)) - -# Default values of optionally user-supplied variables -CPPCHECK_INCLUDES ?= -CPPCHECK_EXCLUDES ?= -CPPCHECK_MSG_TEMPLATE ?= {file}:{line}: {severity} ({id}): {message} -CPPCHECK_ENABLE ?= all -CPPCHECK_SUPPRESS ?= variableScope missingInclude -CPPCHECK_FAIL_ON_WARNING ?= Y -CPPCHECK_QUIET ?= Y -CPPCHECK_FLAGS ?= - -# Sanity check user supplied values -$(foreach MANDATORY_VAR, $(LUFA_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) -$(call ERROR_IF_EMPTY, SRC) -$(call ERROR_IF_EMPTY, CPPCHECK_MSG_TEMPLATE) -$(call ERROR_IF_EMPTY, CPPCHECK_ENABLE) -$(call ERROR_IF_NONBOOL, CPPCHECK_FAIL_ON_WARNING) -$(call ERROR_IF_NONBOOL, CPPCHECK_QUIET) - -# Build a default argument list for cppcheck -BASE_CPPCHECK_FLAGS := --template="$(CPPCHECK_MSG_TEMPLATE)" $(CPPCHECK_INCLUDES:%=-I%) $(CPPCHECK_EXCLUDES:%=-i%) --inline-suppr --force --std=c99 - -# Sanity check parameters and construct additional command line arguments to cppcheck -ifeq ($(CPPCHECK_FAIL_ON_WARNING), Y) - BASE_CPPCHECK_FLAGS += --error-exitcode=1 -endif -ifeq ($(CPPCHECK_QUIET), Y) - BASE_CPPCHECK_FLAGS += --quiet -endif - -# Output Messages -MSG_CPPCHECK_CMD := ' [CPPCHECK]:' - -# Checks the CPPCheck configuration as used in the user project, to determine if any paths are missing or invalid -cppcheck-config: $(MAKEFILE_LIST) - @echo $(MSG_CPPCHECK_CMD) Checking cppcheck configuration check on source files - cppcheck $(BASE_CPPCHECK_FLAGS) --check-config $(CPPCHECK_FLAGS) $(SRC) - -# Runs a static analysis using CPPCheck to determine if there are any issues -cppcheck: $(MAKEFILE_LIST) - @echo $(MSG_CPPCHECK_CMD) Performing static analysis on source files - cppcheck $(BASE_CPPCHECK_FLAGS) --enable=$(CPPCHECK_ENABLE) $(CPPCHECK_SUPPRESS:%=--suppress=%) $(CPPCHECK_FLAGS) $(SRC) - -# Phony build targets for this module -.PHONY: cppcheck-config cppcheck diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_dfu.mk b/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_dfu.mk deleted file mode 100644 index 956adc8..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_dfu.mk +++ /dev/null @@ -1,95 +0,0 @@ -# -# LUFA Library -# Copyright (C) Dean Camera, 2014. -# -# dean [at] fourwalledcubicle [dot] com -# www.lufa-lib.org -# - -LUFA_BUILD_MODULES += DFU -LUFA_BUILD_TARGETS += flip flip-ee dfu dfu-ee -LUFA_BUILD_MANDATORY_VARS += MCU TARGET -LUFA_BUILD_OPTIONAL_VARS += -LUFA_BUILD_PROVIDED_VARS += -LUFA_BUILD_PROVIDED_MACROS += - -# ----------------------------------------------------------------------------- -# LUFA DFU Bootloader Buildsystem Makefile Module. -# ----------------------------------------------------------------------------- -# DESCRIPTION: -# Provides a set of targets to re-program a device currently running a DFU -# class bootloader with a project's FLASH and EEPROM files. -# ----------------------------------------------------------------------------- -# TARGETS: -# -# flip - Program FLASH into target via Atmel FLIP -# flip-ee - Program EEPROM into target via Atmel FLIP -# dfu - Program FLASH into target via dfu-programmer -# dfu-ee - Program EEPROM into target via dfu-programmer -# -# MANDATORY PARAMETERS: -# -# MCU - Microcontroller device model name -# TARGET - Application name -# -# OPTIONAL PARAMETERS: -# -# (None) -# -# PROVIDED VARIABLES: -# -# (None) -# -# PROVIDED MACROS: -# -# (None) -# -# ----------------------------------------------------------------------------- - -SHELL = /bin/sh - -ERROR_IF_UNSET ?= $(if $(filter undefined, $(origin $(strip $(1)))), $(error Makefile $(strip $(1)) value not set)) -ERROR_IF_EMPTY ?= $(if $(strip $($(strip $(1)))), , $(error Makefile $(strip $(1)) option cannot be blank)) -ERROR_IF_NONBOOL ?= $(if $(filter Y N, $($(strip $(1)))), , $(error Makefile $(strip $(1)) option must be Y or N)) - -# Sanity-check values of mandatory user-supplied variables -$(foreach MANDATORY_VAR, $(LUFA_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) -$(call ERROR_IF_EMPTY, MCU) -$(call ERROR_IF_EMPTY, TARGET) - -# Output Messages -MSG_COPY_CMD := ' [CP] :' -MSG_REMOVE_CMD := ' [RM] :' -MSG_DFU_CMD := ' [DFU] :' - -# Programs in the target FLASH memory using BATCHISP, the command line tool used by FLIP -flip: $(TARGET).hex $(MAKEFILE_LIST) - @echo $(MSG_DFU_CMD) Programming FLASH with batchisp using \"$<\" - batchisp -hardware usb -device $(MCU) -operation erase f loadbuffer $< program - batchisp -hardware usb -device $(MCU) -operation start reset 0 - -# Programs in the target EEPROM memory using BATCHISP, the command line tool used by FLIP -flip-ee: $(TARGET).eep $(MAKEFILE_LIST) - @echo $(MSG_COPY_CMD) Copying EEP file to temporary file \"$<.hex\" - cp $< $<.hex - @echo $(MSG_DFU_CMD) Programming EEPROM with batchisp using \"$<.hex\" - batchisp -hardware usb -device $(MCU) -operation memory EEPROM loadbuffer $<.hex program - batchisp -hardware usb -device $(MCU) -operation start reset 0 - @echo $(MSG_REMOVE_CMD) Removing temporary file \"$<.hex\" - rm $<.hex - -# Programs in the target FLASH memory using DFU-PROGRAMMER -dfu: $(TARGET).hex $(MAKEFILE_LIST) - @echo $(MSG_DFU_CMD) Programming FLASH with dfu-programmer using \"$<\" - dfu-programmer $(MCU) erase - dfu-programmer $(MCU) flash $< - dfu-programmer $(MCU) reset - -# Programs in the target EEPROM memory using DFU-PROGRAMMER -dfu-ee: $(TARGET).eep $(MAKEFILE_LIST) - @echo $(MSG_DFU_CMD) Programming EEPROM with dfu-programmer using \"$<\" - dfu-programmer $(MCU) eeprom-flash $< - dfu-programmer $(MCU) reset - -# Phony build targets for this module -.PHONY: flip flip-ee dfu dfu-ee diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_doxygen.mk b/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_doxygen.mk deleted file mode 100644 index babf287..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_doxygen.mk +++ /dev/null @@ -1,100 +0,0 @@ -# -# LUFA Library -# Copyright (C) Dean Camera, 2014. -# -# dean [at] fourwalledcubicle [dot] com -# www.lufa-lib.org -# - -LUFA_BUILD_MODULES += DOXYGEN -LUFA_BUILD_TARGETS += doxygen doxygen_upgrade doxygen_create -LUFA_BUILD_MANDATORY_VARS += LUFA_PATH -LUFA_BUILD_OPTIONAL_VARS += DOXYGEN_CONF DOXYGEN_FAIL_ON_WARNING DOXYGEN_OVERRIDE_PARAMS -LUFA_BUILD_PROVIDED_VARS += -LUFA_BUILD_PROVIDED_MACROS += - -# ----------------------------------------------------------------------------- -# LUFA Doxygen Buildsystem Makefile Module. -# ----------------------------------------------------------------------------- -# DESCRIPTION: -# Provides a set of targets to automatically build Doxygen documentation for -# a project (see www.doxygen.org). -# ----------------------------------------------------------------------------- -# TARGETS: -# -# doxygen - Build Doxygen Documentation -# doxygen_create - Create a new Doxygen configuration file using -# the latest template -# doxygen_upgrade - Upgrade an existing Doxygen configuration file -# to the latest template -# -# MANDATORY PARAMETERS: -# -# LUFA_PATH - Path to the LUFA library core -# -# OPTIONAL PARAMETERS: -# -# DOXYGEN_CONF - Doxygen configuration filename -# DOXYGEN_FAIL_ON_WARNING - Set to Y to fail the build on Doxygen warnings, -# N to continue even if warnings occur -# DOXYGEN_OVERRIDE_PARAMS - Parameters to override in the doxygen -# configuration file -# PROVIDED VARIABLES: -# -# (None) -# -# PROVIDED MACROS: -# -# (None) -# -# ----------------------------------------------------------------------------- - -SHELL = /bin/sh - -ERROR_IF_UNSET ?= $(if $(filter undefined, $(origin $(strip $(1)))), $(error Makefile $(strip $(1)) value not set)) -ERROR_IF_EMPTY ?= $(if $(strip $($(strip $(1)))), , $(error Makefile $(strip $(1)) option cannot be blank)) -ERROR_IF_NONBOOL ?= $(if $(filter Y N, $($(strip $(1)))), , $(error Makefile $(strip $(1)) option must be Y or N)) - -# Default values of optionally user-supplied variables -DOXYGEN_CONF ?= doxyfile -DOXYGEN_FAIL_ON_WARNING ?= Y -DOXYGEN_OVERRIDE_PARAMS ?= QUIET=YES HTML_EXTRA_STYLESHEET=$(patsubst %/,%,$(LUFA_PATH))/DoxygenPages/Style/Style.css - -# Sanity check user supplied values -$(foreach MANDATORY_VAR, $(LUFA_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) -$(call ERROR_IF_EMPTY, DOXYGEN_CONF) -$(call ERROR_IF_EMPTY, LUFA_PATH) -$(call ERROR_IF_NONBOOL, DOXYGEN_FAIL_ON_WARNING) - -# Output Messages -MSG_DOXYGEN_CMD := ' [DOXYGEN] :' - -# Determine Doxygen invocation command -BASE_DOXYGEN_CMD := ( cat $(DOXYGEN_CONF) $(DOXYGEN_OVERRIDE_PARAMS:%=; echo "%") ) | doxygen - -ifeq ($(DOXYGEN_FAIL_ON_WARNING), Y) - DOXYGEN_CMD := if ( $(BASE_DOXYGEN_CMD) 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then exit 1; fi; -else - DOXYGEN_CMD := $(BASE_DOXYGEN_CMD) -endif - -# Error if the specified Doxygen configuration file does not exist -$(DOXYGEN_CONF): - $(error Doxygen configuration file $@ does not exist) - -# Builds the project documentation using the specified configuration file and the DOXYGEN tool -doxygen: $(DOXYGEN_CONF) $(MAKEFILE_LIST) - @echo $(MSG_DOXYGEN_CMD) Configuration file \"$(DOXYGEN_CONF)\" with parameters \"$(DOXYGEN_OVERRIDE_PARAMS)\" - $(DOXYGEN_CMD) - -# Upgrades an existing Doxygen configuration file to the latest Doxygen template, preserving settings -doxygen_upgrade: $(DOXYGEN_CONF) $(MAKEFILE_LIST) - @echo $(MSG_DOXYGEN_CMD) Upgrading configuration file \"$(DOXYGEN_CONF)\" with latest template - doxygen -u $(DOXYGEN_CONF) > /dev/null - -# Creates a new Doxygen configuration file with the set file name -doxygen_create: $(MAKEFILE_LIST) - @echo $(MSG_DOXYGEN_CMD) Creating new configuration file \"$(DOXYGEN_CONF)\" with latest template - doxygen -g $(DOXYGEN_CONF) > /dev/null - -# Phony build targets for this module -.PHONY: doxygen doxygen_upgrade doxygen_create diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_hid.mk b/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_hid.mk deleted file mode 100644 index e79b7bf..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_hid.mk +++ /dev/null @@ -1,96 +0,0 @@ -# -# LUFA Library -# Copyright (C) Dean Camera, 2014. -# -# dean [at] fourwalledcubicle [dot] com -# www.lufa-lib.org -# - -LUFA_BUILD_MODULES += HID -LUFA_BUILD_TARGETS += hid hid-ee teensy teensy-ee -LUFA_BUILD_MANDATORY_VARS += MCU TARGET -LUFA_BUILD_OPTIONAL_VARS += -LUFA_BUILD_PROVIDED_VARS += -LUFA_BUILD_PROVIDED_MACROS += - -# ----------------------------------------------------------------------------- -# LUFA HID Bootloader Buildsystem Makefile Module. -# ----------------------------------------------------------------------------- -# DESCRIPTION: -# Provides a set of targets to re-program a device currently running a HID -# class bootloader with a project's FLASH files. -# ----------------------------------------------------------------------------- -# TARGETS: -# -# hid - Program FLASH into target via -# hid_bootloader_cli -# hid-ee - Program EEPROM into target via a temporary -# AVR application and hid_bootloader_cli -# teensy - Program FLASH into target via -# teensy_loader_cli -# teensy-ee - Program EEPROM into target via a temporary -# AVR application and teensy_loader_cli -# -# MANDATORY PARAMETERS: -# -# MCU - Microcontroller device model name -# TARGET - Application name -# -# OPTIONAL PARAMETERS: -# -# (None) -# -# PROVIDED VARIABLES: -# -# (None) -# -# PROVIDED MACROS: -# -# (None) -# -# ----------------------------------------------------------------------------- - -SHELL = /bin/sh - -LUFA_MODULE_PATH := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) - -ERROR_IF_UNSET ?= $(if $(filter undefined, $(origin $(strip $(1)))), $(error Makefile $(strip $(1)) value not set)) -ERROR_IF_EMPTY ?= $(if $(strip $($(strip $(1)))), , $(error Makefile $(strip $(1)) option cannot be blank)) -ERROR_IF_NONBOOL ?= $(if $(filter Y N, $($(strip $(1)))), , $(error Makefile $(strip $(1)) option must be Y or N)) - -# Sanity-check values of mandatory user-supplied variables -$(foreach MANDATORY_VAR, $(LUFA_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) -$(call ERROR_IF_EMPTY, MCU) -$(call ERROR_IF_EMPTY, TARGET) - -# Output Messages -MSG_HID_BOOTLOADER_CMD := ' [HID] :' -MSG_OBJCPY_CMD := ' [OBJCPY] :' -MSG_MAKE_CMD := ' [MAKE] :' - -# Programs in the target FLASH memory using the HID_BOOTLOADER_CLI tool -hid: $(TARGET).hex $(MAKEFILE_LIST) - @echo $(MSG_HID_BOOTLOADER_CMD) Programming FLASH with hid_bootloader_cli using \"$<\" - hid_bootloader_cli -mmcu=$(MCU) -v $< - -# Programs in the target EEPROM memory using the HID_BOOTLOADER_CLI tool (note: clears target FLASH memory) -hid-ee: $(TARGET).eep $(MAKEFILE_LIST) - @echo $(MSG_OBJCPY_CMD) Converting \"$<\" to a binary file \"InputEEData.bin\" - avr-objcopy -I ihex -O binary $< $(LUFA_MODULE_PATH)/HID_EEPROM_Loader/InputEEData.bin - @echo $(MSG_MAKE_CMD) Making EEPROM loader application for \"$<\" - $(MAKE) -C $(LUFA_MODULE_PATH)/HID_EEPROM_Loader/ MCU=$(MCU) clean hid - -# Programs in the target FLASH memory using the TEENSY_BOOTLOADER_CLI tool -teensy: $(TARGET).hex $(MAKEFILE_LIST) - @echo $(MSG_HID_BOOTLOADER_CMD) Programming FLASH with teensy_loader_cli using \"$<\" - teensy_loader_cli -mmcu=$(MCU) -v $< - -# Programs in the target EEPROM memory using the TEENSY_BOOTLOADER_CLI tool (note: clears target FLASH memory) -teensy-ee: $(TARGET).hex $(MAKEFILE_LIST) - @echo $(MSG_OBJCPY_CMD) Converting \"$<\" to a binary file \"InputEEData.bin\" - avr-objcopy -I ihex -O binary $< $(LUFA_MODULE_PATH)/HID_EEPROM_Loader/InputEEData.bin - @echo $(MSG_MAKE_CMD) Making EEPROM loader application for \"$<\" - $(MAKE) -s -C $(LUFA_MODULE_PATH)/HID_EEPROM_Loader/ MCU=$(MCU) clean teensy - -# Phony build targets for this module -.PHONY: hid hid-ee teensy teensy-ee diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DeviceTemplate/asf.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DeviceTemplate/asf.xml deleted file mode 100644 index e952714..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DeviceTemplate/asf.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - Template for a LUFA USB device mode application. - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/HostTemplate/asf.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/HostTemplate/asf.xml deleted file mode 100644 index c3860c0..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/HostTemplate/asf.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - Template for a LUFA USB host mode application. - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/BuildSystem.txt b/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/BuildSystem.txt deleted file mode 100644 index 0ae1dd6..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/BuildSystem.txt +++ /dev/null @@ -1,975 +0,0 @@ -/** \file - * - * This file contains special DoxyGen information for the generation of the main page and other special - * documentation pages. It is not a project source file. - */ - -/** \page Page_BuildSystem The LUFA Build System - * - * \section Sec_BuildSystem_Overview Overview of the LUFA Build System - * The LUFA build system is an attempt at making a set of re-usable, modular build make files which - * can be referenced in a LUFA powered project, to minimize the amount of code required in an - * application makefile. The system is written in GNU Make, and each module is independent of - * one-another. - * - * For details on the prerequisites needed for Linux and Windows machines to be able to use the LUFA - * build system, see \ref Sec_CompilingApps_Prerequisites. - * - * To use a LUFA build system module, simply add an include to your project makefile. All user projects - * should at a minimum include \ref Page_BuildModule_CORE for base functionality: - * \code - * include $(LUFA_PATH)/Build/lufa_core.mk - * \endcode - * - * Once included in your project makefile, the associated build module targets will be added to your - * project's build makefile targets automatically. To call a build target, run make {TARGET_NAME} - * from the command line, substituting in the appropriate target name. - * - * \see \ref Sec_ConfiguringApps_AppMakefileParams for a copy of the sample LUFA project makefile. - * - * Each build module may have one or more mandatory parameters (GNU Make variables) which must - * be supplied in the project makefile for the module to work, and one or more optional parameters which - * may be defined and which will assume a sensible default if not. - * - * \section SSec_BuildSystem_Modules Available Modules - * - * The following modules are included in this LUFA release: - * - * \li \subpage Page_BuildModule_ATPROGRAM - Device Programming - * \li \subpage Page_BuildModule_AVRDUDE - Device Programming - * \li \subpage Page_BuildModule_BUILD - Compiling/Assembling/Linking - * \li \subpage Page_BuildModule_CORE - Core Build System Functions - * \li \subpage Page_BuildModule_CPPCHECK - Static Code Analysis - * \li \subpage Page_BuildModule_DFU - Device Programming - * \li \subpage Page_BuildModule_DOXYGEN - Automated Source Code Documentation - * \li \subpage Page_BuildModule_HID - Device Programming - * \li \subpage Page_BuildModule_SOURCES - LUFA Module Source Code Variables - * - * If you have problems building using the LUFA build system, see \subpage Page_BuildTroubleshooting for resolution steps. - */ - - /** \page Page_BuildModule_BUILD The BUILD build module - * - * The BUILD LUFA build system module, providing targets for the compilation, - * assembling and linking of an application from source code into binary files - * suitable for programming into a target device, using the GCC compiler. - * - * To use this module in your application makefile, add the following code: - * \code - * include $(LUFA_PATH)/Build/lufa_build.mk - * \endcode - * - * \section SSec_BuildModule_BUILD_Requirements Requirements - * This module requires the the architecture appropriate binaries of the GCC compiler are available in your - * system's PATH variable. The GCC compiler and associated toolchain is distributed in Atmel AVR Studio - * 5.x and Atmel Studio 6.x installation directories, as well as in many third party distribution packages. - * - * \section SSec_BuildModule_BUILD_Targets Targets - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
sizeDisplay size of the compiled application FLASH and SRAM segments.
symbol-sizesDisplay a size-sorted list of symbols from the compiled application, in decimal bytes.
libBuild and archive all source files into a library A binary file.
allBuild and link the application into ELF debug and HEX binary files.
elfBuild and link the application into an ELF debug file.
binBuild and link the application and produce a BIN binary file.
hexBuild and link the application and produce HEX and EEP binary files.
lssBuild and link the application and produce a LSS source code/assembly code mixed listing file.
cleanRemove all intermediary files and binary output files.
mostlycleanRemove all intermediary files but preserve any binary output files.
<filename>.sCreate an assembly listing of a given input C/C++ source file.
- * - * \section SSec_BuildModule_BUILD_MandatoryParams Mandatory Parameters - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
TARGETName of the application output file prefix (e.g. TestApplication).
ARCHArchitecture of the target processor (see \ref Page_DeviceSupport).
MCUName of the Atmel processor model (e.g. at90usb1287).
SRCList of relative or absolute paths to the application C (.c), C++ (.cpp) and Assembly (.S) source files.
F_USBSpeed in Hz of the input clock frequency to the target's USB controller.
LUFA_PATHPath to the LUFA library core, either relative or absolute (e.g. ../LUFA-000000/LUFA/).
- * - * \section SSec_BuildModule_BUILD_OptionalParams Optional Parameters - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
BOARDLUFA board hardware drivers to use (see \ref Page_DeviceSupport).
OPTIMIZATIONOptimization level to use when compiling source files (see GCC manual).
C_STANDARDVersion of the C standard to apply when compiling C++ source files (see GCC manual).
CPP_STANDARDVersion of the C++ standard to apply when compiling C++ source files (see GCC manual).
DEBUG_FORMATFormat of the debug information to embed in the generated object files (see GCC manual).
DEBUG_LEVELLevel of the debugging information to embed in the generated object files (see GCC manual).
F_CPUSpeed of the processor CPU clock, in Hz.
C_FLAGSFlags to pass to the C compiler only, after the automatically generated flags.
CPP_FLAGSFlags to pass to the C++ compiler only, after the automatically generated flags.
ASM_FLAGSFlags to pass to the assembler only, after the automatically generated flags.
CC_FLAGSCommon flags to pass to the C/C++ compiler and assembler, after the automatically generated flags.
COMPILER_PATHDirectory where the C/C++ toolchain is located, if not available in the system PATH.
LD_FLAGSFlags to pass to the linker, after the automatically generated flags.
LINKER_RELAXATIONSEnables or disables linker relaxations when linking the application binary. This can reduce the total size - * of the application by replacing full \c CALL instructions with smaller \c RCALL instructions where possible. - * \note On some unpatched versions of binutils, this can cause link failures in some circumstances. If you - * receive a link error relocation truncated to fit: R_AVR_13_PCREL, disable this setting.
OBJDIRDirectory to place the generated object and dependency files. If set to "." the same folder as the source file will be used. - * \note When this option is enabled, all source filenames must be unique.
OBJECT_FILESList of additional object files that should be linked into the resulting binary.
- * - * \section SSec_BuildModule_BUILD_ProvidedVariables Module Provided Variables - * - * - * - * - * - *
None
- * - * \section SSec_BuildModule_BUILD_ProvidedMacros Module Provided Macros - * - * - * - * - * - *
None
- */ - -/** \page Page_BuildModule_CORE The CORE build module - * - * The core LUFA build system module, providing common build system help and information targets. - * - * To use this module in your application makefile, add the following code: - * \code - * include $(LUFA_PATH)/Build/lufa_core.mk - * \endcode - * - * \section SSec_BuildModule_CORE_Requirements Requirements - * This module has no requirements outside a standard *nix shell like environment; the sh - * shell, GNU make and *nix CoreUtils (echo, printf, etc.). - * - * \section SSec_BuildModule_CORE_Targets Targets - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
helpDisplay build system help and configuration information.
list_targetsList all available build targets from the build system.
list_modulesList all available build modules from the build system.
list_mandatoryList all mandatory parameters required by the included modules.
list_optionalList all optional parameters required by the included modules.
list_providedList all variables provided by the included modules.
list_macrosList all macros provided by the included modules.
- * - * \section SSec_BuildModule_CORE_MandatoryParams Mandatory Parameters - * - * - * - * - * - *
None
- * - * \section SSec_BuildModule_CORE_OptionalParams Optional Parameters - * - * - * - * - * - *
None
- * - * \section SSec_BuildModule_CORE_ProvidedVariables Module Provided Variables - * - * - * - * - * - *
None
- * - * \section SSec_BuildModule_CORE_ProvidedMacros Module Provided Macros - * - * - * - * - * - *
None
- */ - -/** \page Page_BuildModule_ATPROGRAM The ATPROGRAM build module - * - * The ATPROGRAM programming utility LUFA build system module, providing targets to reprogram an - * Atmel processor FLASH and EEPROM memories with a project's compiled binary output files. - * - * To use this module in your application makefile, add the following code: - * \code - * include $(LUFA_PATH)/Build/lufa_atprogram.mk - * \endcode - * - * \section SSec_BuildModule_ATPROGRAM_Requirements Requirements - * This module requires the atprogram.exe utility to be available in your system's PATH - * variable. The atprogram.exe utility is distributed in Atmel AVR Studio 5.x and Atmel Studio 6.x - * inside the application install folder's "\atbackend" subdirectory. - * - * \section SSec_BuildModule_ATPROGRAM_Targets Targets - * - * - * - * - * - * - * - * - * - * - *
atprogramProgram the device FLASH memory with the application's executable data.
atprogram-eeProgram the device EEPROM memory with the application's EEPROM data.
- * - * \section SSec_BuildModule_ATPROGRAM_MandatoryParams Mandatory Parameters - * - * - * - * - * - * - * - * - * - * - *
MCUName of the Atmel processor model (e.g. at90usb1287).
TARGETName of the application output file prefix (e.g. TestApplication).
- * - * \section SSec_BuildModule_ATPROGRAM_OptionalParams Optional Parameters - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ATPROGRAM_PROGRAMMERName of the Atmel programmer or debugger tool to communicate with (e.g. jtagice3).
ATPROGRAM_INTERFACEName of the programming interface to use when programming the target (e.g. spi).
ATPROGRAM_PORTName of the communication port to use when when programming with a serially connected tool (e.g. COM2).
- * - * \section SSec_BuildModule_ATPROGRAM_ProvidedVariables Module Provided Variables - * - * - * - * - * - *
None
- * - * \section SSec_BuildModule_ATPROGRAM_ProvidedMacros Module Provided Macros - * - * - * - * - * - *
None
- */ - -/** \page Page_BuildModule_AVRDUDE The AVRDUDE build module - * - * The AVRDUDE programming utility LUFA build system module, providing targets to reprogram an - * Atmel processor FLASH and EEPROM memories with a project's compiled binary output files. - * - * To use this module in your application makefile, add the following code: - * \code - * include $(LUFA_PATH)/Build/lufa_avrdude.mk - * \endcode - * - * \section SSec_BuildModule_AVRDUDE_Requirements Requirements - * This module requires the avrdude utility to be available in your system's PATH - * variable. The avrdude utility is distributed in the old WinAVR project releases for - * Windows (http://winavr.sourceforge.net) or can be installed on *nix systems via the project's - * source code (https://savannah.nongnu.org/projects/avrdude) or through the package manager. - * - * \section SSec_BuildModule_AVRDUDE_Targets Targets - * - * - * - * - * - * - * - * - * - * - *
avrdudeProgram the device FLASH memory with the application's executable data.
avrdude-eeProgram the device EEPROM memory with the application's EEPROM data.
- * - * \section SSec_BuildModule_AVRDUDE_MandatoryParams Mandatory Parameters - * - * - * - * - * - * - * - * - * - * - *
MCUName of the Atmel processor model (e.g. at90usb1287).
TARGETName of the application output file prefix (e.g. TestApplication).
- * - * \section SSec_BuildModule_AVRDUDE_OptionalParams Optional Parameters - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AVRDUDE_PROGRAMMERName of the programmer or debugger tool to communicate with (e.g. jtagicemkii).
AVRDUDE_PORTName of the communication port to use when when programming with the connected tool (e.g. COM2, /dev/ttyUSB0 or usb).
AVRDUDE_FLAGSAdditional flags to pass to avrdude when programming, applied after the automatically generated flags.
- * - * \section SSec_BuildModule_AVRDUDE_ProvidedVariables Module Provided Variables - * - * - * - * - * - *
None
- * - * \section SSec_BuildModule_AVRDUDE_ProvidedMacros Module Provided Macros - * - * - * - * - * - *
None
- */ - - /** \page Page_BuildModule_CPPCHECK The CPPCHECK build module - * - * The CPPCHECK programming utility LUFA build system module, providing targets to statically - * analyze C and C++ source code for errors and performance/style issues. - * - * To use this module in your application makefile, add the following code: - * \code - * include $(LUFA_PATH)/Build/lufa_cppcheck.mk - * \endcode - * - * \section SSec_BuildModule_CPPCHECK_Requirements Requirements - * This module requires the cppcheck utility to be available in your system's PATH - * variable. The cppcheck utility is distributed through the project's home page - * (http://cppcheck.sourceforge.net) for Windows, and can be installed on *nix systems via - * the project's source code or through the package manager. - * - * \section SSec_BuildModule_CPPCHECK_Targets Targets - * - * - * - * - * - * - * - * - * - * - *
cppcheckStatically analyze the project source code for issues.
cppcheck-configCheck the cppcheck configuration - scan source code and warn about missing header files and other issues.
- * - * \section SSec_BuildModule_CPPCHECK_MandatoryParams Mandatory Parameters - * - * - * - * - * - * - *
SRCList of source files to statically analyze.
- * - * \section SSec_BuildModule_CPPCHECK_OptionalParams Optional Parameters - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
CPPCHECK_INCLUDESPath of extra directories to check when attemting to resolve C/C++ header file includes.
CPPCHECK_EXCLUDESPaths or path fragments to exclude when analyzing.
CPPCHECK_MSG_TEMPLATEOutput message template to use when printing errors, warnings and information (see cppcheck documentation).
CPPCHECK_ENABLEAnalysis rule categories to enable (see cppcheck documentation).
CPPCHECK_SUPPRESSSpecific analysis rules to suppress (see cppcheck documentation).
CPPCHECK_FAIL_ON_WARNINGSet to Y to fail the analysis job with an error exit code if warnings are found, N to continue without failing.
CPPCHECK_QUIETSet to Y to suppress all output except warnings and errors, N to show verbose output information.
CPPCHECK_FLAGSExtra flags to pass to cppcheck, after the automatically generated flags.
- * - * \section SSec_BuildModule_CPPCHECK_ProvidedVariables Module Provided Variables - * - * - * - * - * - *
None
- * - * \section SSec_BuildModule_CPPCHECK_ProvidedMacros Module Provided Macros - * - * - * - * - * - *
None
- */ - - /** \page Page_BuildModule_DFU The DFU build module - * - * The DFU programming utility LUFA build system module, providing targets to reprogram an - * Atmel processor FLASH and EEPROM memories with a project's compiled binary output files. - * This module requires a DFU class bootloader to be running in the target, compatible with - * the DFU bootloader protocol as published by Atmel. - * - * To use this module in your application makefile, add the following code: - * \code - * include $(LUFA_PATH)/Build/lufa_dfu.mk - * \endcode - * - * \section SSec_BuildModule_DFU_Requirements Requirements - * This module requires either the batchisp utility from Atmel's FLIP utility, or the open - * source dfu-programmer utility (http://dfu-programmer.sourceforge.net/) to be - * available in your system's PATH variable. On *nix systems the dfu-programmer utility - * can be installed via the project's source code or through the package manager. - * - * \section SSec_BuildModule_DFU_Targets Targets - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
dfuProgram the device FLASH memory with the application's executable data using dfu-programmer.
dfu-eeProgram the device EEPROM memory with the application's EEPROM data using dfu-programmer.
flipProgram the device FLASH memory with the application's executable data using batchisp.
flip-eeProgram the device EEPROM memory with the application's EEPROM data using batchisp.
- * - * \section SSec_BuildModule_DFU_MandatoryParams Mandatory Parameters - * - * - * - * - * - * - * - * - * - * - *
MCUName of the Atmel processor model (e.g. at90usb1287).
TARGETName of the application output file prefix (e.g. TestApplication).
- * - * \section SSec_BuildModule_DFU_OptionalParams Optional Parameters - * - * - * - * - * - *
None
- * - * \section SSec_BuildModule_DFU_ProvidedVariables Module Provided Variables - * - * - * - * - * - *
None
- * - * \section SSec_BuildModule_DFU_ProvidedMacros Module Provided Macros - * - * - * - * - * - *
None
- */ - - /** \page Page_BuildModule_DOXYGEN The DOXYGEN build module - * - * The DOXYGEN code documentation utility LUFA build system module, providing targets to generate - * project HTML and other format documentation from a set of source files that include special - * Doxygen comments. - * - * To use this module in your application makefile, add the following code: - * \code - * include $(LUFA_PATH)/Build/lufa_doxygen.mk - * \endcode - * - * \section SSec_BuildModule_DOXYGEN_Requirements Requirements - * This module requires the doxygen utility from the Doxygen website - * (http://www.doxygen.org/) to be available in your system's PATH variable. On *nix - * systems the doxygen utility can be installed via the project's source code or through - * the package manager. - * - * \section SSec_BuildModule_DOXYGEN_Targets Targets - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
doxygenGenerate project documentation.
doxygen_createCreate a new Doxygen configuration file using the latest template.
doxygen_upgradeUpgrade an existing Doxygen configuration file to the latest template
- * - * \section SSec_BuildModule_DOXYGEN_MandatoryParams Mandatory Parameters - * - * - * - * - * - * - *
LUFA_PATHPath to the LUFA library core, either relative or absolute (e.g. ../LUFA-000000/LUFA/).
- * - * \section SSec_BuildModule_DOXYGEN_OptionalParams Optional Parameters - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
DOXYGEN_CONFName and path of the base Doxygen configuration file for the project.
DOXYGEN_FAIL_ON_WARNINGSet to Y to fail the generation with an error exit code if warnings are found other than unsupported configuration parameters, N to continue without failing.
DOXYGEN_OVERRIDE_PARAMSExtra Doxygen configuration parameters to apply, overriding the corresponding config entry in the project's configuration file (e.g. QUIET=YES).
- * - * \section SSec_BuildModule_DOXYGEN_ProvidedVariables Module Provided Variables - * - * - * - * - * - *
None
- * - * \section SSec_BuildModule_DOXYGEN_ProvidedMacros Module Provided Macros - * - * - * - * - * - *
None
- */ - - /** \page Page_BuildModule_HID The HID build module - * - * The HID programming utility LUFA build system module, providing targets to reprogram an - * Atmel processor's FLASH memory with a project's compiled binary output file. This module - * requires a HID class bootloader to be running in the target, using a protocol compatible - * with the PJRC "HalfKay" protocol (http://www.pjrc.com/teensy/halfkay_protocol.html). - * - * To use this module in your application makefile, add the following code: - * \code - * include $(LUFA_PATH)/Build/lufa_hid.mk - * \endcode - * - * \section SSec_BuildModule_HID_Requirements Requirements - * This module requires either the hid_bootloader_cli utility from the included LUFA HID - * class bootloader API subdirectory, or the teensy_loader_cli utility from PJRC - * (http://www.pjrc.com/teensy/loader_cli.html) to be available in your system's PATH - * variable. - * - * \section SSec_BuildModule_HID_Targets Targets - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
hidProgram the device FLASH memory with the application's executable data using hid_bootloader_cli.
hid-eeProgram the device EEPROM memory with the application's EEPROM data using hid_bootloader_cli and - * a temporary AVR application programmed into the target's FLASH. - * \note This will erase the currently loaded application in the target.
teensyProgram the device FLASH memory with the application's executable data using teensy_loader_cli.
teensy-eeProgram the device EEPROM memory with the application's EEPROM data using teensy_loader_cli and - * a temporary AVR application programmed into the target's FLASH. - * \note This will erase the currently loaded application in the target.
- * - * \section SSec_BuildModule_HID_MandatoryParams Mandatory Parameters - * - * - * - * - * - * - * - * - * - * - *
MCUName of the Atmel processor model (e.g. at90usb1287).
TARGETName of the application output file prefix (e.g. TestApplication).
- * - * \section SSec_BuildModule_HID_OptionalParams Optional Parameters - * - * - * - * - * - *
None
- * - * \section SSec_BuildModule_HID_ProvidedVariables Module Provided Variables - * - * - * - * - * - *
None
- * - * \section SSec_BuildModule_HID_ProvidedMacros Module Provided Macros - * - * - * - * - * - *
None
- */ - - /** \page Page_BuildModule_SOURCES The SOURCES build module - * - * The SOURCES LUFA build system module, providing variables listing the various LUFA source files - * required to be build by a project for a given LUFA module. This module gives a way to reference - * LUFA source files symbolically, so that changes to the library structure do not break the library - * makefile. - * - * To use this module in your application makefile, add the following code: - * \code - * include $(LUFA_PATH)/Build/lufa_sources.mk - * \endcode - * - * \section SSec_BuildModule_SOURCES_Requirements Requirements - * None. - * - * \section SSec_BuildModule_SOURCES_Targets Targets - * - * - * - * - * - *
None
- * - * \section SSec_BuildModule_SOURCES_MandatoryParams Mandatory Parameters - * - * - * - * - * - * - * - * - * - * - *
LUFA_PATHPath to the LUFA library core, either relative or absolute (e.g. ../LUFA-000000/LUFA/).
ARCHArchitecture of the target processor (see \ref Page_DeviceSupport).
- * - * \section SSec_BuildModule_SOURCES_OptionalParams Optional Parameters - * - * - * - * - * - *
None
- * - * \section SSec_BuildModule_SOURCES_ProvidedVariables Module Provided Variables - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
LUFA_SRC_USBList of LUFA USB driver source files.
LUFA_SRC_USBCLASSList of LUFA USB Class driver source files.
LUFA_SRC_TEMPERATUREList of LUFA temperature sensor driver source files.
LUFA_SRC_SERIALList of LUFA Serial U(S)ART driver source files.
LUFA_SRC_TWIList of LUFA TWI driver source files.
LUFA_SRC_PLATFORMList of LUFA architecture specific platform management source files.
- * - * \section SSec_BuildModule_SOURCES_ProvidedMacros Module Provided Macros - * - * - * - * - * - *
None
- */ - -/** \page Page_BuildTroubleshooting Troubleshooting Information - * - * LUFA uses a lot of advanced features of the AVR-GCC compiler, linker, and surrounding binaries. This can sometimes lead to problems compiling applications if one of these - * features is buggy in the version of the tools used in a build environment. Missing utilities and incorrectly set makefile configuration options can also result in different - * errors being produced when compilation or other operations are attempted. The table below lists a set of commonly encountered errors and their resolutions. - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ProblemResolution
Error "relocation truncated to fit: R_AVR_13_PCREL against symbol {X}" shown when compiling.Try compiling with the setting LINKER_RELAXATIONS=N in your LUFA Build System 2.0 makefile, or remove the line -Wl,--relax - * from other makefiles. Alternatively, make sure you have the latest version of the Atmel Toolchain installed for your system.
Error "error: ld terminated with signal 11 [Segmentation fault]" shown when compiling.Try compiling with the setting DEBUG_LEVEL=2 in your LUFA Build System 2.0 makefile, or make sure you are using binutils version 2.22 or later.
Error "EMERGENCY ABORT: INFINITE RECURSION DETECTED" shown when compiling.Make sure you are using an up to date version of GNU Make when compiling. This error is a safety system added to the mid-level makefiles, to prevent an issue with - * GNU make or other variants of Make causing an infinitely recursive build.
Error "Unsupported architecture "{X}"" shown when compiling.Ensure your makefile's ARCH setting is set to one of the architecture names (case-sensitive) supported by the version of LUFA you are compiling against.
Error "Makefile {X} value not set" shown when compiling.The specified Makefile value was not configured in your project's makefile or on the command line, and the nominated setting is required by one or more LUFA - * build system modules. Define the value in your project makefile and try again.
Error "Makefile {X} option cannot be blank" shown when compiling.The specified Makefile value was configured in your project's makefile or on the command line, but was set to an empty value. For the nominated configuration - * option, an empty value is not allowed. Define the nominated setting to a correct non-blank value and try again.
Error "Makefile {X} option must be Y or N" shown when compiling.The specified Makefile value was configured in your project's makefile or on the command line, but was set to a value other than a Y (for "Yes") or "N" (for "No"). - * This configuration option is required to be one of the aforementioned boolean values, and other values are invalid. Set this option to either Y or N and try again.
Error "Unknown input source file formats: {X}" shown when compiling.The nominated source files, specified in your project's makefile in the SRC configuration option, has an extension that the LUFA build system does not - * recognise. The file extensions are case sensitive, and must be one of the supported formats (*.c, *.cpp or *.S).
Error "Cannot build with OBJDIR parameter set - one or more object file name is not unique" shown when compiling.When a project is built with a non-empty OBJDIR object directory name set, all input source files must have unique names, excluding extension and path. - * This means that input files that are named identically and differ only by their path or extension are invalid when this mode is used.
Error "Source file does not exist: {X}" shown when compiling.The nominated input source file, specified in the user project's SRC parameter, could not be found. Ensure the source file exists and the absolute or - * relative path given in the user project makefile is correct and try again.
Error "Doxygen configuration file {X} does not exist" shown when upgrading a Doxygen configuration file.The nominated Doxygen configuration file, specified in the user project's DOXYGEN_CONF parameter, could not be found. Ensure the configuration file exists - * and the absolute or relative path given in the user project makefile is correct and try again, or run the appropriate makefile target to generate a new configuration - * file.
Error "avr-gcc: error: unrecognized option '{X}'" shown when compiling.An unrecognised option was supplied to the compiler, usually in the C_FLAGS, CPP_FLAGS, ASM_FLAGS or CC_FLAGS configuration - * options. The nominated compiler switch may be invalid, or unsupported by the version of AVR-GCC on the host system. Remove the unrecognised flag if invalid, or - * upgrade to the latest AVR-GCC. If the option is a valid linker option, use the prefix "-Wl," to ensure it is passed to the linker correctly.
Error "makefile:{X}: {Y}.mk: No such file or directory" shown when make is invoked.The path to the nominated makefile module was incorrect. This usually indicates that the makefile LUFA_PATH option is not set to a valid relative or - * absolute path to the LUFA library core.
Error "fatal error: LUFAConfig.h: No such file or directory" shown when compiling.The USE_LUFA_CONFIG_HEADER compile time option was set in the user project makefile, but the user supplied LUFAConfig.h header could not be - * found. Ensure that the directory that contains this configuration file is correctly passed to the compiler via the -I switch in the makefile CC_FLAGS - * parameter.
Error "ld.exe: section .apitable_trampolines loaded at {X} overlaps section .text" shown when compiling a bootloader.The bootloader is compiling too large for the given FLASH_SIZE_KB and BOOT_SECTION_SIZE_KB parameters set in the bootloader makefile. This - * usually indicates that these values are incorrect for the specified device the bootloader is targeting. If these values are correct, a newer version of the - * compiler may need to be used to ensure that the bootloader is built within the section size constraints of the target device.
Error "unknown MCU '{X}' specified" shown when compiling.The specified microcontroller device model name set in the user application's makefile as the MCU parameter is incorrect, or unsupported by the - * version of the compiler being used. Make sure the model name is correct, or upgrade to the latest Atmel Toolchain to obtain newer device support.
Error "undefined reference to `{X}'" shown when compiling.This is usually caused by a missing source file in the user application's SRC configuration parameter. If the indicated symbol is one from the LUFA - * library, you may be missing a LUFA source makefile module (see \ref Page_BuildModule_SOURCES).
- * - * For troubleshooting other errors you encounter, please see \ref Sec_ProjectHelp. - */ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/ExportingLibrary.txt b/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/ExportingLibrary.txt deleted file mode 100644 index 0951848..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/ExportingLibrary.txt +++ /dev/null @@ -1,112 +0,0 @@ -/** \file - * - * This file contains special DoxyGen information for the generation of the main page and other special - * documentation pages. It is not a project source file. - */ - -/** \page Page_ExportingLibrary Exporting the Library for IDE Use - * - * While LUFA was designed to allow for easy compilation in a makefile driven environment, - * it is possible to export the library into a form suitable for drop-in use inside of an - * IDE. - * - * \note LUFA is also available as a native Atmel Studio 6.1 extension, which integrates LUFA into - * Atmel Studio including all demos and projects. If you are running Atmel Studio 6.1 or later, the - * below instructions are not required; download and install the native LUFA extension from the - * Atmel Gallery instead. - * - * \section Sec_LibraryExport Exporting the Library - * An export of the library is at its most basic, a direct copy of the main "LUFA" source folder from the - * root download folder; this contains the library core which can be re-used within external projects. - * However, as many IDEs attempt to automatically compile all included source files, it is necessary to - * exclude some directories and files from the library core export to allow for easier integration into - * an IDE project. - * - * \subsection SSec_ManualExport Manual Export - * To manually export the library core, copy over the main LUFA library folder from the LUFA root directory, - * renaming as desired. Within the library core folder, the following directories should be removed or - * excluded from your IDE import: - * - Documentation/ - * - DoxygenPages/ - * - CodeTemplates/ - * - StudioIntegration/ - * - * If required, files from the CodeTemplates/ subdirectory may be copied to your IDE project as needed. - * - * The resulting copy of the library may then be imported into your chosen IDE according to the instructions - * shown in \ref Sec_LibraryImport. - * - * \subsection SSec_AutomaticExport Automatic Export - * If desired, the steps indicated in \ref SSec_ManualExport may be automatically performed, by running the - * command make export_tar from the command line. This will generate two .tar files in the - * current directory, named LUFA_YYMMDD.tar and LUFA_YYMMDD_Code_Templates.tar (where - * "YYMMDD" is the version of the library being exported). The first archive contains the exported LUFA core - * with the non-required files removed, while the second contains an archived copy of the code template files - * for the current LUFA version. - * - * The resulting archived copy of the library may then be extracted to your chosen IDE project source directory - * and imported according to the instructions shown in \ref Sec_LibraryImport. - * - * \section Sec_LibraryImport Importing the Library - * An exported copy of the library may be imported wholesale into an IDE project, if the instructions detailed - * in \ref Sec_LibraryExport are followed. - * - * Specific instructions for importing an exported version of LUFA into various IDEs are listed below. - * - * \subsection SSec_AS56_Import Importing into AVRStudio 5.x/Atmel Studio 6.0 - * To import LUFA into a new or existing project, the following steps must be followed. - * - * \subsubsection SSSec_AS56_Import_Step1 Copy over the exported library - * Copy over the exported library archive created via the steps listed in \ref Sec_LibraryExport to your AS5/AS6 - * project directory. - * - * \image html Images/AS5_AS6_Import/AS5_AS6_Import_Step1.png - * - * \subsubsection SSSec_AS56_Import_Step2 Extract exported library - * Extract out the contents of the archive to a new folder. This may be any name you wish, however keep in mind - * that this name will need to be referenced within your user application under most circumstances. It is - * suggested that this folder be named "LUFA", or "LUFA" followed by the version string for easy reference. - * - * \image html Images/AS5_AS6_Import/AS5_AS6_Import_Step2.png - * - * \subsubsection SSSec_AS56_Import_Step3 Add the library files - * Open your AVRStudio 5/Atmel Studio 6 project. From the "Solution Explorer" pane, click the "Show All Files" - * button on the toolbar to display ghosted icons of files and folders located in the project source directory - * that are not currently added to the project. - * - * \image html Images/AS5_AS6_Import/AS5_AS6_Import_Step3.png - * - * Right-click the ghosted version of the extracted LUFA export folder in the Solution Explorer pane, and - * choose the "Add to Project" option from the context menu. This will add the entire LUFA source tree to the - * current project. - * - * \subsubsection SSSec_AS56_Import_Step4 Open Project Toolchain Properties - * In the Solution Explorer pane, click the project node, and press the "Properties" button in the toolbar to - * open the Project Properties window. This window allows you to configure the various project global compiler, - * assembler and linker options. - * - * \image html Images/AS5_AS6_Import/AS5_AS6_Import_Step4.png - * - * Click the "Toolchain" tab on the left side of the Project Properties window. - * - * \subsubsection SSSec_AS56_Import_Step5 Configure Project Toolchain Properties - * - * In the GNU C Compiler section, open the "Symbols" page. Click the "Add Item" button to the top-right of the - * "Defined Symbols" section to add new symbols. - * - * At a minimum, you will need to define the following symbols (for more information on these symbols, see - * \ref Page_ConfiguringApps): - * - ARCH - * - F_CPU - * - F_USB - * - BOARD - * \image html Images/AS5_AS6_Import/AS5_AS6_Import_Step5_1.png - * - * Next, open the GNU C Compiler section's "Optimization" page. Ensure that the option to prepare functions for - * garbage collection is enabled. - * \image html Images/AS5_AS6_Import/AS5_AS6_Import_Step5_2.png - * - * Finally, in the GNU C Linker section, open the "Optimization" page. Ensure that the option to garbage collect - * unused sections is selected. - * \image html Images/AS5_AS6_Import/AS5_AS6_Import_Step5_3.png - */ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step1.png b/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step1.png deleted file mode 100644 index 4f0c26f..0000000 Binary files a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step1.png and /dev/null differ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step2.png b/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step2.png deleted file mode 100644 index 6e309ae..0000000 Binary files a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step2.png and /dev/null differ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step3.png b/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step3.png deleted file mode 100644 index 8192c9a..0000000 Binary files a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step3.png and /dev/null differ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step4.png b/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step4.png deleted file mode 100644 index 2bb8f5f..0000000 Binary files a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step4.png and /dev/null differ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step5_1.png b/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step5_1.png deleted file mode 100644 index f3a49ba..0000000 Binary files a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step5_1.png and /dev/null differ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step5_2.png b/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step5_2.png deleted file mode 100644 index 078f4ec..0000000 Binary files a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step5_2.png and /dev/null differ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step5_3.png b/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step5_3.png deleted file mode 100644 index 8a8571b..0000000 Binary files a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step5_3.png and /dev/null differ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/HV1/helpcontentsetup.msha b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/HV1/helpcontentsetup.msha deleted file mode 100644 index cb1c4b9..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/HV1/helpcontentsetup.msha +++ /dev/null @@ -1,27 +0,0 @@ - - - - - LUFA Help - - -
- FourWalledCubicle - LUFA - LUFA Help - en-us -
-
- -
- - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt deleted file mode 100644 index 2ebda6d..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt +++ /dev/null @@ -1,808 +0,0 @@ - - - - - - - - - - LUFA Library - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="$book.title"/> - - - - - - - - - - - - - - - - Modules - - - - - - - - - - - - - - - - LUFA. - - - - - - - - - <xsl:value-of select="$page.title"/> - - - - - - - Subsections: - - - - - - - - - - - - - - - - - - - -
- - <xsl:value-of select="title"/> - - - - LUFA. - - - - - - - - - - - - Subgroups: - - - - - - - - - - - - - - - - - - - - - -
-
- - - - -
- - <xsl:choose> - <xsl:when test="@kind = 'struct'"> - <xsl:text>Struct </xsl:text> - </xsl:when> - - <xsl:when test="@kind = 'union'"> - <xsl:text>Union </xsl:text> - </xsl:when> - </xsl:choose> - - <xsl:value-of select="$name"/> - - - - - - - - - - - - <xsl:value-of select="$name"/> - - - - - - Type - Name - Description - - - - - - - - - - - - - [] - - - - - . - - - - - - - - - - - - - - -
-
-
-
- - -
- - <xsl:text>Function </xsl:text> - <xsl:value-of select="name"/> - <xsl:text>()</xsl:text> - - - - - - - - - - - - - - - - - - - ( - - - - void - - - - - - , - - - - - - - - - - - - ) - - - -
-
- - -
- - <xsl:text>Enum </xsl:text> - <xsl:value-of select="name"/> - - - - - - - - - - Members - - - - Enum Value - Description - - - - - - - - - - - - - - - - - - - - - - -
-
-
- - -
- - <xsl:text>Macro </xsl:text> - <xsl:value-of select="name"/> - - - - - - - - - #define - - - ( - - - , - - - - ) - - - - - - \ - - - - - - - - -
-
- - -
- - <xsl:text>Type </xsl:text> - <xsl:value-of select="name"/> - - - - - - - - - typedef - - - - - - - - - -
-
- - - -
- - <xsl:text>Variable </xsl:text> - <xsl:value-of select="name"/> - - - - - - - - - - - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="title"/> - - - - - - - - Returns - - - - - - - Warning - - - - - - - Precondition - - - - - - - See also - - - - - - - Note - - - - - - - - - - Parameters - - - - Data Direction - Parameter Name - Description - - - - - - - - - - -
-
- - - - Return Values - - - - Return Value - Description - - - - - - - - - - -
-
- - - - - - - - ? - - - - - [] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="caption"/> - - - - - - - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - images/ - - - - - - - - - - - - -
- - - - - - - - <xsl:value-of select="title"/> - - - -
-
- - - - - - - - - - - - - NO XSL TEMPLATE MATCH: - - -
diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/HV1/lufa_helpcontentsetup_transform.xslt b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/HV1/lufa_helpcontentsetup_transform.xslt deleted file mode 100644 index b43354f..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/HV1/lufa_helpcontentsetup_transform.xslt +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - lufa_help_ - - .mshc - - - lufa_help_ - - .mshc - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt deleted file mode 100644 index 8aa4a94..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css deleted file mode 100644 index 0b6ccbd..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css +++ /dev/null @@ -1,53 +0,0 @@ -/* - LUFA Library - Copyright (C) Dean Camera, 2013. - - dean [at] fourwalledcubicle [dot] com - www.lufa-lib.org -*/ - -.programlisting { - display: block; - margin-left: 15px; - padding: 10px; - background-color: #f4f4f4; - border: 1px solid #aaaaaa; - font-family: "Consolas", "Courier New", sans-serif; - } - - code { - background-color: #f4f4f4; - font-family: "Consolas", "Courier New", sans-serif; - } - -.note, .warning, .tip { - display: block; - margin-left: 15px; - padding-left: 10px; - padding-bottom: 5px; - background-color: #f4f4f4; - border: 1px solid #aaaaaa; -} - -table { - border: 1px solid #aaaaaa; - border-collapse: collapse; - margin-left: 15px; - font-size: 10pt; -} - -table thead { - background-color: #f4f4f4; -} - -table thead th { - padding: 5px; -} - -table tbody td { - padding: 5px; -} - -ul { - padding-left: 20px; -} diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/LUFA.dll b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/LUFA.dll deleted file mode 100644 index 665b802..0000000 Binary files a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/LUFA.dll and /dev/null differ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/LUFA.pkgdef b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/LUFA.pkgdef deleted file mode 100644 index b1b2f94..0000000 Binary files a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/LUFA.pkgdef and /dev/null differ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/[Content_Types].xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/[Content_Types].xml deleted file mode 100644 index 112d169..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/[Content_Types].xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/asf-manifest.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/asf-manifest.xml deleted file mode 100644 index bd96951..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/asf-manifest.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - FourWalledCubicle - LUFA - Dean Camera - - True - - - - 0 - - - content.xml.cache - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/extension.vsixmanifest b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/extension.vsixmanifest deleted file mode 100644 index 8475017..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/extension.vsixmanifest +++ /dev/null @@ -1,33 +0,0 @@ - - - - - LUFA Library - Dean Camera - 0 - http://www.lufa-lib.org - LUFA, the Lightweight USB Framework for AVRs. - - License.txt - LUFA_thumb.png - LUFA.png - - - AtmelStudio - AtmelStudio - - - - 1033 - - false - - - - - - LUFA.pkgdef - helpcontentsetup.msha - asf-manifest.xml - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/generate_caches.py b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/generate_caches.py deleted file mode 100644 index eb4b71e..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/generate_caches.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - LUFA Library - Copyright (C) Dean Camera, 2013. - - dean [at] fourwalledcubicle [dot] com - www.lufa-lib.org -""" - -import sys -sys.path.append("ProjectGenerator") - - -def show_message(message): - print("[Project Generator] %s" % message) - sys.stdout.flush() - - -def main(lufa_root_path): - try: - from asf_avrstudio5_interface import PythonFacade - except ImportError: - print("Fatal Error: The ASF project generator is missing.") - return 1 - - p = PythonFacade(lufa_root_path) - - show_message("Checking database sanity...") - p.check_extension_database_sanity(lufa_root_path) - - show_message("Building cache files...") - p.generate_extension_cache_files(lufa_root_path) - - show_message("Cache files created.") - return 0 - - -if __name__ == "__main__": - sys.exit(main(sys.argv[1])) diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/lufa_asfmanifest_transform.xslt b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/lufa_asfmanifest_transform.xslt deleted file mode 100644 index 8fc9841..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/lufa_asfmanifest_transform.xslt +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - . - - . - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/lufa_vsmanifest_transform.xslt b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/lufa_vsmanifest_transform.xslt deleted file mode 100644 index db12d9e..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/VSIX/lufa_vsmanifest_transform.xslt +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/XDK/lufa_extension_transform.xslt b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/XDK/lufa_extension_transform.xslt deleted file mode 100644 index f50f8a4..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/XDK/lufa_extension_transform.xslt +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - This file has been automatically generated from the LUFA Atmel Studio integration XML files. - - - - - - - - - - - - - - - - - - - - . - - . - - - - - - - - - - /html/ - - - - - - - - /html/ - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/XDK/lufa_filelist_transform.xslt b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/XDK/lufa_filelist_transform.xslt deleted file mode 100644 index 9affc9f..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/XDK/lufa_filelist_transform.xslt +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - Sourced from - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt deleted file mode 100644 index 166f425..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/XDK/lufa_module_transform.xslt b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/XDK/lufa_module_transform.xslt deleted file mode 100644 index ee9a050..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/XDK/lufa_module_transform.xslt +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - This file has been automatically generated from the LUFA Atmel Studio integration XML files. - - - - Sourced from - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa.xml deleted file mode 100644 index 86cfc04..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa.xml +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - Lightweight USB Framework for AVRs (LUFA), a USB software stack/framework. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_common.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_common.xml deleted file mode 100644 index c2ef7af..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_common.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_board.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_board.xml deleted file mode 100644 index e150aa6..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_board.xml +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_board_names.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_board_names.xml deleted file mode 100644 index ab7e03e..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_board_names.xml +++ /dev/null @@ -1,853 +0,0 @@ - - - - - - - - - Board hardware (LEDs, Buttons, etc.) drivers for the preconfigured LUFA boards. Note that only the boards - compatible with the currently selected device will be shown. - - To disable all hardware drivers silently, use NONE. To supply customer drivers, use USER (see manual). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_misc.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_misc.xml deleted file mode 100644 index 4311ae8..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_misc.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_peripheral.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_peripheral.xml deleted file mode 100644 index 76ea516..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_peripheral.xml +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb.xml deleted file mode 100644 index 263c411..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class.xml deleted file mode 100644 index 67ab760..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_android.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_android.xml deleted file mode 100644 index 3451712..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_android.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - Common definitions and Host mode implementation of the Android Open Accessory USB class. - - - - - - - - - - - - - - - - - - - Common definitions only (no implementations) of the Android Open Accessory USB class. - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_audio.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_audio.xml deleted file mode 100644 index 5f7c3ad..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_audio.xml +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - - - - - Common definitions and Host/Device mode implementations of the Audio 1.0 USB class. - - - - - - - - - - - - - - - - - - - - - Common definitions and Host mode implementation of the Audio 1.0 USB class. - - - - - - - - - - - - - - - - - - - - Common definitions and Device mode implementation of the Audio 1.0 USB class. - - - - - - - - - - - - - - - - - - - - Common definitions only (no implementations) of the Audio 1.0 USB class. - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_cdc.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_cdc.xml deleted file mode 100644 index 65d8cc9..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_cdc.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - Common definitions and Host/Device mode implementations of the CDC USB class. - - - - - - - - - - - - - - - - - - - - - Common definitions and Host mode implementation of the CDC USB class. - - - - - - - - - - - - - - - - - - - - Common definitions and Device mode implementation of the CDC USB class. - - - - - - - - - - - - - - - - - - - - Common definitions only (no implementations) of the CDC USB class. - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_hid.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_hid.xml deleted file mode 100644 index 3d533fb..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_hid.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - Common definitions and Host/Device mode implementations of the HID USB class. - - - - - - - - - - - - - - - - - - - - - Common definitions and Host mode implementation of the HID USB class. - - - - - - - - - - - - - - - - - - - - Common definitions and Device mode implementation of the HID USB class. - - - - - - - - - - - - - - - - - - - - Common definitions only (no implementations) of the HID USB class. - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_midi.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_midi.xml deleted file mode 100644 index 3ddab0b..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_midi.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - Common definitions and Host/Device mode implementations of the MIDI USB class. - - - - - - - - - - - - - - - - - - - - - Common definitions and Host mode implementation of the MIDI USB class. - - - - - - - - - - - - - - - - - - - - Common definitions and Device mode implementation of the MIDI USB class. - - - - - - - - - - - - - - - - - - - - Common definitions only (no implementations) of the MIDI USB class. - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_ms.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_ms.xml deleted file mode 100644 index 283b85c..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_ms.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - Common definitions and Host/Device mode implementations of the Mass Storage USB class. - - - - - - - - - - - - - - - - - - - - - Common definitions and Host mode implementation of the Mass Storage USB class. - - - - - - - - - - - - - - - - - - - - Common definitions and Device mode implementation of the Mass Storage USB class. - - - - - - - - - - - - - - - - - - - - Common definitions only (no implementations) of the Mass Storage USB class. - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_printer.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_printer.xml deleted file mode 100644 index 2465035..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_printer.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - Common definitions and Host/Device mode implementations of the Printer USB class. - - - - - - - - - - - - - - - - - - - - - Common definitions and Host mode implementation of the Printer USB class. - - - - - - - - - - - - - - - - - - - - Common definitions and Device mode implementation of the Printer USB class. - - - - - - - - - - - - - - - - - - - - Common definitions only (no implementations) of the Printer USB class. - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_rndis.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_rndis.xml deleted file mode 100644 index 6a60667..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_rndis.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - Common definitions and Host/Device mode implementations of the RNDIS Ethernet USB class. - - - - - - - - - - - - - - - - - - - - - Common definitions and Host mode implementation of the RNDIS Ethernet USB class. - - - - - - - - - - - - - - - - - - - - Common definitions and Device mode implementation of the RNDIS Ethernet USB class. - - - - - - - - - - - - - - - - - - - - Common definitions only (no implementations) of the RNDIS Ethernet USB class. - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_si.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_si.xml deleted file mode 100644 index c1bf8d5..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_class_si.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - Common definitions and Host mode implementation of the Still Image USB class. - - - - - - - - - - - - - - - - - - - Common definitions only (no implementations) of the Still Image USB class. - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_core.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_core.xml deleted file mode 100644 index 58a0b38..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_core.xml +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_core_avr8.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_core_avr8.xml deleted file mode 100644 index 4688f05..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_core_avr8.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_core_uc3.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_core_uc3.xml deleted file mode 100644 index 2e7185f..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_core_uc3.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_core_xmega.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_core_xmega.xml deleted file mode 100644 index c79a0f5..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_drivers_usb_core_xmega.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_platform.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_platform.xml deleted file mode 100644 index 4ee51f6..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_platform.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_platform_uc3.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_platform_uc3.xml deleted file mode 100644 index 98017b0..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_platform_uc3.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_platform_xmega.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_platform_xmega.xml deleted file mode 100644 index e613fe5..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_platform_xmega.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_toolchain.xml b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_toolchain.xml deleted file mode 100644 index a76b6d0..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/lufa_toolchain.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/makefile b/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/makefile deleted file mode 100644 index 2649598..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/StudioIntegration/makefile +++ /dev/null @@ -1,140 +0,0 @@ -# -# LUFA Library -# Copyright (C) Dean Camera, 2013. -# -# dean [at] fourwalledcubicle [dot] com -# www.lufa-lib.org -# -# --------------------------------------- -# Makefile for the LUFA Atmel Studio Integration. -# --------------------------------------- - -LUFA_ROOT := .. -LUFA_VERSION_NUM := $(shell grep LUFA_VERSION_STRING $(LUFA_ROOT)/Version.h | cut -d'"' -f2) - -ifneq ($(LUFA_VERSION_NUM),000000) - EXT_VERSION_NUM := $(shell date +"%y.%m.%d").$(LUFA_VERSION_NUM) - EXT_VSIX_NAME := LUFA-RELEASE-$(LUFA_VERSION_NUM).vsix -else - EXT_VERSION_NUM := 0.$(shell date +"%y%m%d.%H%M%S") - EXT_VSIX_NAME := LUFA-TESTING-$(shell date +"%y.%m.%d-%H.%M.%S").vsix - - $(warning No LUFA version set - assuming a test version should be created.) -endif - -DOXYGEN_TAG_FILE_XML := $(LUFA_ROOT)/Documentation/lufa_doc_tags.xml -DOXYGEN_COMBINED_XML := $(LUFA_ROOT)/Documentation/xml/lufa_doc.xml -TEMP_MANIFEST_XML := manifest.xml -EXTENSION_OUTPUT_XML := $(LUFA_ROOT)/../extension.xml -MODULE_OUTPUT_XML := $(LUFA_ROOT)/asf.xml -MSHELP_OUTPUT_XML := $(LUFA_ROOT)/../lufa_help_$(EXT_VERSION_NUM).mshc -XML_FILES := $(filter-out $(TEMP_MANIFEST_FILE), $(shell ls *.xml)) -VSIX_ASSETS := $(LUFA_ROOT)/DoxygenPages/Images/LUFA_thumb.png \ - $(LUFA_ROOT)/DoxygenPages/Images/LUFA.png \ - $(LUFA_ROOT)/License.txt \ - VSIX/"[Content_Types].xml" \ - VSIX/LUFA.dll \ - VSIX/LUFA.pkgdef -VSIX_GEN_PARAMS := --stringparam extension-version "$(EXT_VERSION_NUM)" \ - --stringparam lufa-version "$(LUFA_VERSION_NUM)" -MSHELP_GEN_PARAMS := --stringparam generate.toc "book toc" \ - --stringparam chunk.quietly "1" \ - --stringparam chunk.section.depth "3" \ - --stringparam chunk.first.sections "1" \ - --stringparam chapter.autolabel "0" \ - --stringparam root.filename "LUFA" \ - --stringparam html.stylesheet "lufa_studio_help_styling.css" - -all: clear_project_dirs generate_xml check_filenames generate_vsix - -clear_project_dirs: - @make -s -C $(LUFA_ROOT)/.. clean - -clean: - @rm -f $(TEMP_MANIFEST_XML) $(MODULE_OUTPUT_XML) $(EXTENSION_OUTPUT_XML) $(DOXYGEN_TAG_FILE_XML) $(DOXYGEN_COMBINED_XML) $(MSHELP_OUTPUT_XML) - @rm -rf mshelp - @cd $(LUFA_ROOT)/.. && rm -f contents.zip exampleProjects.xml content.xml.cache extension.vsixmanifest asf-manifest.xml extension.xml helpcontentsetup.msha $(notdir $(VSIX_ASSETS)) *.vsix *.mshc - -$(DOXYGEN_TAG_FILE_XML): - @$(MAKE) -C ../ doxygen DOXYGEN_OVERRIDE_PARAMS="GENERATE_TAGFILE=Documentation/lufa_doc_tags.xml GENERATE_HTML=no GENERATE_XML=yes" - -$(DOXYGEN_COMBINED_XML): $(DOXYGEN_TAG_FILE_XML) - @xsltproc $(dir $@)/combine.xslt $(dir $@)/index.xml > $(DOXYGEN_COMBINED_XML) - -$(TEMP_MANIFEST_XML): $(DOXYGEN_TAG_FILE_XML) $(DOXYGEN_COMBINED_XML) - @echo Generating temporary module manifest XML... - - @printf "\n" $(LUFA_VERSION_NUM) $(DOXYGEN_TAG_FILE_XML) $(DOXYGEN_COMBINED_XML) > $@ - @for i in $(XML_FILES); do \ - printf "\t\n" $$i >> $@; \ - done; - @echo '' >> $@ - -$(MODULE_OUTPUT_XML): $(TEMP_MANIFEST_XML) - @echo Generating library core XDK module manifest file... - @xsltproc XDK/lufa_module_transform.xslt $< | xsltproc XDK/lufa_indent_transform.xslt - > $(MODULE_OUTPUT_XML) - -$(EXTENSION_OUTPUT_XML): $(TEMP_MANIFEST_XML) - @echo Generating library XDK extension manifest file... - @xsltproc XDK/lufa_extension_transform.xslt $< | xsltproc XDK/lufa_indent_transform.xslt - > $(EXTENSION_OUTPUT_XML) - -$(MSHELP_OUTPUT_XML): $(DOXYGEN_COMBINED_XML) - @echo Converting Doxygen XML to DocBook... - @-mkdir mshelp 2> /dev/null - @xsltproc HV1/lufa_docbook_transform.xslt $(DOXYGEN_COMBINED_XML) > mshelp/lufa_docbook.xml - - @echo Converting DocBook XML to Microsoft Help 1.0... - @cd mshelp && xsltproc $(MSHELP_GEN_PARAMS) ../HV1/lufa_hv1_transform.xslt lufa_docbook.xml - - @echo Copying help assets... - @cp HV1/lufa_studio_help_styling.css mshelp - @-mkdir mshelp/images 2> /dev/null - @cp `find $(LUFA_ROOT)/DoxygenPages/Images -type f` mshelp/images - - @echo Archiving help content... - @cd mshelp && zip ../$(MSHELP_OUTPUT_XML) -q -0 -r *.html *.css images - - @echo Generating HV1 manifest... - @xsltproc $(VSIX_GEN_PARAMS) HV1/lufa_helpcontentsetup_transform.xslt HV1/helpcontentsetup.msha > $(LUFA_ROOT)/../helpcontentsetup.msha - -generate_help: $(MSHELP_OUTPUT_XML) - -generate_xml: $(EXTENSION_OUTPUT_XML) $(MODULE_OUTPUT_XML) - -generate_vsix: $(EXTENSION_OUTPUT_XML) $(MODULE_OUTPUT_XML) $(MSHELP_OUTPUT_XML) - @echo Generating XDK cache files... - @rm -f $(LUFA_ROOT)/../content.xml.cache - @rm -f $(LUFA_ROOT)/../ExampleProjects.xml - @python VSIX/generate_caches.py $(LUFA_ROOT)/../ - - @echo Archiving XDK content... - @rm -f contents.zip - @cd $(LUFA_ROOT)/../ && zip contents.zip -q -0 -r --exclude=*Documentation* --exclude=*StudioIntegration* LUFA Bootloaders Demos Projects README.txt - - @echo Creating VSIX dependencies... - @cp $(VSIX_ASSETS) $(LUFA_ROOT)/.. - @xsltproc $(VSIX_GEN_PARAMS) VSIX/lufa_vsmanifest_transform.xslt VSIX/extension.vsixmanifest > $(LUFA_ROOT)/../extension.vsixmanifest - @xsltproc $(VSIX_GEN_PARAMS) VSIX/lufa_asfmanifest_transform.xslt VSIX/asf-manifest.xml > $(LUFA_ROOT)/../asf-manifest.xml - - @echo Generating Atmel Studio VSIX file... - cd $(LUFA_ROOT)/../ && zip $(EXT_VSIX_NAME) -q -9 contents.zip exampleProjects.xml content.xml.cache extension.vsixmanifest asf-manifest.xml extension.xml helpcontentsetup.msha $(notdir $(MSHELP_OUTPUT_XML)) $(notdir $(VSIX_ASSETS)) - - @echo "Atmel Studio VSIX extension file generated." - -check_filenames: $(MODULE_OUTPUT_XML) - @echo Verifying referenced filenames of XDK modules... - @for f in `find $(LUFA_ROOT)/../ -name "asf.xml"`; do \ - echo "Checking $$f..."; \ - asf_file_dir=`dirname $$f`; \ - xsltproc XDK/lufa_filelist_transform.xslt $$f | sed -e "/^$$/d" | while read -r i; do \ - if ( ( ! test -f "$$asf_file_dir/$$i" ) && ( ! test -d "$$asf_file_dir/$$i" ) ); then \ - echo "Source file \"$$i\" referenced in $$f does not exist!"; \ - exit 1; \ - fi; \ - done || exit 1; \ - done; - -check_database: - python ProjectGenerator/project_generator.py -b $(LUFA_ROOT)/../ --main-ext-uuid=0e160d5c-e331-48d9-850b-e0387912171b CHECK - -.PHONY: all clean generate_help generate_xml generate_vsix check_filenames check_database diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/makefile b/avr/bootloaders/lufa-LUFA-140928/LUFA/makefile deleted file mode 100644 index 88449a9..0000000 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/makefile +++ /dev/null @@ -1,53 +0,0 @@ -# -# LUFA Library -# Copyright (C) Dean Camera, 2014. -# -# dean [at] fourwalledcubicle [dot] com -# www.lufa-lib.org -# -# --------------------------------------- -# Makefile for the LUFA library itself. -# --------------------------------------- - -LUFA_VERSION_NUM = $(shell grep LUFA_VERSION_STRING $(LUFA_PATH)/Version.h | cut -d'"' -f2) -EXCLUDE_FROM_EXPORT := Documentation DoxygenPages CodeTemplates Build StudioIntegration doxyfile *.tar *.o *.d *.lss *.lst *.hex *.elf *.hex *.eep *.map *.bin - -# Default target - no default action when attempting to build the core directly -all: - -# Export the library core as a TAR archive for importing into an IDE -export_tar: - @echo Exporting LUFA library to a TAR archive... - @tar -cf LUFA_$(LUFA_VERSION_NUM).tar --directory=. $(EXCLUDE_FROM_EXPORT:%=--exclude=%) * - @tar -cf LUFA_$(LUFA_VERSION_NUM)_Code_Templates.tar CodeTemplates - @echo Export LUFA_$(LUFA_VERSION_NUM).tar complete. - -# Display the LUFA version of this library copy -version: - @echo "LUFA $(LUFA_VERSION_NUM)" - -# Check if this is being included from a legacy or non LUFA build system makefile -ifneq ($(LUFA_PATH),) - LUFA_ROOT_PATH = $(patsubst %/,%,$(LUFA_PATH))/LUFA/ - - include $(patsubst %/,%,$(LUFA_PATH))/LUFA/Build/lufa_sources.mk -else - LUFA_BUILD_MODULES += MASTER - LUFA_BUILD_TARGETS += export_tar version - - LUFA_PATH = . - ARCH = {AVR8,UC3,XMEGA} - DOXYGEN_OVERRIDE_PARAMS = QUIET=YES PROJECT_NUMBER=$(LUFA_VERSION_NUM) - - # Remove all object and associated files from the LUFA library core - clean: - rm -f $(LUFA_SRC_ALL_FILES:%.c=%.o) - rm -f $(LUFA_SRC_ALL_FILES:%.c=%.d) - rm -f $(LUFA_SRC_ALL_FILES:%.c=%.lst) - - include Build/lufa_core.mk - include Build/lufa_sources.mk - include Build/lufa_doxygen.mk -endif - -.PHONY: all export_tar version clean diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/.gitignore b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/.gitignore new file mode 100644 index 0000000..9387689 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/.gitignore @@ -0,0 +1,9 @@ +*.lss +*.bin +*.elf +*.hex +*.eep +*.map +*.o +*.d +*.sym diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/HID_EEPROM_Loader/HID_EEPROM_Loader.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/HID_EEPROM_Loader/HID_EEPROM_Loader.c new file mode 100644 index 0000000..35ea2d7 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/HID_EEPROM_Loader/HID_EEPROM_Loader.c @@ -0,0 +1,39 @@ +/* + DMBS Build System + Released into the public domain. + + dean [at] fourwalledcubicle [dot] com + www.fourwalledcubicle.com + */ + +/** \file + * + * Special application to extract an EEPROM image stored in FLASH memory, and + * copy it to the device EEPROM. This application is designed to be used with + * the HID build system module of DMBS to program the EEPROM of a target device + * that uses the HID bootloader protocol, which does not have native EEPROM + * programming support. + */ + +#include +#include +#include + +/* References to the binary EEPROM data linked in the AVR's FLASH memory space */ +extern const char _binary_InputEEData_bin_start[]; +extern const char _binary_InputEEData_bin_end[]; +extern const char _binary_InputEEData_bin_size[]; + +/* Friendly names for the embedded binary data stored in FLASH memory space */ +#define InputEEData _binary_InputEEData_bin_start +#define InputEEData_size ((int)_binary_InputEEData_bin_size) + +int main(void) +{ + /* Copy out the embedded EEPROM data from FLASH to EEPROM memory space */ + for (uint16_t i = 0; i < InputEEData_size; i++) + eeprom_update_byte((uint8_t*)i, pgm_read_byte(&InputEEData[i])); + + /* Infinite loop once complete */ + for (;;); +} diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/HID_EEPROM_Loader/makefile b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/HID_EEPROM_Loader/makefile new file mode 100644 index 0000000..1b1185b --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/HID_EEPROM_Loader/makefile @@ -0,0 +1,39 @@ +# +# DMBS Build System +# Released into the public domain. +# +# dean [at] fourwalledcubicle [dot] com +# www.fourwalledcubicle.com +# + +# Run "make help" for target help. + +MCU = atmega128 +ARCH = AVR8 +F_CPU = 1000000 +OPTIMIZATION = s +TARGET = HID_EEPROM_Loader +SRC = $(TARGET).c +CC_FLAGS = +LD_FLAGS = +OBJECT_FILES = InputEEData.o +OBJDIR = obj + +# Default target +all: + +# Determine the AVR sub-architecture of the build main application object file +FIND_AVR_SUBARCH = avr$(shell avr-objdump -f $(OBJDIR)/$(TARGET).o | grep architecture | cut -d':' -f3 | cut -d',' -f1) + +# Create a linkable object file with the input binary EEPROM data stored in the FLASH section +$(OBJDIR)/InputEEData.o: $(OBJDIR)/$(TARGET).o + @echo $(MSG_OBJCPY_CMD) Converting \"InputEEData.eep\" to a binary file \"InputEEData.bin\" + avr-objcopy -I ihex -O binary InputEEData.eep InputEEData.bin + + @echo $(MSG_OBJCPY_CMD) Converting \"InputEEData.bin\" to a object file \"InputEEData.o\" + avr-objcopy -I binary -O elf32-avr -B $(call FIND_AVR_SUBARCH) --rename-section .data=.progmem.data,contents,alloc,readonly,data InputEEData.bin $@ + +# Include LUFA build script makefiles +include ../core.mk +include ../gcc.mk +include ../hid.mk diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/License.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/License.txt new file mode 100644 index 0000000..322c762 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/License.txt @@ -0,0 +1,32 @@ + DMBS Build System + Released into the public domain. + + dean [at] fourwalledcubicle [dot] com + www.fourwalledcubicle.com + + + +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/ModulesOverview.md b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/ModulesOverview.md new file mode 100644 index 0000000..1fd9cc1 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/ModulesOverview.md @@ -0,0 +1,38 @@ +DMBS - Dean's Makefile Build System +=================================== + + +Modules Overview +---------------- + +The following modules are currently included: + + - [ATPROGRAM](atprogram.md) - Device Programming + - [AVRDUDE](avrdude.md) - Device Programming + - [CORE](core.md) - DMBS Core Functionality + - [CPPCHECK](cppcheck.md) - Static Code Analysis + - [DFU](dfu.md) - Device Programming + - [DOXYGEN](doxygen.md) - Automated Source Code Documentation + - [GCC](gcc.md) - Compiling/Assembling/Linking with GCC + - [HID](hid.md) - Device Programming + +## Importing modules into your project makefile + +To use a module, it is recommended to add the following boilerplate to your +makefile: + + # Include DMBS build script makefiles + DMBS_PATH ?= ../DMBS + +Which can then used to indicate the location of your DMBS installation, relative +to the current directory, when importing modules. For example: + + DMBS_PATH ?= ../DMBS + include $(DMBS_PATH)/core.mk + include $(DMBS_PATH)/gcc.mk + +Imports the `CORE` and `GCC` modules from DMBS using a single path relative to +your project's makefile. + +If you wish to write your own DMBS module(s), +[see the documentation here for more details.](WritingYourOwnModules.md) diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/WritingYourOwnModules.md b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/WritingYourOwnModules.md new file mode 100644 index 0000000..bb8eb17 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/WritingYourOwnModules.md @@ -0,0 +1,93 @@ +DMBS - Dean's Makefile Build System +=================================== + + +Writing Your Own Modules +------------------------ + +A DMBS module consists of the several boilerplate sections, explained below. + +## The DMBS module hooks + +Your module needs to advertise to DMBS its name, its makefile targets, the +required and optional variables, and the variables and macros the module +provides for use elsewhere. This is achieved with the following section: + + DMBS_BUILD_MODULES += EXAMPLE + DMBS_BUILD_TARGETS += example-target another-target + DMBS_BUILD_MANDATORY_VARS += MANDATORY_NAME ALSO_MANDATORY + DMBS_BUILD_OPTIONAL_VARS += OPTIONAL_NAME ALSO_OPTIONAL + DMBS_BUILD_PROVIDED_VARS += MEANING_OF_LIFE + DMBS_BUILD_PROVIDED_MACROS += STRIP_WHITESPACE + +The example above declares that this module is called `EXAMPLE`, and exposes the +listed targets, variable requirements and provides variables and macros. + +Your module name and provided variable/macro names must be unique, however you +can (and should) re-use variable names where appropriate if they apply to +several modules (such as `ARCH` to specify the project's microcontroller +architecture). Re-using targets is not recommended, but can be used to extend +the dependencies of another module's targets. + +## Importing the CORE module + +Next, your module should always import the DMBS `CORE` module, via the +following: + + # Import the CORE module of DMBS + DMBS_MODULE_PATH := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) + include $(DMBS_MODULE_PATH)/core.mk + +This ensures that the `make help` target is always available. In addition, the +`CORE` module exposes some [commonly used macros and variables](core.md) to +your module. + +## Setting optional variable's defaults + +If a variable is optional, you should provide a default value. Do this via the +`?=` operator of `make`, which sets a variable's value if it has not yet been +set: + + MY_OPTIONAL_VARIABLE ?= some_default_value + +## Sanity checking user input + +Sanity checks are what make DMBS useful. Where possible, validate user input and +convert generated errors to human-friendly messages. This can be achieved by +enforcing that all the declared module mandatory variables have been set by the +user: + + # Sanity-check values of mandatory user-supplied variables + $(foreach MANDATORY_VAR, $(DMBS_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) + +As well as complaining if they are set, but currently empty: + + $(call ERROR_IF_EMPTY, SOME_MANDATORY_VARIABLE) + $(call ERROR_IF_EMPTY, SOME_OPTIONAL_BUT_NON_EMPTY_VARIABLE) + +Or even if they are boolean (`Y` or `N`) variables that have an invalid value: + + $(call ERROR_IF_NONBOOL, SOME_BOOL_VARIABLE) + +## Adding targets + +The meat of a DMBS module is the targets, which are run when the user types +`make {target name}` from the command line. These can be as complex or simple +as you like. See the GNU make manual for information on writing make targets. + + example-target: + echo "Your DMBS module works!" + +## And finally, list the PHONYs + +Important in GNU Make is the concept of phony targets; this special directive +tells make that a given target should never be considered a valid file. Listing +phonies ensures that, for example, if your module had a target called `build`, +it would always run when the user types `make build` from the command line, even +if a file called `build` existed in the user project folder. + +You can list module-internal targets here, as well as mark all public targets +via the module header's `DMBS_BUILD_TARGETS` variable. + + # Phony build targets for this module + .PHONY: $(DMBS_BUILD_TARGETS) some-module-internal-target another-internal-target diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/atprogram.md b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/atprogram.md new file mode 100644 index 0000000..ea1b0d9 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/atprogram.md @@ -0,0 +1,119 @@ +DMBS - Dean's Makefile Build System +=================================== + + +Module: ATPROGRAM +----------------- + +The ATPROGRAM module provides build targets for use with the official +`ATPROGRAM` back-end utility distributed with the free +[Atmel Studio](http://www.atmel.com) software released by Atmel. + +## Importing This Module into a Makefile: + +To use this module in your application makefile, add the following code to your +makefile: + + include $(DMBS_PATH)/atprogram.mk + +## Prerequisites: + +This module requires the `atprogram.exe` utility to be available in your +system's `PATH` variable. The `atprogram.exe` utility is distributed in Atmel +Studio (usually) inside the application install folder's `atbackend` +subdirectory. + +## Build Targets: + +The following targets are supported by this module: + + + + + + + + + + + + +
atprogramProgram the device FLASH memory with the application's executable data.
atprogram-eeProgram the device EEPROM memory with the application's EEPROM data.
+ +## Mandatory Variables: + +The following variables must be defined (with a `NAME = VALUE` syntax, one +variable per line) in the user makefile to be able to use this module: + + + + + + + + + + + + +
MCUName of the Atmel processor model (e.g. `at90usb1287`).
TARGETName of the application output file prefix (e.g. `TestApplication`).
+ +## Optional Variables: + +The following variables may be defined (with a `NAME = VALUE` syntax, one +variable per line) in the user makefile. If not specified, a default value will +be assumed. + + + + + + + + + + + + + + + + +
ATPROGRAM_PROGRAMMERName of the Atmel programmer or debugger tool to communicate with (e.g. `jtagice3`). Default is `atmelice`.
ATPROGRAM_INTERFACEName of the programming interface to use when programming the target (e.g. `spi`). Default is `jtag`.
ATPROGRAM_PORTName of the communication port to use when when programming with a serially connected tool (e.g. `COM2`). Default is `usb`.
+ +## Provided Variables: + +The following variables may be referenced in a user makefile (via `$(NAME)` +syntax) if desired, as they are provided by this module. + + + + + + + + +
N/AThis module provides no variables.
+ +## Provided Macros: + +The following macros may be referenced in a user makefile (via +`$(call NAME, ARG1, ARG2, ...)` syntax) if desired, as they are provided by +this module. + + + + + + + + +
N/AThis module provides no macros.
+ +## Module Changelog: + +The changes to this module since its initial release are listed below, as of the +DMBS version where the change was made. + +### 20160403 +Initial release. diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/atprogram.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/atprogram.mk new file mode 100644 index 0000000..26addd6 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/atprogram.mk @@ -0,0 +1,66 @@ +# +# DMBS Build System +# Released into the public domain. +# +# dean [at] fourwalledcubicle [dot] com +# www.fourwalledcubicle.com +# + +DMBS_BUILD_MODULES += ATPROGRAM +DMBS_BUILD_TARGETS += atprogram atprogram-ee +DMBS_BUILD_MANDATORY_VARS += MCU TARGET +DMBS_BUILD_OPTIONAL_VARS += ATPROGRAM_PROGRAMMER ATPROGRAM_INTERFACE ATPROGRAM_PORT +DMBS_BUILD_PROVIDED_VARS += +DMBS_BUILD_PROVIDED_MACROS += + +# Import the CORE module of DMBS +DMBS_MODULE_PATH := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) +include $(DMBS_MODULE_PATH)/core.mk + +# Default values of optionally user-supplied variables +ATPROGRAM_PROGRAMMER ?= atmelice +ATPROGRAM_INTERFACE ?= jtag +ATPROGRAM_PORT ?= + +# Sanity check user supplied values +$(foreach MANDATORY_VAR, $(DMBS_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) +$(call ERROR_IF_EMPTY, MCU) +$(call ERROR_IF_EMPTY, TARGET) +$(call ERROR_IF_EMPTY, ATPROGRAM_PROGRAMMER) +$(call ERROR_IF_EMPTY, ATPROGRAM_INTERFACE) + +# Output Messages +MSG_ATPROGRAM_CMD := ' [ATPRGRM] :' + +# Construct base atprogram command flags +BASE_ATPROGRAM_FLAGS := --tool $(ATPROGRAM_PROGRAMMER) --interface $(ATPROGRAM_INTERFACE) --device $(MCU) +ifneq ($(ATPROGRAM_PORT),) + BASE_ATPROGRAM_FLAGS += --port $(ATPROGRAM_PORT) +endif + +# Construct the flags to use for the various memory spaces +ifeq ($(ARCH), AVR8) + ATPROGRAM_FLASH_FLAGS := --chiperase --flash + ATPROGRAM_EEPROM_FLAGS := --eeprom +else ifeq ($(ARCH), XMEGA) + ATPROGRAM_FLASH_FLAGS := --erase --flash + ATPROGRAM_EEPROM_FLAGS := --eeprom +else ifeq ($(ARCH), UC3) + ATPROGRAM_FLASH_FLAGS := --erase + ATPROGRAM_EEPROM_FLAGS := --eeprom +else + $(error Unsupported architecture "$(ARCH)") +endif + +# Programs in the target FLASH memory using ATPROGRAM +atprogram: $(TARGET).elf $(MAKEFILE_LIST) + @echo $(MSG_ATPROGRAM_CMD) Programming device \"$(MCU)\" FLASH using \"$(ATPROGRAM_PROGRAMMER)\" + atprogram $(BASE_ATPROGRAM_FLAGS) program $(ATPROGRAM_FLASH_FLAGS) --file $< + +# Programs in the target EEPROM memory using ATPROGRAM +atprogram-ee: $(TARGET).elf $(MAKEFILE_LIST) + @echo $(MSG_ATPROGRAM_CMD) Programming device \"$(MCU)\" EEPROM using \"$(ATPROGRAM_PROGRAMMER)\" + atprogram $(BASE_ATPROGRAM_FLAGS) program $(ATPROGRAM_EEPROM_FLAGS) --file $< + +# Phony build targets for this module +.PHONY: $(DMBS_BUILD_TARGETS) diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/avrdude.md b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/avrdude.md new file mode 100644 index 0000000..11ea46c --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/avrdude.md @@ -0,0 +1,190 @@ +DMBS - Dean's Makefile Build System +=================================== + + +Module: AVRDUDE +----------------- + +The AVRDUDE module provides build targets for use with the official +open source `AVRDUDE` programmer utility, for the reprogramming of Atmel devices +using a wide variety of official and non-official programming devices and +bootloaders. + +## Importing This Module into a Makefile: + +To use this module in your application makefile, add the following code to your +makefile: + + include $(DMBS_PATH)/avrdude.mk + +## Prerequisites: + +This module requires the `avrdude` utility to be available in your +system's `PATH` variable. The `avrdude` utility is distributed on the project's +[official site](https://savannah.nongnu.org/projects/avrdude) but is also +made available in many *nix operating system's package managers. + +## Build Targets: + +The following targets are supported by this module: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
avrdude-lfuseProgram the device low fuse. Requires AVRDUDE_LFUSE variable set.
avrdude-hfuseProgram the device high fuse. Requires AVRDUDE_HFUSE variable set.
avrdude-efuseProgram the device extended fuse. Requires AVRDUDE_EFUSE variable set.
avrdude-lockProgram the device lock bits. Requires AVRDUDE_LOCK variable set.
avrdude-fuses + Program the device fuses (lfuse, hfuse, efuse, lock bits).
+ Requires AVRDUDE_LFUSE, AVRDUDE_HFUSE and AVRDUDE_LOCK variable set. AVRDUDE_EFUSE is optional. +
avrdudeProgram the device FLASH memory with the application's executable data.
avrdude-eeProgram the device EEPROM memory with the application's EEPROM data.
avrdude-allSame as avrdude + avrdude-fuses.
avrdude-all-eeSame as avrdude + avrdude-ee + avrdude-fuses.
+ +## Mandatory Variables: + +The following variables must be defined (with a `NAME = VALUE` syntax, one +variable per line) in the user makefile to be able to use this module: + + + + + + + + + + + + +
MCUName of the Atmel processor model (e.g. `at90usb1287`).
TARGETName of the application output file prefix (e.g. `TestApplication`).
+ +## Optional Variables: + +The following variables may be defined (with a `NAME = VALUE` syntax, one +variable per line) in the user makefile. If not specified, a default value will +be assumed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AVRDUDE_MCUOverride the `MCU` variable for `avrdude`. On some controllers, `avrdude` expects another spelling than the compiler needs. Default is `MCU`.
AVRDUDE_PROGRAMMERName of the programmer/debugger tool or bootloader to communicate with (e.g. `jtagicemkii`). Default is `jtagicemkii`.
AVRDUDE_PORTName of the communication port to use when when programming with a serially connected tool (e.g. `COM2`). Default is `usb`.
AVRDUDE_FLAGSAdditional flags to pass to `avrdude` when invoking the tool. Default is empty (no additional flags).
AVRDUDE_MEMORYMemory space to program when executing the `avrdude` target (e.g. 'application` for an XMEGA device). Default is `flash`.
AVRDUDE_BAUDBaud rate to use when executing the `avrdude` target (e.g. '115200` for an Optiboot device). Default is empty.
AVRDUDE_BITCLKISP bit clock period in microseconds to use when executing the `avrdude` target (format: float). Must be minimum 4x longer than MCU clock period. Default is 1 us.
AVRDUDE_HFUSEFuse setting to use when executing the `avrdude-hfuse` target (format: 0x??). Default is empty.
AVRDUDE_EFUSEFuse setting to use when executing the `avrdude-efuse` target (format: 0x??). Default is empty.
AVRDUDE_LFUSEFuse setting to use when executing the `avrdude-lfuse` target (format: 0x??). Default is empty.
AVRDUDE_LOCKBit bits setting to use when executing the `avrdude-lock` target (format: 0x??). Default is empty.
+ +## Provided Variables: + +The following variables may be referenced in a user makefile (via `$(NAME)` +syntax) if desired, as they are provided by this module. + + + + + + + + +
N/AThis module provides no variables.
+ +## Provided Macros: + +The following macros may be referenced in a user makefile (via +`$(call NAME, ARG1, ARG2, ...)` syntax) if desired, as they are provided by +this module. + + + + + + + + +
N/AThis module provides no macros.
+ +## Module Changelog: + +The changes to this module since its initial release are listed below, as of the +DMBS version where the change was made. + +### 20200412 +Made `AVRDUDE_EFUSE` optional for `avrdude-fuses` because not every AVR has this fuse. + +### 20171231 +Added `AVRDUDE_BAUD`, `AVRDUDE_HFUSE`, `AVRDUDE_EFUSE`, `AVRDUDE_LFUSE` and +`AVRDUDE_LOCK` optional variables. + +### 20160403 +Initial release. diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/avrdude.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/avrdude.mk new file mode 100644 index 0000000..64cb445 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/avrdude.mk @@ -0,0 +1,99 @@ +# +# DMBS Build System +# Released into the public domain. +# +# dean [at] fourwalledcubicle [dot] com +# www.fourwalledcubicle.com +# + +DMBS_BUILD_MODULES += AVRDUDE +DMBS_BUILD_TARGETS += avrdude-lfuse avrdude-hfuse avrdude-efuse avrdude-lock avrdude-fuses +DMBS_BUILD_TARGETS += avrdude avrdude-ee avrdude-all avrdude-all-ee +DMBS_BUILD_MANDATORY_VARS += MCU TARGET +DMBS_BUILD_OPTIONAL_VARS += AVRDUDE_MCU AVRDUDE_PROGRAMMER AVRDUDE_PORT AVRDUDE_FLAGS AVRDUDE_MEMORY AVRDUDE_BAUD +DMBS_BUILD_OPTIONAL_VARS += AVRDUDE_LFUSE AVRDUDE_HFUSE AVRDUDE_EFUSE AVRDUDE_LOCK AVRDUDE_BITCLK +DMBS_BUILD_PROVIDED_VARS += +DMBS_BUILD_PROVIDED_MACROS += + +# Import the CORE module of DMBS +DMBS_MODULE_PATH := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) +include $(DMBS_MODULE_PATH)/core.mk + +# Default values of optionally user-supplied variables +AVRDUDE_MCU ?= $(MCU) +AVRDUDE_PROGRAMMER ?= jtagicemkii +AVRDUDE_PORT ?= usb +AVRDUDE_FLAGS ?= +AVRDUDE_MEMORY ?= flash +AVRDUDE_LFUSE ?= +AVRDUDE_HFUSE ?= +AVRDUDE_EFUSE ?= +AVRDUDE_LOCK ?= +AVRDUDE_BAUD ?= +AVRDUDE_BITCLK ?= + +# Set avrdude-efuse-target as dependency for avrdude-fuses only if defined, because not every AVR has this fuse +ifneq ($(AVRDUDE_EFUSE),) + AVRDUDE_EFUSE_TARGET := avrdude-efuse +else + AVRDUDE_EFUSE_TARGET := +endif + +# Sanity check user supplied values +$(foreach MANDATORY_VAR, $(DMBS_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) +$(call ERROR_IF_EMPTY, AVRDUDE_MCU) +$(call ERROR_IF_EMPTY, TARGET) +$(call ERROR_IF_EMPTY, AVRDUDE_PROGRAMMER) +$(call ERROR_IF_EMPTY, AVRDUDE_PORT) + +# Output Messages +MSG_AVRDUDE_CMD := ' [AVRDUDE] :' + +# Construct base avrdude command flags +BASE_AVRDUDE_FLAGS := -p $(AVRDUDE_MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER) +ifneq ($(AVRDUDE_BAUD),) + BASE_AVRDUDE_FLAGS += -b $(AVRDUDE_BAUD) +endif +ifneq ($(AVRDUDE_BITCLK),) + BASE_AVRDUDE_FLAGS += -B $(AVRDUDE_BITCLK) +endif + +# Programs in the target FLASH memory using AVRDUDE +avrdude: $(TARGET).hex $(MAKEFILE_LIST) + @echo $(MSG_AVRDUDE_CMD) Programming device \"$(AVRDUDE_MCU)\" FLASH using \"$(AVRDUDE_PROGRAMMER)\" on port \"$(AVRDUDE_PORT)\" + avrdude $(BASE_AVRDUDE_FLAGS) -U $(AVRDUDE_MEMORY):w:$< $(AVRDUDE_FLAGS) + +# Programs in the target EEPROM memory using AVRDUDE +avrdude-ee: $(TARGET).eep $(MAKEFILE_LIST) + @echo $(MSG_AVRDUDE_CMD) Programming device \"$(AVRDUDE_MCU)\" EEPROM using \"$(AVRDUDE_PROGRAMMER)\" on port \"$(AVRDUDE_PORT)\" + avrdude $(BASE_AVRDUDE_FLAGS) -U eeprom:w:$< $(AVRDUDE_FLAGS) + +# Programs in the target fuses using AVRDUDE +avrdude-lfuse: $(MAKEFILE_LIST) + @echo $(MSG_AVRDUDE_CMD) Programming device \"$(AVRDUDE_MCU)\" low fuse using \"$(AVRDUDE_PROGRAMMER)\" on port \"$(AVRDUDE_PORT)\" + $(call ERROR_IF_EMPTY, AVRDUDE_LFUSE) + avrdude $(BASE_AVRDUDE_FLAGS) -Ulfuse:w:$(AVRDUDE_LFUSE):m $(AVRDUDE_FLAGS) + +avrdude-hfuse: $(MAKEFILE_LIST) + @echo $(MSG_AVRDUDE_CMD) Programming device \"$(AVRDUDE_MCU)\" high fuse using \"$(AVRDUDE_PROGRAMMER)\" on port \"$(AVRDUDE_PORT)\" + $(call ERROR_IF_EMPTY, AVRDUDE_HFUSE) + avrdude $(BASE_AVRDUDE_FLAGS) -Uhfuse:w:$(AVRDUDE_HFUSE):m $(AVRDUDE_FLAGS) + +avrdude-efuse: $(MAKEFILE_LIST) + @echo $(MSG_AVRDUDE_CMD) Programming device \"$(AVRDUDE_MCU)\" extended fuse using \"$(AVRDUDE_PROGRAMMER)\" on port \"$(AVRDUDE_PORT)\" + $(call ERROR_IF_EMPTY, AVRDUDE_EFUSE) + avrdude $(BASE_AVRDUDE_FLAGS) -Uefuse:w:$(AVRDUDE_EFUSE):m $(AVRDUDE_FLAGS) + +avrdude-lock: $(MAKEFILE_LIST) + @echo $(MSG_AVRDUDE_CMD) Programming device \"$(AVRDUDE_MCU)\" lock bits using \"$(AVRDUDE_PROGRAMMER)\" on port \"$(AVRDUDE_PORT)\" + $(call ERROR_IF_EMPTY, AVRDUDE_LOCK) + avrdude $(BASE_AVRDUDE_FLAGS) -Ulock:w:$(AVRDUDE_LOCK):m $(AVRDUDE_FLAGS) + +avrdude-fuses: avrdude-lfuse avrdude-hfuse $(AVRDUDE_EFUSE_TARGET) avrdude-lock + +avrdude-all: avrdude avrdude-fuses + +avrdude-all-ee: avrdude avrdude-ee avrdude-fuses + +# Phony build targets for this module +.PHONY: $(DMBS_BUILD_TARGETS) diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/core.md b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/core.md new file mode 100644 index 0000000..406abfe --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/core.md @@ -0,0 +1,136 @@ +DMBS - Dean's Makefile Build System +=================================== + + +Module: CORE +------------ + +The CORE module provides the core DMBS infrastructure used by other DMBS +modules, and must always be imported. Additionally, this module provides the +help system for DMBS. + +## Importing This Module into a Makefile: + +To use this module in your application makefile, add the following code to your +makefile: + + include $(DMBS_PATH)/core.mk + +## Prerequisites: + +None. + +## Build Targets: + +The following targets are supported by this module: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
helpShow help for the current project, including a list of all available targets, variables and macros from the imported modules.
list_targetsShow a list of all build targets from the imported modules.
list_modulesShow a list of all imported modules.
list_mandatoryShow a list of all mandatory variables from the imported modules.
list_optionalShow a list of all optional variables from the imported modules.
list_providedShow a list of all variables provided by the imported modules.
list_macrosShow a list of all macros provided by the imported modules.
+ +## Mandatory Variables: + +The following variables must be defined (with a `NAME = VALUE` syntax, one +variable per line) in the user makefile to be able to use this module: + + + + + + + + +
N/AThis module has no mandatory variables.
+ +## Optional Variables: + +The following variables may be defined (with a `NAME = VALUE` syntax, one +variable per line) in the user makefile. If not specified, a default value will +be assumed. + + + + + + + + +
N/AThis module has no optional variables.
+ +## Provided Variables: + +The following variables may be referenced in a user makefile (via `$(NAME)` +syntax) if desired, as they are provided by this module. + + + + + + + + +
DMBS_VERSIONCurrent version of this DMBS release, as a ISO 8601 integer (such as `20160403` for `2016-04-03`).
+ +## Provided Macros: + +The following macros may be referenced in a user makefile (via +`$(call NAME, ARG1, ARG2, ...)` syntax) if desired, as they are provided by +this module. + + + + + + + + + + + + + + + + + + + + +
DMBS_CHECK_VERSIONMacro to check the current DMBS version against the first argument and abort if the required version is newer than the current version.
ERROR_IF_UNSETMacro to check the given makefile variable name passed as the first argument, and abort if it has not been set by any makefile module.
ERROR_IF_EMPTYMacro to check the given makefile variable name passed as the first argument, and abort if it has an empty value.
ERROR_IF_NONBOOLMacro to check the given makefile variable name passed as the first argument, and abort if it has a value other than `Y` or `N`.
+ +## Module Changelog: + +The changes to this module since its initial release are listed below, as of the +DMBS version where the change was made. + +### 20160403 +Initial release. diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_core.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/core.mk similarity index 55% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_core.mk rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/core.mk index 7d97466..c9d6e21 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_core.mk +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/core.mk @@ -1,86 +1,61 @@ +# Include Guard +ifeq ($(filter CORE, $(DMBS_BUILD_MODULES)),) + # -# LUFA Library -# Copyright (C) Dean Camera, 2014. +# DMBS Build System +# Released into the public domain. # # dean [at] fourwalledcubicle [dot] com -# www.lufa-lib.org +# www.fourwalledcubicle.com # -LUFA_BUILD_MODULES += CORE -LUFA_BUILD_TARGETS += help list_targets list_modules list_mandatory list_optional list_provided list_macros -LUFA_BUILD_MANDATORY_VARS += -LUFA_BUILD_OPTIONAL_VARS += -LUFA_BUILD_PROVIDED_VARS += -LUFA_BUILD_PROVIDED_MACROS += - -# ----------------------------------------------------------------------------- -# LUFA Core Build System Makefile Module. -# ----------------------------------------------------------------------------- -# DESCRIPTION: -# Provides a set of core build targets for the LUFA build system -# ----------------------------------------------------------------------------- -# TARGETS: -# -# help - Build system help -# list_targets - List all build targets -# list_modules - List all build modules -# list_mandatory - List all mandatory make variables required by -# the included build modules of the application -# list_optional - List all optional make variables required by -# the included build modules of the application -# list_provided - List all provided make variables from the -# included build modules of the application -# list_macros - List all provided make macros from the -# included build modules of the application -# -# MANDATORY PARAMETERS: -# -# (None) -# -# OPTIONAL PARAMETERS: -# -# (None) -# -# PROVIDED VARIABLES: -# -# (None) -# -# PROVIDED MACROS: -# -# (None) -# -# ----------------------------------------------------------------------------- +DMBS_BUILD_MODULES += CORE +DMBS_BUILD_TARGETS += help list_targets list_modules list_mandatory list_optional list_provided list_macros +DMBS_BUILD_MANDATORY_VARS += +DMBS_BUILD_OPTIONAL_VARS += +DMBS_BUILD_PROVIDED_VARS += DMBS_VERSION +DMBS_BUILD_PROVIDED_MACROS += DMBS_CHECK_VERSION ERROR_IF_UNSET ERROR_IF_EMPTY ERROR_IF_NONBOOL SHELL = /bin/sh +# Current DMBS release version +DMBS_VERSION := 20200719 + +# Macro to check the DMBS version, aborts if the given DMBS version is below the current version +DMBS_CHECK_VERSION ?= $(if $(filter-out 0, $(shell test $(DMBS_VERSION) -lt $(1); echo $$?)), , $(error DMBS version $(1) or newer required, current version is $(DMBS_VERSION))) + +# Macros to use in other modules to check various conditions +ERROR_IF_UNSET ?= $(if $(filter undefined, $(origin $(strip $(1)))), $(error Makefile $(strip $(1)) value not set)) +ERROR_IF_EMPTY ?= $(if $(strip $($(strip $(1)))), , $(error Makefile $(strip $(1)) option cannot be blank)) +ERROR_IF_NONBOOL ?= $(if $(filter Y N, $($(strip $(1)))), , $(error Makefile $(strip $(1)) option must be Y or N)) + # Converts a given input to a printable output using "(None)" if no items are in the list CONVERT_TO_PRINTABLE = $(if $(strip $(1)), $(1), (None)) - # Build sorted and filtered lists of the included build module data -SORTED_LUFA_BUILD_MODULES = $(sort $(LUFA_BUILD_MODULES)) -SORTED_LUFA_BUILD_TARGETS = $(sort $(LUFA_BUILD_TARGETS)) -SORTED_LUFA_MANDATORY_VARS = $(sort $(LUFA_BUILD_MANDATORY_VARS)) -SORTED_LUFA_OPTIONAL_VARS = $(filter-out $(SORTED_LUFA_MANDATORY_VARS), $(sort $(LUFA_BUILD_OPTIONAL_VARS))) -SORTED_LUFA_PROVIDED_VARS = $(sort $(LUFA_BUILD_PROVIDED_VARS)) -SORTED_LUFA_PROVIDED_MACROS = $(sort $(LUFA_BUILD_PROVIDED_MACROS)) +SORTED_DMBS_BUILD_MODULES = $(sort $(DMBS_BUILD_MODULES)) +SORTED_DMBS_BUILD_TARGETS = $(sort $(DMBS_BUILD_TARGETS)) +SORTED_DMBS_MANDATORY_VARS = $(sort $(DMBS_BUILD_MANDATORY_VARS)) +SORTED_DMBS_OPTIONAL_VARS = $(filter-out $(SORTED_DMBS_MANDATORY_VARS), $(sort $(DMBS_BUILD_OPTIONAL_VARS))) +SORTED_DMBS_PROVIDED_VARS = $(sort $(DMBS_BUILD_PROVIDED_VARS)) +SORTED_DMBS_PROVIDED_MACROS = $(sort $(DMBS_BUILD_PROVIDED_MACROS)) # Create printable versions of the sorted build module data (use "(None)" when no data is available) -PRINTABLE_LUFA_BUILD_MODULES = $(call CONVERT_TO_PRINTABLE, $(SORTED_LUFA_BUILD_MODULES)) -PRINTABLE_LUFA_BUILD_TARGETS = $(call CONVERT_TO_PRINTABLE, $(SORTED_LUFA_BUILD_TARGETS)) -PRINTABLE_LUFA_MANDATORY_VARS = $(call CONVERT_TO_PRINTABLE, $(SORTED_LUFA_MANDATORY_VARS)) -PRINTABLE_LUFA_OPTIONAL_VARS = $(call CONVERT_TO_PRINTABLE, $(SORTED_LUFA_OPTIONAL_VARS)) -PRINTABLE_LUFA_PROVIDED_VARS = $(call CONVERT_TO_PRINTABLE, $(SORTED_LUFA_PROVIDED_VARS)) -PRINTABLE_LUFA_PROVIDED_MACROS = $(call CONVERT_TO_PRINTABLE, $(SORTED_LUFA_PROVIDED_MACROS)) +PRINTABLE_DMBS_BUILD_MODULES = $(call CONVERT_TO_PRINTABLE, $(SORTED_DMBS_BUILD_MODULES)) +PRINTABLE_DMBS_BUILD_TARGETS = $(call CONVERT_TO_PRINTABLE, $(SORTED_DMBS_BUILD_TARGETS)) +PRINTABLE_DMBS_MANDATORY_VARS = $(call CONVERT_TO_PRINTABLE, $(SORTED_DMBS_MANDATORY_VARS)) +PRINTABLE_DMBS_OPTIONAL_VARS = $(call CONVERT_TO_PRINTABLE, $(SORTED_DMBS_OPTIONAL_VARS)) +PRINTABLE_DMBS_PROVIDED_VARS = $(call CONVERT_TO_PRINTABLE, $(SORTED_DMBS_PROVIDED_VARS)) +PRINTABLE_DMBS_PROVIDED_MACROS = $(call CONVERT_TO_PRINTABLE, $(SORTED_DMBS_PROVIDED_MACROS)) help: @echo "===================================================================" - @echo " LUFA Build System 2.0 " - @echo " (C) Dean Camera, 2014 { dean @ fourwalledcubicle . com } " + @echo " The DMBS Build System " + @echo " By Dean Camera { dean @ fourwalledcubicle . com } " @echo "===================================================================" @echo "DESCRIPTION: " @echo " This build system is a set of makefile modules for (GNU) Make, to " - @echo " provide a simple system for building LUFA powered applications. " + @echo " provide a simple system for building DMBS powered applications. " @echo " Each makefile module can be included from within a user makefile, " @echo " to expose the build rules documented in the comments at the top of" @echo " each build module. " @@ -95,74 +70,74 @@ help: @echo " well as the actual invoked command. To suppress the output of the " @echo " invoked commands and show only the friendly command output, run " @echo " make with the \"-s\" switch added before the target(s). " - @echo " " - @echo "SEE ALSO: " - @echo " For more information, see the 'Build System' chapter of the LUFA " - @echo " project documentation. " @echo "===================================================================" @echo " " @echo " Currently used build system modules in this application: " @echo " " - @printf " %b" "$(PRINTABLE_LUFA_BUILD_MODULES:%= - %\n)" + @printf " %b" "$(PRINTABLE_DMBS_BUILD_MODULES:%= - %\n)" @echo " " @echo " " @echo " Currently available build targets in this application: " @echo " " - @printf " %b" "$(PRINTABLE_LUFA_BUILD_TARGETS:%= - %\n)" + @printf " %b" "$(PRINTABLE_DMBS_BUILD_TARGETS:%= - %\n)" @echo " " @echo " " @echo " Mandatory variables required by the selected build Modules: " @echo " " - @printf " %b" "$(PRINTABLE_LUFA_MANDATORY_VARS:%= - %\n)" + @printf " %b" "$(PRINTABLE_DMBS_MANDATORY_VARS:%= - %\n)" @echo " " @echo " " @echo " Optional variables required by the selected build Modules: " @echo " " - @printf " %b" "$(PRINTABLE_LUFA_OPTIONAL_VARS:%= - %\n)" + @printf " %b" "$(PRINTABLE_DMBS_OPTIONAL_VARS:%= - %\n)" @echo " " @echo " " @echo " Variables provided by the selected build Modules: " @echo " " - @printf " %b" "$(PRINTABLE_LUFA_PROVIDED_VARS:%= - %\n)" + @printf " %b" "$(PRINTABLE_DMBS_PROVIDED_VARS:%= - %\n)" @echo " " @echo " " @echo " Macros provided by the selected build Modules: " @echo " " - @printf " %b" "$(PRINTABLE_LUFA_PROVIDED_MACROS:%= - %\n)" + @printf " %b" "$(PRINTABLE_DMBS_PROVIDED_MACROS:%= - %\n)" @echo " " @echo "===================================================================" - @echo " The LUFA BuildSystem 2.0 - Powered By Positive Thinking (tm) " + @echo " The DMBS Build System $(DMBS_VERSION) - Making MAKE easier." @echo "===================================================================" # Lists build modules included by the project makefile, in alphabetical order list_modules: @echo Currently Used Build System Modules: - @printf " %b" "$(PRINTABLE_LUFA_BUILD_MODULES:%= - %\n)" + @printf " %b" "$(PRINTABLE_DMBS_BUILD_MODULES:%= - %\n)" # Lists build targets included by the project makefile, in alphabetical order list_targets: @echo Currently Available Build Targets: - @printf " %b" "$(PRINTABLE_LUFA_BUILD_TARGETS:%= - %\n)" + @printf " %b" "$(PRINTABLE_DMBS_BUILD_TARGETS:%= - %\n)" # Lists mandatory variables that must be set by the project makefile, in alphabetical order list_mandatory: @echo Mandatory Variables for Included Modules: - @printf " %b" "$(PRINTABLE_LUFA_MANDATORY_VARS:%= - %\n)" + @printf " %b" "$(PRINTABLE_DMBS_MANDATORY_VARS:%= - %\n)" # Lists optional variables that must be set by the project makefile, in alphabetical order list_optional: @echo Optional Variables for Included Modules: - @printf " %b" "$(PRINTABLE_LUFA_OPTIONAL_VARS:%= - %\n)" + @printf " %b" "$(PRINTABLE_DMBS_OPTIONAL_VARS:%= - %\n)" # Lists variables provided by the included build modules, in alphabetical order list_provided: @echo Variables Provided by the Included Modules: - @printf " %b" "$(PRINTABLE_LUFA_PROVIDED_VARS:%= - %\n)" + @printf " %b" "$(PRINTABLE_DMBS_PROVIDED_VARS:%= - %\n)" # Lists macros provided by the included build modules, in alphabetical order list_macros: @echo Macros Provided by the Included Modules: - @printf " %b" "$(PRINTABLE_LUFA_PROVIDED_MACROS:%= - %\n)" + @printf " %b" "$(PRINTABLE_DMBS_PROVIDED_MACROS:%= - %\n)" + +# Debugging; "make print-VARNAME" will output the variable VARNAME's value +print-%: + @printf "%s = %s" $(@:print-%=%) $($(@:print-%=%)) # Disable default in-built make rules (those that are needed are explicitly # defined, and doing so has performance benefits when recursively building) @@ -172,4 +147,6 @@ endif .SUFFIXES: # Phony build targets for this module -.PHONY: help list_modules list_targets list_mandatory list_optional list_provided list_macros +.PHONY: $(DMBS_BUILD_TARGETS) + +endif diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/cppcheck.md b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/cppcheck.md new file mode 100644 index 0000000..ec0e38d --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/cppcheck.md @@ -0,0 +1,134 @@ +DMBS - Dean's Makefile Build System +=================================== + + +Module: CPPCHECK +----------------- + +The CPPCHECK module provides build targets to perform static analysis of the +user application, using the open source `cppcheck` tool. + +## Importing This Module into a Makefile: + +To use this module in your application makefile, add the following code to your +makefile: + + include $(DMBS_PATH)/cppcheck.mk + +## Prerequisites: + +This module requires the `cppcheck` utility to be available in your system's +`PATH` variable. The `cppcheck` utility is distributed on the project's +[official site](http://cppcheck.sourceforge.net/) but is also +made available in many *nix operating system's package managers. + +## Build Targets: + +The following targets are supported by this module: + + + + + + + + + + + + +
cppcheckScan the project with CPPCHECK, and show all discovered issues.
cppcheck-configCheck the project with CPPCHECK, to find missing header paths.
+ +## Mandatory Variables: + +The following variables must be defined (with a `NAME = VALUE` syntax, one +variable per line) in the user makefile to be able to use this module: + + + + + + + + +
SRCList of all project source files to scan.
+ +## Optional Variables: + +The following variables may be defined (with a `NAME = VALUE` syntax, one +variable per line) in the user makefile. If not specified, a default value will +be assumed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CPPCHECK_INCLUDESExtra include paths to search, for any missing header files. Default is empty (no additional paths).
CPPCHECK_EXCLUDESList of source files, file paths or path fragments to exclude from the scan. Default is empty (no exclusions).
CPPCHECK_MSG_TEMPLATETemplate for error and warning message output. Default is `{file}:{line}: {severity} ({id}): {message}`.
CPPCHECK_ENABLEList of CPPCHECK checks to enable. Default is `all`.
CPPCHECK_SUPPRESSList of CPPCHECK checks to ignore. Default is `variableScope missingInclude`.
CPPCHECK_FAIL_ON_WARNINGBoolean, if `Y` the build will fail if CPPCHECK discovers any errors or warnings. If `N`, fail only on errors. Default is `Y`.
CPPCHECK_QUIETBoolean, if `Y` CPPCHECK will suppress all output except for discovered errors or warnings. If `N`, scan progress will be emitted. Default is `Y`.
CPPCHECK_FLAGS_Additional flags to pass to CPPCHECK when scans are started. Default is empty (no additional flags).
+ +## Provided Variables: + +The following variables may be referenced in a user makefile (via `$(NAME)` +syntax) if desired, as they are provided by this module. + + + + + + + + +
N/AThis module provides no variables.
+ +## Provided Macros: + +The following macros may be referenced in a user makefile (via +`$(call NAME, ARG1, ARG2, ...)` syntax) if desired, as they are provided by +this module. + + + + + + + + +
N/AThis module provides no macros.
+ +## Module Changelog: + +The changes to this module since its initial release are listed below, as of the +DMBS version where the change was made. + +### 20160403 +Initial release. diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/cppcheck.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/cppcheck.mk new file mode 100644 index 0000000..0c40413 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/cppcheck.mk @@ -0,0 +1,64 @@ +# +# DMBS Build System +# Released into the public domain. +# +# dean [at] fourwalledcubicle [dot] com +# www.fourwalledcubicle.com +# + +DMBS_BUILD_MODULES += CPPCHECK +DMBS_BUILD_TARGETS += cppcheck cppcheck-config +DMBS_BUILD_MANDATORY_VARS += SRC +DMBS_BUILD_OPTIONAL_VARS += CPPCHECK_INCLUDES CPPCHECK_EXCLUDES CPPCHECK_MSG_TEMPLATE CPPCHECK_ENABLE \ + CPPCHECK_SUPPRESS CPPCHECK_FAIL_ON_WARNING CPPCHECK_QUIET CPPCHECK_FLAGS +DMBS_BUILD_PROVIDED_VARS += +DMBS_BUILD_PROVIDED_MACROS += + +# Import the CORE module of DMBS +DMBS_MODULE_PATH := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) +include $(DMBS_MODULE_PATH)/core.mk + +# Default values of optionally user-supplied variables +CPPCHECK_INCLUDES ?= +CPPCHECK_EXCLUDES ?= +CPPCHECK_MSG_TEMPLATE ?= {file}:{line}: {severity} ({id}): {message} +CPPCHECK_ENABLE ?= all +CPPCHECK_SUPPRESS ?= variableScope missingInclude +CPPCHECK_FAIL_ON_WARNING ?= Y +CPPCHECK_QUIET ?= Y +CPPCHECK_FLAGS ?= + +# Sanity check user supplied values +$(foreach MANDATORY_VAR, $(DMBS_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) +$(call ERROR_IF_EMPTY, SRC) +$(call ERROR_IF_EMPTY, CPPCHECK_MSG_TEMPLATE) +$(call ERROR_IF_EMPTY, CPPCHECK_ENABLE) +$(call ERROR_IF_NONBOOL, CPPCHECK_FAIL_ON_WARNING) +$(call ERROR_IF_NONBOOL, CPPCHECK_QUIET) + +# Build a default argument list for cppcheck +BASE_CPPCHECK_FLAGS := --template="$(CPPCHECK_MSG_TEMPLATE)" $(CPPCHECK_INCLUDES:%=-I%) $(CPPCHECK_EXCLUDES:%=-i%) --inline-suppr --force --std=c99 + +# Sanity check parameters and construct additional command line arguments to cppcheck +ifeq ($(CPPCHECK_FAIL_ON_WARNING), Y) + BASE_CPPCHECK_FLAGS += --error-exitcode=1 +endif +ifeq ($(CPPCHECK_QUIET), Y) + BASE_CPPCHECK_FLAGS += --quiet +endif + +# Output Messages +MSG_CPPCHECK_CMD := ' [CPPCHECK]:' + +# Checks the CPPCheck configuration as used in the user project, to determine if any paths are missing or invalid +cppcheck-config: $(MAKEFILE_LIST) + @echo $(MSG_CPPCHECK_CMD) Checking cppcheck configuration check on source files + cppcheck $(BASE_CPPCHECK_FLAGS) --check-config $(CPPCHECK_FLAGS) $(SRC) + +# Runs a static analysis using CPPCheck to determine if there are any issues +cppcheck: $(MAKEFILE_LIST) + @echo $(MSG_CPPCHECK_CMD) Performing static analysis on source files + cppcheck $(BASE_CPPCHECK_FLAGS) --enable=$(CPPCHECK_ENABLE) $(CPPCHECK_SUPPRESS:%=--suppress=%) $(CPPCHECK_FLAGS) $(SRC) + +# Phony build targets for this module +.PHONY: $(DMBS_BUILD_TARGETS) diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/dfu.md b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/dfu.md new file mode 100644 index 0000000..456bbf6 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/dfu.md @@ -0,0 +1,122 @@ +DMBS - Dean's Makefile Build System +=================================== + + +Module: DFU +----------------- + +The DFU module provides build targets to program a USB connected target running +a DFU class bootloader, via the official Atmel FLIP utility running via the +command line, or the open source `DFU-Programmer` tool. + +## Importing This Module into a Makefile: + +To use this module in your application makefile, add the following code to your +makefile: + + include $(DMBS_PATH)/dfu.mk + +## Prerequisites: + +This module requires the `batchisp` utility to be available in your system's +`PATH` variable. The `batchisp` utility is distributed as part of Atmel's FLIP +software which can be downloaded from the [official site](http://www.atmel.com). + +This module requires the `dfu-programmer` utility to be available in your +system's `PATH` variable. The `dfu-programmer` utility is distributed from the +[official project site](https://dfu-programmer.github.io/). + +## Build Targets: + +The following targets are supported by this module: + + + + + + + + + + + + + + + + + + + + +
flipProgram the application into the device's flash memory, using Atmel FLIP.
flip-eeProgram the application's EEPROM data into the device's EEPROM memory, using Atmel FLIP.
dfuProgram the application into the device's flash memory, using `dfu-programmer`.
dfu-eeProgram the application's EEPROM data into the device's EEPROM memory, using `dfu-programmer`.
+ +## Mandatory Variables: + +The following variables must be defined (with a `NAME = VALUE` syntax, one +variable per line) in the user makefile to be able to use this module: + + + + + + + + + + + + +
MCUName of the Atmel processor model (e.g. `at90usb1287`).
TARGETName of the application output file prefix (e.g. `TestApplication`).
+ +## Optional Variables: + +The following variables may be defined (with a `NAME = VALUE` syntax, one +variable per line) in the user makefile. If not specified, a default value will +be assumed. + + + + + + + + +
N/AThis module has no optional variables.
+ +## Provided Variables: + +The following variables may be referenced in a user makefile (via `$(NAME)` +syntax) if desired, as they are provided by this module. + + + + + + + + +
N/AThis module provides no variables.
+ +## Provided Macros: + +The following macros may be referenced in a user makefile (via +`$(call NAME, ARG1, ARG2, ...)` syntax) if desired, as they are provided by +this module. + + + + + + + + +
N/AThis module provides no macros.
+ +## Module Changelog: + +The changes to this module since its initial release are listed below, as of the +DMBS version where the change was made. + +### 20160403 +Initial release. diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/dfu.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/dfu.mk new file mode 100644 index 0000000..ce214ef --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/dfu.mk @@ -0,0 +1,60 @@ +# +# DMBS Build System +# Released into the public domain. +# +# dean [at] fourwalledcubicle [dot] com +# www.fourwalledcubicle.com +# + +DMBS_BUILD_MODULES += DFU +DMBS_BUILD_TARGETS += flip flip-ee dfu dfu-ee +DMBS_BUILD_MANDATORY_VARS += MCU TARGET +DMBS_BUILD_OPTIONAL_VARS += +DMBS_BUILD_PROVIDED_VARS += +DMBS_BUILD_PROVIDED_MACROS += + +# Import the CORE module of DMBS +DMBS_MODULE_PATH := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) +include $(DMBS_MODULE_PATH)/core.mk + +# Sanity-check values of mandatory user-supplied variables +$(foreach MANDATORY_VAR, $(DMBS_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) +$(call ERROR_IF_EMPTY, MCU) +$(call ERROR_IF_EMPTY, TARGET) + +# Output Messages +MSG_COPY_CMD := ' [CP] :' +MSG_REMOVE_CMD := ' [RM] :' +MSG_DFU_CMD := ' [DFU] :' + +# Programs in the target FLASH memory using BATCHISP, the command line tool used by FLIP +flip: $(TARGET).hex $(MAKEFILE_LIST) + @echo $(MSG_DFU_CMD) Programming FLASH with batchisp using \"$<\" + batchisp -hardware usb -device $(MCU) -operation erase f loadbuffer $< program + batchisp -hardware usb -device $(MCU) -operation start reset 0 + +# Programs in the target EEPROM memory using BATCHISP, the command line tool used by FLIP +flip-ee: $(TARGET).eep $(MAKEFILE_LIST) + @echo $(MSG_COPY_CMD) Copying EEP file to temporary file \"$<.hex\" + cp $< $<.hex + @echo $(MSG_DFU_CMD) Programming EEPROM with batchisp using \"$<.hex\" + batchisp -hardware usb -device $(MCU) -operation memory EEPROM loadbuffer $<.hex program + batchisp -hardware usb -device $(MCU) -operation start reset 0 + @echo $(MSG_REMOVE_CMD) Removing temporary file \"$<.hex\" + rm $<.hex + +# Programs in the target FLASH memory using DFU-PROGRAMMER +dfu: $(TARGET).hex $(MAKEFILE_LIST) + @echo $(MSG_DFU_CMD) Programming FLASH with dfu-programmer using \"$<\" + dfu-programmer $(MCU) erase + dfu-programmer $(MCU) flash $< + dfu-programmer $(MCU) reset + +# Programs in the target EEPROM memory using DFU-PROGRAMMER +dfu-ee: $(TARGET).eep $(MAKEFILE_LIST) + @echo $(MSG_DFU_CMD) Programming EEPROM with dfu-programmer using \"$<\" + dfu-programmer $(MCU) flash --eeprom $< + dfu-programmer $(MCU) reset + +# Phony build targets for this module +.PHONY: $(DMBS_BUILD_TARGETS) diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/doxygen.md b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/doxygen.md new file mode 100644 index 0000000..837704a --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/doxygen.md @@ -0,0 +1,118 @@ +DMBS - Dean's Makefile Build System +=================================== + + +Module: DOXYGEN +----------------- + +The DOXYGEN module provides build targets to automatically generate API +documentation for a project, using the open-source Doxygen tool. + +## Importing This Module into a Makefile: + +To use this module in your application makefile, add the following code to your +makefile: + + include $(DMBS_PATH)/doxygen.mk + +## Prerequisites: + +This module requires the `doxygen` utility to be available in your system's +`PATH` variable. The `doxygen` utility is distributed on the project's +[official site](http://doxygen.org/) but is also +made available in many *nix operating system's package managers. + +## Build Targets: + +The following targets are supported by this module: + + + + + + + + + + + + + + + + +
doxygenGenerate project documentation, via Doxygen.
doxygen-createCreate a new project Doxygen template, which can then be customized.
doxygen-upgradeUpgrade an existing project Doxygen template to the latest Doxygen version.
+ +## Mandatory Variables: + +The following variables must be defined (with a `NAME = VALUE` syntax, one +variable per line) in the user makefile to be able to use this module: + + + + + + + + +
N/AThis module has no mandatory variables.
+ +## Optional Variables: + +The following variables may be defined (with a `NAME = VALUE` syntax, one +variable per line) in the user makefile. If not specified, a default value will +be assumed. + + + + + + + + + + + + + + + + +
DOXYGEN_CONFName of the Doxygen project configuration file that should be used when generating documentation, or creating/upgrading the configuration file.
DOXYGEN_FAIL_ON_WARNINGBoolean, if `Y` the build will fail if Doxygen encounters any errors or warnings. If `N`, fail only on errors. Default is `Y`.
DOXYGEN_OVERRIDE_PARAMSList of `NAME=VALUE` parameters which should override the values specified in the project configuration file, when building documentation.
+ +## Provided Variables: + +The following variables may be referenced in a user makefile (via `$(NAME)` +syntax) if desired, as they are provided by this module. + + + + + + + + +
N/AThis module provides no variables.
+ +## Provided Macros: + +The following macros may be referenced in a user makefile (via +`$(call NAME, ARG1, ARG2, ...)` syntax) if desired, as they are provided by +this module. + + + + + + + + +
N/AThis module provides no macros.
+ +## Module Changelog: + +The changes to this module since its initial release are listed below, as of the +DMBS version where the change was made. + +### 20160403 +Initial release. diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/doxygen.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/doxygen.mk new file mode 100644 index 0000000..f37f215 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/doxygen.mk @@ -0,0 +1,58 @@ +# +# DMBS Build System +# Released into the public domain. +# +# dean [at] fourwalledcubicle [dot] com +# www.fourwalledcubicle.com +# + +DMBS_BUILD_MODULES += DOXYGEN +DMBS_BUILD_TARGETS += doxygen doxygen-upgrade doxygen-create +DMBS_BUILD_MANDATORY_VARS += +DMBS_BUILD_OPTIONAL_VARS += DOXYGEN_CONF DOXYGEN_FAIL_ON_WARNING DOXYGEN_OVERRIDE_PARAMS +DMBS_BUILD_PROVIDED_VARS += +DMBS_BUILD_PROVIDED_MACROS += + +# Import the CORE module of DMBS +DMBS_MODULE_PATH := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) +include $(DMBS_MODULE_PATH)/core.mk + +# Default values of optionally user-supplied variables +DOXYGEN_CONF ?= doxyfile +DOXYGEN_FAIL_ON_WARNING ?= Y +DOXYGEN_OVERRIDE_PARAMS ?= QUIET=YES + +# Sanity check user supplied values +$(foreach MANDATORY_VAR, $(DMBS_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) +$(call ERROR_IF_EMPTY, DOXYGEN_CONF) +$(call ERROR_IF_NONBOOL, DOXYGEN_FAIL_ON_WARNING) + +# Output Messages +MSG_DOXYGEN_CMD := ' [DOXYGEN] :' + +# Determine Doxygen invocation command +BASE_DOXYGEN_CMD := ( cat $(DOXYGEN_CONF) $(DOXYGEN_OVERRIDE_PARAMS:%=; echo "%") ) | doxygen - +ifeq ($(DOXYGEN_FAIL_ON_WARNING), Y) + DOXYGEN_CMD := if ( $(BASE_DOXYGEN_CMD) 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then exit 1; fi; +else + DOXYGEN_CMD := $(BASE_DOXYGEN_CMD) +endif + +# Error if the specified Doxygen configuration file does not exist +$(DOXYGEN_CONF): + $(error Doxygen configuration file $@ does not exist) + +# Builds the project documentation using the specified configuration file and the DOXYGEN tool +doxygen: $(DOXYGEN_CONF) $(MAKEFILE_LIST) + @echo $(MSG_DOXYGEN_CMD) Configuration file \"$(DOXYGEN_CONF)\" with parameters \"$(DOXYGEN_OVERRIDE_PARAMS)\" + $(DOXYGEN_CMD) + +# Upgrades an existing Doxygen configuration file to the latest Doxygen template, preserving settings +doxygen-upgrade: $(DOXYGEN_CONF) $(MAKEFILE_LIST) + @echo $(MSG_DOXYGEN_CMD) Upgrading configuration file \"$(DOXYGEN_CONF)\" with latest template + doxygen -u $(DOXYGEN_CONF) > /dev/null + +# Creates a new Doxygen configuration file with the set file name +doxygen-create: $(MAKEFILE_LIST) + @echo $(MSG_DOXYGEN_CMD) Creating new configuration file \"$(DOXYGEN_CONF)\" with latest template + doxygen -g $(DOXYGEN_CONF) > /dev/null diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/gcc.md b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/gcc.md new file mode 100644 index 0000000..760de24 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/gcc.md @@ -0,0 +1,224 @@ +DMBS - Dean's Makefile Build System +=================================== + + +Module: GCC +----------------- + +The GCC module provides build targets to compile a user application, using a +variant of GCC for a specific target architecture (such as `avr-gcc`). + +## Importing This Module into a Makefile: + +To use this module in your application makefile, add the following code to your +makefile: + + include $(DMBS_PATH)/gcc.mk + +## Prerequisites: + +This module requires the GCC compiler to be installed and available in the +system's `PATH` variable for the desired target architecture. + +## Build Targets: + +The following targets are supported by this module: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
sizeShow the compiled binary size for the various memory segments.
symbol-sizesShow the size of each symbol in the compiled binary (useful to find large functions to optimize further).
allBuild application and generate all binary (BIN, ELF, HEX) and auxiliary (LSS, MAP, SYM, etc.) output files.
libGenerate a static `.a` library from the application code, containing the flash region's data.
elfGenerate an ELF debug file from the application code, containing all region's data.
binGenerate a flat BIN binary file from the application code, containing the flash region's data.
hexGenerate a pair of Intel HEX files from the application code, containing the flash region's data (HEX) and EEPROM data (EEP).
lssGenerate a LSS listing file showing the disassembly of the compiled application.
cleanRemove all generated project intermediary and binary output files.
mostlycleanRemove all generated project intermediary output files, but preserve the binary output files.
+ +## Mandatory Variables: + +The following variables must be defined (with a `NAME = VALUE` syntax, one +variable per line) in the user makefile to be able to use this module: + + + + + + + + + + + + + + + + + + + + +
MCUName of the Atmel processor model (e.g. `at90usb1287`).
TARGETName of the application output file prefix (e.g. `TestApplication`).
ARCHTarget device architecture (e.g. `AVR8`).
SRCList of all project source files (C, C++, ASM).
+ +## Optional Variables: + +The following variables may be defined (with a `NAME = VALUE` syntax, one +variable per line) in the user makefile. If not specified, a default value will +be assumed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
COMPILER_PATHPath to the compiler to use, in case a specific compiler should be substituted for the one in the system's `PATH` variable. Default is blank (use `PATH` provided compiler).
OPTIMIZATIONOptimization level to use when compiling C and C++ source files. Default is `s` (optimize for smallest size).
C_STANDARDC language standard used when compiling C language source files. Default is `gnu99` (C99 standard with GNU extensions)./td> +
CPP_STANDARDC++ language standard used when compiling C++ language source files. Default is `gnu++11` (C++11 standard with GNU extensions)./td> +
F_CPUProcessor core clock frequency, in Hz. This is used by some architectures for functions such as software spin-loop delays. Default is blank (no value defined).
C_FLAGSCommon GCC flags passed to the compiler for C language (C) input files. Default is blank (no additional flags).
CPP_FLAGSCommon GCC flags passed to the compiler for C++ language (CPP) input files. Default is blank (no additional flags).
ASM_FLAGSCommon GCC flags passed to the assembler for assembly language (S) input files. Default is blank (no additional flags).
CC_FLAGSCommon GCC flags passed to the compiler for all source file types. Default is blank (no additional flags).
LD_FLAGSExtra flags to pass to the GNU linker when linking the compiled object files into the resulting binary. Default is blank (no additional flags).
LINKER_RELAXATIONSBoolean, if `Y` linker relaxations will be enabled to slightly reduce the resulting binary's size. Default is `Y`.
JUMP_TABLESBoolean, if `Y` jump tables will be enabled to slightly reduce the resulting binary's size - note that this can cause incorrect jumps if the binary is relocated after compilation, such as for a bootloader. Default is `N`.
LTOBoolean, if `Y` link time optimization will be enabled to reduce the resulting binary's size. For larger projects you might also want to add `-mcall-prologues` to the `CC_FLAGS`. Default is `N`.
OBJDIRDirectory to store the intermediate object files, as they are generated from the source files. Default is `obj`.
OBJECT_FILESList of additional `.o` object files to link into the final binary. Default is blank (no additional objects).
DEBUG_FORMATDebug ELF file format to generate. Default is `dwarf-2`.
DEBUG_LEVELLevel of the debugging information to generate in the compiled object files. Debug is 2 (medium level debugging information).
+ +## Provided Variables: + +The following variables may be referenced in a user makefile (via `$(NAME)` +syntax) if desired, as they are provided by this module. + + + + + + + + +
N/AThis module provides no variables.
+ +## Provided Macros: + +The following macros may be referenced in a user makefile (via +`$(call NAME, ARG1, ARG2, ...)` syntax) if desired, as they are provided by +this module. + + + + + + + + +
N/AThis module provides no macros.
+ +## Module Changelog: + +The changes to this module since its initial release are listed below, as of the +DMBS version where the change was made. + +### 20180122 +Changed C++ default language standard from gnu++98 to gnu++11. + +### 20171231 +Added `-fpack-struct` for C files only (not C++). +Added `-fno-exceptions` and `-fno-threadsafe-statics` for C++ source files. +Added file-specific compilation flags. +Added `LTO` optional variable. + +### 20170426 +Added `JUMP_TABLES` optional variable. + +### 20160403 +Initial release. diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_build.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/gcc.mk similarity index 60% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_build.mk rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/gcc.mk index b9b144a..24c9b07 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_build.mk +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/gcc.mk @@ -1,120 +1,47 @@ # -# LUFA Library -# Copyright (C) Dean Camera, 2014. +# DMBS Build System +# Released into the public domain. # # dean [at] fourwalledcubicle [dot] com -# www.lufa-lib.org +# www.fourwalledcubicle.com # -LUFA_BUILD_MODULES += BUILD -LUFA_BUILD_TARGETS += size symbol-sizes all lib elf bin hex lss clean mostlyclean -LUFA_BUILD_MANDATORY_VARS += TARGET ARCH MCU SRC F_USB LUFA_PATH -LUFA_BUILD_OPTIONAL_VARS += BOARD OPTIMIZATION C_STANDARD CPP_STANDARD F_CPU C_FLAGS CPP_FLAGS ASM_FLAGS CC_FLAGS LD_FLAGS OBJDIR OBJECT_FILES DEBUG_TYPE DEBUG_LEVEL LINKER_RELAXATIONS COMPILER_PATH -LUFA_BUILD_PROVIDED_VARS += -LUFA_BUILD_PROVIDED_MACROS += - -# ----------------------------------------------------------------------------- -# LUFA GCC Compiler Buildsystem Makefile Module. -# ----------------------------------------------------------------------------- -# DESCRIPTION: -# Provides a set of targets to build a C, C++ and/or Assembly application -# via the AVR-GCC compiler. -# ----------------------------------------------------------------------------- -# TARGETS: -# -# size - List built application size -# symbol-sizes - Print application symbols from the binary ELF -# file as a list sorted by size in bytes -# all - Build application and list size -# lib - Build and archive source files into a library -# elf - Build application ELF debug object file -# bin - Build application BIN binary object file -# hex - Build application HEX object file -# lss - Build application LSS assembly listing file -# clean - Remove all project intermediary and binary -# output files -# mostlyclean - Remove intermediary output files, but -# preserve binaries -# .s - Compile C/C++ source file into an assembly file -# for manual code inspection -# -# MANDATORY PARAMETERS: -# -# TARGET - Application name -# ARCH - Device architecture name -# MCU - Microcontroller device model name -# SRC - List of input source files (*.c, *.cpp, *.S) -# F_USB - Speed of the input clock of the USB controller -# in Hz -# LUFA_PATH - Path to the LUFA library core -# -# OPTIONAL PARAMETERS: -# -# BOARD - LUFA board hardware -# OPTIMIZATION - Optimization level -# C_STANDARD - C Language Standard to use -# CPP_STANDARD - C++ Language Standard to use -# F_CPU - Speed of the CPU, in Hz -# C_FLAGS - Flags to pass to the C compiler only -# CPP_FLAGS - Flags to pass to the C++ compiler only -# ASM_FLAGS - Flags to pass to the assembler only -# CC_FLAGS - Common flags to pass to the C/C++ compiler and -# assembler -# LD_FLAGS - Flags to pass to the linker -# LINKER_RELAXATIONS - Enable or disable linker relaxations to -# decrease binary size (note: can cause link -# failures on systems with an unpatched binutils) -# OBJDIR - Directory for the output object and dependency -# files; if equal to ".", the output files will -# be generated in the same folder as the sources -# OBJECT_FILES - Extra object files to link in to the binaries -# DEBUG_FORMAT - Format of the debugging information to -# generate in the compiled object files -# DEBUG_LEVEL - Level the debugging information to generate in -# the compiled object files -# COMPILER_PATH - Location of the GCC toolchain to use -# -# PROVIDED VARIABLES: -# -# (None) -# -# PROVIDED MACROS: -# -# (None) -# -# ----------------------------------------------------------------------------- +DMBS_BUILD_MODULES += GCC +DMBS_BUILD_TARGETS += size symbol-sizes all lib elf bin hex lss clean mostlyclean +DMBS_BUILD_MANDATORY_VARS += TARGET ARCH MCU SRC +DMBS_BUILD_OPTIONAL_VARS += COMPILER_PATH OPTIMIZATION C_STANDARD CPP_STANDARD F_CPU C_FLAGS +DMBS_BUILD_OPTIONAL_VARS += CPP_FLAGS ASM_FLAGS CC_FLAGS LD_FLAGS OBJDIR OBJECT_FILES DEBUG_TYPE +DMBS_BUILD_OPTIONAL_VARS += DEBUG_LEVEL LINKER_RELAXATIONS JUMP_TABLES LTO +DMBS_BUILD_PROVIDED_VARS += +DMBS_BUILD_PROVIDED_MACROS += -SHELL = /bin/sh - -ERROR_IF_UNSET ?= $(if $(filter undefined, $(origin $(strip $(1)))), $(error Makefile $(strip $(1)) value not set)) -ERROR_IF_EMPTY ?= $(if $(strip $($(strip $(1)))), , $(error Makefile $(strip $(1)) option cannot be blank)) -ERROR_IF_NONBOOL ?= $(if $(filter Y N, $($(strip $(1)))), , $(error Makefile $(strip $(1)) option must be Y or N)) +# Import the CORE module of DMBS +DMBS_MODULE_PATH := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) +include $(DMBS_MODULE_PATH)/core.mk # Default values of optionally user-supplied variables COMPILER_PATH ?= -BOARD ?= NONE OPTIMIZATION ?= s F_CPU ?= C_STANDARD ?= gnu99 -CPP_STANDARD ?= gnu++98 +CPP_STANDARD ?= gnu++11 C_FLAGS ?= CPP_FLAGS ?= ASM_FLAGS ?= CC_FLAGS ?= -OBJDIR ?= . +OBJDIR ?= obj OBJECT_FILES ?= DEBUG_FORMAT ?= dwarf-2 DEBUG_LEVEL ?= 2 LINKER_RELAXATIONS ?= Y +JUMP_TABLES ?= N +LTO ?= N # Sanity check user supplied values -$(foreach MANDATORY_VAR, $(LUFA_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) +$(foreach MANDATORY_VAR, $(DMBS_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) $(call ERROR_IF_EMPTY, MCU) $(call ERROR_IF_EMPTY, TARGET) $(call ERROR_IF_EMPTY, ARCH) -$(call ERROR_IF_EMPTY, F_USB) -$(call ERROR_IF_EMPTY, LUFA_PATH) -$(call ERROR_IF_EMPTY, BOARD) $(call ERROR_IF_EMPTY, OPTIMIZATION) $(call ERROR_IF_EMPTY, C_STANDARD) $(call ERROR_IF_EMPTY, CPP_STANDARD) @@ -122,16 +49,16 @@ $(call ERROR_IF_EMPTY, OBJDIR) $(call ERROR_IF_EMPTY, DEBUG_FORMAT) $(call ERROR_IF_EMPTY, DEBUG_LEVEL) $(call ERROR_IF_NONBOOL, LINKER_RELAXATIONS) +$(call ERROR_IF_NONBOOL, JUMP_TABLES) +$(call ERROR_IF_NONBOOL, LTO) # Determine the utility prefix to use for the selected architecture ifeq ($(ARCH), AVR8) CROSS := $(COMPILER_PATH)avr else ifeq ($(ARCH), XMEGA) CROSS := $(COMPILER_PATH)avr - $(warning The XMEGA device support is currently EXPERIMENTAL (incomplete and/or non-functional), and is included for preview purposes only.) else ifeq ($(ARCH), UC3) CROSS := $(COMPILER_PATH)avr32 - $(warning The UC3 device support is currently EXPERIMENTAL (incomplete and/or non-functional), and is included for preview purposes only.) else $(error Unsupported architecture "$(ARCH)") endif @@ -173,7 +100,7 @@ ifneq ($(OBJDIR),.) endif # Create the output object file directory if it does not exist and add it to the virtual path list - $(shell mkdir $(OBJDIR) 2> /dev/null) + $(shell mkdir -p $(OBJDIR) 2> /dev/null) VPATH += $(dir $(SRC)) endif @@ -182,46 +109,50 @@ DEPENDENCY_FILES := $(OBJECT_FILES:%.o=%.d) # Create a list of common flags to pass to the compiler/linker/assembler BASE_CC_FLAGS := -pipe -g$(DEBUG_FORMAT) -g$(DEBUG_LEVEL) -ifeq ($(ARCH), AVR8) - BASE_CC_FLAGS += -mmcu=$(MCU) -fshort-enums -fno-inline-small-functions -fpack-struct -else ifeq ($(ARCH), XMEGA) - BASE_CC_FLAGS += -mmcu=$(MCU) -fshort-enums -fno-inline-small-functions -fpack-struct -else ifeq ($(ARCH), UC3) +ifneq ($(findstring $(ARCH), AVR8 XMEGA),) + BASE_C_FLAGS += -fpack-struct + BASE_CC_FLAGS += -mmcu=$(MCU) -fshort-enums -fno-inline-small-functions +else ifneq ($(findstring $(ARCH), UC3),) BASE_CC_FLAGS += -mpart=$(MCU:at32%=%) -masm-addr-pseudos endif BASE_CC_FLAGS += -Wall -fno-strict-aliasing -funsigned-char -funsigned-bitfields -ffunction-sections -BASE_CC_FLAGS += -I. -I$(patsubst %/,%,$(LUFA_PATH))/.. -BASE_CC_FLAGS += -DARCH=ARCH_$(ARCH) -DBOARD=BOARD_$(BOARD) -DF_USB=$(F_USB)UL -ifneq ($(F_CPU),) - BASE_CC_FLAGS += -DF_CPU=$(F_CPU)UL -endif +BASE_CC_FLAGS += -I. +BASE_CC_FLAGS += -DARCH=ARCH_$(ARCH) -DDMBS_ARCH_$(ARCH) ifeq ($(LINKER_RELAXATIONS), Y) -BASE_CC_FLAGS += -mrelax + BASE_CC_FLAGS += -mrelax +endif +ifeq ($(JUMP_TABLES), N) + # This flag is required for bootloaders as GCC will emit invalid jump table + # assembly code for devices with large amounts of flash; the jump table target + # is extracted from FLASH without using the correct ELPM instruction, resulting + # in a pseudo-random jump target. + BASE_CC_FLAGS += -fno-jump-tables endif - -# This flag is required for bootloaders as GCC will emit invalid jump table -# assembly code for devices with large amounts of flash; the jump table target -# is extracted from FLASH without using the correct ELPM instruction, resulting -# in a pseudo-random jump target. -BASE_CC_FLAGS += -fno-jump-tables # Additional language specific compiler flags BASE_C_FLAGS := -x c -O$(OPTIMIZATION) -std=$(C_STANDARD) -Wstrict-prototypes -BASE_CPP_FLAGS := -x c++ -O$(OPTIMIZATION) -std=$(CPP_STANDARD) +BASE_CPP_FLAGS := -x c++ -O$(OPTIMIZATION) -std=$(CPP_STANDARD) -fno-exceptions -fno-threadsafe-statics BASE_ASM_FLAGS := -x assembler-with-cpp - +ifneq ($(F_CPU),) + BASE_C_FLAGS += -DF_CPU=$(F_CPU)UL + BASE_CPP_FLAGS += -DF_CPU=$(F_CPU)UL + BASE_ASM_FLAGS += -DF_CPU=$(F_CPU) +endif # Create a list of flags to pass to the linker BASE_LD_FLAGS := -lm -Wl,-Map=$(TARGET).map,--cref -Wl,--gc-sections ifeq ($(LINKER_RELAXATIONS), Y) BASE_LD_FLAGS += -Wl,--relax endif -ifeq ($(ARCH), AVR8) - BASE_LD_FLAGS += -mmcu=$(MCU) -else ifeq ($(ARCH), XMEGA) +ifneq ($(findstring $(ARCH), AVR8 XMEGA),) BASE_LD_FLAGS += -mmcu=$(MCU) -else ifeq ($(ARCH), UC3) +else ifneq ($(findstring $(ARCH), UC3),) BASE_LD_FLAGS += -mpart=$(MCU:at32%=%) --rodata-writable --direct-data endif +ifeq ($(LTO), Y) + # Enable link time optimization to reduce overall flash size. + BASE_CC_FLAGS += -flto -fuse-linker-plugin + BASE_LD_FLAGS += -flto -fuse-linker-plugin +endif # Determine flags to pass to the size utility based on its reported features (only invoke if size target required) # and on an architecture where this non-standard patch is available @@ -282,27 +213,27 @@ $(SRC): # Compiles an input C source file and generates an assembly listing for it %.s: %.c $(MAKEFILE_LIST) @echo $(MSG_COMPILE_CMD) Generating assembly from C file \"$(notdir $<)\" - $(CROSS)-gcc -S $(BASE_CC_FLAGS) $(BASE_C_FLAGS) $(CC_FLAGS) $(C_FLAGS) $< -o $@ + $(CROSS)-gcc -S $(BASE_CC_FLAGS) $(BASE_C_FLAGS) $(CC_FLAGS) $(C_FLAGS) $($(notdir $<)_FLAGS) $< -o $@ # Compiles an input C++ source file and generates an assembly listing for it %.s: %.cpp $(MAKEFILE_LIST) @echo $(MSG_COMPILE_CMD) Generating assembly from C++ file \"$(notdir $<)\" - $(CROSS)-gcc -S $(BASE_CC_FLAGS) $(BASE_CPP_FLAGS) $(CC_FLAGS) $(CPP_FLAGS) $< -o $@ + $(CROSS)-gcc -S $(BASE_CC_FLAGS) $(BASE_CPP_FLAGS) $(CC_FLAGS) $(CPP_FLAGS) $($(notdir $<)_FLAGS) $< -o $@ # Compiles an input C source file and generates a linkable object file for it $(OBJDIR)/%.o: %.c $(MAKEFILE_LIST) @echo $(MSG_COMPILE_CMD) Compiling C file \"$(notdir $<)\" - $(CROSS)-gcc -c $(BASE_CC_FLAGS) $(BASE_C_FLAGS) $(CC_FLAGS) $(C_FLAGS) -MMD -MP -MF $(@:%.o=%.d) $< -o $@ + $(CROSS)-gcc -c $(BASE_CC_FLAGS) $(BASE_C_FLAGS) $(CC_FLAGS) $(C_FLAGS) $($(notdir $<)_FLAGS) -MMD -MP -MF $(@:%.o=%.d) $< -o $@ # Compiles an input C++ source file and generates a linkable object file for it $(OBJDIR)/%.o: %.cpp $(MAKEFILE_LIST) @echo $(MSG_COMPILE_CMD) Compiling C++ file \"$(notdir $<)\" - $(CROSS)-gcc -c $(BASE_CC_FLAGS) $(BASE_CPP_FLAGS) $(CC_FLAGS) $(CPP_FLAGS) -MMD -MP -MF $(@:%.o=%.d) $< -o $@ + $(CROSS)-gcc -c $(BASE_CC_FLAGS) $(BASE_CPP_FLAGS) $(CC_FLAGS) $(CPP_FLAGS) $($(notdir $<)_FLAGS) -MMD -MP -MF $(@:%.o=%.d) $< -o $@ # Assembles an input ASM source file and generates a linkable object file for it $(OBJDIR)/%.o: %.S $(MAKEFILE_LIST) @echo $(MSG_ASSEMBLE_CMD) Assembling \"$(notdir $<)\" - $(CROSS)-gcc -c $(BASE_CC_FLAGS) $(BASE_ASM_FLAGS) $(CC_FLAGS) $(ASM_FLAGS) -MMD -MP -MF $(@:%.o=%.d) $< -o $@ + $(CROSS)-gcc -c $(BASE_CC_FLAGS) $(BASE_ASM_FLAGS) $(CC_FLAGS) $(ASM_FLAGS) $($(notdir $<)_FLAGS) -MMD -MP -MF $(@:%.o=%.d) $< -o $@ # Generates a library archive file from the user application, which can be linked into other applications .PRECIOUS : $(OBJECT_FILES) @@ -348,4 +279,4 @@ $(OBJDIR)/%.o: %.S $(MAKEFILE_LIST) -include $(DEPENDENCY_FILES) # Phony build targets for this module -.PHONY: build_begin build_end size symbol-sizes lib elf hex lss clean mostlyclean +.PHONY: build_begin build_end $(DMBS_BUILD_TARGETS) diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/hid.md b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/hid.md new file mode 100644 index 0000000..b2dfbf7 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/hid.md @@ -0,0 +1,129 @@ +DMBS - Dean's Makefile Build System +=================================== + + +Module: HID +----------------- + +The HID module provides build targets to program a target running a PJRC Teensy +or LUFA compatible HID class bootloader. + +## Importing This Module into a Makefile: + +To use this module in your application makefile, add the following code to your +makefile: + + include $(DMBS_PATH)/hid.mk + +## Prerequisites: + +This module requires the `teensy_loader_cli` utility to be available in your +system's `PATH` variable. The `teensy_loader_cli` utility is distributed in +a modified form (from PJRC) in the LUFA project's +[official site](http://www.lufa-lib.org/), but is also +made available in its original form directly from the +[PJRC website](https://www.pjrc.com/teensy/loader_cli.html). Note that the +original tool works with Teensy boards only, and not LUFA HID bootloader +devices. + +This module requires the `hid_bootloader_cli` utility to be available in your +system's `PATH` variable. The `hid_bootloader_cli` Python script utility is +distributed in LUFA project's [official site](http://www.lufa-lib.org/). + +This module requires the AVR-GCC compiler to be installed and available in the +system's `PATH` variable. + +## Build Targets: + +The following targets are supported by this module: + + + + + + + + + + + + + + + + + + + + +
hidProgram a LUFA HID class bootloader device, using the `hid_bootloader_cli.py` Python script.
hid-eeProgram a LUFA HID class bootloader device's EEPROM, using the `hid_bootloader_cli.py` Python script and a shim application which is programmed into the target's flash.
teensyProgram a LUFA HID class bootloader device or Teensy board, using the `teensy_loader_cli` tool.
teensy-eeProgram a LUFA HID class bootloader device's EEPROM, using the `teensy_loader_cli` tool and a shim application which is programmed into the target's flash.
+ +## Mandatory Variables: + +The following variables must be defined (with a `NAME = VALUE` syntax, one +variable per line) in the user makefile to be able to use this module: + + + + + + + + + + + + +
MCUName of the Atmel processor model (e.g. `at90usb1287`).
TARGETName of the application output file prefix (e.g. `TestApplication`).
+ +## Optional Variables: + +The following variables may be defined (with a `NAME = VALUE` syntax, one +variable per line) in the user makefile. If not specified, a default value will +be assumed. + + + + + + + + +
N/AThis module has no optional variables.
+ +## Provided Variables: + +The following variables may be referenced in a user makefile (via `$(NAME)` +syntax) if desired, as they are provided by this module. + + + + + + + + +
N/AThis module provides no variables.
+ +## Provided Macros: + +The following macros may be referenced in a user makefile (via +`$(call NAME, ARG1, ARG2, ...)` syntax) if desired, as they are provided by +this module. + + + + + + + + +
N/AThis module provides no macros.
+ +## Module Changelog: + +The changes to this module since its initial release are listed below, as of the +DMBS version where the change was made. + +### 20160403 +Initial release. diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/hid.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/hid.mk new file mode 100644 index 0000000..3927504 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/DMBS/hid.mk @@ -0,0 +1,53 @@ +# +# DMBS Build System +# Released into the public domain. +# +# dean [at] fourwalledcubicle [dot] com +# www.fourwalledcubicle.com +# + +DMBS_BUILD_MODULES += HID +DMBS_BUILD_TARGETS += hid hid-ee teensy teensy-ee +DMBS_BUILD_MANDATORY_VARS += MCU TARGET +DMBS_BUILD_OPTIONAL_VARS += +DMBS_BUILD_PROVIDED_VARS += +DMBS_BUILD_PROVIDED_MACROS += + +# Import the CORE module of DMBS +DMBS_MODULE_PATH := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) +include $(DMBS_MODULE_PATH)/core.mk + +# Sanity-check values of mandatory user-supplied variables +$(foreach MANDATORY_VAR, $(DMBS_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) +$(call ERROR_IF_EMPTY, MCU) +$(call ERROR_IF_EMPTY, TARGET) + +# Output Messages +MSG_HID_BOOTLOADER_CMD := ' [HID] :' +MSG_OBJCPY_CMD := ' [OBJCPY] :' +MSG_MAKE_CMD := ' [MAKE] :' + +# Programs in the target FLASH memory using the HID_BOOTLOADER_CLI tool +hid: $(TARGET).hex $(MAKEFILE_LIST) + @echo $(MSG_HID_BOOTLOADER_CMD) Programming FLASH with hid_bootloader_cli using \"$<\" + hid_bootloader_cli -mmcu=$(MCU) -v $< + +# Programs in the target EEPROM memory using the HID_BOOTLOADER_CLI tool (note: clears target FLASH memory) +hid-ee: $(TARGET).eep $(MAKEFILE_LIST) + cp $< $(DMBS_MODULE_PATH)/HID_EEPROM_Loader/InputEEData.eep + @echo $(MSG_MAKE_CMD) Making EEPROM loader application for \"$<\" + $(MAKE) -C $(DMBS_MODULE_PATH)/HID_EEPROM_Loader/ MCU=$(MCU) clean hid + +# Programs in the target FLASH memory using the TEENSY_BOOTLOADER_CLI tool +teensy: $(TARGET).hex $(MAKEFILE_LIST) + @echo $(MSG_HID_BOOTLOADER_CMD) Programming FLASH with teensy_loader_cli using \"$<\" + teensy_loader_cli -mmcu=$(MCU) -v $< + +# Programs in the target EEPROM memory using the TEENSY_BOOTLOADER_CLI tool (note: clears target FLASH memory) +teensy-ee: $(TARGET).eep $(MAKEFILE_LIST) + cp $< $(DMBS_MODULE_PATH)/HID_EEPROM_Loader/InputEEData.eep + @echo $(MSG_MAKE_CMD) Making EEPROM loader application for \"$<\" + $(MAKE) -s -C $(DMBS_MODULE_PATH)/HID_EEPROM_Loader/ MCU=$(MCU) clean teensy + +# Phony build targets for this module +.PHONY: $(DMBS_BUILD_TARGETS) diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Readme.md b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Readme.md new file mode 100644 index 0000000..f4f7a5f --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Readme.md @@ -0,0 +1,123 @@ +DMBS - Dean's Makefile Build System +=================================== + + +Project Overview +---------------- + +GNU Make is scary, and it's tough to get the rules right sometimes. Many +projects get by via simple copy-pasting of old makefiles, resulting in many +redundant copies of the same old rules. DMBS aims to solve this by providing a +simple modular set of makefiles which can be included by your project to quickly +add various build functionality. + +This aims to replace the old WinAVR "mfile" makefile template, giving better +functionality and much simpler user makefiles. + + +Benefits: +---------------- + +Apart from much simpler, cleaner makefiles DMBS carries the aim of making the +process of troubleshooting build issues a little easier. Lots can go wrong, so +DMBS tries to sanity check its inputs wherever possible, and produce +human-readable error messages. Forgotten to set a variable? Get a +`Makefile {X} value not set.` message, rather than a possibly unrelated message. +Have the wrong filename? See `Source file does not exist: {X}` rather than the +infamous `No rule to make target {X}` message. + + +Use: +---------------- + +A template user makefile is provided in the `Template` directory. DMBS modules +are included via a GNU Make `include` directive. While the DMBS `core` module is +always required, you can pick and choose what other modules you wish to add to +your user project. + +[See here for the documentation on the individual modules provided by DMBS.](DMBS/ModulesOverview.md) +If you're interested in writing your own DMBS module(s), [see here.](DMBS/WritingYourOwnModules.md) + +Here's an example user makefile: + + MCU = atmega128 + ARCH = AVR8 + F_CPU = 8000000 + OPTIMIZATION = s + TARGET = Template + SRC = $(TARGET).c + CC_FLAGS = + LD_FLAGS = + + # Default target + all: + + # Include DMBS build script makefiles + DMBS_PATH ?= ../DMBS + include $(DMBS_PATH)/core.mk + include $(DMBS_PATH)/gcc.mk + include $(DMBS_PATH)/cppcheck.mk + include $(DMBS_PATH)/doxygen.mk + include $(DMBS_PATH)/dfu.mk + include $(DMBS_PATH)/hid.mk + include $(DMBS_PATH)/avrdude.mk + include $(DMBS_PATH)/atprogram.mk + +Each DMBS module can optionally supply one or more Make variables and macros, +which you can reference in your user makefile. Additionally, modules can require +one or more variables to be set by the user makefile, with (in some cases) sane +defaults used if left out. + +As modules are added, you can get a list of available targets by simply typing +`make help` from the command line. This will produce a formatted list of targets +as well as mandatory and optional variables and exposed variables and macros. + + +Distribution +---------------- + +You can embed DMBS in your project any way you like - some options are: +1. A git submodule +2. A source tarball +3. A manually copied extracted archive + +The intention of DMBS is that users can just import it from whatever source +they like. If your project needs to extend the existing modules in an unusual +manner, or if you want to provide your own modules, you can include them in +your project repository (or submit a patch to DMBS if your module is generic +enough to warrant wide use). + + +License +---------------- + +DMBS is released into the public domain, making is suitable for use everywhere, +by everyone. Contributions are greatly appreciated however, in order to make +DMBS better for everyone. + +The actual license text is as follows: + + This is free and unencumbered software released into the public domain. + + Anyone is free to copy, modify, publish, use, compile, sell, or + distribute this software, either in source code form or as a compiled + binary, for any purpose, commercial or non-commercial, and by any + means. + + In jurisdictions that recognize copyright laws, the author or authors + of this software dedicate any and all copyright interest in the + software to the public domain. We make this dedication for the benefit + of the public at large and to the detriment of our heirs and + successors. We intend this dedication to be an overt act of + relinquishment in perpetuity of all present and future rights to this + software under copyright law. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + For more information, please refer to diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/Template.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/Template.c new file mode 100644 index 0000000..95d36f7 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/Template.c @@ -0,0 +1,12 @@ +/* + DMBS Build System + Released into the public domain. + + dean [at] fourwalledcubicle [dot] com + www.fourwalledcubicle.com + */ + +int main(void) +{ + // Application code here. +} diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/lib/TEMPLATE_LIB/TEMPLATE_LIB.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/lib/TEMPLATE_LIB/TEMPLATE_LIB.mk new file mode 100644 index 0000000..5703750 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/lib/TEMPLATE_LIB/TEMPLATE_LIB.mk @@ -0,0 +1,50 @@ +# +# DMBS Build System +# Released into the public domain. +# +# dean [at] fourwalledcubicle [dot] com +# www.fourwalledcubicle.com +# + +# Include Guard +ifeq ($(filter TEMPLATE_LIB, $(DMBS_BUILD_MODULES)),) + +# Sanity check user supplied DMBS path +ifndef DMBS_PATH +$(error Makefile DMBS_PATH option cannot be blank) +endif + +# Location of the current module +TEMPLATE_LIB_MODULE_PATH := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) + +# Import the CORE module of DMBS +include $(DMBS_PATH)/core.mk + +# This module needs to be included before gcc.mk +ifneq ($(findstring GCC, $(DMBS_BUILD_MODULES)),) +$(error Include this module before gcc.mk) +endif + +# Help settings +DMBS_BUILD_MODULES += TEMPLATE_LIB +DMBS_BUILD_TARGETS += +DMBS_BUILD_MANDATORY_VARS += DMBS_PATH +DMBS_BUILD_OPTIONAL_VARS += +DMBS_BUILD_PROVIDED_VARS += TEMPLATE_LIB_SRC +DMBS_BUILD_PROVIDED_MACROS += + +# Sanity check user supplied values +$(foreach MANDATORY_VAR, $(DMBS_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) + +# TEMPLATE_LIB Library +TEMPLATE_LIB_SRC := $(TEMPLATE_LIB_MODULE_PATH)/src/template_lib.c + +# Compiler flags and sources +SRC += $(TEMPLATE_LIB_SRC) +CC_FLAGS += -DDMBS_MODULE_TEMPLATE_LIB +CC_FLAGS += -I$(TEMPLATE_LIB_MODULE_PATH)/include/ + +# Phony build targets for this module +.PHONY: $(DMBS_BUILD_TARGETS) + +endif diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/lib/TEMPLATE_LIB/include/template_lib.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/lib/TEMPLATE_LIB/include/template_lib.h new file mode 100644 index 0000000..1baa635 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/lib/TEMPLATE_LIB/include/template_lib.h @@ -0,0 +1,24 @@ +/* + DMBS Build System + Released into the public domain. + + dean [at] fourwalledcubicle [dot] com + www.fourwalledcubicle.com + */ + +// Include Guard +#pragma once + +#ifdef __cplusplus +extern "C" { +#endif + +// Software version +#define TEMPLATE_LIB_VERSION 100 + +#include +#include + +#ifdef __cplusplus +} +#endif diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/lib/TEMPLATE_LIB/src/template_lib.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/lib/TEMPLATE_LIB/src/template_lib.c new file mode 100644 index 0000000..f7f6945 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/lib/TEMPLATE_LIB/src/template_lib.c @@ -0,0 +1,10 @@ +/* + DMBS Build System + Released into the public domain. + + dean [at] fourwalledcubicle [dot] com + www.fourwalledcubicle.com + */ + +#include "template_lib.h" +#include "template_lib_private.h" diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/lib/TEMPLATE_LIB/src/template_lib_private.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/lib/TEMPLATE_LIB/src/template_lib_private.h new file mode 100644 index 0000000..714cd3b --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/lib/TEMPLATE_LIB/src/template_lib_private.h @@ -0,0 +1,14 @@ +/* + DMBS Build System + Released into the public domain. + + dean [at] fourwalledcubicle [dot] com + www.fourwalledcubicle.com + */ + +// Include Guard +#pragma once + +#include +#include +#include diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/makefile b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/makefile new file mode 100644 index 0000000..817f96f --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/DMBS/Template/makefile @@ -0,0 +1,36 @@ +# +# DMBS Build System +# Released into the public domain. +# +# dean [at] fourwalledcubicle [dot] com +# www.fourwalledcubicle.com +# + +# Run "make help" for target help. + +MCU = atmega128 +ARCH = AVR8 +F_CPU = 8000000 +OPTIMIZATION = s +TARGET = Template +SRC = $(TARGET).c +CC_FLAGS = +LD_FLAGS = + +# Default target +all: + +# Include libraries and DMBS build script makefiles +DMBS_PATH ?= ../DMBS +LIB_PATH ?= lib + +include $(LIB_PATH)/TEMPLATE_LIB/TEMPLATE_LIB.mk + +include $(DMBS_PATH)/core.mk +include $(DMBS_PATH)/gcc.mk +include $(DMBS_PATH)/cppcheck.mk +include $(DMBS_PATH)/doxygen.mk +include $(DMBS_PATH)/dfu.mk +include $(DMBS_PATH)/hid.mk +include $(DMBS_PATH)/avrdude.mk +include $(DMBS_PATH)/atprogram.mk diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/LUFA/lufa-gcc.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/LUFA/lufa-gcc.mk new file mode 100644 index 0000000..0d51ca2 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/LUFA/lufa-gcc.mk @@ -0,0 +1,48 @@ +# +# LUFA Library +# Copyright (C) Dean Camera, 2015. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# + +# Include Guard +ifeq ($(filter LUFA_GCC, $(DMBS_BUILD_MODULES)),) + +DMBS_BUILD_MODULES += LUFA_GCC +DMBS_BUILD_TARGETS += +DMBS_BUILD_MANDATORY_VARS += LUFA_PATH ARCH F_USB +DMBS_BUILD_OPTIONAL_VARS += BOARD +DMBS_BUILD_PROVIDED_VARS += +DMBS_BUILD_PROVIDED_MACROS += + +SHELL = /bin/sh + +ERROR_IF_UNSET ?= $(if $(filter undefined, $(origin $(strip $(1)))), $(error Makefile $(strip $(1)) value not set)) +ERROR_IF_EMPTY ?= $(if $(strip $($(strip $(1)))), , $(error Makefile $(strip $(1)) option cannot be blank)) +ERROR_IF_NONBOOL ?= $(if $(filter Y N, $($(strip $(1)))), , $(error Makefile $(strip $(1)) option must be Y or N)) + +# Sanity check user supplied values +$(call ERROR_IF_EMPTY, LUFA_PATH) +$(call ERROR_IF_EMPTY, ARCH) +$(call ERROR_IF_EMPTY, F_USB) + +# Default values of optionally user-supplied variables +BOARD ?= NONE + +# Determine the utility prefix to use for the selected architecture +ifeq ($(ARCH), XMEGA) + $(warning The XMEGA device support is currently EXPERIMENTAL (incomplete and/or non-functional), and is included for preview purposes only.) +else ifeq ($(ARCH), UC3) + $(warning The UC3 device support is currently EXPERIMENTAL (incomplete and/or non-functional), and is included for preview purposes only.) +endif + +# Common LUFA C/C++ includes/definitions +LUFA_CXX_INCLUDES = -I. -I$(patsubst %/,%,$(LUFA_PATH))/.. +LUFA_CXX_DEFINES = -DARCH=ARCH_$(ARCH) -DBOARD=BOARD_$(BOARD) -DF_USB=$(F_USB)UL + +# LUFA specific standard build options +C_FLAGS += $(LUFA_CXX_INCLUDES) $(LUFA_CXX_DEFINES) $(LUFA_CXX_FLAGS) +CPP_FLAGS += $(LUFA_CXX_INCLUDES) $(LUFA_CXX_DEFINES) $(LUFA_CXX_FLAGS) + +endif diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_sources.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/LUFA/lufa-sources.mk similarity index 68% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_sources.mk rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Build/LUFA/lufa-sources.mk index cc3492e..296599d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Build/lufa_sources.mk +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/LUFA/lufa-sources.mk @@ -1,70 +1,24 @@ # # LUFA Library -# Copyright (C) Dean Camera, 2014. +# Copyright (C) Dean Camera, 2015. # # dean [at] fourwalledcubicle [dot] com # www.lufa-lib.org # -LUFA_BUILD_MODULES += SOURCES -LUFA_BUILD_TARGETS += -LUFA_BUILD_MANDATORY_VARS += LUFA_PATH ARCH -LUFA_BUILD_OPTIONAL_VARS += -LUFA_BUILD_PROVIDED_VARS += LUFA_SRC_USB_DEVICE LUFA_SRC_USB_HOST \ +# Include Guard +ifeq ($(filter LUFA_SOURCES, $(DMBS_BUILD_MODULES)),) + +DMBS_BUILD_MODULES += LUFA_SOURCES +DMBS_BUILD_TARGETS += +DMBS_BUILD_MANDATORY_VARS += LUFA_PATH ARCH +DMBS_BUILD_OPTIONAL_VARS += +DMBS_BUILD_PROVIDED_VARS += LUFA_SRC_USB_DEVICE LUFA_SRC_USB_HOST \ LUFA_SRC_USB LUFA_SRC_USBCLASS_DEVICE \ LUFA_SRC_USBCLASS_HOST LUFA_SRC_USBCLASS \ LUFA_SRC_TEMPERATURE LUFA_SRC_SERIAL \ LUFA_SRC_TWI LUFA_SRC_PLATFORM -LUFA_BUILD_PROVIDED_MACROS += - -# ----------------------------------------------------------------------------- -# LUFA Sources Buildsystem Makefile Module. -# ----------------------------------------------------------------------------- -# DESCRIPTION: -# Provides a set of makefile variables for the various LUFA module sources. -# Once included, the sources required to use a given LUFA module will become -# available using the makefile variable names listed in the LUFA project -# documentation. -# ----------------------------------------------------------------------------- -# TARGETS: -# -# (None) -# -# MANDATORY PARAMETERS: -# -# LUFA_PATH - Path to the LUFA library core -# ARCH - Device architecture name -# -# OPTIONAL PARAMETERS: -# -# (None) -# -# PROVIDED VARIABLES: -# -# LUFA_SRC_USB_DEVICE - List of LUFA USB driver source files required -# for USB Device mode only -# LUFA_SRC_USB_HOST - List of LUFA USB driver source files required -# for USB Host mode only -# LUFA_SRC_USB - List of LUFA USB driver source files for all -# USB modes -# LUFA_SRC_USBCLASS_DEVICE - List of LUFA USB Class driver source files for -# USB Device mode only -# LUFA_SRC_USBCLASS_HOST - List of LUFA USB Class driver source files for -# USB Host mode only -# LUFA_SRC_USBCLASS - List of LUFA USB Class driver source files for -# all USB modes -# LUFA_SRC_TEMPERATURE - List of LUFA temperature sensor driver source -# files -# LUFA_SRC_SERIAL - List of LUFA Serial U(S)ART driver source files -# LUFA_SRC_TWI - List of LUFA TWI driver source files -# LUFA_SRC_PLATFORM - List of LUFA architecture specific platform -# management source files -# -# PROVIDED MACROS: -# -# (None) -# -# ----------------------------------------------------------------------------- +DMBS_BUILD_PROVIDED_MACROS += SHELL = /bin/sh @@ -101,6 +55,7 @@ LUFA_SRC_USB_DEVICE := $(LUFA_ROOT_PATH)/Drivers/USB/Core/$(ARCH)/Device_$( $(LUFA_SRC_USB_COMMON) LUFA_SRC_USBCLASS_DEVICE := $(LUFA_ROOT_PATH)/Drivers/USB/Class/Device/AudioClassDevice.c \ + $(LUFA_ROOT_PATH)/Drivers/USB/Class/Device/CCIDClassDevice.c \ $(LUFA_ROOT_PATH)/Drivers/USB/Class/Device/CDCClassDevice.c \ $(LUFA_ROOT_PATH)/Drivers/USB/Class/Device/HIDClassDevice.c \ $(LUFA_ROOT_PATH)/Drivers/USB/Class/Device/MassStorageClassDevice.c \ @@ -142,3 +97,5 @@ LUFA_SRC_ALL_FILES := $(LUFA_SRC_USB) \ $(LUFA_SRC_SERIAL) \ $(LUFA_SRC_TWI) \ $(LUFA_SRC_PLATFORM) + +endif diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_atprogram.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_atprogram.mk new file mode 100644 index 0000000..86988d1 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_atprogram.mk @@ -0,0 +1,10 @@ +# +# LUFA Library +# Copyright (C) Dean Camera, 2015. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# + +DMBS_PATH := $(LUFA_PATH)/Build/DMBS/DMBS +include $(DMBS_PATH)/atprogram.mk diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_avrdude.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_avrdude.mk new file mode 100644 index 0000000..649215f --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_avrdude.mk @@ -0,0 +1,10 @@ +# +# LUFA Library +# Copyright (C) Dean Camera, 2015. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# + +DMBS_PATH := $(LUFA_PATH)/Build/DMBS/DMBS +include $(DMBS_PATH)/avrdude.mk diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_build.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_build.mk new file mode 100644 index 0000000..f7c496e --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_build.mk @@ -0,0 +1,12 @@ +# +# LUFA Library +# Copyright (C) Dean Camera, 2015. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# + +DMBS_PATH ?= $(LUFA_PATH)/Build/DMBS/DMBS +DMBS_LUFA_PATH ?= $(LUFA_PATH)/Build/LUFA +include $(DMBS_PATH)/gcc.mk +include $(DMBS_LUFA_PATH)/lufa-gcc.mk diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_core.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_core.mk new file mode 100644 index 0000000..62cef90 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_core.mk @@ -0,0 +1,10 @@ +# +# LUFA Library +# Copyright (C) Dean Camera, 2015. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# + +DMBS_PATH := $(LUFA_PATH)/Build/DMBS/DMBS +include $(DMBS_PATH)/core.mk diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_cppcheck.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_cppcheck.mk new file mode 100644 index 0000000..801a4c1 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_cppcheck.mk @@ -0,0 +1,10 @@ +# +# LUFA Library +# Copyright (C) Dean Camera, 2015. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# + +DMBS_PATH := $(LUFA_PATH)/Build/DMBS/DMBS +include $(DMBS_PATH)/cppcheck.mk diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_dfu.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_dfu.mk new file mode 100644 index 0000000..2100ae8 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_dfu.mk @@ -0,0 +1,10 @@ +# +# LUFA Library +# Copyright (C) Dean Camera, 2015. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# + +DMBS_PATH := $(LUFA_PATH)/Build/DMBS/DMBS +include $(DMBS_PATH)/dfu.mk diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_doxygen.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_doxygen.mk new file mode 100644 index 0000000..64afd4a --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_doxygen.mk @@ -0,0 +1,10 @@ +# +# LUFA Library +# Copyright (C) Dean Camera, 2015. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# + +DMBS_PATH := $(LUFA_PATH)/Build/DMBS/DMBS +include $(DMBS_PATH)/doxygen.mk diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_hid.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_hid.mk new file mode 100644 index 0000000..86ca145 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_hid.mk @@ -0,0 +1,10 @@ +# +# LUFA Library +# Copyright (C) Dean Camera, 2015. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# + +DMBS_PATH := $(LUFA_PATH)/Build/DMBS/DMBS +include $(DMBS_PATH)/hid.mk diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_sources.mk b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_sources.mk new file mode 100644 index 0000000..48291c7 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Build/lufa_sources.mk @@ -0,0 +1,10 @@ +# +# LUFA Library +# Copyright (C) Dean Camera, 2015. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# + +DMBS_LUFA_PATH ?= $(LUFA_PATH)/Build/LUFA +include $(DMBS_LUFA_PATH)/lufa-sources.mk diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DeviceTemplate/Descriptors.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DeviceTemplate/Descriptors.c similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DeviceTemplate/Descriptors.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DeviceTemplate/Descriptors.c index 71cebe8..c256ad1 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DeviceTemplate/Descriptors.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DeviceTemplate/Descriptors.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -127,7 +127,7 @@ const USB_Descriptor_String_t ProductString = * USB host. */ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, - const uint8_t wIndex, + const uint16_t wIndex, const void** const DescriptorAddress #if defined(HAS_MULTIPLE_DESCRIPTOR_ADDRESS_SPACES) , uint8_t* const DescriptorMemorySpace diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DeviceTemplate/Descriptors.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DeviceTemplate/Descriptors.h similarity index 94% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DeviceTemplate/Descriptors.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DeviceTemplate/Descriptors.h index 6d8145d..2dc3890 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DeviceTemplate/Descriptors.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DeviceTemplate/Descriptors.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.c similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.c index ddaa9d0..712ce3e 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.h similarity index 93% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.h index 325176c..e6f629e 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DriverStubs/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DriverStubs/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DriverStubs/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DriverStubs/Board.h index 5a1e583..b79fe54 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DriverStubs/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DriverStubs/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -77,6 +77,3 @@ #endif #endif - -/** @} */ - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DriverStubs/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DriverStubs/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DriverStubs/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DriverStubs/Buttons.h index b3c2f2b..9e96974 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DriverStubs/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DriverStubs/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DriverStubs/Dataflash.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DriverStubs/Dataflash.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DriverStubs/Dataflash.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DriverStubs/Dataflash.h index 83acb2f..c08348c 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DriverStubs/Dataflash.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DriverStubs/Dataflash.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DriverStubs/Joystick.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DriverStubs/Joystick.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DriverStubs/Joystick.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DriverStubs/Joystick.h index 07542ab..ada54b6 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DriverStubs/Joystick.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DriverStubs/Joystick.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DriverStubs/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DriverStubs/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DriverStubs/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DriverStubs/LEDs.h index 4373972..ef3fb73 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/DriverStubs/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/DriverStubs/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/HostTemplate/HostApplication.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/HostTemplate/HostApplication.c similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/HostTemplate/HostApplication.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/HostTemplate/HostApplication.c index 1ac0378..e0557c1 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/HostTemplate/HostApplication.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/HostTemplate/HostApplication.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -122,7 +122,7 @@ void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, * option is set, this is still required even in an application that uses host mode only. */ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, - const uint8_t wIndex, + const uint16_t wIndex, const void** const DescriptorAddress #if defined(HAS_MULTIPLE_DESCRIPTOR_ADDRESS_SPACES) , uint8_t* const DescriptorMemorySpace diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/HostTemplate/HostApplication.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/HostTemplate/HostApplication.h similarity index 94% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/HostTemplate/HostApplication.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/HostTemplate/HostApplication.h index 16dbb53..3af0ded 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/HostTemplate/HostApplication.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/HostTemplate/HostApplication.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/LUFAConfig.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/LUFAConfig.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/LUFAConfig.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/LUFAConfig.h index ab7fc75..5d540e9 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/LUFAConfig.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/LUFAConfig.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/WindowsINF/LUFA CDC-ACM.inf b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/WindowsINF/LUFA CDC-ACM.inf similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/WindowsINF/LUFA CDC-ACM.inf rename to avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/WindowsINF/LUFA CDC-ACM.inf diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/WindowsINF/LUFA RNDIS.inf b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/WindowsINF/LUFA RNDIS.inf similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/WindowsINF/LUFA RNDIS.inf rename to avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/WindowsINF/LUFA RNDIS.inf diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/makefile_template b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/makefile_template similarity index 52% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/makefile_template rename to avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/makefile_template index efb6aa7..eff3b8c 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/CodeTemplates/makefile_template +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/CodeTemplates/makefile_template @@ -1,6 +1,6 @@ # # LUFA Library -# Copyright (C) Dean Camera, 2014. +# Copyright (C) Dean Camera, 2020. # # dean [at] fourwalledcubicle [dot] com # www.lufa-lib.org @@ -26,13 +26,18 @@ LD_FLAGS = # Default target all: -# Include LUFA build script makefiles -include $(LUFA_PATH)/Build/lufa_core.mk -include $(LUFA_PATH)/Build/lufa_sources.mk -include $(LUFA_PATH)/Build/lufa_build.mk -include $(LUFA_PATH)/Build/lufa_cppcheck.mk -include $(LUFA_PATH)/Build/lufa_doxygen.mk -include $(LUFA_PATH)/Build/lufa_dfu.mk -include $(LUFA_PATH)/Build/lufa_hid.mk -include $(LUFA_PATH)/Build/lufa_avrdude.mk -include $(LUFA_PATH)/Build/lufa_atprogram.mk +# Include LUFA-specific DMBS extension modules +DMBS_LUFA_PATH ?= $(LUFA_PATH)/Build/LUFA +include $(DMBS_LUFA_PATH)/lufa-sources.mk +include $(DMBS_LUFA_PATH)/lufa-gcc.mk + +# Include common DMBS build system modules +DMBS_PATH ?= $(LUFA_PATH)/Build/DMBS/DMBS +include $(DMBS_PATH)/core.mk +include $(DMBS_PATH)/cppcheck.mk +include $(DMBS_PATH)/doxygen.mk +include $(DMBS_PATH)/dfu.mk +include $(DMBS_PATH)/gcc.mk +include $(DMBS_PATH)/hid.mk +include $(DMBS_PATH)/avrdude.mk +include $(DMBS_PATH)/atprogram.mk diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Common/ArchitectureSpecific.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Common/ArchitectureSpecific.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Common/ArchitectureSpecific.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Common/ArchitectureSpecific.h index 292e27b..aab878f 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Common/ArchitectureSpecific.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Common/ArchitectureSpecific.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Common/Architectures.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Common/Architectures.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Common/Architectures.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Common/Architectures.h index 265b412..75a5b3b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Common/Architectures.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Common/Architectures.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Common/Attributes.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Common/Attributes.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Common/Attributes.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Common/Attributes.h index dc5c6be..a5c1eb8 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Common/Attributes.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Common/Attributes.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Common/BoardTypes.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Common/BoardTypes.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Common/BoardTypes.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Common/BoardTypes.h index 06ff4dd..cdd996b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Common/BoardTypes.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Common/BoardTypes.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -240,6 +240,12 @@ /** Selects the Arduino Micro specific board drivers, including the driver for the board LEDs. */ #define BOARD_MICRO 58 + /** Selects the Pololu A-Star Micro specific board drivers, including the driver for the board LEDs. */ + #define BOARD_POLOLUMICRO 59 + + /** Selects the Atmel Xplained-MINI specific board drivers, including the driver for the board LEDs. */ + #define BOARD_XPLAINED_MINI 60 + #if !defined(__DOXYGEN__) #define BOARD_ BOARD_NONE diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Common/Common.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Common/Common.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Common/Common.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Common/Common.h index 3e12e4f..a213c5d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Common/Common.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Common/Common.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -116,6 +116,7 @@ #define pgm_read_byte(x) *x #define memcmp_P(...) memcmp(__VA_ARGS__) #define memcpy_P(...) memcpy(__VA_ARGS__) + #define strlen_P(...) strlen(__VA_ARGS__) // ================================================= typedef uint32_t uint_reg_t; diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Common/CompilerSpecific.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Common/CompilerSpecific.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Common/CompilerSpecific.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Common/CompilerSpecific.h index 9979fff..3ad7f5b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Common/CompilerSpecific.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Common/CompilerSpecific.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Common/Endianness.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Common/Endianness.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Common/Endianness.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Common/Endianness.h index 2eb3ad0..f07f4a2 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Common/Endianness.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Common/Endianness.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -122,7 +122,7 @@ #define CPU_TO_BE32(x) (x) #elif !defined(le16_to_cpu) /** \name Run-time endianness conversion */ - //@{ + /**@{*/ /** Performs a conversion between a Little Endian encoded 16-bit piece of data and the * Endianness of the currently selected CPU architecture. @@ -252,10 +252,10 @@ */ #define cpu_to_be32(x) SwapEndian_32(x) - //@} + /**@}*/ /** \name Compile-time endianness conversion */ - //@{ + /**@{*/ /** Performs a conversion between a Little Endian encoded 16-bit piece of data and the * Endianness of the currently selected CPU architecture. @@ -385,7 +385,7 @@ */ #define CPU_TO_BE32(x) SWAPENDIAN_32(x) - //! @} + /**@}*/ #endif /* Inline Functions: */ @@ -397,7 +397,7 @@ * * \return Input data with the individual bytes reversed. */ - static inline uint16_t SwapEndian_16(const uint16_t Word) ATTR_WARN_UNUSED_RESULT ATTR_CONST; + static inline uint16_t SwapEndian_16(const uint16_t Word) ATTR_WARN_UNUSED_RESULT ATTR_CONST ATTR_ALWAYS_INLINE; static inline uint16_t SwapEndian_16(const uint16_t Word) { if (GCC_IS_COMPILE_CONST(Word)) @@ -428,7 +428,7 @@ * * \return Input data with the individual bytes reversed. */ - static inline uint32_t SwapEndian_32(const uint32_t DWord) ATTR_WARN_UNUSED_RESULT ATTR_CONST; + static inline uint32_t SwapEndian_32(const uint32_t DWord) ATTR_WARN_UNUSED_RESULT ATTR_CONST ATTR_ALWAYS_INLINE; static inline uint32_t SwapEndian_32(const uint32_t DWord) { if (GCC_IS_COMPILE_CONST(DWord)) diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/BuildSystem.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/BuildSystem.txt new file mode 100644 index 0000000..ef57fcf --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/BuildSystem.txt @@ -0,0 +1,281 @@ +/** \file + * + * This file contains special DoxyGen information for the generation of the main page and other special + * documentation pages. It is not a project source file. + */ + +/** \page Page_BuildSystem The LUFA Build System + * + * \section Sec_BuildSystem_Overview Overview of the LUFA Build System + * The LUFA build system was originally an attempt at making a set of + * re-usable, modular build make files which could be referenced in a LUFA + * powered project, to minimize the amount of code required in an + * application makefile. + * + * As it turned out to be fairly generic in nature, it was split out into its + * own separate project, called DMBS (Dean's Makefile Build System) + * which is released into the public domain. LUFA-specific portions of the + * LUFA build system extend DMBS, and provide a universal build system for all + * LUFA projects. + * + * The latest DMBS project information and documentation can be found at: + * https://github.com/abcminiuser/dmbs + * + * DMBS is written in GNU Make, and each module is independent of one-another. + * + * LUFA now uses DMBS for its build system, with some LUFA specific extension + * modules. + * + * If you have problems building using LUFA, see \subpage Page_BuildTroubleshooting for resolution steps. + * + * \li \subpage Page_BuildModule_LUFA_SOURCES - The LUFA SOURCES extension module for DMBS + * \li \subpage Page_BuildModule_LUFA_GCC - The LUFA GCC extension module for DMBS + */ + +/** \page Page_BuildModule_LUFA_SOURCES LUFA SOURCES extension module for DMBS + * + * The LUFA SOURCES extension more for DMBS provides LUFA specific variables + * listing the various LUFA source files required to be build by a project for + * a given LUFA module. This module gives a way to reference LUFA source files + * symbolically, so that changes to the library structure do not break the + * library makefile. + * + * To use this module in your application makefile, add the following code: + * \code + * include $(LUFA_PATH)/Build/LUFA/lufa-sources.mk + * \endcode + * + * \section SSec_BuildModule_LUFA_SOURCES_Requirements Requirements + * None. + * + * \section SSec_BuildModule_LUFA_SOURCES_Targets Targets + * + * + * + * + * + *
None
+ * + * \section SSec_BuildModule_LUFA_SOURCES_MandatoryParams Mandatory Parameters + * + * + * + * + * + * + * + * + * + * + *
LUFA_PATHPath to the LUFA library core, either relative or absolute (e.g. ../LUFA-000000/LUFA/).
ARCHArchitecture of the target processor (see \ref Page_DeviceSupport).
+ * + * \section SSec_BuildModule_LUFA_SOURCES_OptionalParams Optional Parameters + * + * + * + * + * + *
None
+ * + * \section SSec_BuildModule_LUFA_SOURCES_ProvidedVariables Module Provided Variables + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
LUFA_SRC_USBList of LUFA USB driver source files.
LUFA_SRC_USBCLASSList of LUFA USB Class driver source files.
LUFA_SRC_TEMPERATUREList of LUFA temperature sensor driver source files.
LUFA_SRC_SERIALList of LUFA Serial U(S)ART driver source files.
LUFA_SRC_TWIList of LUFA TWI driver source files.
LUFA_SRC_PLATFORMList of LUFA architecture specific platform management source files.
+ * + * \section SSec_BuildModule_LUFA_SOURCES_ProvidedMacros Module Provided Macros + * + * + * + * + * + *
None
+ */ + +/** \page Page_BuildModule_LUFA_GCC LUFA GCC extension module for DMBS + * + * The LUFA GCC extension module for the standard DMBS GCC module extends the + * latter to support the compilation of LUFA powered projects. It should be + * imported into your LUFA powered project makefiles to ensure that the correct + * build settings are used for the project's configuration. + * + * To use this module in your application makefile, add the following code: + * \code + * include $(LUFA_PATH)/Build/LUFA/lufa-gcc.mk + * \endcode + * + * \section SSec_BuildModule_LUFA_GCC_Requirements Requirements + * This module should be included in your makefile *after* the DMBS GCC module. + * + * \section SSec_BuildModule_LUFA_GCC_Targets Targets + * + * + * + * + * + *
None
+ * + * \section SSec_BuildModule_LUFA_GCC_MandatoryParams Mandatory Parameters + * + * + * + * + * + * + *
LUFA_PATHPath to the LUFA library core, either relative or absolute (e.g. ../LUFA-000000/LUFA/).
+ * + * \section SSec_BuildModule_LUFA_GCC_OptionalParams Optional Parameters + * + * + * + * + * + * + *
BOARDLUFA board hardware drivers to use (see \ref Page_DeviceSupport).
+ * + * \section SSec_BuildModule_LUFA_GCC_ProvidedVariables Module Provided Variables + * + * + * + * + * + *
None
+ * + * \section SSec_BuildModule_LUFA_GCC_ProvidedMacros Module Provided Macros + * + * + * + * + * + *
None
+ */ + +/** \page Page_BuildTroubleshooting Troubleshooting Information + * + * LUFA uses a lot of advanced features of the AVR-GCC compiler, linker, and + * surrounding binaries. This can sometimes lead to problems compiling + * applications if one of these features is buggy in the version of the tools + * used in a build environment. Missing utilities and incorrectly set makefile + * configuration options can also result in different errors being produced + * when compilation or other operations are attempted. The table below lists a + * set of commonly encountered errors and their resolutions. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ProblemResolution
Error "relocation truncated to fit: R_AVR_13_PCREL against symbol {X}" shown when compiling.Try compiling with the setting LINKER_RELAXATIONS=N in your LUFA Build System 2.0 makefile, or remove the line -Wl,--relax + * from other makefiles. Alternatively, make sure you have the latest version of the Atmel Toolchain installed for your system.
Error "error: ld terminated with signal 11 [Segmentation fault]" shown when compiling.Try compiling with the setting DEBUG_LEVEL=2 in your LUFA Build System 2.0 makefile, or make sure you are using binutils version 2.22 or later.
Error "EMERGENCY ABORT: INFINITE RECURSION DETECTED" shown when compiling.Make sure you are using an up to date version of GNU Make when compiling. This error is a safety system added to the mid-level makefiles, to prevent an issue with + * GNU make or other variants of Make causing an infinitely recursive build.
Error "Unsupported architecture "{X}"" shown when compiling.Ensure your makefile's ARCH setting is set to one of the architecture names (case-sensitive) supported by the version of LUFA you are compiling against.
Error "Makefile {X} value not set" shown when compiling.The specified Makefile value was not configured in your project's makefile or on the command line, and the nominated setting is required by one or more LUFA + * build system modules. Define the value in your project makefile and try again.
Error "Makefile {X} option cannot be blank" shown when compiling.The specified Makefile value was configured in your project's makefile or on the command line, but was set to an empty value. For the nominated configuration + * option, an empty value is not allowed. Define the nominated setting to a correct non-blank value and try again.
Error "Makefile {X} option must be Y or N" shown when compiling.The specified Makefile value was configured in your project's makefile or on the command line, but was set to a value other than a Y (for "Yes") or "N" (for "No"). + * This configuration option is required to be one of the aforementioned boolean values, and other values are invalid. Set this option to either Y or N and try again.
Error "Unknown input source file formats: {X}" shown when compiling.The nominated source files, specified in your project's makefile in the SRC configuration option, has an extension that the LUFA build system does not + * recognise. The file extensions are case sensitive, and must be one of the supported formats (*.c, *.cpp or *.S).
Error "Cannot build with OBJDIR parameter set - one or more object file name is not unique" shown when compiling.When a project is built with a non-empty OBJDIR object directory name set, all input source files must have unique names, excluding extension and path. + * This means that input files that are named identically and differ only by their path or extension are invalid when this mode is used.
Error "Source file does not exist: {X}" shown when compiling.The nominated input source file, specified in the user project's SRC parameter, could not be found. Ensure the source file exists and the absolute or + * relative path given in the user project makefile is correct and try again.
Error "Doxygen configuration file {X} does not exist" shown when upgrading a Doxygen configuration file.The nominated Doxygen configuration file, specified in the user project's DOXYGEN_CONF parameter, could not be found. Ensure the configuration file exists + * and the absolute or relative path given in the user project makefile is correct and try again, or run the appropriate makefile target to generate a new configuration + * file.
Error "avr-gcc: error: unrecognized option '{X}'" shown when compiling.An unrecognised option was supplied to the compiler, usually in the C_FLAGS, CPP_FLAGS, ASM_FLAGS or CC_FLAGS configuration + * options. The nominated compiler switch may be invalid, or unsupported by the version of AVR-GCC on the host system. Remove the unrecognised flag if invalid, or + * upgrade to the latest AVR-GCC. If the option is a valid linker option, use the prefix "-Wl," to ensure it is passed to the linker correctly.
Error "makefile:{X}: {Y}.mk: No such file or directory" shown when make is invoked.The path to the nominated makefile module was incorrect. This usually indicates that the makefile LUFA_PATH option is not set to a valid relative or + * absolute path to the LUFA library core.
Error "fatal error: LUFAConfig.h: No such file or directory" shown when compiling.The USE_LUFA_CONFIG_HEADER compile time option was set in the user project makefile, but the user supplied LUFAConfig.h header could not be + * found. Ensure that the directory that contains this configuration file is correctly passed to the compiler via the -I switch in the makefile CC_FLAGS + * parameter.
Error "ld.exe: section .apitable_trampolines loaded at {X} overlaps section .text" shown when compiling a bootloader.The bootloader is compiling too large for the given FLASH_SIZE_KB and BOOT_SECTION_SIZE_KB parameters set in the bootloader makefile. This + * usually indicates that these values are incorrect for the specified device the bootloader is targeting. If these values are correct, a newer version of the + * compiler may need to be used to ensure that the bootloader is built within the section size constraints of the target device.
Error "unknown MCU '{X}' specified" shown when compiling.The specified microcontroller device model name set in the user application's makefile as the MCU parameter is incorrect, or unsupported by the + * version of the compiler being used. Make sure the model name is correct, or upgrade to the latest Atmel Toolchain to obtain newer device support.
Error "undefined reference to `{X}'" shown when compiling.This is usually caused by a missing source file in the user application's SRC configuration parameter. If the indicated symbol is one from the LUFA + * library, you may be missing a LUFA source makefile module (see \ref Page_BuildModule_LUFA_SOURCES).
+ * + * For troubleshooting other errors you encounter, please see \ref Sec_ProjectHelp. + */ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/BuildingLinkableLibraries.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/BuildingLinkableLibraries.txt similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/BuildingLinkableLibraries.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/BuildingLinkableLibraries.txt diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/ChangeLog.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/ChangeLog.txt similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/ChangeLog.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/ChangeLog.txt index 482c886..32332e8 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/ChangeLog.txt +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/ChangeLog.txt @@ -5,6 +5,102 @@ */ /** \page Page_ChangeLog Project Changelog + * + * \section Sec_ChangeLogXXXXXX Version XXXXXX + * New: + * - Core: + * - The USE_INTERNAL_SERIAL definition can now be overridden by the user to a custom string index (thanks to Nicohood) + * - New CCID class driver and associated demos (thanks to Filipe Rodrigues) + * - Library Applications: + * - Added Microsoft OS Compatibility descriptors to the RNDIS demos for driverless install on Windows 7 and newer + * - Added AVRISP-MKII support for target OSCCAL calibration (thanks to Jacob September) + * + * Changed: + * - Core: + * - Moved the functional descriptor types DTYPE_CSInterface and DTYPE_CSEndpoint to their respective CDC and Audio class + * drivers, as they are class-defined rather than general descriptor types. + * - Reduced compiled size of the Endpoint_Discard_Stream() and Endpoint_Null_Stream() functions. + * - Library Applications: + * - Updated Printer class bootloader to not store 32-bit HEX parser flash offsets on small flash devices. + * - Enabled Link Time Optimizations (LTO) on bootloaders to reduce compiled size on newer versions of GCC. + * + * Fixed: + * - Core: + * - Fixed DeviceUsesOUTPipe flag not being set correctly in the HID host class driver (thanks to Wolfgang Schnerring) + * - Fixed CDC Device class driver's internal serial stream created by \ref CDC_Device_CreateStream not returning the written + * character after a successful write (thanks to NicoHood) + * - Fixed incorrect endpoint bank setup on the UC3 architecture (thanks to Andrus Aaslaid) + * - Fixed CDC_Device_Send*_P() and CDC_Host_Send*_P() variant functions not compiled out for UC3 architecture + * - Fixed USB_STRING_DESCRIPTOR_ARRAY() not accepting more than two byte long arrays + * - Fixed HID report parser corruption when parsing PUSH and POP report item elements + * - Fixed HID report parser incorrectly decoding 32-bit USAGE elements + * - Fixed control request hangs in the Printer device class driver (thanks to Juergen Borleis) + * - Library Applications: + * - Fixed bootloaders not disabling global interrupts during erase and write operations (thanks to Zoltan) + * - Fixed bootloaders accepting flash writes to the bootloader region (thanks to NicoHood) + * - Fixed bootloaders incorrectly checking the BOOTRST fuse on start (thanks to Braden Kell) + * - Fixed Mass Storage bootloader incorrectly updating the lower nibble of the FAT12 cluster + * - Fixed void pointer arithmetic in the low level RNDIS demo protocol decoders + * - Fixed invalid DHCP server socket creation in the Webserver project + * + * \section Sec_ChangeLog170418 Version 170418 + * New: + * - Core: + * - Added support for the Pololu A-Star Micro board (thanks to Joh Schneider) + * - Added new \c LUFA_VERSION_RELEASE_TYPE macro to the library version header, to determine release type (thanks to NicoHood) + * + * Fixed: + * - Core: + * - The CALLBACK_USB_GetDescriptor() callback function into the user application erroneously had a uint8_t type for the wIndex + * parameter, instead of uint16_t (thanks to Matlo) + * - Fixed broken USE_RAM_DESCRIPTORS compile time option when the FIXED_NUM_CONFIGURATIONS compile time option is not enabled + * in a user application (thanks to Matlo) + * - Fixed missing \c va_end() calls in the HID bootloader CLI app which could cause portability issues + * - Fixed void pointer arithmetic in the \c Serial_SendData() functions for AVR8 and XMEGA architectures + * - Fixed invalid endpoint indexes causing memory corruption in device Clear/Set Feature standard requests (thanks to Peter Popovec) + * - Fixed incorrect serialization in USB_SetHIDReportItemInfo() function (thanks to e-chip) + * - Library Applications: + * - Fixed low level RNDIS demo incorrectly setting the RNDIS state when a null packet filter was requested + * - Fixed void pointer arithmetic in the low level and class driver RNDIS demo protocol decoders + * - Fixed missing entries in several project's Atmel Studio integration files, such as driver INF files + * + * Changed: + * - Core: + * - Replaced the LUFA build system with its (compatible) successor, DMBS (Dean's Makefile Build System) + * - Removed obsolete library TAR export and associated documentation + * - Fixed incorrect HID_DESCRIPTOR_KEYBOARD() macro definition (thanks to Eric Tang) + * - Library Applications: + * - Added signed alternative libUSB driver for the AVRISP-MKII clone project, to support Atmel Studio 7 (thanks to Atmel) + * - Removed no longer required LIBUSB_DRIVER_COMPAT and RESET_TOGGLES_LIBUSB_COMPAT configuration options from the AVRISP-MKII + * clone project, as the new libUSB driver works for AVRDUDE and Atmel Studio 7 under Windows + * + * \section Sec_ChangeLog151115 Version 151115 + * New: + * - Added support for the Atmel Xplained-MINI series of development kits + * - Added new PROGMEM variant send functions to the CDC class device driver (thanks to Stefan Hellermann) + * - Added new PROGMEM variant send functions to the CDC class host driver + * - Added additional Arduino Uno board definitions for the main processor reset (thanks to NicoHood) + * - Added modified DocBook transforms to generate Atmel Studio 6/7 internal help documentation (thanks to Morten Engelhardt Olsen) + * + * Changed: + * - Core: + * - The TWI peripheral driver's TWI_WritePacket() and TWI_ReadPacket() functions now takes a 16-bit Length rather than an 8-bit + * length, for longer transfers + * - Library Applications: + * - The CDC, DFU, Mass Storage and Printer class bootloaders will no longer run the user application if the application reset + * vector is blank (thanks to Alex Kazik) + * - The CDC, DFU and Printer class bootloaders are now compatible with the original Atmel XPLAIN and Arduino Leonardo boards + * - The CDC, DFU, Mass Storage and Printer class bootloaders are not compatible with devices with the BOOTRST fuse set and will + * exit automatically unless an external reset was the last reset cause (thanks to Alex Kazik) + * - Added missing force-inline attribute to the endianness utility functions (thanks to Stefan Hellermann) + * - Updated the DFU build system module to use updated EEPROM programming command arguments for dfu-programmer 0.6.2 or newer + * + * Fixed: + * - Fixed broken XMEGA serial stream driver due to missing USART base pointer parameter (thanks to William Patterson) + * - Fixed incorrect signature reported in the CDC/DFU bootloaders for the AT90USB82 (thanks to NicoHood) + * - Fixed broken RNDIS demos on Linux machines whose DHCP hosts require a Lease Time option (thanks to Stefan Hellermann) + * - Fixed broken LEDs_Disable() implementation for the Arduino Uno board (thanks to NicoHood) + * - Fixed missing bounds checks and off-by-one in the DFU bootloader signature bytes (thanks to Reuti) * * \section Sec_ChangeLog140928 Version 140928 * New: diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/CompileTimeTokens.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/CompileTimeTokens.txt similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/CompileTimeTokens.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/CompileTimeTokens.txt index ab075cf..92adf0d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/CompileTimeTokens.txt +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/CompileTimeTokens.txt @@ -113,8 +113,8 @@ * On the smaller USB AVRs, the USB controller lacks VBUS events to determine the physical connection state of the USB bus to a host. In lieu of * VBUS events, the library attempts to determine the connection state via the bus suspension and wake up events instead. This however may be * slightly inaccurate due to the possibility of the host suspending the bus while the device is still connected. If accurate connection status is - * required, the VBUS line of the USB connector should be routed to an AVR pin to detect its level, so that the USB_DeviceState global - * can be accurately set and the \ref EVENT_USB_Device_Connect() and \ref EVENT_USB_Device_Disconnect() events manually raised by the RAISE_EVENT macro. + * required, the VBUS line of the USB connector should be routed to an AVR pin to detect its level, so that the \ref USB_DeviceState global + * can be accurately set and the \ref EVENT_USB_Device_Connect() and \ref EVENT_USB_Device_Disconnect() events manually raised by the user application. * When defined, this token disables the library's auto-detection of the connection state by the aforementioned suspension and wake up events. * * \li NO_SOF_EVENTS - (\ref Group_Events) - All Architectures \n diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/CompilingApps.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/CompilingApps.txt similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/CompilingApps.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/CompilingApps.txt diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/ConfiguringApps.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/ConfiguringApps.txt similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/ConfiguringApps.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/ConfiguringApps.txt diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/DevelopingWithLUFA.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/DevelopingWithLUFA.txt similarity index 93% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/DevelopingWithLUFA.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/DevelopingWithLUFA.txt index 9a02f95..31b58fa 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/DevelopingWithLUFA.txt +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/DevelopingWithLUFA.txt @@ -17,7 +17,6 @@ * \li \subpage Page_VIDPID - Allocated USB VID and PID Values * \li \subpage Page_OSDrivers - Operating System Driver Information * \li \subpage Page_BuildLibrary - Building as a Linkable Library - * \li \subpage Page_ExportingLibrary - Exporting LUFA for IDE Use * \li \subpage Page_WritingBoardDrivers - How to Write Custom Board Drivers * \li \subpage Page_SoftwareBootloaderStart - How to jump to the bootloader in software */ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/DeviceSupport.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/DeviceSupport.txt similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/DeviceSupport.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/DeviceSupport.txt index 2a4b9c3..cff2cda 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/DeviceSupport.txt +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/DeviceSupport.txt @@ -92,6 +92,7 @@ * - STK525 * - STK526 * - XPLAIN (Original green board, not the newer blue XPLAINED family boards) + * - Xplained-MINI * * \section Sec_AVR8Support_ThirdParty Supported Third Party Boards * Currently supported third-party boards (see \ref Group_BoardTypes for makefile \c BOARD constant names): @@ -117,6 +118,7 @@ * - Olimex AVR-ISP-MK2 * - Paranoid Studio's US2AX (V1, V2 and V3 hardware revisions) * - PJRC Teensy (1.x and 2.x versions) + * - Pololu A-Star Micro * - Rikus' U2S * - Sparkfun U2 Breakout Board * - Stange ISP Programmer Board diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/DirectorySummaries.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/DirectorySummaries.txt similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/DirectorySummaries.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/DirectorySummaries.txt diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Donating.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/Donating.txt similarity index 50% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Donating.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/Donating.txt index 4a4b6aa..3e46890 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Donating.txt +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/Donating.txt @@ -9,18 +9,14 @@ * * \image html Images/Author.jpg "Dean Camera, LUFA Developer" * - * I am a 24 year old Atmel Applications Engineer, living in Trondheim, Norway and working on LUFA in my spare time. - * The development and support of this library requires much effort from myself, as I am the sole developer, maintainer - * and supporter. Please consider donating a small amount to support this and my future Open Source projects - All - * donations are greatly appreciated. + * I am a software developer working on LUFA in my spare time. The development and support of this library requires + * much effort from myself, as I am the sole developer, maintainer and supporter. Please consider donating a small + * amount to support this and my future Open Source projects - All donations are greatly appreciated. * * Note that commercial entities can remove the attribution portion of the LUFA license by a one-time fee - see * \ref Page_LicenseInfo for more details (Note: Please do NOT pay this in advance through the donation link below - * contact author for payment details.). * - * \htmlonly - * \image html "http://www.pledgie.com/campaigns/6927.png" - * \endhtmlonly - * Donate to this project via PayPal - Thanks in Advance! + * Donate to this project (via PayPal) - Thanks in Advance! */ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/FutureChanges.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/FutureChanges.txt similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/FutureChanges.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/FutureChanges.txt diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/GettingStarted.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/GettingStarted.txt similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/GettingStarted.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/GettingStarted.txt diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Groups.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/Groups.txt similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Groups.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/Groups.txt diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/Author.jpg b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/Images/Author.jpg similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/Author.jpg rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/Images/Author.jpg diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/LUFA.png b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/Images/LUFA.png similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/LUFA.png rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/Images/LUFA.png diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/LUFA_thumb.png b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/Images/LUFA_thumb.png similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Images/LUFA_thumb.png rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/Images/LUFA_thumb.png diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/KnownIssues.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/KnownIssues.txt similarity index 63% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/KnownIssues.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/KnownIssues.txt index 7018fec..9c17be4 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/KnownIssues.txt +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/KnownIssues.txt @@ -9,6 +9,99 @@ * issues in the library. Most of these issues should be corrected in the future release - see * \ref Page_FutureChanges for a list of planned changes in future releases. * + * \section Sec_KnownIssuesXXXXXX Version XXXXXX + * - AVR8 Architecture + * - No known issues. + * - UC3 Architecture + * \warning The UC3 device support is currently experimental (incomplete and/or non-functional), and is included for preview purposes only. \n + * + * - No demos, bootloaders or projects have been ported for the UC3 devices in the current release, + * although the architecture is supported in the LUFA core library. + * - DMA transfers to and from the USB controller are not yet implemented for this release. + * - The UC3C, UC3D and UC3L sub-families of UC3 are not currently supported by the library due to their + * altered USB controller design. + * - The various \c *_CreateStream() functions for creating standard \c compatible virtual file + * streams are not available on the UC3 architecture, due to a lack of suitable library support. + * - XMEGA Architecture + * \warning The XMEGA device support is currently experimental (incomplete and/or non-functional), and is included for preview purposes only. + * + * - Endpoints of more than 64 bytes are not currently supported in this release. + * - Isochronous endpoints are not currently supported in this release. As a result, the audio class + * cannot be used on XMEGA devices. + * - Multiple-bank endpoints are not currently supported in this release. + * - Early silicon revisions of the ATXMEGA128A1U are incompatible with LUFA, due to their various errata + * relating to the USB controller. + * - Architecture Independent + * - The LUFA library is not watchdog aware, and thus timeouts are possible if short periods are used + * and a lengthy USB operation is initiated. + * - No LUFA provided driver INF files for Windows are signed, and thus may fail to install on systems where driver signing is enforced (e.g. Windows 8/10). + * - Build System + * - No known issues. + * + * \section Sec_KnownIssues170418 Version 170418 + * - AVR8 Architecture + * - No known issues. + * - UC3 Architecture + * \warning The UC3 device support is currently experimental (incomplete and/or non-functional), and is included for preview purposes only. \n + * + * - No demos, bootloaders or projects have been ported for the UC3 devices in the current release, + * although the architecture is supported in the LUFA core library. + * - DMA transfers to and from the USB controller are not yet implemented for this release. + * - The UC3C, UC3D and UC3L sub-families of UC3 are not currently supported by the library due to their + * altered USB controller design. + * - The various \c *_CreateStream() functions for creating standard \c compatible virtual file + * streams are not available on the UC3 architecture, due to a lack of suitable library support. + * - XMEGA Architecture + * \warning The XMEGA device support is currently experimental (incomplete and/or non-functional), and is included for preview purposes only. + * + * - Endpoints of more than 64 bytes are not currently supported in this release. + * - Isochronous endpoints are not currently supported in this release. As a result, the audio class + * cannot be used on XMEGA devices. + * - Multiple-bank endpoints are not currently supported in this release. + * - Early silicon revisions of the ATXMEGA128A1U are incompatible with LUFA, due to their various errata + * relating to the USB controller. + * - Architecture Independent + * - The LUFA library is not watchdog aware, and thus timeouts are possible if short periods are used + * and a lengthy USB operation is initiated. + * - No LUFA provided driver INF files for Windows are signed, and thus may fail to install on systems where driver signing is enforced (e.g. Windows 8/10). + * - Build System + * - No known issues. + * - Atmel Studio Integration + * - Not all devices are listed in the "Supported Parts" screen when selecting a device. To select an alternative device, change the "Show Device" drop-down to "All Parts". + * - When switching boards after changing the device selection, a second conflicting \c BOARD symbol definition can be created that prevents successful compilation. To fix, open the project properties window (Project->Project {name} Properties... menu item), click the "Toolchain" tab, click "Symbols" under the "AVR/GNU C Compiler" section and remove the incorrect definition. + * + * \section Sec_KnownIssues151115 Version 151115 + * - AVR8 Architecture + * - No known issues. + * - UC3 Architecture + * \warning The UC3 device support is currently experimental (incomplete and/or non-functional), and is included for preview purposes only. \n + * + * - No demos, bootloaders or projects have been ported for the UC3 devices in the current release, + * although the architecture is supported in the LUFA core library. + * - DMA transfers to and from the USB controller are not yet implemented for this release. + * - The UC3C, UC3D and UC3L sub-families of UC3 are not currently supported by the library due to their + * altered USB controller design. + * - The various \c *_CreateStream() functions for creating standard \c compatible virtual file + * streams are not available on the UC3 architecture, due to a lack of suitable library support. + * - XMEGA Architecture + * \warning The XMEGA device support is currently experimental (incomplete and/or non-functional), and is included for preview purposes only. + * + * - Endpoints of more than 64 bytes are not currently supported in this release. + * - Isochronous endpoints are not currently supported in this release. As a result, the audio class + * cannot be used on XMEGA devices. + * - Multiple-bank endpoints are not currently supported in this release. + * - Early silicon revisions of the ATXMEGA128A1U are incompatible with LUFA, due to their various errata + * relating to the USB controller. + * - Architecture Independent + * - The LUFA library is not watchdog aware, and thus timeouts are possible if short periods are used + * and a lengthy USB operation is initiated. + * - No LUFA provided driver INF files for Windows are signed, and thus may fail to install on systems where driver signing is enforced (e.g. Windows 8). + * - Build System + * - No known issues. + * - Atmel Studio Integration + * - Not all devices are listed in the "Supported Parts" screen when selecting a device. To select an alternative device, change the "Show Device" drop-down to "All Parts". + * - When switching boards after changing the device selection, a second conflicting \c BOARD symbol definition can be created that prevents successful compilation. To fix, open the project properties window (Project->Project {name} Properties... menu item), click the "Toolchain" tab, click "Symbols" under the "AVR/GNU C Compiler" section and remove the incorrect definition. + * * \section Sec_KnownIssues140928 Version 140928 * - AVR8 Architecture * - No known issues. diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/LUFAPoweredProjects.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/LUFAPoweredProjects.txt similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/LUFAPoweredProjects.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/LUFAPoweredProjects.txt index b1816d0..47893a8 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/LUFAPoweredProjects.txt +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/LUFAPoweredProjects.txt @@ -18,6 +18,7 @@ * The following is a list of known AVR USB development boards, which recommend using LUFA for the USB stack. Some of these * are open design, and all are available for purchase as completed development boards suitable for project development. * + * \li Adafruit Atmega32u4 Breakout Board: http://www.adafruit.com/product/296 * \li AVR-USB-162, a USBKEY-like development board for the AT90USB162: http://olimex.com/dev/avr-usb-162.html * \li Benito #7, a no-frills USB board: http://www.dorkbotpdx.org/wiki/benito * \li Duce, the successor to the Benito #7: http://dorkbotpdx.org/wiki/duce @@ -76,6 +77,7 @@ * \li Gumbi, a Python library and USB GPIO controller: https://code.google.com/p/gumbi/ * \li Hardware Volume Control: https://github.com/davidk/hw-volume-control * \li Hiduino, a USB-MIDI replacement firmware for the Arduino Uno: http://code.google.com/p/hiduino/ + * \li HoodLoader2, an Arduino Uno enhanced USB AVR coprocessor bootloader: https://github.com/NicoHood/HoodLoader2 * \li IBM capacitive keybord replacement controller: http://downloads.cornall.co/ibm-capsense-usb-web/ibm-capsense-usb.html * \li Ikea RGB LED USB modification: http://slashhome.se/p/projects/id/ikea_dioder_usb/#project * \li IR electricity meter monitor: http://sourceforge.net/projects/irmetermon/ @@ -111,6 +113,7 @@ * \li Password keyring: http://owlsan.blogspot.no/2014/06/keyring-project-version-10.html * \li Picade alternative firmware, a retro Arcade controller/cabinet: https://github.com/rktrlng/picade_lufa * \li PPM signal generator over USB: https://github.com/G33KatWork/USBPPM + * \li ProdikeysDM, a converter for old Creative Labs Prodikeys DM keyboards for modern systems: https://github.com/hotkeymuc/ProdikeysDM_Adaptor * \li Programmable keyboard controller: http://41j.com/blog/2011/10/a-programmable-keyboard-controller/ * \li Programmable XBOX controller: http://richard-burke.dyndns.org/wordpress/pan-galactic-gargantuan-gargle-brain-aka-xbox-360-usb-controller/ * \li Project Surface, a touch interface controller for Windows 8: https://code.google.com/p/project-surface/ @@ -138,6 +141,7 @@ * \li Touchscreen Input Device: http://capnstech.blogspot.com/2010/07/touchscreen-update.html * \li UDFS, a BBC Micro USB disk filing system: https://github.com/makestuff/udfs * \li Universal USB AVR Module: http://usbavr.bplaced.net/ + * \li USB Adapter for an old Teletype Printer: www.savel.org/2020/07/11/avr-usb-printer-device-and-teletype/ * \li USB2AX, a USB to Dynamixel network adapter: http://paranoidstudio.assembla.com/wiki/show/paranoidstudio/USB2AX * \li USBPass, a USB password keeper: http://sroz.net/projects/usbpass/ * \li USB Business Card: http://www.limpkin.fr/index.php?post/2012/09/15/My-new-business-card @@ -168,6 +172,7 @@ * \li BitFury, a Bitcoin ASIC miner: https://github.com/aauer1/LUFA-BitFury/tree/master/Projects/BitfuryBTC * \li Ceberus, a MadCatz Xbox 360 arcade stick modifier: http://www.phreakmods.com/products/cerberus * \li CFFA3000, a CompactFlash interface for the Apple II: http://www.dreher.net/CFforAppleII + * \li ChameleonMini, a RFID monitoring tool: https://github.com/emsec/ChameleonMini/wiki * \li Digital Survey Instruments Magnetometer and Pointer: http://www.digitalsurveyinstruments.com/ * \li FinchRobot, a robot designed for educational use: http://www.finchrobot.com/ * \li Flysight, a GPS logger for wingsuit pilots: http://flysight.ca/ @@ -210,8 +215,9 @@ * * \li Adafruit "Ask an Engineer", 7th November 2010 * \li Arduino 2010 Keynote speech - * \li The Amp Hour podcast blog #11 * \li Blackhat 2011 conference, "Exploiting USB Devices with Arduino" + * \li Defcon 24 conference, "Universal Serial aBUSe" + * \li The Amp Hour podcast blog #11 * * \section Sec_PortsAndForks Non-Official LUFA Ports and Forks * The following are unofficial forks of the LUFA codebase, which implement different features such as support for diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/LibraryResources.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/LibraryResources.txt similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/LibraryResources.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/LibraryResources.txt diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/LicenseInfo.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/LicenseInfo.txt similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/LicenseInfo.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/LicenseInfo.txt diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/MainPage.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/MainPage.txt similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/MainPage.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/MainPage.txt diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/MigrationInformation.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/MigrationInformation.txt similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/MigrationInformation.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/MigrationInformation.txt index bc47d14..c456966 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/MigrationInformation.txt +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/MigrationInformation.txt @@ -10,6 +10,20 @@ * to the next version released. It does not indicate all new additions to the library in each version change, only * areas relevant to making older projects compatible with the API changes of each new release. * + * \section Sec_MigrationXXXXXX Version XXXXXX + * Device Mode + * - The \c DTYPE_CSInterface enum value has now been moved to the CDC and Audio drivers, as the constants \c CDC_DTYPE_CSInterface and \c AUDIO_DTYPE_CSInterface. + * - The \c DTYPE_CSEndpoint enum value has now been moved to the CDC and Audio drivers, as the constants \c CDC_DTYPE_CSEndpoint and \c AUDIO_DTYPE_CSEndpoint. + * + * \section Sec_Migration170418 Version 170418 + * Device Mode + * - The \c CALLBACK_USB_GetDescriptor() callback function into the user application's \c wIndex parameter is now \c uint16_t, not \c uint8_t. + * + * \section Sec_Migration151115 Migrating from 140928 to 151115 + * Non-USB Library Components + * - The ATPROGRAM LUFA build system module now defaults to the Atmel ICE debugger tool, instead of the Atmel JTAG ICE3. + * - The \c Serial_CreateStream() and \c Serial_CreateBlockingStream() functions now require a USART base pointer for XMEGA devices as the first parameter. + * * \section Sec_Migration140928 Migrating from 140302 to 140928 * Device Mode * - The device mode RNDIS class driver now requires a user-supplied buffer and buffer length to operate, rather diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/OSDrivers.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/OSDrivers.txt similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/OSDrivers.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/OSDrivers.txt diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/ProgrammingApps.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/ProgrammingApps.txt similarity index 92% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/ProgrammingApps.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/ProgrammingApps.txt index 4759ac8..653b4ad 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/ProgrammingApps.txt +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/ProgrammingApps.txt @@ -24,7 +24,4 @@ * If you wish to use the DFU bootloader to program in your application, refer to your DFU programmer's documentation. * Atmel provides a free utility called FLIP which is USB AVR compatible, and an open source (Linux compatible) * alternative exists called "dfu-programmer". - * - * \see \ref Page_BuildModule_DFU for information on the LUFA build system DFU module, for automatic DFU bootloader - * programming makefile targets. */ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/SoftwareBootloaderJump.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/SoftwareBootloaderJump.txt similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/SoftwareBootloaderJump.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/SoftwareBootloaderJump.txt index 0b69612..f8c2523 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/SoftwareBootloaderJump.txt +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/SoftwareBootloaderJump.txt @@ -31,7 +31,7 @@ * * uint32_t Boot_Key ATTR_NO_INIT; * - * #define MAGIC_BOOT_KEY 0xDC42ACCA + * #define MAGIC_BOOT_KEY 0xBADCAFE5 * #define BOOTLOADER_START_ADDRESS ((FLASH_SIZE_BYTES - BOOTLOADER_SEC_SIZE_BYTES) >> 1) * * void Bootloader_Jump_Check(void) ATTR_INIT_SECTION(3); diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Style/Footer.htm b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/Style/Footer.htm similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Style/Footer.htm rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/Style/Footer.htm diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Style/Style.css b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/Style/Style.css similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/Style/Style.css rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/Style/Style.css diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/VIDAndPIDValues.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/VIDAndPIDValues.txt similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/VIDAndPIDValues.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/VIDAndPIDValues.txt index 8b17220..8f62486 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/VIDAndPIDValues.txt +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/VIDAndPIDValues.txt @@ -181,7 +181,7 @@ * * 0x03EB * 0x206E - * Currently Unallocated + * CCID Class Demo Application * * * 0x03EB diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/WritingBoardDrivers.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/WritingBoardDrivers.txt similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/DoxygenPages/WritingBoardDrivers.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/DoxygenPages/WritingBoardDrivers.txt diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/ADAFRUITU4/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/ADAFRUITU4/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/ADAFRUITU4/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/ADAFRUITU4/Board.h index 48016e0..91ef3d9 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/ADAFRUITU4/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/ADAFRUITU4/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h index 9f31220..68d607f 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/Board.h index 07000ec..e488d1c 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/Buttons.h index 8b815db..71f24a3 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/LEDs.h index 76e89fd..5b62048 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BENITO/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BENITO/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BENITO/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BENITO/Board.h index 5584e1e..cfe87b7 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BENITO/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BENITO/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BENITO/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BENITO/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BENITO/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BENITO/Buttons.h index 96d14a3..280bb49 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BENITO/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BENITO/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BENITO/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BENITO/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BENITO/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BENITO/LEDs.h index 49df441..7441fc6 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BENITO/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BENITO/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BIGMULTIO/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BIGMULTIO/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BIGMULTIO/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BIGMULTIO/Board.h index 9d4e301..ebfb48d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BIGMULTIO/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BIGMULTIO/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BIGMULTIO/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BIGMULTIO/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BIGMULTIO/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BIGMULTIO/LEDs.h index 93d5bec..009099c 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BIGMULTIO/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BIGMULTIO/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BLACKCAT/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BLACKCAT/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BLACKCAT/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BLACKCAT/Board.h index 6eec7bf..797a167 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BLACKCAT/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BLACKCAT/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BLACKCAT/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BLACKCAT/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BLACKCAT/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BLACKCAT/LEDs.h index 4a72039..f388d20 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BLACKCAT/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BLACKCAT/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUI/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUI/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUI/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUI/Board.h index 067e870..df6f91d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUI/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUI/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUI/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUI/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUI/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUI/LEDs.h index e06edb5..eeb7d5a 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUI/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUI/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUMBLEB/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUMBLEB/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUMBLEB/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUMBLEB/Board.h index 906f0b5..70e4fac 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUMBLEB/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUMBLEB/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUMBLEB/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUMBLEB/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUMBLEB/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUMBLEB/Buttons.h index 0495425..eb715fc 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUMBLEB/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUMBLEB/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUMBLEB/Joystick.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUMBLEB/Joystick.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUMBLEB/Joystick.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUMBLEB/Joystick.h index 82d085e..85b5c66 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUMBLEB/Joystick.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUMBLEB/Joystick.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUMBLEB/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUMBLEB/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUMBLEB/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUMBLEB/LEDs.h index 5cd7b48..96d381d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/BUMBLEB/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/BUMBLEB/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/CULV3/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/CULV3/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/CULV3/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/CULV3/Board.h index 777902d..d85b851 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/CULV3/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/CULV3/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/CULV3/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/CULV3/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/CULV3/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/CULV3/Buttons.h index 6a26a99..fcdf788 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/CULV3/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/CULV3/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/CULV3/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/CULV3/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/CULV3/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/CULV3/LEDs.h index 3d2b8fd..724ecf9 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/CULV3/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/CULV3/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/DUCE/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/DUCE/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/DUCE/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/DUCE/Board.h index 44cf691..9a13704 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/DUCE/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/DUCE/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/DUCE/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/DUCE/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/DUCE/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/DUCE/LEDs.h index 83caded..3c1ea7b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/DUCE/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/DUCE/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/EVK527/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/EVK527/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/EVK527/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/EVK527/Board.h index c77c18b..697edb3 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/EVK527/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/EVK527/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/EVK527/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/EVK527/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/EVK527/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/EVK527/Buttons.h index 239880c..4eab3a3 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/EVK527/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/EVK527/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/EVK527/Dataflash.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/EVK527/Dataflash.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/EVK527/Dataflash.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/EVK527/Dataflash.h index 38b2b58..f2b19f2 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/EVK527/Dataflash.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/EVK527/Dataflash.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/EVK527/Joystick.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/EVK527/Joystick.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/EVK527/Joystick.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/EVK527/Joystick.h index 492c706..e5dabc3 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/EVK527/Joystick.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/EVK527/Joystick.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/EVK527/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/EVK527/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/EVK527/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/EVK527/LEDs.h index 84e689a..fe9c748 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/EVK527/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/EVK527/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/JMDBU2/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/JMDBU2/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/JMDBU2/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/JMDBU2/Board.h index 0f1aca0..b0d3e59 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/JMDBU2/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/JMDBU2/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/JMDBU2/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/JMDBU2/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/JMDBU2/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/JMDBU2/Buttons.h index 8050099..320e2e8 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/JMDBU2/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/JMDBU2/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/JMDBU2/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/JMDBU2/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/JMDBU2/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/JMDBU2/LEDs.h index 562103e..903dbcd 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/JMDBU2/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/JMDBU2/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/LEONARDO/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/LEONARDO/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/LEONARDO/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/LEONARDO/Board.h index 95ef437..b20574d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/LEONARDO/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/LEONARDO/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/LEONARDO/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/LEONARDO/LEDs.h similarity index 92% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/LEONARDO/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/LEONARDO/LEDs.h index 73c6eba..8de7eb3 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/LEONARDO/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/LEONARDO/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -93,15 +93,6 @@ /** LED mask for none of the board LEDs. */ #define LEDS_NO_LEDS 0 - /** LED mask for the library LED driver, to indicate TX activity. */ - #define LEDMASK_TX LEDS_LED2 - - /** LED mask for the library LED driver, to indicate RX activity. */ - #define LEDMASK_RX LEDS_LED1 - - /** LED mask for the library LED driver, to indicate other activity. */ - #define LEDMASK_13 LEDS_LED3 - /* Inline Functions: */ #if !defined(__DOXYGEN__) static inline void LEDs_Init(void) diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MAXIMUS/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MAXIMUS/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MAXIMUS/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MAXIMUS/Board.h index 929e60a..7061fa6 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MAXIMUS/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MAXIMUS/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MAXIMUS/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MAXIMUS/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MAXIMUS/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MAXIMUS/LEDs.h index 695949a..6eb39ec 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MAXIMUS/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MAXIMUS/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICRO/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICRO/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICRO/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICRO/Board.h index 622bfc8..0ae90eb 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICRO/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICRO/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICRO/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICRO/LEDs.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICRO/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICRO/LEDs.h index c3e471d..50a9584 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICRO/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICRO/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROPENDOUS/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROPENDOUS/Board.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROPENDOUS/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROPENDOUS/Board.h index b84bf79..e22df87 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROPENDOUS/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROPENDOUS/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROPENDOUS/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROPENDOUS/Buttons.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROPENDOUS/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROPENDOUS/Buttons.h index 8adff2d..6c4f4c2 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROPENDOUS/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROPENDOUS/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROPENDOUS/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROPENDOUS/LEDs.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROPENDOUS/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROPENDOUS/LEDs.h index 253ad31..24a69eb 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROPENDOUS/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROPENDOUS/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROSIN162/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROSIN162/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROSIN162/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROSIN162/Board.h index 3ffb028..5be5f06 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROSIN162/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROSIN162/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROSIN162/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROSIN162/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROSIN162/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROSIN162/Buttons.h index 68344fe..0af9ca7 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROSIN162/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROSIN162/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROSIN162/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROSIN162/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROSIN162/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROSIN162/LEDs.h index 51d1b3e..72f568b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MICROSIN162/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MICROSIN162/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MINIMUS/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MINIMUS/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MINIMUS/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MINIMUS/Board.h index 80b8b3c..9671f0c 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MINIMUS/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MINIMUS/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MINIMUS/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MINIMUS/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MINIMUS/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MINIMUS/Buttons.h index ec94445..9585f5d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MINIMUS/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MINIMUS/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h index adc3468..248eb96 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MULTIO/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MULTIO/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MULTIO/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MULTIO/Board.h index 84f3d87..edc722e 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MULTIO/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MULTIO/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MULTIO/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MULTIO/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MULTIO/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MULTIO/LEDs.h index ca6d440..1fb4981 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/MULTIO/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/MULTIO/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX162/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX162/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX162/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX162/Board.h index b9bcf77..0c6bfa7 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX162/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX162/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX162/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX162/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX162/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX162/Buttons.h index 3714c5e..5564e81 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX162/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX162/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX162/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX162/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX162/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX162/LEDs.h index 5ecc1f5..e2c8da6 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX162/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX162/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX32U4/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX32U4/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX32U4/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX32U4/Board.h index 657b15c..4b87f53 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX32U4/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX32U4/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX32U4/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX32U4/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX32U4/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX32U4/Buttons.h index 8e33fd9..b16e88f 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX32U4/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX32U4/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX32U4/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX32U4/LEDs.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX32U4/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX32U4/LEDs.h index 259859c..e49f08b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEX32U4/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEX32U4/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/Board.h index d318a82..56488e1 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/Buttons.h index aff10b1..8ec8c47 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/LEDs.h index 033fca0..535ddf2 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXISPMK2/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/Board.h index 690fee1..fdf3539 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/Buttons.h index 634eda9..6522ac5 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h index 2bbaf68..0fbbc95 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/POLOLUMICRO/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/POLOLUMICRO/Board.h new file mode 100644 index 0000000..be9371d --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/POLOLUMICRO/Board.h @@ -0,0 +1,79 @@ +/* + LUFA Library + Copyright (C) Dean Camera, 2020. + + dean [at] fourwalledcubicle [dot] com + www.lufa-lib.org +*/ + +/* + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) + + Permission to use, copy, modify, distribute, and sell this + software and its documentation for any purpose is hereby granted + without fee, provided that the above copyright notice appear in + all copies and that both that the copyright notice and this + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of the author not be used in + advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + The author disclaims all warranties with regard to this + software, including all implied warranties of merchantability + and fitness. In no event shall the author be liable for any + special, indirect or consequential damages or any damages + whatsoever resulting from loss of use, data or profits, whether + in an action of contract, negligence or other tortious action, + arising out of or in connection with the use or performance of + this software. +*/ + +/** \file + * \brief Board specific information header for the "Pololu A-Star Micro" board. + * \copydetails Group_BoardInfo_POLOLUMICRO + * + * \note This file should not be included directly. It is automatically included as needed by the Board driver + * dispatch header located in LUFA/Drivers/Board/Board.h. + */ + +/** \ingroup Group_BoardInfo + * \defgroup Group_BoardInfo_POLOLUMICRO POLOLUMICRO + * \brief Board specific information header for the "Pololu A-Star Micro" board. + * + * Board specific information header: + * https://www.pololu.com/docs/0J61 -> https://www.pololu.com/docs/0J61/3.1 + * + * @{ + */ + +#ifndef __BOARD_POLOLUMICRO_H__ +#define __BOARD_POLOLUMICRO_H__ + + /* Includes: */ + #include "../../../../Common/Common.h" + #include "../../LEDs.h" + + /* Enable C linkage for C++ Compilers: */ + #if defined(__cplusplus) + extern "C" { + #endif + + /* Preprocessor Checks: */ + #if !defined(__INCLUDE_FROM_BOARD_H) + #error Do not include this file directly. Include LUFA/Drivers/Board/Board.h instead. + #endif + + /* Public Interface - May be used in end-application: */ + /* Macros: */ + /** Indicates the board has hardware LEDs mounted. */ + #define BOARD_HAS_LEDS + + /* Disable C linkage for C++ Compilers: */ + #if defined(__cplusplus) + } + #endif + +#endif + +/** @} */ + diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/POLOLUMICRO/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/POLOLUMICRO/LEDs.h new file mode 100644 index 0000000..1ed671e --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/POLOLUMICRO/LEDs.h @@ -0,0 +1,154 @@ +/* + LUFA Library + Copyright (C) Dean Camera, 2020. + + dean [at] fourwalledcubicle [dot] com + www.lufa-lib.org +*/ + +/* + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) + + Permission to use, copy, modify, distribute, and sell this + software and its documentation for any purpose is hereby granted + without fee, provided that the above copyright notice appear in + all copies and that both that the copyright notice and this + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of the author not be used in + advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + The author disclaims all warranties with regard to this + software, including all implied warranties of merchantability + and fitness. In no event shall the author be liable for any + special, indirect or consequential damages or any damages + whatsoever resulting from loss of use, data or profits, whether + in an action of contract, negligence or other tortious action, + arising out of or in connection with the use or performance of + this software. +*/ + +/** \file + * \brief Board specific LED driver header for the Pololu A-Star Micro board. + * \copydetails Group_LEDs_MICRO + * + * \note This file should not be included directly. It is automatically included as needed by the LEDs driver + * dispatch header located in LUFA/Drivers/Board/LEDs.h. + */ + +/** \ingroup Group_LEDs + * \defgroup Group_LEDs_MICRO MICRO + * \brief Board specific LED driver header for the Pololu A-Star Micro board. + * + * Board specific LED driver header for the Pololu A-Star Micro board https://www.pololu.com/docs/0J61/3.1 + * + * + * + * + * + *
NameColorInfoActive LevelPort Pin
LEDS_LED1YellowGeneral IndicatorHighPORTC.7
LEDS_LED2GreenBootloader, USB-activityLowPORTD.5
+ * + * @{ + */ + +#ifndef __LEDS_MICRO_H__ +#define __LEDS_MICRO_H__ + + /* Includes: */ + #include "../../../../Common/Common.h" + + /* Enable C linkage for C++ Compilers: */ + #if defined(__cplusplus) + extern "C" { + #endif + + /* Preprocessor Checks: */ + #if !defined(__INCLUDE_FROM_LEDS_H) + #error Do not include this file directly. Include LUFA/Drivers/Board/LEDS.h instead. + #endif + + /* Private Interface - For use in library only: */ + #if !defined(__DOXYGEN__) + /* Macros: */ + #define LEDS_PORTC_LEDS (LEDS_LED1) + #define LEDS_PORTD_LEDS (LEDS_LED2) + #endif + + /* Public Interface - May be used in end-application: */ + /* Macros: */ + /** LED mask for the first LED on the board. */ + #define LEDS_LED1 (1 << 7) + + /** LED mask for the second LED on the board. */ + #define LEDS_LED2 (1 << 5) + + /** LED mask for all the LEDs on the board. */ + #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2) + + /** LED mask for none of the board LEDs. */ + #define LEDS_NO_LEDS 0 + + /* Inline Functions: */ + #if !defined(__DOXYGEN__) + static inline void LEDs_Init(void) + { + DDRD |= LEDS_PORTD_LEDS; + PORTD &= ~LEDS_PORTD_LEDS; + DDRC |= LEDS_PORTC_LEDS; + PORTC &= ~LEDS_PORTC_LEDS; + } + + static inline void LEDs_Disable(void) + { + DDRD &= ~LEDS_PORTD_LEDS; + PORTD &= ~LEDS_PORTD_LEDS; + DDRC &= ~LEDS_PORTC_LEDS; + PORTC &= ~LEDS_PORTC_LEDS; + } + + static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask) + { + PORTD |= (LEDMask & LEDS_PORTD_LEDS); + PORTC |= (LEDMask & LEDS_PORTC_LEDS); + } + + static inline void LEDs_TurnOffLEDs(const uint8_t LEDMask) + { + PORTD &= ~(LEDMask & LEDS_PORTD_LEDS); + PORTC &= ~(LEDMask & LEDS_PORTC_LEDS); + } + + static inline void LEDs_SetAllLEDs(const uint8_t LEDMask) + { + PORTD = ((PORTD & ~LEDS_PORTD_LEDS) | (LEDMask & LEDS_PORTD_LEDS)); + PORTC = ((PORTC & ~LEDS_PORTC_LEDS) | (LEDMask & LEDS_PORTC_LEDS)); + } + + static inline void LEDs_ChangeLEDs(const uint8_t LEDMask, + const uint8_t ActiveMask) + { + PORTD = ((PORTD & ~(LEDMask & LEDS_PORTD_LEDS)) | (ActiveMask & LEDS_PORTD_LEDS)); + PORTC = ((PORTC & ~(LEDMask & LEDS_PORTC_LEDS)) | (ActiveMask & LEDS_PORTC_LEDS)); + } + + static inline void LEDs_ToggleLEDs(const uint8_t LEDMask) + { + PORTD ^= (LEDMask & LEDS_PORTD_LEDS); + PORTC ^= (LEDMask & LEDS_PORTC_LEDS); + } + + static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT; + static inline uint8_t LEDs_GetLEDs(void) + { + return ((PORTD & LEDS_PORTD_LEDS) | (PORTC & LEDS_PORTC_LEDS)); + } + #endif + + /* Disable C linkage for C++ Compilers: */ + #if defined(__cplusplus) + } + #endif + +#endif + +/** @} */ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/RZUSBSTICK/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/RZUSBSTICK/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/RZUSBSTICK/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/RZUSBSTICK/Board.h index 6fc3666..c2968ad 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/RZUSBSTICK/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/RZUSBSTICK/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/RZUSBSTICK/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/RZUSBSTICK/LEDs.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/RZUSBSTICK/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/RZUSBSTICK/LEDs.h index 6ebcdfc..82f4ccd 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/RZUSBSTICK/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/RZUSBSTICK/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/SPARKFUN8U2/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/SPARKFUN8U2/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/SPARKFUN8U2/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/SPARKFUN8U2/Board.h index 49cc2e5..16bb9b0 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/SPARKFUN8U2/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/SPARKFUN8U2/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/SPARKFUN8U2/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/SPARKFUN8U2/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/SPARKFUN8U2/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/SPARKFUN8U2/LEDs.h index b8eb4ab..e82efa2 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/SPARKFUN8U2/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/SPARKFUN8U2/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STANGE_ISP/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STANGE_ISP/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STANGE_ISP/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STANGE_ISP/Board.h index 36594fc..df6c6a0 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STANGE_ISP/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STANGE_ISP/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STANGE_ISP/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STANGE_ISP/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STANGE_ISP/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STANGE_ISP/Buttons.h index d4576b6..bf91329 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STANGE_ISP/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STANGE_ISP/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STANGE_ISP/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STANGE_ISP/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STANGE_ISP/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STANGE_ISP/LEDs.h index 9f10683..3e07d8b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STANGE_ISP/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STANGE_ISP/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK525/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK525/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK525/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK525/Board.h index bda925b..74e1249 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK525/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK525/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK525/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK525/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK525/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK525/Buttons.h index 532a46f..b24f24c 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK525/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK525/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK525/Dataflash.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK525/Dataflash.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK525/Dataflash.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK525/Dataflash.h index 825a7a5..9f66308 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK525/Dataflash.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK525/Dataflash.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK525/Joystick.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK525/Joystick.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK525/Joystick.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK525/Joystick.h index 6b9b4f4..10ecd42 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK525/Joystick.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK525/Joystick.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK525/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK525/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK525/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK525/LEDs.h index 53948b4..10dc1d2 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK525/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK525/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK526/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK526/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK526/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK526/Board.h index 6be146f..6d663a3 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK526/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK526/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK526/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK526/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK526/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK526/Buttons.h index bc598d3..490098b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK526/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK526/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK526/Dataflash.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK526/Dataflash.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK526/Dataflash.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK526/Dataflash.h index d2a59b1..5a8cf6a 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK526/Dataflash.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK526/Dataflash.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK526/Joystick.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK526/Joystick.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK526/Joystick.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK526/Joystick.h index 7decabc..78e5ae3 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK526/Joystick.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK526/Joystick.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK526/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK526/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK526/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK526/LEDs.h index 71525e9..cdce7c5 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/STK526/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/STK526/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/TEENSY/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/TEENSY/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/TEENSY/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/TEENSY/Board.h index 52e4d61..0c348f5 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/TEENSY/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/TEENSY/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h index 9f87224..5e00e9e 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/TUL/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/TUL/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/TUL/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/TUL/Board.h index 7759c37..777949e 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/TUL/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/TUL/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/TUL/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/TUL/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/TUL/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/TUL/Buttons.h index bbcca26..7cff649 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/TUL/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/TUL/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/TUL/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/TUL/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/TUL/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/TUL/LEDs.h index 8a14b8a..9ab0e07 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/TUL/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/TUL/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/U2S/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/U2S/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/U2S/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/U2S/Board.h index 128580a..6bc031d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/U2S/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/U2S/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/U2S/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/U2S/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/U2S/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/U2S/Buttons.h index 30f0a9f..3abdc44 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/U2S/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/U2S/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/U2S/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/U2S/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/U2S/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/U2S/LEDs.h index d7cf7cf..08cdf4e 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/U2S/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/U2S/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/UDIP/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/UDIP/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/UDIP/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/UDIP/Board.h index 3a40005..d378f26 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/UDIP/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/UDIP/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/UDIP/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/UDIP/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/UDIP/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/UDIP/Buttons.h index dab29a6..a35ef35 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/UDIP/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/UDIP/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/UDIP/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/UDIP/LEDs.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/UDIP/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/UDIP/LEDs.h index fbcc8ff..a48c29c 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/UDIP/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/UDIP/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/UNO/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/UNO/Board.h similarity index 90% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/UNO/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/UNO/Board.h index 38e2cb0..e2947f7 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/UNO/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/UNO/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -66,12 +66,12 @@ /* Macros: */ /** Indicates the board has hardware LEDs mounted. */ #define BOARD_HAS_LEDS - + /** Pin that can reset the main MCU. */ - #define AVR_RESET_LINE_PORT PORTD - #define AVR_RESET_LINE_DDR DDRD - #define AVR_RESET_LINE_PIN PIND - #define AVR_RESET_LINE_MASK (1 << PD7) + #define AVR_RESET_LINE_PORT PORTD + #define AVR_RESET_LINE_DDR DDRD + #define AVR_RESET_LINE_PIN PIND + #define AVR_RESET_LINE_MASK (1 << PD7) /* Disable C linkage for C++ Compilers: */ #if defined(__cplusplus) diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/UNO/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/UNO/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/UNO/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/UNO/LEDs.h index 28c0747..04b94e7 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/UNO/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/UNO/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -80,10 +80,10 @@ /** LED mask for none of the board LEDs. */ #define LEDS_NO_LEDS 0 - + /** LED mask for the library LED driver, to indicate TX activity. */ #define LEDMASK_TX LEDS_LED1 - + /** LED mask for the library LED driver, to indicate RX activity. */ #define LEDMASK_RX LEDS_LED2 diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USB2AX/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USB2AX/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USB2AX/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USB2AX/Board.h index 05a4dea..d320d5d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USB2AX/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USB2AX/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USB2AX/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USB2AX/Buttons.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USB2AX/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USB2AX/Buttons.h index 170a9af..01f5e44 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USB2AX/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USB2AX/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USB2AX/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USB2AX/LEDs.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USB2AX/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USB2AX/LEDs.h index 03550fc..fc1955d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USB2AX/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USB2AX/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBFOO/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBFOO/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBFOO/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBFOO/Board.h index 15c41ab..d5aeeb4 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBFOO/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBFOO/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBFOO/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBFOO/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBFOO/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBFOO/Buttons.h index e901437..a450c67 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBFOO/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBFOO/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBFOO/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBFOO/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBFOO/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBFOO/LEDs.h index e396630..aaaa47f 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBFOO/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBFOO/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBKEY/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBKEY/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBKEY/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBKEY/Board.h index 3663056..c9683c8 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBKEY/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBKEY/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBKEY/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBKEY/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBKEY/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBKEY/Buttons.h index 3ec7b3a..861a82f 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBKEY/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBKEY/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBKEY/Dataflash.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBKEY/Dataflash.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBKEY/Dataflash.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBKEY/Dataflash.h index 85a8dda..17f5bc5 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBKEY/Dataflash.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBKEY/Dataflash.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBKEY/Joystick.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBKEY/Joystick.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBKEY/Joystick.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBKEY/Joystick.h index 45d5a66..cc233aa 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBKEY/Joystick.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBKEY/Joystick.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBKEY/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBKEY/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBKEY/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBKEY/LEDs.h index dc02da5..40c0507 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBKEY/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBKEY/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBTINYMKII/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBTINYMKII/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBTINYMKII/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBTINYMKII/Board.h index 492aced..501aebd 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBTINYMKII/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBTINYMKII/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBTINYMKII/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBTINYMKII/Buttons.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBTINYMKII/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBTINYMKII/Buttons.h index 682239c..42ab4b3 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBTINYMKII/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBTINYMKII/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBTINYMKII/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBTINYMKII/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBTINYMKII/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBTINYMKII/LEDs.h index a2decbc..bf00fde 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/USBTINYMKII/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/USBTINYMKII/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/XPLAIN/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/XPLAIN/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/XPLAIN/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/XPLAIN/Board.h index 57ad4c9..7c59b8c 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/XPLAIN/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/XPLAIN/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/XPLAIN/Dataflash.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/XPLAIN/Dataflash.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/XPLAIN/Dataflash.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/XPLAIN/Dataflash.h index a8078f6..33b5199 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/XPLAIN/Dataflash.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/XPLAIN/Dataflash.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/XPLAIN/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/XPLAIN/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/XPLAIN/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/XPLAIN/LEDs.h index 338b1b4..3855c75 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/XPLAIN/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/XPLAIN/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/XPLAINED_MINI/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/XPLAINED_MINI/Board.h new file mode 100644 index 0000000..569dc40 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/XPLAINED_MINI/Board.h @@ -0,0 +1,78 @@ +/* + LUFA Library + Copyright (C) Dean Camera, 2019. + + dean [at] fourwalledcubicle [dot] com + www.lufa-lib.org +*/ + +/* + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) + + Permission to use, copy, modify, distribute, and sell this + software and its documentation for any purpose is hereby granted + without fee, provided that the above copyright notice appear in + all copies and that both that the copyright notice and this + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of the author not be used in + advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + The author disclaims all warranties with regard to this + software, including all implied warranties of merchantability + and fitness. In no event shall the author be liable for any + special, indirect or consequential damages or any damages + whatsoever resulting from loss of use, data or profits, whether + in an action of contract, negligence or other tortious action, + arising out of or in connection with the use or performance of + this software. +*/ + +/** \file + * \brief Board specific information header for the Atmel Xplained-MINI series kits. + * \copydetails Group_BoardInfo_XPLAINED_MINI + * + * \note This file should not be included directly. It is automatically included as needed by the Board driver + * dispatch header located in LUFA/Drivers/Board/Board.h. + */ + +/** \ingroup Group_BoardInfo + * \defgroup Group_BoardInfo_XPLAINED_MINI XPLAINED_MINI + * \brief Board specific information header for the Atmel Xplained-MINI series kits. + * + * Board specific information header for the Atmel Xplained-MINI series kits. + * + * @{ + */ + +#ifndef __BOARD_XPLAINED_MINI_H__ +#define __BOARD_XPLAINED_MINI_H__ + + /* Includes: */ + #include "../../../../Common/Common.h" + #include "../../LEDs.h" + + /* Enable C linkage for C++ Compilers: */ + #if defined(__cplusplus) + extern "C" { + #endif + + /* Preprocessor Checks: */ + #if !defined(__INCLUDE_FROM_BOARD_H) + #error Do not include this file directly. Include LUFA/Drivers/Board/Board.h instead. + #endif + + /* Public Interface - May be used in end-application: */ + /* Macros: */ + /** Indicates the board has hardware LEDs mounted. */ + #define BOARD_HAS_LEDS + + /* Disable C linkage for C++ Compilers: */ + #if defined(__cplusplus) + } + #endif + +#endif + +/** @} */ + diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/XPLAINED_MINI/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/XPLAINED_MINI/LEDs.h new file mode 100644 index 0000000..403c920 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/XPLAINED_MINI/LEDs.h @@ -0,0 +1,135 @@ +/* + LUFA Library + Copyright (C) Dean Camera, 2019. + + dean [at] fourwalledcubicle [dot] com + www.lufa-lib.org +*/ + +/* + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) + + Permission to use, copy, modify, distribute, and sell this + software and its documentation for any purpose is hereby granted + without fee, provided that the above copyright notice appear in + all copies and that both that the copyright notice and this + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of the author not be used in + advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + The author disclaims all warranties with regard to this + software, including all implied warranties of merchantability + and fitness. In no event shall the author be liable for any + special, indirect or consequential damages or any damages + whatsoever resulting from loss of use, data or profits, whether + in an action of contract, negligence or other tortious action, + arising out of or in connection with the use or performance of + this software. +*/ + +/** \file + * \brief Board specific LED driver header for the Atmel Xplained-MINI series kits.. + * \copydetails Group_LEDs_XPLAINED_MINI + * + * \note This file should not be included directly. It is automatically included as needed by the LEDs driver + * dispatch header located in LUFA/Drivers/Board/LEDs.h. + */ + +/** \ingroup Group_LEDs + * \defgroup Group_LEDs_XPLAINED_MINI XPLAINED_MINI + * \brief Board specific LED driver header for the Atmel Xplained-MINI series kits. + * + * Board specific LED driver header for the Atmel Xplained-MINI series kits. + * + * + * + * + *
NameColorInfoActive LevelPort Pin
LEDS_LED1GreenGeneral IndicatorLowPORTC.6
+ * + * @{ + */ + +#ifndef __LEDS_XPLAINED_MINI_H__ +#define __LEDS_XPLAINED_MINI_H__ + + /* Includes: */ + #include "../../../../Common/Common.h" + + /* Enable C linkage for C++ Compilers: */ + #if defined(__cplusplus) + extern "C" { + #endif + + /* Preprocessor Checks: */ + #if !defined(__INCLUDE_FROM_LEDS_H) + #error Do not include this file directly. Include LUFA/Drivers/Board/LEDS.h instead. + #endif + + /* Public Interface - May be used in end-application: */ + /* Macros: */ + /** LED mask for the first LED on the board. */ + #define LEDS_LED1 (1 << 6) + + /** LED mask for all the LEDs on the board. */ + #define LEDS_ALL_LEDS LEDS_LED1 + + /** LED mask for none of the board LEDs. */ + #define LEDS_NO_LEDS 0 + + /* Inline Functions: */ + #if !defined(__DOXYGEN__) + static inline void LEDs_Init(void) + { + DDRC |= LEDS_ALL_LEDS; + PORTC |= LEDS_ALL_LEDS; + } + + static inline void LEDs_Disable(void) + { + DDRC &= ~LEDS_ALL_LEDS; + PORTC &= ~LEDS_ALL_LEDS; + } + + static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask) + { + PORTC &= ~LEDMask; + } + + static inline void LEDs_TurnOffLEDs(const uint8_t LEDMask) + { + PORTC |= LEDMask; + } + + static inline void LEDs_SetAllLEDs(const uint8_t LEDMask) + { + PORTC = ((PORTC | LEDS_ALL_LEDS) & ~LEDMask); + } + + static inline void LEDs_ChangeLEDs(const uint8_t LEDMask, + const uint8_t ActiveMask) + { + PORTC = ((PORTC | LEDMask) & ~ActiveMask); + } + + static inline void LEDs_ToggleLEDs(const uint8_t LEDMask) + { + PINC = LEDMask; + } + + static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT; + static inline uint8_t LEDs_GetLEDs(void) + { + return (~PORTC & LEDS_ALL_LEDS); + } + #endif + + /* Disable C linkage for C++ Compilers: */ + #if defined(__cplusplus) + } + #endif + +#endif + +/** @} */ + diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/YUN/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/YUN/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/YUN/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/YUN/Board.h index 1d99302..7ec1272 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/YUN/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/YUN/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/YUN/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/YUN/LEDs.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/YUN/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/YUN/LEDs.h index bcdd47f..de1493b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/AVR8/YUN/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/YUN/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Board.h index 27f4953..f814c7b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -157,6 +157,10 @@ #include "AVR8/YUN/Board.h" #elif (BOARD == BOARD_MICRO) #include "AVR8/MICRO/Board.h" + #elif (BOARD == BOARD_POLOLUMICRO) + #include "AVR8/POLOLUMICRO/Board.h" + #elif (BOARD == BOARD_XPLAINED_MINI) + #include "AVR8/XPLAINED_MINI/Board.h" #else #include "Board/Board.h" #endif diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Buttons.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Buttons.h index dc22cc1..7b474b4 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -93,8 +93,9 @@ #if (BOARD == BOARD_NONE) #define BUTTONS_BUTTON1 0 - static inline void Buttons_Init(void) {}; - static inline uint_reg_t Buttons_GetStatus(void) { return 0; }; + static inline void Buttons_Init(void) {} + static inline void Buttons_Disable(void) {} + static inline uint_reg_t Buttons_GetStatus(void) { return 0; } #elif (BOARD == BOARD_USBKEY) #include "AVR8/USBKEY/Buttons.h" #elif (BOARD == BOARD_STK525) diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Dataflash.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Dataflash.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Dataflash.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Dataflash.h index 9b4bf56..e43567b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Dataflash.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Dataflash.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Joystick.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Joystick.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Joystick.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Joystick.h index 4ecf61f..26179bb 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Joystick.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Joystick.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -105,8 +105,9 @@ #define JOY_LEFT 0 #define JOY_RIGHT 0 #define JOY_PRESS 0 - static inline void Joystick_Init(void) {}; - static inline uint_reg_t Joystick_GetStatus(void) { return 0; }; + static inline void Joystick_Init(void) {} + static inline void Joystick_Disable(void) {} + static inline uint_reg_t Joystick_GetStatus(void) { return 0; } #elif (BOARD == BOARD_USBKEY) #include "AVR8/USBKEY/Joystick.h" #elif (BOARD == BOARD_STK525) diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/LEDs.h similarity index 93% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/LEDs.h index 392714a..e8657af 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -108,13 +108,13 @@ #include "../../Common/Common.h" #if (BOARD == BOARD_NONE) - static inline void LEDs_Init(void) {}; - static inline void LEDs_Disable(void) {}; - static inline void LEDs_TurnOnLEDs(const uint_reg_t LEDMask) {}; - static inline void LEDs_TurnOffLEDs(const uint_reg_t LEDMask) {}; - static inline void LEDs_SetAllLEDs(const uint_reg_t LEDMask) {}; - static inline void LEDs_ChangeLEDs(const uint_reg_t LEDMask, const uint_reg_t ActiveMask) {}; - static inline void LEDs_ToggleLEDs(const uint_reg_t LEDMask) {}; + static inline void LEDs_Init(void) {} + static inline void LEDs_Disable(void) {} + static inline void LEDs_TurnOnLEDs(const uint_reg_t LEDMask) {} + static inline void LEDs_TurnOffLEDs(const uint_reg_t LEDMask) {} + static inline void LEDs_SetAllLEDs(const uint_reg_t LEDMask) {} + static inline void LEDs_ChangeLEDs(const uint_reg_t LEDMask, const uint_reg_t ActiveMask) {} + static inline void LEDs_ToggleLEDs(const uint_reg_t LEDMask) {} static inline uint_reg_t LEDs_GetLEDs(void) { return 0; } #elif (BOARD == BOARD_USBKEY) #include "AVR8/USBKEY/LEDs.h" @@ -207,6 +207,10 @@ #include "AVR8/YUN/LEDs.h" #elif (BOARD == BOARD_MICRO) #include "AVR8/MICRO/LEDs.h" + #elif (BOARD == BOARD_POLOLUMICRO) + #include "AVR8/POLOLUMICRO/LEDs.h" + #elif (BOARD == BOARD_XPLAINED_MINI) + #include "AVR8/XPLAINED_MINI/LEDs.h" #else #include "Board/LEDs.h" #endif diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Temperature.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Temperature.c similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Temperature.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Temperature.c index 8b09f10..122959b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Temperature.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Temperature.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Temperature.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Temperature.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Temperature.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Temperature.h index d20c6f7..b4600a6 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/Temperature.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/Temperature.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1100/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1100/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1100/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1100/Board.h index 0c34a3f..9baa255 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1100/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1100/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1100/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1100/Buttons.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1100/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1100/Buttons.h index fa45200..b9cea65 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1100/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1100/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1100/Joystick.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1100/Joystick.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1100/Joystick.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1100/Joystick.h index 72dd769..8146672 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1100/Joystick.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1100/Joystick.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1100/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1100/LEDs.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1100/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1100/LEDs.h index f66eddb..a72fb47 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1100/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1100/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1101/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1101/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1101/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1101/Board.h index 5d5f95a..c6542d1 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1101/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1101/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1101/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1101/Buttons.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1101/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1101/Buttons.h index 3de4b33..d669f65 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1101/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1101/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1101/Joystick.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1101/Joystick.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1101/Joystick.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1101/Joystick.h index f7a9a75..308cf2f 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1101/Joystick.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1101/Joystick.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1101/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1101/LEDs.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1101/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1101/LEDs.h index dad7771..7c9ca95 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1101/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1101/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1104/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1104/Board.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1104/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1104/Board.h index aa7adbf..e93d3a9 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1104/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1104/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1104/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1104/Buttons.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1104/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1104/Buttons.h index dfcfb66..a2c66f8 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1104/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1104/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1104/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1104/LEDs.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1104/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1104/LEDs.h index 2258a26..f527c73 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/EVK1104/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/EVK1104/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/Board.h index ec4d9c7..1aaaa8c 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/Buttons.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/Buttons.h index 8accb6f..3dbca79 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/LEDs.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/LEDs.h index 66b7834..381963c 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/UC3/UC3A3_XPLAINED/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Board.h index 824c3db..20c1af7 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Buttons.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Buttons.h index d5119eb..bd43521 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Dataflash.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Dataflash.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Dataflash.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Dataflash.h index 2d09839..85bbe57 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Dataflash.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/Dataflash.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/LEDs.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/LEDs.h index 16abfbc..b88d575 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Board.h index d807d18..2633c17 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Buttons.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Buttons.h index 9c458b4..9011242 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Dataflash.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Dataflash.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Dataflash.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Dataflash.h index f02ca4a..4e5510a 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Dataflash.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Dataflash.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/LEDs.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/LEDs.h index 7bd31ad..3d3f332 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/B1_XPLAINED/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/Board.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/Board.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/Board.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/Board.h index d90cc3a..0cbad7d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/Board.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/Board.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/Buttons.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/Buttons.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/Buttons.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/Buttons.h index db62b1d..4d1f70c 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/Buttons.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/Buttons.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/LEDs.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/LEDs.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/LEDs.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/LEDs.h index 737624b..3dd08bb 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/LEDs.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Board/XMEGA/C3_XPLAINED/LEDs.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Misc/AT45DB321C.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Misc/AT45DB321C.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Misc/AT45DB321C.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Misc/AT45DB321C.h index 2506928..dd838a5 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Misc/AT45DB321C.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Misc/AT45DB321C.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -48,14 +48,14 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** \name Dataflash Status Values */ - //@{ + /**@{*/ #define DF_STATUS_READY (1 << 7) #define DF_STATUS_COMPMISMATCH (1 << 6) #define DF_STATUS_SECTORPROTECTION_ON (1 << 1) - //@} + /**@}*/ /** \name Dataflash Commands */ - //@{ + /**@{*/ #define DF_CMD_GETSTATUS 0xD7 #define DF_CMD_MAINMEMTOBUFF1 0x53 @@ -89,7 +89,7 @@ #define DF_CMD_SECTORPROTECTIONOFF_BYTE4 0xCF #define DF_CMD_READMANUFACTURERDEVICEINFO 0x9F - //@} + /**@}*/ /** Manufacturer code for Atmel Corporation, returned by Atmel Dataflash ICs in response to the \c DF_CMD_READMANUFACTURERDEVICEINFO command. */ #define DF_MANUFACTURER_ATMEL 0x1F diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Misc/AT45DB642D.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Misc/AT45DB642D.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Misc/AT45DB642D.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Misc/AT45DB642D.h index ebbad71..5e8b960 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Misc/AT45DB642D.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Misc/AT45DB642D.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -48,15 +48,15 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** \name Dataflash Status Values */ - //@{ + /**@{*/ #define DF_STATUS_READY (1 << 7) #define DF_STATUS_COMPMISMATCH (1 << 6) #define DF_STATUS_SECTORPROTECTION_ON (1 << 1) #define DF_STATUS_BINARYPAGESIZE_ON (1 << 0) - //@} + /**@}*/ /** \name Dataflash Commands */ - //@{ + /**@{*/ #define DF_CMD_GETSTATUS 0xD7 #define DF_CMD_POWERDOWN 0xB9 #define DF_CMD_WAKEUP 0xAB @@ -105,7 +105,7 @@ #define DF_CMD_BINARYPAGESIZEMODEON_BYTE4 0xA6 #define DF_CMD_READMANUFACTURERDEVICEINFO 0x9F - //@} + /**@}*/ /** Manufacturer code for Atmel Corporation, returned by Atmel Dataflash ICs in response to the \c DF_CMD_READMANUFACTURERDEVICEINFO command. */ #define DF_MANUFACTURER_ATMEL 0x1F diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Misc/RingBuffer.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Misc/RingBuffer.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Misc/RingBuffer.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Misc/RingBuffer.h index 68fdb8e..b439476 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Misc/RingBuffer.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Misc/RingBuffer.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Misc/TerminalCodes.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Misc/TerminalCodes.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Misc/TerminalCodes.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Misc/TerminalCodes.h index d43fe01..53f7bf8 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Misc/TerminalCodes.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Misc/TerminalCodes.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -80,7 +80,7 @@ #endif /** \name Text Display Modifier Control Sequences */ - //@{ + /**@{*/ /** Turns on bold so that any following text is printed to the terminal in bold. */ #define ESC_BOLD_ON ANSI_ESCAPE_SEQUENCE("1m") @@ -114,10 +114,10 @@ * the center. */ #define ESC_STRIKETHROUGH_OFF ANSI_ESCAPE_SEQUENCE("29m") - //@} + /**@}*/ /** \name Text Colour Control Sequences */ - //@{ + /**@{*/ /** Sets the foreground (text) colour to black. */ #define ESC_FG_BLACK ANSI_ESCAPE_SEQUENCE("30m") @@ -171,10 +171,10 @@ /** Sets the text background colour to the terminal's default. */ #define ESC_BG_DEFAULT ANSI_ESCAPE_SEQUENCE("49m") - //@} + /**@}*/ /** \name Cursor Positioning Control Sequences */ - //@{ + /**@{*/ /** Saves the current cursor position so that it may be restored with \ref ESC_CURSOR_POS_RESTORE. */ #define ESC_CURSOR_POS_SAVE ANSI_ESCAPE_SEQUENCE("s") @@ -211,10 +211,10 @@ * \param[in] Columns Number of columns to move the cursor position */ #define ESC_CURSOR_BACKWARD(Columns) ANSI_ESCAPE_SEQUENCE(#Columns "D") - //@} + /**@}*/ /** \name Miscellaneous Control Sequences */ - //@{ + /**@{*/ /** Resets any escape sequence modifiers back to their defaults. */ #define ESC_RESET ANSI_ESCAPE_SEQUENCE("0m") @@ -223,7 +223,7 @@ /** Erases the current line, returning the cursor to the far left. */ #define ESC_ERASE_LINE ANSI_ESCAPE_SEQUENCE("K") - //@} + /**@}*/ #endif diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/ADC.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/ADC.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/ADC.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/ADC.h index 295c6e1..aa48569 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/ADC.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/ADC.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/ADC_AVR8.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/ADC_AVR8.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/ADC_AVR8.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/ADC_AVR8.h index 03b6ed0..82e20e6 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/ADC_AVR8.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/ADC_AVR8.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -100,7 +100,7 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** \name ADC Reference Configuration Masks */ - //@{ + /**@{*/ /** Reference mask, for using the voltage present at the AVR's AREF pin for the ADC reference. */ #define ADC_REFERENCE_AREF 0 @@ -109,10 +109,10 @@ /** Reference mask, for using the internally generated 2.56V reference voltage as the ADC reference. */ #define ADC_REFERENCE_INT2560MV ((1 << REFS1) | (1 << REFS0)) - //@} + /**@}*/ /** \name ADC Result Adjustment Configuration Masks */ - //@{ + /**@{*/ /** Left-adjusts the 10-bit ADC result, so that the upper 8 bits of the value returned by the * \ref ADC_GetResult() macro contain the 8 most significant bits of the result. */ @@ -122,10 +122,10 @@ * \ref ADC_GetResult() macro contain the 8 least significant bits of the result. */ #define ADC_RIGHT_ADJUSTED (0 << ADLAR) - //@} + /**@}*/ /** \name ADC Mode Configuration Masks */ - //@{ + /**@{*/ /** Sets the ADC mode to free running, so that conversions take place continuously as fast as the ADC * is capable of at the given input clock speed. */ @@ -135,10 +135,10 @@ * the ADC returns to idle. */ #define ADC_SINGLE_CONVERSION (0 << ADATE) - //@} + /**@}*/ /** \name ADC Prescaler Configuration Masks */ - //@{ + /**@{*/ /** Sets the ADC input clock to prescale by a factor of 2 the AVR's system clock. */ #define ADC_PRESCALE_2 (1 << ADPS0) @@ -159,10 +159,10 @@ /** Sets the ADC input clock to prescale by a factor of 128 the AVR's system clock. */ #define ADC_PRESCALE_128 ((1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0)) - //@} + /**@}*/ /** \name ADC MUX Masks */ - //@{ + /**@{*/ /** MUX mask define for the ADC0 channel of the ADC. See \ref ADC_StartReading() and \ref ADC_GetChannelReading(). */ #define ADC_CHANNEL0 (0x00 << MUX0) @@ -251,7 +251,7 @@ * \param[in] Channel Index of the ADC channel whose MUX mask is to be retrieved. */ #define ADC_GET_CHANNEL_MASK(Channel) CONCAT_EXPANDED(ADC_CHANNEL, Channel) - //@} + /**@}*/ /* Inline Functions: */ /** Configures the given ADC channel, ready for ADC conversions. This function sets the diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/SPI_AVR8.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/SPI_AVR8.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/SPI_AVR8.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/SPI_AVR8.h index 1b8f53e..30b8ee4 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/SPI_AVR8.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/SPI_AVR8.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -99,7 +99,7 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** \name SPI Prescaler Configuration Masks */ - //@{ + /**@{*/ /** SPI prescaler mask for \ref SPI_Init(). Divides the system clock by a factor of 2. */ #define SPI_SPEED_FCPU_DIV_2 SPI_USE_DOUBLESPEED @@ -120,43 +120,43 @@ /** SPI prescaler mask for \ref SPI_Init(). Divides the system clock by a factor of 128. */ #define SPI_SPEED_FCPU_DIV_128 ((1 << SPR1) | (1 << SPR0)) - //@} + /**@}*/ /** \name SPI SCK Polarity Configuration Masks */ - //@{ + /**@{*/ /** SPI clock polarity mask for \ref SPI_Init(). Indicates that the SCK should lead on the rising edge. */ #define SPI_SCK_LEAD_RISING (0 << CPOL) /** SPI clock polarity mask for \ref SPI_Init(). Indicates that the SCK should lead on the falling edge. */ #define SPI_SCK_LEAD_FALLING (1 << CPOL) - //@} + /**@}*/ /** \name SPI Sample Edge Configuration Masks */ - //@{ + /**@{*/ /** SPI data sample mode mask for \ref SPI_Init(). Indicates that the data should sampled on the leading edge. */ #define SPI_SAMPLE_LEADING (0 << CPHA) /** SPI data sample mode mask for \ref SPI_Init(). Indicates that the data should be sampled on the trailing edge. */ #define SPI_SAMPLE_TRAILING (1 << CPHA) - //@} + /**@}*/ /** \name SPI Data Ordering Configuration Masks */ - //@{ + /**@{*/ /** SPI data order mask for \ref SPI_Init(). Indicates that data should be shifted out MSB first. */ #define SPI_ORDER_MSB_FIRST (0 << DORD) /** SPI data order mask for \ref SPI_Init(). Indicates that data should be shifted out LSB first. */ #define SPI_ORDER_LSB_FIRST (1 << DORD) - //@} + /**@}*/ /** \name SPI Mode Configuration Masks */ - //@{ + /**@{*/ /** SPI mode mask for \ref SPI_Init(). Indicates that the SPI interface should be initialized into slave mode. */ #define SPI_MODE_SLAVE (0 << MSTR) /** SPI mode mask for \ref SPI_Init(). Indicates that the SPI interface should be initialized into master mode. */ #define SPI_MODE_MASTER (1 << MSTR) - //@} + /**@}*/ /* Inline Functions: */ /** Initializes the SPI subsystem, ready for transfers. Must be called before calling any other diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/SerialSPI_AVR8.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/SerialSPI_AVR8.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/SerialSPI_AVR8.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/SerialSPI_AVR8.h index 8d58369..9fe7020 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/SerialSPI_AVR8.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/SerialSPI_AVR8.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -105,31 +105,31 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** \name SPI SCK Polarity Configuration Masks */ - //@{ + /**@{*/ /** SPI clock polarity mask for \ref SPI_Init(). Indicates that the SCK should lead on the rising edge. */ #define USART_SPI_SCK_LEAD_RISING (0 << UCPOL1) /** SPI clock polarity mask for \ref SPI_Init(). Indicates that the SCK should lead on the falling edge. */ #define USART_SPI_SCK_LEAD_FALLING (1 << UCPOL1) - //@} + /**@}*/ /** \name SPI Sample Edge Configuration Masks */ - //@{ + /**@{*/ /** SPI data sample mode mask for \ref SerialSPI_Init(). Indicates that the data should sampled on the leading edge. */ #define USART_SPI_SAMPLE_LEADING (0 << UCPHA1) /** SPI data sample mode mask for \ref SerialSPI_Init(). Indicates that the data should be sampled on the trailing edge. */ #define USART_SPI_SAMPLE_TRAILING (1 << UCPHA1) - //@} + /**@}*/ /** \name SPI Data Ordering Configuration Masks */ - //@{ + /**@{*/ /** SPI data order mask for \ref SerialSPI_Init(). Indicates that data should be shifted out MSB first. */ #define USART_SPI_ORDER_MSB_FIRST (0 << UDORD1) /** SPI data order mask for \ref SerialSPI_Init(). Indicates that data should be shifted out LSB first. */ #define USART_SPI_ORDER_LSB_FIRST (1 << UDORD1) - //@} + /**@}*/ /* Inline Functions: */ /** Initialize the USART module in Master SPI mode. diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c similarity index 93% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c index 8785a4b..73cc797 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -88,8 +88,10 @@ void Serial_SendString(const char* StringPtr) void Serial_SendData(const void* Buffer, uint16_t Length) { + uint8_t* CurrByte = (uint8_t*)Buffer; + while (Length--) - Serial_SendByte(*((uint8_t*)Buffer++)); + Serial_SendByte(*(CurrByte++)); } void Serial_CreateStream(FILE* Stream) diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.h index e8860a5..3397b6c 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -168,7 +168,8 @@ /** Initializes the USART, ready for serial data transmission and reception. This initializes the interface to * standard 8-bit, no parity, 1 stop bit settings suitable for most applications. * - * \param[in] BaudRate Serial baud rate, in bits per second. + * \param[in] BaudRate Serial baud rate, in bits per second. This should be the target baud rate regardless of the + * \c DoubleSpeed parameter's value. * \param[in] DoubleSpeed Enables double speed mode when set, halving the sample time to double the baud rate. */ static inline void Serial_Init(const uint32_t BaudRate, diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c index 2a6c160..68cd954 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -135,7 +135,7 @@ uint8_t TWI_ReadPacket(const uint8_t SlaveAddress, const uint8_t* InternalAddress, uint8_t InternalAddressLen, uint8_t* Buffer, - uint8_t Length) + uint16_t Length) { uint8_t ErrorCode; @@ -175,7 +175,7 @@ uint8_t TWI_WritePacket(const uint8_t SlaveAddress, const uint8_t* InternalAddress, uint8_t InternalAddressLen, const uint8_t* Buffer, - uint8_t Length) + uint16_t Length) { uint8_t ErrorCode; diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h index 584b584..8ba5a94 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -273,7 +273,7 @@ const uint8_t* InternalAddress, uint8_t InternalAddressLen, uint8_t* Buffer, - uint8_t Length) ATTR_NON_NULL_PTR_ARG(3); + uint16_t Length) ATTR_NON_NULL_PTR_ARG(3); /** High level function to perform a complete packet transfer over the TWI bus from the specified * device. @@ -292,7 +292,7 @@ const uint8_t* InternalAddress, uint8_t InternalAddressLen, const uint8_t* Buffer, - uint8_t Length) ATTR_NON_NULL_PTR_ARG(3); + uint16_t Length) ATTR_NON_NULL_PTR_ARG(3); /* Disable C linkage for C++ Compilers: */ #if defined(__cplusplus) diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/SPI.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/SPI.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/SPI.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/SPI.h index 54c4642..67d1096 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/SPI.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/SPI.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/Serial.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/Serial.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/Serial.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/Serial.h index 46ee61b..e2b3ba5 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/Serial.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/Serial.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/SerialSPI.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/SerialSPI.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/SerialSPI.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/SerialSPI.h index 9a42ba5..fd6ab5f 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/SerialSPI.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/SerialSPI.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/TWI.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/TWI.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/TWI.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/TWI.h index 5290e66..4143474 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/TWI.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/TWI.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/SPI_XMEGA.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/SPI_XMEGA.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/SPI_XMEGA.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/SPI_XMEGA.h index c623048..531fc72 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/SPI_XMEGA.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/SPI_XMEGA.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -96,7 +96,7 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** \name SPI Prescaler Configuration Masks */ - //@{ + /**@{*/ /** SPI prescaler mask for \ref SPI_Init(). Divides the system clock by a factor of 2. */ #define SPI_SPEED_FCPU_DIV_2 SPI_USE_DOUBLESPEED @@ -117,43 +117,43 @@ /** SPI prescaler mask for \ref SPI_Init(). Divides the system clock by a factor of 128. */ #define SPI_SPEED_FCPU_DIV_128 (3 << SPI_PRESCALER_gp) - //@} + /**@}*/ /** \name SPI SCK Polarity Configuration Masks */ - //@{ + /**@{*/ /** SPI clock polarity mask for \ref SPI_Init(). Indicates that the SCK should lead on the rising edge. */ #define SPI_SCK_LEAD_RISING 0 /** SPI clock polarity mask for \ref SPI_Init(). Indicates that the SCK should lead on the falling edge. */ #define SPI_SCK_LEAD_FALLING SPI_MODE1_bm - //@} + /**@}*/ /** \name SPI Sample Edge Configuration Masks */ - //@{ + /**@{*/ /** SPI data sample mode mask for \ref SPI_Init(). Indicates that the data should sampled on the leading edge. */ #define SPI_SAMPLE_LEADING 0 /** SPI data sample mode mask for \ref SPI_Init(). Indicates that the data should be sampled on the trailing edge. */ #define SPI_SAMPLE_TRAILING SPI_MODE0_bm - //@} + /**@}*/ /** \name SPI Data Ordering Configuration Masks */ - //@{ + /**@{*/ /** SPI data order mask for \ref SPI_Init(). Indicates that data should be shifted out MSB first. */ #define SPI_ORDER_MSB_FIRST 0 /** SPI data order mask for \ref SPI_Init(). Indicates that data should be shifted out LSB first. */ #define SPI_ORDER_LSB_FIRST SPI_DORD_bm - //@} + /**@}*/ /** \name SPI Mode Configuration Masks */ - //@{ + /**@{*/ /** SPI mode mask for \ref SPI_Init(). Indicates that the SPI interface should be initialized into slave mode. */ #define SPI_MODE_SLAVE 0 /** SPI mode mask for \ref SPI_Init(). Indicates that the SPI interface should be initialized into master mode. */ #define SPI_MODE_MASTER SPI_MASTER_bm - //@} + /**@}*/ /* Inline Functions: */ /** Initializes the SPI subsystem, ready for transfers. Must be called before calling any other diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/SerialSPI_XMEGA.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/SerialSPI_XMEGA.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/SerialSPI_XMEGA.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/SerialSPI_XMEGA.h index a981ce6..a2445dd 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/SerialSPI_XMEGA.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/SerialSPI_XMEGA.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -97,28 +97,28 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** \name SPI SCK Polarity Configuration Masks */ - //@{ + /**@{*/ /** SPI clock polarity mask for \ref SerialSPI_Init(). Indicates that the SCK should lead on the rising edge. */ #define USART_SPI_SCK_LEAD_RISING 0 - //@} + /**@}*/ /** \name SPI Sample Edge Configuration Masks */ - //@{ + /**@{*/ /** SPI data sample mode mask for \ref SerialSPI_Init(). Indicates that the data should sampled on the leading edge. */ #define USART_SPI_SAMPLE_LEADING 0 /** SPI data sample mode mask for \ref SerialSPI_Init(). Indicates that the data should be sampled on the trailing edge. */ #define USART_SPI_SAMPLE_TRAILING (1 << 1) - //@} + /**@}*/ /** \name SPI Data Ordering Configuration Masks */ - //@{ + /**@{*/ /** SPI data order mask for \ref SerialSPI_Init(). Indicates that data should be shifted out MSB first. */ #define USART_SPI_ORDER_MSB_FIRST 0 /** SPI data order mask for \ref SerialSPI_Init(). Indicates that data should be shifted out LSB first. */ #define USART_SPI_ORDER_LSB_FIRST (1 << 2) - //@} + /**@}*/ /* Inline Functions: */ /** Initialize the USART module in Master SPI mode. diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.c similarity index 81% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.c index 4e29357..9a9e10d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -91,23 +91,26 @@ void Serial_SendData(USART_t* const USART, const void* Buffer, uint16_t Length) { + uint8_t* CurrByte = (uint8_t*)Buffer; + while (Length--) - Serial_SendByte(USART, *((uint8_t*)Buffer++)); + Serial_SendByte(USART, *(CurrByte++)); } -void Serial_CreateStream(FILE* Stream) +void Serial_CreateStream(USART_t* USART, FILE* Stream) { if (!(Stream)) { Stream = &USARTSerialStream; stdin = Stream; stdout = Stream; - } + } - *Stream = (FILE)FDEV_SETUP_STREAM(Serial_putchar, Serial_getchar, _FDEV_SETUP_RW); + *Stream = (FILE)FDEV_SETUP_STREAM(Serial_putchar, Serial_getchar, _FDEV_SETUP_RW); + fdev_set_udata(Stream, USART); } -void Serial_CreateBlockingStream(FILE* Stream) +void Serial_CreateBlockingStream(USART_t* USART, FILE* Stream) { if (!(Stream)) { @@ -116,7 +119,8 @@ void Serial_CreateBlockingStream(FILE* Stream) stdout = Stream; } - *Stream = (FILE)FDEV_SETUP_STREAM(Serial_putchar, Serial_getchar_Blocking, _FDEV_SETUP_RW); + *Stream = (FILE)FDEV_SETUP_STREAM(Serial_putchar, Serial_getchar_Blocking, _FDEV_SETUP_RW); + fdev_set_udata(Stream, USART); } #endif diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.h similarity index 94% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.h index ad34c85..a879062 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -151,29 +151,32 @@ * be used when the read data is processed byte-per-bye (via \c getc()) or when the user application will implement its own * line buffering. * + * \param[in,out] USART Pointer to the base of the USART peripheral within the device. * \param[in,out] Stream Pointer to a FILE structure where the created stream should be placed, if \c NULL, \c stdout * and \c stdin will be configured to use the USART. * * \pre The USART must first be configured via a call to \ref Serial_Init() before the stream is used. */ - void Serial_CreateStream(FILE* Stream); + void Serial_CreateStream(USART_t* USART, FILE* Stream); - /** Identical to \ref Serial_CreateStream(), except that reads are blocking until the calling stream function terminates + /** Identical to \ref Serial_CreateStream(), except that reads are blocking until the calling stream function terminates * the transfer. * + * \param[in,out] USART Pointer to the base of the USART peripheral within the device. * \param[in,out] Stream Pointer to a FILE structure where the created stream should be placed, if \c NULL, \c stdout * and \c stdin will be configured to use the USART. * * \pre The USART must first be configured via a call to \ref Serial_Init() before the stream is used. */ - void Serial_CreateBlockingStream(FILE* Stream); + void Serial_CreateBlockingStream(USART_t* USART, FILE* Stream); /* Inline Functions: */ /** Initializes the USART, ready for serial data transmission and reception. This initializes the interface to * standard 8-bit, no parity, 1 stop bit settings suitable for most applications. * * \param[in,out] USART Pointer to the base of the USART peripheral within the device. - * \param[in] BaudRate Serial baud rate, in bits per second. + * \param[in] BaudRate Serial baud rate, in bits per second. This should be the target baud rate regardless of + * the \c DoubleSpeed parameter's value. * \param[in] DoubleSpeed Enables double speed mode when set, halving the sample time to double the baud rate. */ static inline void Serial_Init(USART_t* const USART, diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.c similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.c index 6f8ab1d..38e9839 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -110,7 +110,7 @@ uint8_t TWI_ReadPacket(TWI_t* const TWI, const uint8_t* InternalAddress, uint8_t InternalAddressLen, uint8_t* Buffer, - uint8_t Length) + uint16_t Length) { uint8_t ErrorCode; @@ -151,7 +151,7 @@ uint8_t TWI_WritePacket(TWI_t* const TWI, const uint8_t* InternalAddress, uint8_t InternalAddressLen, const uint8_t* Buffer, - uint8_t Length) + uint16_t Length) { uint8_t ErrorCode; diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.h index 72437e5..c97ab52 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -268,7 +268,7 @@ const uint8_t* InternalAddress, uint8_t InternalAddressLen, uint8_t* Buffer, - uint8_t Length) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(4); + uint16_t Length) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(4); /** High level function to perform a complete packet transfer over the TWI bus from the specified * device. @@ -289,7 +289,7 @@ const uint8_t* InternalAddress, uint8_t InternalAddressLen, const uint8_t* Buffer, - uint8_t Length) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(4); + uint16_t Length) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(4); /* Disable C linkage for C++ Compilers: */ #if defined(__cplusplus) diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/AndroidAccessoryClass.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/AndroidAccessoryClass.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/AndroidAccessoryClass.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/AndroidAccessoryClass.h index 24978ca..58afdc4 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/AndroidAccessoryClass.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/AndroidAccessoryClass.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/AudioClass.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/AudioClass.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/AudioClass.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/AudioClass.h index 0e3ca8d..da8ac69 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/AudioClass.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/AudioClass.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/CCIDClass.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/CCIDClass.h new file mode 100644 index 0000000..0d90e56 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/CCIDClass.h @@ -0,0 +1,82 @@ +/* + LUFA Library + Copyright (C) Dean Camera, 2020. + + dean [at] fourwalledcubicle [dot] com + www.lufa-lib.org +*/ + +/* + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Filipe Rodrigues (filipepazrodrigues [at] gmail [dot] com) + + Permission to use, copy, modify, distribute, and sell this + software and its documentation for any purpose is hereby granted + without fee, provided that the above copyright notice appear in + all copies and that both that the copyright notice and this + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of the author not be used in + advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + The author disclaims all warranties with regard to this + software, including all implied warranties of merchantability + and fitness. In no event shall the author be liable for any + special, indirect or consequential damages or any damages + whatsoever resulting from loss of use, data or profits, whether + in an action of contract, negligence or other tortious action, + arising out of or in connection with the use or performance of + this software. +*/ + +/** \file + * \brief Master include file for the library USB CCID Class driver. + * + * Master include file for the library USB CCID Class driver, for both host and device modes, where available. + * + * This file should be included in all user projects making use of this optional class driver, instead of + * including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories. + */ + +/** \ingroup Group_USBClassDrivers + * \defgroup Group_USBClassCCID CCID Class Driver + * \brief USB class driver for the USB-IF CCID class standard. + * + * \section Sec_USBClassCCID_Dependencies Module Source Dependencies + * The following files must be built with any user project that uses this module: + * - LUFA/Drivers/USB/Class/Device/CCIDClassDevice.c (Makefile source module name: LUFA_SRC_USBCLASS) + * + * \section Sec_USBClassCCID_ModDescription Module Description + * CCID Class Driver module. This module contains an internal implementation of the USB CCID Class, for Device USB + * mode. User applications can use this class driver instead of implementing the CCID class manually via the low-level + * LUFA APIs. + * + * This module is designed to simplify the user code by exposing only the required interface needed to interface with + * Devices using the USB CCID Class. + * + * \warning + * LUFA is not a secure USB stack, and has not undergone, not is it expected to pass, any form of security audit. The + * CCID class here is presented as-is and is intended for research purposes only, and *should not* be used in a security + * critical application under any circumstances. + * + * @{ + */ + +#ifndef _CCID_CLASS_H_ +#define _CCID_CLASS_H_ + + /* Macros: */ + #define __INCLUDE_FROM_USB_DRIVER + #define __INCLUDE_FROM_CCID_DRIVER + + /* Includes: */ + #include "../Core/USBMode.h" + + #if defined(USB_CAN_BE_DEVICE) + #include "Device/CCIDClassDevice.h" + #endif + +#endif + +/** @} */ + diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/CDCClass.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/CDCClass.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/CDCClass.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/CDCClass.h index 3bad74b..9781dc3 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/CDCClass.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/CDCClass.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/AndroidAccessoryClassCommon.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/AndroidAccessoryClassCommon.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/AndroidAccessoryClassCommon.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/AndroidAccessoryClassCommon.h index c3153da..66dd8ca 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/AndroidAccessoryClassCommon.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/AndroidAccessoryClassCommon.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/AudioClassCommon.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/AudioClassCommon.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/AudioClassCommon.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/AudioClassCommon.h index 2db5eee..e9dd5d2 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/AudioClassCommon.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/AudioClassCommon.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -65,7 +65,7 @@ /* Macros: */ /** \name Audio Channel Masks */ - //@{ + /**@{*/ /** Supported channel mask for an Audio class terminal descriptor. See the Audio class specification for more details. */ #define AUDIO_CHANNEL_LEFT_FRONT (1 << 0) @@ -101,10 +101,10 @@ /** Supported channel mask for an Audio class terminal descriptor. See the Audio class specification for more details. */ #define AUDIO_CHANNEL_TOP (1 << 11) - //@} + /**@}*/ /** \name Audio Feature Masks */ - //@{ + /**@{*/ /** Supported feature mask for an Audio class feature unit descriptor. See the Audio class specification for more details. */ #define AUDIO_FEATURE_MUTE (1 << 0) @@ -134,10 +134,10 @@ /** Supported feature mask for an Audio class feature unit descriptor. See the Audio class specification for more details. */ #define AUDIO_FEATURE_BASS_LOUDNESS (1 << 9) - //@} + /**@}*/ /** \name Audio Terminal Types */ - //@{ + /**@{*/ /** Terminal type constant for an Audio class terminal descriptor. See the Audio class specification for more details. */ #define AUDIO_TERMINAL_UNDEFINED 0x0100 @@ -191,7 +191,7 @@ /** Terminal type constant for an Audio class terminal descriptor. See the Audio class specification for more details. */ #define AUDIO_TERMINAL_OUT_LOWFREQ 0x0307 - //@} + /**@}*/ /** Convenience macro to fill a 24-bit \ref USB_Audio_SampleFreq_t structure with the given sample rate as a 24-bit number. * @@ -245,6 +245,13 @@ */ }; + /** Enum for the Audio class specific descriptor types. */ + enum AUDIO_DescriptorTypes_t + { + AUDIO_DTYPE_CSInterface = 0x24, /**< Audio class specific Interface functional descriptor. */ + AUDIO_DTYPE_CSEndpoint = 0x25, /**< Audio class specific Endpoint functional descriptor. */ + }; + /** Audio class specific interface description subtypes, for the Audio Control interface. */ enum Audio_CSInterface_AC_SubTypes_t { diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/CCIDClassCommon.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/CCIDClassCommon.h new file mode 100644 index 0000000..aad741b --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/CCIDClassCommon.h @@ -0,0 +1,293 @@ +/* + LUFA Library + Copyright (C) Dean Camera, 2020. + + dean [at] fourwalledcubicle [dot] com + www.lufa-lib.org +*/ + +/* + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Filipe Rodrigues (filipepazrodrigues [at] gmail [dot] com) + + Permission to use, copy, modify, distribute, and sell this + software and its documentation for any purpose is hereby granted + without fee, provided that the above copyright notice appear in + all copies and that both that the copyright notice and this + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of the author not be used in + advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + The author disclaims all warranties with regard to this + software, including all implied warranties of merchantability + and fitness. In no event shall the author be liable for any + special, indirect or consequential damages or any damages + whatsoever resulting from loss of use, data or profits, whether + in an action of contract, negligence or other tortious action, + arising out of or in connection with the use or performance of + this software. +*/ + +/** \file + * \brief Common definitions and declarations for the library USB CCID Class driver. + * + * Common definitions and declarations for the library USB CCID Class driver. + * + * \note This file should not be included directly. It is automatically included as needed by the USB module driver + * dispatch header located in LUFA/Drivers/USB.h. + */ + +/** \ingroup Group_USBClassCCID + * \defgroup Group_USBClassCCIDCommon Common Class Definitions + * + * \section Sec_USBClassCCIDCommon_ModDescription Module Description + * Constants, Types and Enum definitions that are common to both Device and Host modes for the USB + * CCID Class. + * + * @{ + */ + +#ifndef _CCID_CLASS_COMMON_H_ +#define _CCID_CLASS_COMMON_H_ + + /* Includes: */ + #include "../../Core/StdDescriptors.h" + + /* Enable C linkage for C++ Compilers: */ + #if defined(__cplusplus) + extern "C" { + #endif + + /* Preprocessor Checks: */ + #if !defined(__INCLUDE_FROM_CCID_DRIVER) + #error Do not include this file directly. Include LUFA/Drivers/USB.h instead. + #endif + + /* Macros: */ + #define CCID_CURRENT_SPEC_RELEASE_NUMBER 0x0110 + #define CCID_VOLTAGESUPPORT_5V 0 + #define CCID_VOLTAGESUPPORT_3V (1 << 0) + #define CCID_VOLTAGESUPPORT_1V8 (1 << 1) + + #define CCID_PROTOCOLS_T0 (1 << 0) + #define CCID_PROTOCOLS_T1 (1 << 1) + + #define CCID_PROTOCOLNUM_T0 0 + #define CCID_PROTOCOLNUM_T1 (1 << 0) + + #define CCID_ICCSTATUS_PRESENTANDACTIVE 0 + #define CCID_ICCSTATUS_PRESENTANDINACTIVE (1 << 0) + #define CCID_ICCSTATUS_NOICCPRESENT (1 << 1) + + #define CCID_COMMANDSTATUS_PROCESSEDWITHOUTERROR 0 + #define CCID_COMMANDSTATUS_ERROR 1 + #define CCID_COMMANDSTATUS_FAILED (1 << 6) + #define CCID_COMMANDSTATUS_TIMEEXTENSIONREQUESTED (2 << 6) + #define CCID_COMMANDSTATUS_RFU (3 << 6) + + #define CCID_ERROR_RFU_START 0x80 + #define CCID_ERROR_NO_ERROR 0x80 + #define CCID_ERROR_NOT_SUPPORTED 0 + #define CCID_ERROR_CMD_ABORTED 0xFF + #define CCID_ERROR_CMD_NOT_ABORTED 0xFF + + #define CCID_ERROR_PARAMETERS_PROTOCOL_NOT_SUPPORTED 0x7 + + #define CCID_ERROR_SLOT_NOT_FOUND 5 + + #define CCID_DESCRIPTOR_CLOCK_KHZ(khz) (khz) + #define CCID_DESCRIPTOR_CLOCK_MHZ(mhz) ((mhz) * 1000) + + + /* Enums: */ + /** Enum for possible Class, Subclass and Protocol values of device and interface descriptors relating to the CCID + * device class. + */ + enum CCID_Descriptor_ClassSubclassProtocol_t + { + CCID_CSCP_CCIDClass = 0x0b, /**< Descriptor Class value indicating that the device or interface + * belongs to the CCID class. + */ + CCID_CSCP_NoSpecificSubclass = 0x00, /**< Descriptor Subclass value indicating that the device or interface + * belongs to no specific subclass of the CCID class. + */ + CCID_CSCP_NoSpecificProtocol = 0x00, /**< Descriptor Protocol value indicating that the device or interface + * belongs to no specific protocol of the CCID class. + */ + }; + + /** Enum for possible bulk messages between PC and Reader */ + enum CCID_BulkOutMessages_t + { + CCID_PC_to_RDR_IccPowerOn = 0x62, + CCID_PC_to_RDR_IccPowerOff = 0x63, + CCID_PC_to_RDR_GetSlotStatus = 0x65, + CCID_PC_to_RDR_XfrBlock = 0x6f, + CCID_PC_to_RDR_GetParameters = 0x6c, + CCID_PC_to_RDR_ResetParameters = 0x6d, + CCID_PC_to_RDR_SetParameters = 0x61, + CCID_PC_to_RDR_Escape = 0x6b, + CCID_PC_to_RDR_IccClock = 0x6e, + CCID_PC_to_RDR_T0APDU = 0x6a, + CCID_PC_to_RDR_Secure = 0x69, + CCID_PC_to_RDR_Mechanical = 0x71, + CCID_PC_to_RDR_Abort = 0x72, + CCID_PC_to_RDR_SetDataRateAndClockFrequency = 0x73, + + CCID_RDR_to_PC_DataBlock = 0x80, + CCID_RDR_to_PC_SlotStatus = 0x81, + CCID_RDR_to_PC_Parameters = 0x82, + CCID_RDR_to_PC_Escape = 0x83, + CCID_RDR_to_PC_DataRateAndClockFrequency = 0x84, + }; + + /** Enum for the CCID class specific control requests that can be issued by the USB bus host. */ + enum CCID_ClassRequests_t + { + CCID_ABORT = 0x1, + CCID_GET_CLOCK_FREQUENCIES = 0x2, + CCID_GET_DATA_RATES = 0x3, + }; + + /** Enum for the CCID class specific descriptor types. */ + enum CCID_DescriptorTypes_t + { + CCID_DTYPE_Functional = 0x21, /**< CCID class specific Interface functional descriptor. */ + }; + + enum CCID_Features_Auto_t + { + CCID_Features_Auto_None = 0x0, + CCID_Features_Auto_ParameterConfiguration = 0x2, + CCID_Features_Auto_ICCActivation = 0x4, + CCID_Features_Auto_VoltageSelection = 0x8, + + CCID_Features_Auto_ICCClockFrequencyChange = 0x10, + CCID_Features_Auto_ICCBaudRateChange = 0x20, + CCID_Features_Auto_ParameterNegotiation = 0x40, + CCID_Features_Auto_PPS = 0x80, + }; + + enum CCID_Features_ExchangeLevel_t + { + CCID_Features_ExchangeLevel_TPDU = 0x00010000, + CCID_Features_ExchangeLevel_ShortAPDU = 0x00020000, + CCID_Features_ExchangeLevel_ShortExtendedAPDU = 0x00040000 + }; + + /* Type Defines: */ + typedef struct + { + USB_Descriptor_Header_t Header; /**< Regular descriptor header containing the descriptor's type and length. */ + + uint16_t CCID; + uint8_t MaxSlotIndex; + uint8_t VoltageSupport; + uint32_t Protocols; + uint32_t DefaultClock; + uint32_t MaximumClock; + uint8_t NumClockSupported; + uint32_t DataRate; + uint32_t MaxDataRate; + uint8_t NumDataRatesSupported; + uint32_t MaxIFSD; + uint32_t SynchProtocols; + uint32_t Mechanical; + uint32_t Features; + uint32_t MaxCCIDMessageLength; + uint8_t ClassGetResponse; + uint8_t ClassEnvelope; + uint16_t LcdLayout; + uint8_t PINSupport; + uint8_t MaxCCIDBusySlots; + } ATTR_PACKED USB_CCID_Descriptor_t; + + typedef struct + { + uint8_t FindexDindex; + uint8_t TCCKST0; + uint8_t GuardTimeT0; + uint8_t WaitingIntegerT0; + uint8_t ClockStop; + } ATTR_PACKED USB_CCID_ProtocolData_T0_t; + + typedef struct + { + uint8_t FindexDindex; + uint8_t TCCKST1; + uint8_t GuardTimeT1; + uint8_t WaitingIntegerT1; + uint8_t ClockStop; + uint8_t FSC; + uint8_t NadValue; + } ATTR_PACKED USB_CCID_ProtocolData_T1_t; + + + /** Enum for a common bulk message header. */ + typedef struct + { + uint8_t MessageType; + uint32_t Length; + uint8_t Slot; + uint8_t Seq; + } ATTR_PACKED USB_CCID_BulkMessage_Header_t; + + typedef struct + { + USB_CCID_BulkMessage_Header_t CCIDHeader; + uint8_t Status; + uint8_t Error; + uint8_t ChainParam; + uint8_t Data[0]; + } ATTR_PACKED USB_CCID_RDR_to_PC_DataBlock_t; + + typedef struct + { + USB_CCID_BulkMessage_Header_t CCIDHeader; + uint8_t Status; + uint8_t Error; + uint8_t ClockStatus; + } ATTR_PACKED USB_CCID_RDR_to_PC_SlotStatus_t; + + typedef struct + { + USB_CCID_BulkMessage_Header_t CCIDHeader; + uint8_t Status; + uint8_t Error; + uint8_t ProtocolNum; + union + { + USB_CCID_ProtocolData_T0_t T0; + USB_CCID_ProtocolData_T1_t T1; + } ProtocolData; + } ATTR_PACKED USB_CCID_RDR_to_PC_Parameters_t; + + typedef struct + { + USB_CCID_BulkMessage_Header_t CCIDHeader; + uint8_t Status; + uint8_t Error; + uint8_t RFU; + uint8_t Data[0]; + } ATTR_PACKED USB_CCID_RDR_to_PC_Escape_t; + + typedef struct + { + USB_CCID_BulkMessage_Header_t CCIDHeader; + uint8_t Status; + uint8_t Error; + uint8_t RFU; + uint32_t ClockFrequency; + uint32_t DataRate; + } ATTR_PACKED USB_CCID_RDR_to_PC_DataRateAndClockFrequency_t; + + /* Disable C linkage for C++ Compilers: */ + #if defined(__cplusplus) + } + #endif + +#endif + +/** @} */ + diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/CDCClassCommon.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/CDCClassCommon.h similarity index 91% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/CDCClassCommon.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/CDCClassCommon.h index 94e6c68..d069147 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/CDCClassCommon.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/CDCClassCommon.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -65,7 +65,7 @@ /* Macros: */ /** \name Virtual Control Line Masks */ - //@{ + /**@{*/ /** Mask for the DTR handshake line for use with the \ref CDC_REQ_SetControlLineState class-specific request * from the host, to indicate that the DTR line state should be high. */ @@ -110,22 +110,7 @@ * to indicate that a data overrun error has occurred on the virtual serial port. */ #define CDC_CONTROL_LINE_IN_OVERRUNERROR (1 << 6) - //@} - - /** Macro to define a CDC class-specific functional descriptor. CDC functional descriptors have a - * uniform structure but variable sized data payloads, thus cannot be represented accurately by - * a single \c typedef \c struct. A macro is used instead so that functional descriptors can be created - * easily by specifying the size of the payload. This allows \c sizeof() to work correctly. - * - * \param[in] DataSize Size in bytes of the CDC functional descriptor's data payload. - */ - #define CDC_FUNCTIONAL_DESCRIPTOR(DataSize) \ - struct \ - { \ - USB_Descriptor_Header_t Header; \ - uint8_t SubType; \ - uint8_t Data[DataSize]; \ - } + /**@}*/ /* Enums: */ /** Enum for possible Class, Subclass and Protocol values of device and interface descriptors relating to the CDC @@ -183,26 +168,33 @@ */ }; + /** Enum for the CDC class specific descriptor types. */ + enum CDC_DescriptorTypes_t + { + CDC_DTYPE_CSInterface = 0x24, /**< CDC class specific Interface functional descriptor. */ + CDC_DTYPE_CSEndpoint = 0x25, /**< CDC class specific Endpoint functional descriptor. */ + }; + /** Enum for the CDC class specific interface descriptor subtypes. */ enum CDC_DescriptorSubtypes_t { - CDC_DSUBTYPE_CSInterface_Header = 0x00, /**< CDC class-specific Header functional descriptor. */ - CDC_DSUBTYPE_CSInterface_CallManagement = 0x01, /**< CDC class-specific Call Management functional descriptor. */ - CDC_DSUBTYPE_CSInterface_ACM = 0x02, /**< CDC class-specific Abstract Control Model functional descriptor. */ - CDC_DSUBTYPE_CSInterface_DirectLine = 0x03, /**< CDC class-specific Direct Line functional descriptor. */ - CDC_DSUBTYPE_CSInterface_TelephoneRinger = 0x04, /**< CDC class-specific Telephone Ringer functional descriptor. */ - CDC_DSUBTYPE_CSInterface_TelephoneCall = 0x05, /**< CDC class-specific Telephone Call functional descriptor. */ - CDC_DSUBTYPE_CSInterface_Union = 0x06, /**< CDC class-specific Union functional descriptor. */ - CDC_DSUBTYPE_CSInterface_CountrySelection = 0x07, /**< CDC class-specific Country Selection functional descriptor. */ - CDC_DSUBTYPE_CSInterface_TelephoneOpModes = 0x08, /**< CDC class-specific Telephone Operation Modes functional descriptor. */ - CDC_DSUBTYPE_CSInterface_USBTerminal = 0x09, /**< CDC class-specific USB Terminal functional descriptor. */ - CDC_DSUBTYPE_CSInterface_NetworkChannel = 0x0A, /**< CDC class-specific Network Channel functional descriptor. */ - CDC_DSUBTYPE_CSInterface_ProtocolUnit = 0x0B, /**< CDC class-specific Protocol Unit functional descriptor. */ - CDC_DSUBTYPE_CSInterface_ExtensionUnit = 0x0C, /**< CDC class-specific Extension Unit functional descriptor. */ - CDC_DSUBTYPE_CSInterface_MultiChannel = 0x0D, /**< CDC class-specific Multi-Channel Management functional descriptor. */ - CDC_DSUBTYPE_CSInterface_CAPI = 0x0E, /**< CDC class-specific Common ISDN API functional descriptor. */ - CDC_DSUBTYPE_CSInterface_Ethernet = 0x0F, /**< CDC class-specific Ethernet functional descriptor. */ - CDC_DSUBTYPE_CSInterface_ATM = 0x10, /**< CDC class-specific Asynchronous Transfer Mode functional descriptor. */ + CDC_DSUBTYPE_CSInterface_Header = 0x00, /**< CDC class specific Header functional descriptor. */ + CDC_DSUBTYPE_CSInterface_CallManagement = 0x01, /**< CDC class specific Call Management functional descriptor. */ + CDC_DSUBTYPE_CSInterface_ACM = 0x02, /**< CDC class specific Abstract Control Model functional descriptor. */ + CDC_DSUBTYPE_CSInterface_DirectLine = 0x03, /**< CDC class specific Direct Line functional descriptor. */ + CDC_DSUBTYPE_CSInterface_TelephoneRinger = 0x04, /**< CDC class specific Telephone Ringer functional descriptor. */ + CDC_DSUBTYPE_CSInterface_TelephoneCall = 0x05, /**< CDC class specific Telephone Call functional descriptor. */ + CDC_DSUBTYPE_CSInterface_Union = 0x06, /**< CDC class specific Union functional descriptor. */ + CDC_DSUBTYPE_CSInterface_CountrySelection = 0x07, /**< CDC class specific Country Selection functional descriptor. */ + CDC_DSUBTYPE_CSInterface_TelephoneOpModes = 0x08, /**< CDC class specific Telephone Operation Modes functional descriptor. */ + CDC_DSUBTYPE_CSInterface_USBTerminal = 0x09, /**< CDC class specific USB Terminal functional descriptor. */ + CDC_DSUBTYPE_CSInterface_NetworkChannel = 0x0A, /**< CDC class specific Network Channel functional descriptor. */ + CDC_DSUBTYPE_CSInterface_ProtocolUnit = 0x0B, /**< CDC class specific Protocol Unit functional descriptor. */ + CDC_DSUBTYPE_CSInterface_ExtensionUnit = 0x0C, /**< CDC class specific Extension Unit functional descriptor. */ + CDC_DSUBTYPE_CSInterface_MultiChannel = 0x0D, /**< CDC class specific Multi-Channel Management functional descriptor. */ + CDC_DSUBTYPE_CSInterface_CAPI = 0x0E, /**< CDC class specific Common ISDN API functional descriptor. */ + CDC_DSUBTYPE_CSInterface_Ethernet = 0x0F, /**< CDC class specific Ethernet functional descriptor. */ + CDC_DSUBTYPE_CSInterface_ATM = 0x10, /**< CDC class specific Asynchronous Transfer Mode functional descriptor. */ }; /** Enum for the possible line encoding formats of a virtual serial port. */ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h index 9d701fb..da6614b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -66,7 +66,7 @@ /* Macros: */ /** \name Keyboard Standard Report Modifier Masks */ - //@{ + /**@{*/ /** Constant for a keyboard report modifier byte, indicating that the keyboard's left control key is currently pressed. */ #define HID_KEYBOARD_MODIFIER_LEFTCTRL (1 << 0) @@ -90,10 +90,10 @@ /** Constant for a keyboard report modifier byte, indicating that the keyboard's right GUI key is currently pressed. */ #define HID_KEYBOARD_MODIFIER_RIGHTGUI (1 << 7) - //@} + /**@}*/ /** \name Keyboard Standard Report LED Masks */ - //@{ + /**@{*/ /** Constant for a keyboard output report LED byte, indicating that the host's NUM LOCK mode is currently set. */ #define HID_KEYBOARD_LED_NUMLOCK (1 << 0) @@ -108,10 +108,11 @@ /** Constant for a keyboard output report LED byte, indicating that the host's KANA mode is currently set. */ #define HID_KEYBOARD_LED_KANA (1 << 4) - //@} + /**@}*/ /** \name Keyboard Standard Report Key Scan-codes */ - //@{ + /**@{*/ + #define HID_KEYBOARD_SC_RESERVED 0x00 #define HID_KEYBOARD_SC_ERROR_ROLLOVER 0x01 #define HID_KEYBOARD_SC_POST_FAIL 0x02 #define HID_KEYBOARD_SC_ERROR_UNDEFINED 0x03 @@ -347,10 +348,10 @@ #define HID_KEYBOARD_SC_MEDIA_LOCK 0xF9 #define HID_KEYBOARD_SC_MEDIA_RELOAD 0xFA #define HID_KEYBOARD_SC_MEDIA_CALCULATOR 0xFB - //@} + /**@}*/ /** \name Common HID Device Report Descriptors */ - //@{ + /**@{*/ /** \hideinitializer * A list of HID report item array elements that describe a typical HID USB Joystick. The resulting report * descriptor is structured according to the following layout: @@ -445,7 +446,7 @@ HID_RI_REPORT_SIZE(8, 0x03), \ HID_RI_OUTPUT(8, HID_IOF_CONSTANT), \ HID_RI_LOGICAL_MINIMUM(8, 0x00), \ - HID_RI_LOGICAL_MAXIMUM(8, 0xFF), \ + HID_RI_LOGICAL_MAXIMUM(16, 0xFF), \ HID_RI_USAGE_PAGE(8, 0x07), \ HID_RI_USAGE_MINIMUM(8, 0x00), \ HID_RI_USAGE_MAXIMUM(8, 0xFF), \ @@ -536,7 +537,7 @@ HID_RI_REPORT_COUNT(8, NumBytes), \ HID_RI_OUTPUT(8, HID_IOF_DATA | HID_IOF_VARIABLE | HID_IOF_ABSOLUTE | HID_IOF_NON_VOLATILE), \ HID_RI_END_COLLECTION(0) - //@} + /**@}*/ /* Type Defines: */ /** Enum for possible Class, Subclass and Protocol values of device and interface descriptors relating to the HID @@ -679,4 +680,3 @@ #endif /** @} */ - diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/HIDParser.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/HIDParser.c similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/HIDParser.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/HIDParser.c index d93508f..66646ba 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/HIDParser.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/HIDParser.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -92,7 +92,7 @@ uint8_t USB_ProcessHIDReport(const uint8_t* ReportData, memcpy((CurrStateTable + 1), CurrStateTable, - sizeof(HID_ReportItem_t)); + sizeof(HID_StateTable_t)); CurrStateTable++; break; @@ -105,9 +105,6 @@ uint8_t USB_ProcessHIDReport(const uint8_t* ReportData, break; case HID_RI_USAGE_PAGE(0): - if ((HIDReportItem & HID_RI_DATA_SIZE_MASK) == HID_RI_DATA_BITS_32) - CurrStateTable->Attributes.Usage.Page = (ReportItemData >> 16); - CurrStateTable->Attributes.Usage.Page = ReportItemData; break; @@ -178,6 +175,9 @@ uint8_t USB_ProcessHIDReport(const uint8_t* ReportData, if (UsageListSize == HID_USAGE_STACK_DEPTH) return HID_PARSE_UsageListOverflow; + if ((HIDReportItem & HID_RI_DATA_SIZE_MASK) == HID_RI_DATA_BITS_32) + CurrStateTable->Attributes.Usage.Page = (ReportItemData >> 16); + UsageList[UsageListSize++] = ReportItemData; break; @@ -364,8 +364,8 @@ void USB_SetHIDReportItemInfo(uint8_t* ReportData, while (DataBitsRem--) { - if (ReportItem->Value & (1 << (CurrentBit % 8))) - ReportData[CurrentBit / 8] |= BitMask; + if (ReportItem->Value & BitMask) + ReportData[CurrentBit / 8] |= (1 << (CurrentBit % 8)); CurrentBit++; BitMask <<= 1; diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/HIDParser.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/HIDParser.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/HIDParser.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/HIDParser.h index 1f84ef4..d6d403d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/HIDParser.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/HIDParser.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/HIDReportData.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/HIDReportData.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/HIDReportData.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/HIDReportData.h index df4302c..0693d28 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/HIDReportData.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/HIDReportData.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -75,7 +75,7 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** \name HID Input, Output and Feature Report Descriptor Item Flags */ - //@{ + /**@{*/ #define HID_IOF_CONSTANT (1 << 0) #define HID_IOF_DATA (0 << 0) #define HID_IOF_VARIABLE (1 << 1) @@ -94,10 +94,10 @@ #define HID_IOF_NON_VOLATILE (0 << 7) #define HID_IOF_BUFFERED_BYTES (1 << 8) #define HID_IOF_BITFIELD (0 << 8) - //@} + /**@}*/ /** \name HID Report Descriptor Item Macros */ - //@{ + /**@{*/ #define HID_RI_INPUT(DataBits, ...) _HID_RI_ENTRY(HID_RI_TYPE_MAIN , 0x80, DataBits, __VA_ARGS__) #define HID_RI_OUTPUT(DataBits, ...) _HID_RI_ENTRY(HID_RI_TYPE_MAIN , 0x90, DataBits, __VA_ARGS__) #define HID_RI_COLLECTION(DataBits, ...) _HID_RI_ENTRY(HID_RI_TYPE_MAIN , 0xA0, DataBits, __VA_ARGS__) @@ -118,7 +118,7 @@ #define HID_RI_USAGE(DataBits, ...) _HID_RI_ENTRY(HID_RI_TYPE_LOCAL , 0x00, DataBits, __VA_ARGS__) #define HID_RI_USAGE_MINIMUM(DataBits, ...) _HID_RI_ENTRY(HID_RI_TYPE_LOCAL , 0x10, DataBits, __VA_ARGS__) #define HID_RI_USAGE_MAXIMUM(DataBits, ...) _HID_RI_ENTRY(HID_RI_TYPE_LOCAL , 0x20, DataBits, __VA_ARGS__) - //@} + /**@}*/ /** @} */ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/MIDIClassCommon.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/MIDIClassCommon.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/MIDIClassCommon.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/MIDIClassCommon.h index b6f6034..18c1a2a 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/MIDIClassCommon.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/MIDIClassCommon.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -71,7 +71,7 @@ /** \name MIDI Command Values * See http://www.midi.org/techspecs/midimessages.php for more information. */ - //@{ + /**@{*/ /** MIDI command for System Exclusive (SysEx) single event that has one byte of data total. */ #define MIDI_COMMAND_SYSEX_1BYTE MIDI_COMMAND_SYSEX_END_1BYTE @@ -113,7 +113,7 @@ /** MIDI command for a pitch change event. */ #define MIDI_COMMAND_PITCH_WHEEL_CHANGE 0xE0 - //@} + /**@}*/ /** Standard key press velocity value used for all note events. */ #define MIDI_STANDARD_VELOCITY 64 diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/MassStorageClassCommon.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/MassStorageClassCommon.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/MassStorageClassCommon.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/MassStorageClassCommon.h index 8a12f31..e74ba67 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/MassStorageClassCommon.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/MassStorageClassCommon.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -77,7 +77,7 @@ #define MS_COMMAND_DIR_DATA_IN (1 << 7) /** \name SCSI Commands*/ - //@{ + /**@{*/ /** SCSI Command Code for an INQUIRY command. */ #define SCSI_CMD_INQUIRY 0x12 @@ -119,10 +119,10 @@ /** SCSI Command Code for a MODE SENSE (10) command. */ #define SCSI_CMD_MODE_SENSE_10 0x5A - //@} + /**@}*/ /** \name SCSI Sense Key Values */ - //@{ + /**@{*/ /** SCSI Sense Code to indicate no error has occurred. */ #define SCSI_SENSE_KEY_GOOD 0x00 @@ -166,10 +166,10 @@ /** SCSI Sense Code to indicate that the source data did not match the data read from the medium. */ #define SCSI_SENSE_KEY_MISCOMPARE 0x0E - //@} + /**@}*/ /** \name SCSI Additional Sense Codes */ - //@{ + /**@{*/ /** SCSI Additional Sense Code to indicate no additional sense information is available. */ #define SCSI_ASENSE_NO_ADDITIONAL_INFORMATION 0x00 @@ -198,10 +198,10 @@ /** SCSI Additional Sense Code to indicate that no removable medium is inserted into the device. */ #define SCSI_ASENSE_MEDIUM_NOT_PRESENT 0x3A - //@} + /**@}*/ /** \name SCSI Additional Sense Key Code Qualifiers */ - //@{ + /**@{*/ /** SCSI Additional Sense Qualifier Code to indicate no additional sense qualifier information is available. */ #define SCSI_ASENSEQ_NO_QUALIFIER 0x00 @@ -215,7 +215,7 @@ /** SCSI Additional Sense Qualifier Code to indicate that an operation is currently in progress. */ #define SCSI_ASENSEQ_OPERATION_IN_PROGRESS 0x07 - //@} + /**@}*/ /* Enums: */ /** Enum for possible Class, Subclass and Protocol values of device and interface descriptors relating to the Mass diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/PrinterClassCommon.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/PrinterClassCommon.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/PrinterClassCommon.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/PrinterClassCommon.h index 1edd1dd..fb62c8a 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/PrinterClassCommon.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/PrinterClassCommon.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -65,7 +65,7 @@ /* Macros: */ /** \name Virtual Printer Status Line Masks */ - //@{ + /**@{*/ /** Port status mask for a printer device, indicating that an error has *not* occurred. */ #define PRNT_PORTSTATUS_NOTERROR (1 << 3) @@ -74,7 +74,7 @@ /** Port status mask for a printer device, indicating that the device is currently out of paper. */ #define PRNT_PORTSTATUS_PAPEREMPTY (1 << 5) - //@} + /**@}*/ /* Enums: */ /** Enum for possible Class, Subclass and Protocol values of device and interface descriptors relating to the Printer diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/RNDISClassCommon.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/RNDISClassCommon.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/RNDISClassCommon.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/RNDISClassCommon.h index 640745e..c376922 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/RNDISClassCommon.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/RNDISClassCommon.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -78,7 +78,7 @@ #define REMOTE_NDIS_VERSION_MINOR 0x00 /** \name RNDIS Message Values */ - //@{ + /**@{*/ #define REMOTE_NDIS_PACKET_MSG 0x00000001UL #define REMOTE_NDIS_INITIALIZE_MSG 0x00000002UL #define REMOTE_NDIS_HALT_MSG 0x00000003UL @@ -87,46 +87,46 @@ #define REMOTE_NDIS_RESET_MSG 0x00000006UL #define REMOTE_NDIS_INDICATE_STATUS_MSG 0x00000007UL #define REMOTE_NDIS_KEEPALIVE_MSG 0x00000008UL - //@} + /**@}*/ /** \name RNDIS Response Values */ - //@{ + /**@{*/ #define REMOTE_NDIS_INITIALIZE_CMPLT 0x80000002UL #define REMOTE_NDIS_QUERY_CMPLT 0x80000004UL #define REMOTE_NDIS_SET_CMPLT 0x80000005UL #define REMOTE_NDIS_RESET_CMPLT 0x80000006UL #define REMOTE_NDIS_KEEPALIVE_CMPLT 0x80000008UL - //@} + /**@}*/ /** \name RNDIS Status Values */ - //@{ + /**@{*/ #define REMOTE_NDIS_STATUS_SUCCESS 0x00000000UL #define REMOTE_NDIS_STATUS_FAILURE 0xC0000001UL #define REMOTE_NDIS_STATUS_INVALID_DATA 0xC0010015UL #define REMOTE_NDIS_STATUS_NOT_SUPPORTED 0xC00000BBUL #define REMOTE_NDIS_STATUS_MEDIA_CONNECT 0x4001000BUL #define REMOTE_NDIS_STATUS_MEDIA_DISCONNECT 0x4001000CUL - //@} + /**@}*/ /** \name RNDIS Media States */ - //@{ + /**@{*/ #define REMOTE_NDIS_MEDIA_STATE_CONNECTED 0x00000000UL #define REMOTE_NDIS_MEDIA_STATE_DISCONNECTED 0x00000001UL - //@} + /**@}*/ /** \name RNDIS Media Types */ - //@{ + /**@{*/ #define REMOTE_NDIS_MEDIUM_802_3 0x00000000UL - //@} + /**@}*/ /** \name RNDIS Connection Types */ - //@{ + /**@{*/ #define REMOTE_NDIS_DF_CONNECTIONLESS 0x00000001UL #define REMOTE_NDIS_DF_CONNECTION_ORIENTED 0x00000002UL - //@} + /**@}*/ /** \name RNDIS Packet Types */ - //@{ + /**@{*/ #define REMOTE_NDIS_PACKET_DIRECTED 0x00000001UL #define REMOTE_NDIS_PACKET_MULTICAST 0x00000002UL #define REMOTE_NDIS_PACKET_ALL_MULTICAST 0x00000004UL @@ -139,10 +139,10 @@ #define REMOTE_NDIS_PACKET_ALL_FUNCTIONAL 0x00002000UL #define REMOTE_NDIS_PACKET_FUNCTIONAL 0x00004000UL #define REMOTE_NDIS_PACKET_MAC_FRAME 0x00008000UL - //@} + /**@}*/ /** \name RNDIS OID Values */ - //@{ + /**@{*/ #define OID_GEN_SUPPORTED_LIST 0x00010101UL #define OID_GEN_HARDWARE_STATUS 0x00010102UL #define OID_GEN_MEDIA_SUPPORTED 0x00010103UL @@ -170,7 +170,7 @@ #define OID_802_3_RCV_ERROR_ALIGNMENT 0x01020101UL #define OID_802_3_XMIT_ONE_COLLISION 0x01020102UL #define OID_802_3_XMIT_MORE_COLLISIONS 0x01020103UL - //@} + /**@}*/ /** Maximum size in bytes of an Ethernet frame according to the Ethernet standard. */ #define ETHERNET_FRAME_SIZE_MAX 1500 diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/StillImageClassCommon.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/StillImageClassCommon.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/StillImageClassCommon.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/StillImageClassCommon.h index 09a9eab..ad8ee3a 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Common/StillImageClassCommon.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Common/StillImageClassCommon.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c index f862ba7..b86907f 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -188,7 +188,7 @@ bool Audio_Device_ConfigureEndpoints(USB_ClassInfo_Audio_Device_t* const AudioIn return true; } -void Audio_Device_Event_Stub(void) +void Audio_Device_Event_Stub(USB_ClassInfo_Audio_Device_t* const AudioInterfaceInfo) { } diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/AudioClassDevice.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/AudioClassDevice.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/AudioClassDevice.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/AudioClassDevice.h index 6cdf4db..743133e 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/AudioClassDevice.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/AudioClassDevice.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -377,7 +377,7 @@ #if !defined(__DOXYGEN__) /* Function Prototypes: */ #if defined(__INCLUDE_FROM_AUDIO_DEVICE_C) - void Audio_Device_Event_Stub(void) ATTR_CONST; + void Audio_Device_Event_Stub(USB_ClassInfo_Audio_Device_t* const AudioInterfaceInfo); void EVENT_Audio_Device_StreamStartStop(USB_ClassInfo_Audio_Device_t* const AudioInterfaceInfo) ATTR_WEAK ATTR_NON_NULL_PTR_ARG(1) ATTR_ALIAS(Audio_Device_Event_Stub); diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/CCIDClassDevice.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/CCIDClassDevice.c new file mode 100644 index 0000000..d0305d6 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/CCIDClassDevice.c @@ -0,0 +1,392 @@ +/* + LUFA Library + Copyright (C) Dean Camera, 2020. + + dean [at] fourwalledcubicle [dot] com + www.lufa-lib.org +*/ + +/* + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Filipe Rodrigues (filipepazrodrigues [at] gmail [dot] com) + + Permission to use, copy, modify, distribute, and sell this + software and its documentation for any purpose is hereby granted + without fee, provided that the above copyright notice appear in + all copies and that both that the copyright notice and this + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of the author not be used in + advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + The author disclaims all warranties with regard to this + software, including all implied warranties of merchantability + and fitness. In no event shall the author be liable for any + special, indirect or consequential damages or any damages + whatsoever resulting from loss of use, data or profits, whether + in an action of contract, negligence or other tortious action, + arising out of or in connection with the use or performance of + this software. +*/ + +#define __INCLUDE_FROM_USB_DRIVER +#include "../../Core/USBMode.h" + +#if defined(USB_CAN_BE_DEVICE) + +#define __INCLUDE_FROM_CCID_DRIVER +#define __INCLUDE_FROM_CCID_DEVICE_C +#include "CCIDClassDevice.h" + + +bool CCID_CheckStatusNoError(uint8_t Status) +{ + return (Status & 0xC0) == 0x0; +} + +void CCID_Device_ProcessControlRequest(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo) +{ + if (!(Endpoint_IsSETUPReceived())) + return; + + if (USB_ControlRequest.wIndex != CCIDInterfaceInfo->Config.InterfaceNumber) + return; + + switch (USB_ControlRequest.bRequest) + { + case CCID_ABORT: + { + // Initiates the abort process. + // The host should send 2 messages in the following order: + // - CCID_ABORT control request + // - CCID_PC_t_PCo_RDR_Abort command + // + // If the device is still processing a message, it should fail it until receiving a CCIRPC_to_RDR_Abort + // command. + // + // When the device receives the CCIRPC_to_RDR_Abort message, it replies with RDR_to_PC_SlotStatus + // and the abort process ends. + + // The wValue field contains the slot number (bSlot) in the low byte and the sequence number (bSeq) in + // the high byte + uint8_t Slot = USB_ControlRequest.wValue & 0xFF; + uint8_t Seq = USB_ControlRequest.wValue >> 8; + + if (USB_ControlRequest.bmRequestType == (REQDIR_DEVICETOHOST | REQTYPE_CLASS | REQREC_INTERFACE) && Slot == 0) + { + Endpoint_ClearSETUP(); + + CCIDInterfaceInfo->State.Aborted = true; + CCIDInterfaceInfo->State.AbortedSeq = Seq; + + Endpoint_ClearOUT(); + } + + break; + } + + case CCID_GET_CLOCK_FREQUENCIES: + { + if (USB_ControlRequest.bmRequestType == (REQDIR_DEVICETOHOST | REQTYPE_CLASS | REQREC_INTERFACE)) + { + + Endpoint_ClearSETUP(); + Endpoint_Write_8(0); // Not supported + Endpoint_ClearOUT(); + } + break; + } + + case CCID_GET_DATA_RATES: + { + if (USB_ControlRequest.bmRequestType == (REQDIR_DEVICETOHOST | REQTYPE_CLASS | REQREC_INTERFACE)) + { + + Endpoint_ClearSETUP(); + Endpoint_Write_8(0); // Not supported + Endpoint_ClearOUT(); + } + break; + } + } +} + +bool CCID_Device_ConfigureEndpoints(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo) +{ + CCIDInterfaceInfo->Config.DataINEndpoint.Type = EP_TYPE_BULK; + CCIDInterfaceInfo->Config.DataOUTEndpoint.Type = EP_TYPE_BULK; + + if (!(Endpoint_ConfigureEndpointTable(&CCIDInterfaceInfo->Config.DataINEndpoint, 1))) + return false; + + if (!(Endpoint_ConfigureEndpointTable(&CCIDInterfaceInfo->Config.DataOUTEndpoint, 1))) + return false; + + return true; +} + +void CCID_Device_USBTask(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo) +{ + Endpoint_SelectEndpoint(CCIDInterfaceInfo->Config.DataOUTEndpoint.Address); + + uint8_t RequestBuffer[0x40 - sizeof(USB_CCID_BulkMessage_Header_t)]; + uint8_t ResponseBuffer[0x40]; + + CCIDInterfaceInfo->State.Aborted = false; + CCIDInterfaceInfo->State.AbortedSeq = -1; + + if (Endpoint_IsOUTReceived()) + { + USB_CCID_BulkMessage_Header_t CCIDHeader; + CCIDHeader.MessageType = Endpoint_Read_8(); + CCIDHeader.Length = Endpoint_Read_32_LE(); + CCIDHeader.Slot = Endpoint_Read_8(); + CCIDHeader.Seq = Endpoint_Read_8(); + + uint8_t Status; + uint8_t Error = CCID_ERROR_NO_ERROR; + + switch (CCIDHeader.MessageType) + { + case CCID_PC_to_RDR_IccPowerOn: + { + uint8_t AtrLength; + USB_CCID_RDR_to_PC_DataBlock_t* ResponseATR = (USB_CCID_RDR_to_PC_DataBlock_t*)&ResponseBuffer; + + ResponseATR->CCIDHeader.MessageType = CCID_RDR_to_PC_DataBlock; + ResponseATR->CCIDHeader.Slot = CCIDHeader.Slot; + ResponseATR->CCIDHeader.Seq = CCIDHeader.Seq; + ResponseATR->ChainParam = 0; + + Status = CALLBACK_CCID_IccPowerOn(CCIDInterfaceInfo, ResponseATR->CCIDHeader.Slot, (uint8_t*)ResponseATR->Data, &AtrLength, &Error); + + if (CCID_CheckStatusNoError(Status) && !CCIDInterfaceInfo->State.Aborted) + { + ResponseATR->CCIDHeader.Length = AtrLength; + } + else if (CCIDInterfaceInfo->State.Aborted) + { + Status = CCID_COMMANDSTATUS_FAILED | CCID_ICCSTATUS_PRESENTANDACTIVE; + Error = CCID_ERROR_CMD_ABORTED; + AtrLength = 0; + } + else + { + AtrLength = 0; + } + + ResponseATR->Status = Status; + ResponseATR->Error = Error; + + Endpoint_ClearOUT(); + + Endpoint_SelectEndpoint(CCIDInterfaceInfo->Config.DataINEndpoint.Address); + Endpoint_Write_Stream_LE(ResponseATR, sizeof(USB_CCID_RDR_to_PC_DataBlock_t) + AtrLength, NULL); + Endpoint_ClearIN(); + break; + } + + case CCID_PC_to_RDR_IccPowerOff: + { + USB_CCID_RDR_to_PC_SlotStatus_t* ResponsePowerOff = (USB_CCID_RDR_to_PC_SlotStatus_t*)&ResponseBuffer; + ResponsePowerOff->CCIDHeader.MessageType = CCID_RDR_to_PC_SlotStatus; + ResponsePowerOff->CCIDHeader.Length = 0; + ResponsePowerOff->CCIDHeader.Slot = CCIDHeader.Slot; + ResponsePowerOff->CCIDHeader.Seq = CCIDHeader.Seq; + + ResponsePowerOff->ClockStatus = 0; + + Status = CALLBACK_CCID_IccPowerOff(CCIDInterfaceInfo, CCIDHeader.Slot, &Error); + + ResponsePowerOff->Status = Status; + ResponsePowerOff->Error = Error; + + Endpoint_ClearOUT(); + + Endpoint_SelectEndpoint(CCIDInterfaceInfo->Config.DataINEndpoint.Address); + Endpoint_Write_Stream_LE(ResponsePowerOff, sizeof(USB_CCID_RDR_to_PC_SlotStatus_t), NULL); + Endpoint_ClearIN(); + break; + } + + case CCID_PC_to_RDR_GetSlotStatus: + { + USB_CCID_RDR_to_PC_SlotStatus_t* ResponseSlotStatus = (USB_CCID_RDR_to_PC_SlotStatus_t*)&ResponseBuffer; + ResponseSlotStatus->CCIDHeader.MessageType = CCID_RDR_to_PC_SlotStatus; + ResponseSlotStatus->CCIDHeader.Length = 0; + ResponseSlotStatus->CCIDHeader.Slot = CCIDHeader.Slot; + ResponseSlotStatus->CCIDHeader.Seq = CCIDHeader.Seq; + + ResponseSlotStatus->ClockStatus = 0; + + Status = CALLBACK_CCID_GetSlotStatus(CCIDInterfaceInfo, CCIDHeader.Slot, &Error); + + ResponseSlotStatus->Status = Status; + ResponseSlotStatus->Error = Error; + + Endpoint_ClearOUT(); + + Endpoint_SelectEndpoint(CCIDInterfaceInfo->Config.DataINEndpoint.Address); + Endpoint_Write_Stream_LE(ResponseSlotStatus, sizeof(USB_CCID_RDR_to_PC_SlotStatus_t), NULL); + Endpoint_ClearIN(); + break; + } + + case CCID_PC_to_RDR_SetParameters: + { + uint8_t ProtocolNum = Endpoint_Read_8(); + uint8_t RFU = Endpoint_Read_16_LE(); + + (void)RFU; + + USB_CCID_RDR_to_PC_Parameters_t* ResponseParametersStatus = (USB_CCID_RDR_to_PC_Parameters_t*)&ResponseBuffer; + ResponseParametersStatus->CCIDHeader.MessageType = CCID_RDR_to_PC_Parameters; + ResponseParametersStatus->CCIDHeader.Length = 0; + ResponseParametersStatus->CCIDHeader.Slot = CCIDHeader.Slot; + ResponseParametersStatus->CCIDHeader.Seq = CCIDHeader.Seq; + + if (ProtocolNum == CCID_PROTOCOLNUM_T0) + { + if (CCIDHeader.Length * sizeof(uint8_t) == sizeof(USB_CCID_ProtocolData_T0_t)) + { + + Endpoint_Read_Stream_LE(RequestBuffer, CCIDHeader.Length * sizeof(uint8_t), NULL); + Status = CALLBACK_CCID_SetParameters_T0(CCIDInterfaceInfo, CCIDHeader.Slot, &Error, (USB_CCID_ProtocolData_T0_t*) RequestBuffer); + if (CCID_CheckStatusNoError(Status)) + { + ResponseParametersStatus->CCIDHeader.Length = CCIDHeader.Length; + Status = CALLBACK_CCID_GetParameters_T0(CCIDInterfaceInfo, CCIDHeader.Slot, &Error, &ResponseParametersStatus->ProtocolNum, (USB_CCID_ProtocolData_T0_t*) &ResponseParametersStatus->ProtocolData); + } + } + else + { + // Unexpected length + Status = CCID_COMMANDSTATUS_FAILED | CCID_ICCSTATUS_PRESENTANDACTIVE; + } + } + else + { + ResponseParametersStatus->ProtocolNum = CCID_PROTOCOLNUM_T0; + + // For now, we don't support T=1 protocol + Error = CCID_ERROR_PARAMETERS_PROTOCOL_NOT_SUPPORTED; + Status = CCID_COMMANDSTATUS_ERROR | CCID_ICCSTATUS_PRESENTANDACTIVE; + } + + ResponseParametersStatus->Status = Status; + ResponseParametersStatus->Error = Error; + + Endpoint_ClearOUT(); + + Endpoint_SelectEndpoint(CCIDInterfaceInfo->Config.DataINEndpoint.Address); + Endpoint_Write_Stream_LE(ResponseParametersStatus, sizeof(USB_CCID_BulkMessage_Header_t) + 3 + ResponseParametersStatus->CCIDHeader.Length , NULL); + Endpoint_ClearIN(); + break; + } + + case CCID_PC_to_RDR_GetParameters: + { + USB_CCID_RDR_to_PC_Parameters_t* ResponseParametersStatus = (USB_CCID_RDR_to_PC_Parameters_t*)&ResponseBuffer; + ResponseParametersStatus->CCIDHeader.MessageType = CCID_RDR_to_PC_Parameters; + ResponseParametersStatus->CCIDHeader.Length = sizeof(USB_CCID_ProtocolData_T0_t); + ResponseParametersStatus->CCIDHeader.Slot = CCIDHeader.Slot; + ResponseParametersStatus->CCIDHeader.Seq = CCIDHeader.Seq; + + Status = CALLBACK_CCID_GetParameters_T0(CCIDInterfaceInfo, CCIDHeader.Slot, &Error, &ResponseParametersStatus->ProtocolNum, (USB_CCID_ProtocolData_T0_t*) &ResponseParametersStatus->ProtocolData); + + ResponseParametersStatus->Status = Status; + ResponseParametersStatus->Error = Error; + + Endpoint_ClearOUT(); + + Endpoint_SelectEndpoint(CCIDInterfaceInfo->Config.DataINEndpoint.Address); + Endpoint_Write_Stream_LE(ResponseParametersStatus, sizeof(USB_CCID_BulkMessage_Header_t) + 3 + ResponseParametersStatus->CCIDHeader.Length , NULL); + Endpoint_ClearIN(); + break; + } + + case CCID_PC_to_RDR_XfrBlock: + { + uint8_t Bwi = Endpoint_Read_8(); + uint16_t LevelParameter = Endpoint_Read_16_LE(); + uint8_t ReceivedBuffer[0x4]; + + (void)Bwi; + (void)LevelParameter; + + Endpoint_Read_Stream_LE(ReceivedBuffer, sizeof(ReceivedBuffer), NULL); + + uint8_t ResponseDataLength = 0; + + USB_CCID_RDR_to_PC_DataBlock_t* ResponseBlock = (USB_CCID_RDR_to_PC_DataBlock_t*)&ResponseBuffer; + ResponseBlock->CCIDHeader.MessageType = CCID_RDR_to_PC_DataBlock; + ResponseBlock->CCIDHeader.Slot = CCIDHeader.Slot; + ResponseBlock->CCIDHeader.Seq = CCIDHeader.Seq; + + ResponseBlock->ChainParam = 0; + + Status = CALLBACK_CCID_XfrBlock(CCIDInterfaceInfo, CCIDHeader.Slot, RequestBuffer, CCIDHeader.Length, (uint8_t*) &ResponseBlock->Data, &ResponseDataLength, &Error); + + if (CCID_CheckStatusNoError(Status) && !CCIDInterfaceInfo->State.Aborted) + { + ResponseBlock->CCIDHeader.Length = ResponseDataLength; + } + else if (CCIDInterfaceInfo->State.Aborted) + { + Status = CCID_COMMANDSTATUS_FAILED | CCID_ICCSTATUS_PRESENTANDACTIVE; + Error = CCID_ERROR_CMD_ABORTED; + ResponseDataLength = 0; + } + else + { + ResponseDataLength = 0; + } + + ResponseBlock->Status = Status; + ResponseBlock->Error = Error; + + Endpoint_ClearOUT(); + + Endpoint_SelectEndpoint(CCIDInterfaceInfo->Config.DataINEndpoint.Address); + Endpoint_Write_Stream_LE(ResponseBlock, sizeof(USB_CCID_RDR_to_PC_DataBlock_t) + ResponseDataLength, NULL); + Endpoint_ClearIN(); + break; + } + + case CCID_PC_to_RDR_Abort: + { + USB_CCID_RDR_to_PC_SlotStatus_t* ResponseAbort = (USB_CCID_RDR_to_PC_SlotStatus_t*)&ResponseBuffer; + ResponseAbort->CCIDHeader.MessageType = CCID_RDR_to_PC_SlotStatus; + ResponseAbort->CCIDHeader.Length = 0; + ResponseAbort->CCIDHeader.Slot = CCIDHeader.Slot; + ResponseAbort->CCIDHeader.Seq = CCIDHeader.Seq; + + ResponseAbort->ClockStatus = 0; + + Status = CALLBACK_CCID_Abort(CCIDInterfaceInfo, CCIDHeader.Slot, CCIDHeader.Seq, &Error); + + ResponseAbort->Status = Status; + ResponseAbort->Error = Error; + + Endpoint_ClearOUT(); + + Endpoint_SelectEndpoint(CCIDInterfaceInfo->Config.DataINEndpoint.Address); + Endpoint_Write_Stream_LE(ResponseAbort, sizeof(USB_CCID_RDR_to_PC_SlotStatus_t), NULL); + Endpoint_ClearIN(); + break; + } + + default: + { + memset(ResponseBuffer, 0x00, sizeof(ResponseBuffer)); + + Endpoint_SelectEndpoint(CCIDInterfaceInfo->Config.DataINEndpoint.Address); + Endpoint_Write_Stream_LE(ResponseBuffer, sizeof(ResponseBuffer), NULL); + Endpoint_ClearIN(); + break; + } + } + } +} + +#endif diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/CCIDClassDevice.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/CCIDClassDevice.h new file mode 100644 index 0000000..133da16 --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/CCIDClassDevice.h @@ -0,0 +1,233 @@ +/* + LUFA Library + Copyright (C) Dean Camera, 2020. + + dean [at] fourwalledcubicle [dot] com + www.lufa-lib.org +*/ + +/* + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Filipe Rodrigues (filipepazrodrigues [at] gmail [dot] com) + + Permission to use, copy, modify, distribute, and sell this + software and its documentation for any purpose is hereby granted + without fee, provided that the above copyright notice appear in + all copies and that both that the copyright notice and this + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of the author not be used in + advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + The author disclaims all warranties with regard to this + software, including all implied warranties of merchantability + and fitness. In no event shall the author be liable for any + special, indirect or consequential damages or any damages + whatsoever resulting from loss of use, data or profits, whether + in an action of contract, negligence or other tortious action, + arising out of or in connection with the use or performance of + this software. +*/ + +/** \file + * \brief Device mode driver for the library USB CCID Class driver. + * + * Device mode driver for the library USB CCID Class driver. + * + * \note This file should not be included directly. It is automatically included as needed by the USB module driver + * dispatch header located in LUFA/Drivers/USB.h. + */ + +/** \ingroup Group_USBClassCCID + * \defgroup Group_USBClassCCIDDevice CCID Class Device Mode Driver + * + * \section Sec_USBClassCCIDDevice_Dependencies Module Source Dependencies + * The following files must be built with any user project that uses this module: + * - LUFA/Drivers/USB/Class/Device/CCIDClassDevice.c (Makefile source module name: LUFA_SRC_USBCLASS) + * + * \section Sec_USBClassCCIDDevice_ModDescription Module Description + * Device Mode USB Class driver framework interface, for the CCID USB Class driver. + * + * @{ + */ + +#ifndef _CCID_CLASS_DEVICE_H_ +#define _CCID_CLASS_DEVICE_H_ + + /* Includes: */ + #include "../../USB.h" + #include "../Common/CCIDClassCommon.h" + + /* Public Interface - May be used in end-application: */ + /* Type Defines: */ + /** \brief CCID Class Device Mode Configuration and State Structure. + * + * Class state structure. An instance of this structure should be made for each CCID interface + * within the user application, and passed to each of the CCID class driver functions as the + * CCIDInterfaceInfo parameter. This stores each CCID interface's configuration and state information. + */ + typedef struct + { + struct + { + uint8_t InterfaceNumber; /**< Interface number of the CCID interface within the device. */ + uint8_t TotalSlots; /**< Total of slots no this device. */ + USB_Endpoint_Table_t DataINEndpoint; /**< Data IN endpoint configuration table. */ + USB_Endpoint_Table_t DataOUTEndpoint; /**< Data OUT endpoint configuration table. */ + } Config; /**< Config data for the USB class interface within the device. All elements in this section + * must be set or the interface will fail to enumerate and operate correctly. + */ + struct + { + bool Aborted; //< Set if host has started an abort process + uint8_t AbortedSeq; //< Sequence number for the current abort process + } State; /**< State data for the USB class interface within the device. All elements in this section + * are reset to their defaults when the interface is enumerated. + */ + USB_CCID_ProtocolData_T0_t ProtocolData; + } USB_ClassInfo_CCID_Device_t; + + /* Function Prototypes: */ + /** Configures the endpoints of a given CCID interface, ready for use. This should be linked to the library + * \ref EVENT_USB_Device_ConfigurationChanged() event so that the endpoints are configured when the configuration containing + * the given CCID interface is selected. + * + * \param[in,out] CCIDInterfaceInfo Pointer to a structure containing a CCID Class configuration. + * + * \return Boolean \c true if the endpoints were successfully configured, \c false otherwise. + */ + bool CCID_Device_ConfigureEndpoints(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1); + + /** Processes incoming control requests from the host, that are directed to the given CCID class interface. This should be + * linked to the library \ref EVENT_USB_Device_ControlRequest() event. + * + * \param[in,out] CCIDInterfaceInfo Pointer to a structure containing a CCID Class configuration and state. + */ + void CCID_Device_ProcessControlRequest(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1); + + /** General management task for a given CCID class interface, required for the correct operation of the interface. This should + * be called frequently in the main program loop, before the master USB management task \ref USB_USBTask(). + * + * \param[in,out] CCIDInterfaceInfo Pointer to a structure containing a CCID Class configuration and state. + */ + void CCID_Device_USBTask(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1); + + /** CCID class driver callback for PC_TO_RDR_IccPowerOn CCID message + * When the ICC is inserted into a slot of a CCID, the CCID can activate the ICC, and the ICC will respond with an ATR + * (answer to reset) + * + * \param[in,out] CCIDInterfaceInfo Pointer to a structure containing a CCID Class configuration and state. + * \param[in] Slot The slot ID currently being powered on. + * \param[in,out] Atr Pointer to an array containing the Power On ATR being sent to the device. + * \param[out] AtrSize The size of the ATR being sent (up to 15 bytes maximum). + * \param[out] Error The result of the operation, or error. + * + * \return The command result code. + */ + uint8_t CALLBACK_CCID_IccPowerOn(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo, + const uint8_t Slot, + uint8_t* const Atr, + uint8_t* const AtrSize, + uint8_t* const Error) ATTR_NON_NULL_PTR_ARG(1); + + /** CCID class driver callback for PC_TO_RDR_IccPowerOff CCID message + * Turns off the ICC + * + * \param[in,out] CCIDInterfaceInfo Pointer to a structure containing a CCID Class configuration and state. + * \param[in] Slot The slot ID currently being powered off. + * \param[out] Error The result of the operation, or error. + * + * \return The command result code. + */ + uint8_t CALLBACK_CCID_IccPowerOff(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo, + const uint8_t Slot, + uint8_t* const Error) ATTR_NON_NULL_PTR_ARG(1); + + /** CCID class driver callback for PC_TO_RDR_GetSlotStatus CCID message + * Retrieves the current status of a given slot + * + * \param[in,out] CCIDInterfaceInfo Pointer to a structure containing a CCID Class configuration and state. + * \param[in] Slot The slot ID from which we want to retrieve the status. + * \param[out] Error The result of the operation, or error. + * + * \return The command result code. + */ + uint8_t CALLBACK_CCID_GetSlotStatus(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo, + const uint8_t Slot, + uint8_t* const Error) ATTR_NON_NULL_PTR_ARG(1); + + + /** CCID class driver callback for PC_TO_RDR_SetParameters CCID message for T=0 + * Sets the current parameters of a given slot + * + * \param[in,out] CCIDInterfaceInfo Pointer to a structure containing a CCID Class configuration, state and protocol data. + * \param[in] Slot The slot ID from which we want to retrieve the status. + * \param[out] Error The result of the operation, or error. + * \param[out] T0 Pointer to a buffer containing the new parameters + * + * \return The command result code. + */ + uint8_t CALLBACK_CCID_SetParameters_T0(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo, + const uint8_t Slot, + uint8_t* const Error, + USB_CCID_ProtocolData_T0_t* const T0) ATTR_NON_NULL_PTR_ARG(1); + + /** CCID class driver callback for PC_TO_RDR_SetParameters CCID message for T=0 + * Retrieves the current parameters of a given slot + * + * \param[in,out] CCIDInterfaceInfo Pointer to a structure containing a CCID Class configuration, state and protocol data. + * \param[in] Slot The slot ID from which we want to retrieve the status. + * \param[out] Error The result of the operation, or error. + * \param[out] ProtocolNum The CCID protocol ID of the parameter being retrieved. + * \param[out] T0 Pointer to a buffer where the parameters will be returned + * + * \return The command result code. + */ + uint8_t CALLBACK_CCID_GetParameters_T0(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo, + const uint8_t Slot, + uint8_t* const Error, + uint8_t* const ProtocolNum, + USB_CCID_ProtocolData_T0_t* const T0) ATTR_NON_NULL_PTR_ARG(1); + + /** CCID class driver callback for PC_TO_RDR_XfrBlock CCID message + * Send a block of bytes from the host to a slot in the device + * and also received a block of bytes as a response + * + * \param[in,out] CCIDInterfaceInfo Pointer to a structure containing a CCID Class configuration and state. + * \param[in] Slot The slot ID from which we want to retrieve the status. + * \param[in] ReceivedBuffer Pointer to an array holding the received block of bytes + * \param[in] ReceivedBufferSize The size of the received block of bytes + * \param[out] SendBuffer Pointer to a buffer which will hold the bytes being sent back to the host + * \param[out] SentBufferSize The size of the block of bytes being sent back to the host + * \param[out] Error The result of the operation, or error. + * + * \return The command result code. + */ + uint8_t CALLBACK_CCID_XfrBlock(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo, + const uint8_t Slot, + const uint8_t* ReceivedBuffer, + const uint8_t ReceivedBufferSize, + uint8_t* const SendBuffer, + uint8_t* const SentBufferSize, + uint8_t* const Error) ATTR_NON_NULL_PTR_ARG(1); + + /** CCID class driver callback for CCID_PC_to_RDR_Abort CCID message + * Aborts a BULK out message previously sent to a slot + * + * \param[in,out] CCIDInterfaceInfo Pointer to a structure containing a CCID Class configuration and state. + * \param[in] Slot The slot ID to where the message being aborted was sent to. + * \param[in] Seq The current sequence number for this message. Must be checked against + * the current abort message being sent at the control pipe. + * \param[out] Error The result of the operation, or error. + * + * \return The command result code. + */ + uint8_t CALLBACK_CCID_Abort(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo, + const uint8_t Slot, + const uint8_t Seq, + uint8_t* const Error) ATTR_NON_NULL_PTR_ARG(1); + + +#endif + +/** @} */ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/CDCClassDevice.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/CDCClassDevice.c similarity index 76% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/CDCClassDevice.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/CDCClassDevice.c index f4e74cf..228b018 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/CDCClassDevice.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/CDCClassDevice.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -166,6 +166,29 @@ uint8_t CDC_Device_SendData(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, return Endpoint_Write_Stream_LE(Buffer, Length, NULL); } +#if defined(ARCH_HAS_FLASH_ADDRESS_SPACE) + uint8_t CDC_Device_SendString_P(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, + const char* const String) + { + if ((USB_DeviceState != DEVICE_STATE_Configured) || !(CDCInterfaceInfo->State.LineEncoding.BaudRateBPS)) + return ENDPOINT_RWSTREAM_DeviceDisconnected; + + Endpoint_SelectEndpoint(CDCInterfaceInfo->Config.DataINEndpoint.Address); + return Endpoint_Write_PStream_LE(String, strlen_P(String), NULL); + } + + uint8_t CDC_Device_SendData_P(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, + const void* const Buffer, + const uint16_t Length) + { + if ((USB_DeviceState != DEVICE_STATE_Configured) || !(CDCInterfaceInfo->State.LineEncoding.BaudRateBPS)) + return ENDPOINT_RWSTREAM_DeviceDisconnected; + + Endpoint_SelectEndpoint(CDCInterfaceInfo->Config.DataINEndpoint.Address); + return Endpoint_Write_PStream_LE(Buffer, Length, NULL); + } +#endif + uint8_t CDC_Device_SendByte(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, const uint8_t Data) { @@ -285,57 +308,62 @@ void CDC_Device_SendControlLineStateChange(USB_ClassInfo_CDC_Device_t* const CDC } #if defined(FDEV_SETUP_STREAM) -void CDC_Device_CreateStream(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, - FILE* const Stream) -{ - *Stream = (FILE)FDEV_SETUP_STREAM(CDC_Device_putchar, CDC_Device_getchar, _FDEV_SETUP_RW); - fdev_set_udata(Stream, CDCInterfaceInfo); -} - -void CDC_Device_CreateBlockingStream(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, - FILE* const Stream) -{ - *Stream = (FILE)FDEV_SETUP_STREAM(CDC_Device_putchar, CDC_Device_getchar_Blocking, _FDEV_SETUP_RW); - fdev_set_udata(Stream, CDCInterfaceInfo); -} + void CDC_Device_CreateStream(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, + FILE* const Stream) + { + *Stream = (FILE)FDEV_SETUP_STREAM(CDC_Device_putchar, CDC_Device_getchar, _FDEV_SETUP_RW); + fdev_set_udata(Stream, CDCInterfaceInfo); + } -static int CDC_Device_putchar(char c, - FILE* Stream) -{ - return CDC_Device_SendByte((USB_ClassInfo_CDC_Device_t*)fdev_get_udata(Stream), c) ? _FDEV_ERR : 0; -} + void CDC_Device_CreateBlockingStream(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, + FILE* const Stream) + { + *Stream = (FILE)FDEV_SETUP_STREAM(CDC_Device_putchar, CDC_Device_getchar_Blocking, _FDEV_SETUP_RW); + fdev_set_udata(Stream, CDCInterfaceInfo); + } -static int CDC_Device_getchar(FILE* Stream) -{ - int16_t ReceivedByte = CDC_Device_ReceiveByte((USB_ClassInfo_CDC_Device_t*)fdev_get_udata(Stream)); + static int CDC_Device_putchar(char c, + FILE* Stream) + { + return CDC_Device_SendByte((USB_ClassInfo_CDC_Device_t*)fdev_get_udata(Stream), c) ? _FDEV_ERR : c; + } - if (ReceivedByte < 0) - return _FDEV_EOF; + static int CDC_Device_getchar(FILE* Stream) + { + int16_t ReceivedByte = CDC_Device_ReceiveByte((USB_ClassInfo_CDC_Device_t*)fdev_get_udata(Stream)); - return ReceivedByte; -} + if (ReceivedByte < 0) + return _FDEV_EOF; -static int CDC_Device_getchar_Blocking(FILE* Stream) -{ - int16_t ReceivedByte; + return ReceivedByte; + } - while ((ReceivedByte = CDC_Device_ReceiveByte((USB_ClassInfo_CDC_Device_t*)fdev_get_udata(Stream))) < 0) + static int CDC_Device_getchar_Blocking(FILE* Stream) { - if (USB_DeviceState == DEVICE_STATE_Unattached) - return _FDEV_EOF; + int16_t ReceivedByte; - CDC_Device_USBTask((USB_ClassInfo_CDC_Device_t*)fdev_get_udata(Stream)); - USB_USBTask(); - } + while ((ReceivedByte = CDC_Device_ReceiveByte((USB_ClassInfo_CDC_Device_t*)fdev_get_udata(Stream))) < 0) + { + if (USB_DeviceState == DEVICE_STATE_Unattached) + return _FDEV_EOF; - return ReceivedByte; -} + CDC_Device_USBTask((USB_ClassInfo_CDC_Device_t*)fdev_get_udata(Stream)); + USB_USBTask(); + } + + return ReceivedByte; + } #endif -void CDC_Device_Event_Stub(void) +void CDC_Device_Event_Stub(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo) { } +void CDC_Device_Event_Stub_2(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, const uint8_t _1) +{ + CDC_Device_Event_Stub(CDCInterfaceInfo); +} + #endif diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/CDCClassDevice.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/CDCClassDevice.h similarity index 86% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/CDCClassDevice.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/CDCClassDevice.h index 05c0fdd..54ad49a 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/CDCClassDevice.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/CDCClassDevice.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -182,6 +182,22 @@ void EVENT_CDC_Device_BreakSent(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, const uint8_t Duration) ATTR_NON_NULL_PTR_ARG(1); + /** Sends a given null terminated string to the attached USB host, if connected. If a host is not connected when + * the function is called, the string is discarded. Bytes will be queued for transmission to the host until either + * the endpoint bank becomes full, or the \ref CDC_Device_Flush() function is called to flush the pending data to + * the host. This allows for multiple bytes to be packed into a single endpoint packet, increasing data throughput. + * + * \pre This function must only be called when the Device state machine is in the \ref DEVICE_STATE_Configured state or + * the call will fail. + * + * \param[in,out] CDCInterfaceInfo Pointer to a structure containing a CDC Class configuration and state. + * \param[in] String Pointer to the null terminated string to send to the host. + * + * \return A value from the \ref Endpoint_Stream_RW_ErrorCodes_t enum. + */ + uint8_t CDC_Device_SendString(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, + const char* const String) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); + /** Sends a given data buffer to the attached USB host, if connected. If a host is not connected when the function is * called, the string is discarded. Bytes will be queued for transmission to the host until either the endpoint bank * becomes full, or the \ref CDC_Device_Flush() function is called to flush the pending data to the host. This allows @@ -200,21 +216,47 @@ const void* const Buffer, const uint16_t Length) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); - /** Sends a given null terminated string to the attached USB host, if connected. If a host is not connected when - * the function is called, the string is discarded. Bytes will be queued for transmission to the host until either - * the endpoint bank becomes full, or the \ref CDC_Device_Flush() function is called to flush the pending data to - * the host. This allows for multiple bytes to be packed into a single endpoint packet, increasing data throughput. - * - * \pre This function must only be called when the Device state machine is in the \ref DEVICE_STATE_Configured state or - * the call will fail. - * - * \param[in,out] CDCInterfaceInfo Pointer to a structure containing a CDC Class configuration and state. - * \param[in] String Pointer to the null terminated string to send to the host. - * - * \return A value from the \ref Endpoint_Stream_RW_ErrorCodes_t enum. - */ - uint8_t CDC_Device_SendString(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, - const char* const String) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); + #if defined(ARCH_HAS_FLASH_ADDRESS_SPACE) + /** Sends a given null terminated string from PROGMEM space to the attached USB host, if connected. If a host is not connected + * when the function is called, the string is discarded. Bytes will be queued for transmission to the host until either + * the endpoint bank becomes full, or the \ref CDC_Device_Flush() function is called to flush the pending data to + * the host. This allows for multiple bytes to be packed into a single endpoint packet, increasing data throughput. + * + * \pre This function must only be called when the Device state machine is in the \ref DEVICE_STATE_Configured state or + * the call will fail. + * + * \note This function does not exist on architectures that do not have a separate flash memory space. + * + * \param[in,out] CDCInterfaceInfo Pointer to a structure containing a CDC Class configuration and state. + * \param[in] String Pointer to the null terminated string to send to the host. + * + * \return A value from the \ref Endpoint_Stream_RW_ErrorCodes_t enum. + */ + uint8_t CDC_Device_SendString_P(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, + const char* const String) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); + #endif + + #if defined(ARCH_HAS_FLASH_ADDRESS_SPACE) + /** Sends a given data buffer from PROGMEM space to the attached USB host, if connected. If a host is not connected when the + * function is called, the string is discarded. Bytes will be queued for transmission to the host until either the endpoint + * bank becomes full, or the \ref CDC_Device_Flush() function is called to flush the pending data to the host. This allows + * for multiple bytes to be packed into a single endpoint packet, increasing data throughput. + * + * \pre This function must only be called when the Device state machine is in the \ref DEVICE_STATE_Configured state or + * the call will fail. + * + * \note This function does not exist on architectures that do not have a separate flash memory space. + * + * \param[in,out] CDCInterfaceInfo Pointer to a structure containing a CDC Class configuration and state. + * \param[in] Buffer Pointer to a buffer containing the data to send to the device. + * \param[in] Length Length of the data to send to the host. + * + * \return A value from the \ref Endpoint_Stream_RW_ErrorCodes_t enum. + */ + uint8_t CDC_Device_SendData_P(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, + const void* const Buffer, + const uint16_t Length) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); + #endif /** Sends a given byte to the attached USB host, if connected. If a host is not connected when the function is called, the * byte is discarded. Bytes will be queued for transmission to the host until either the endpoint bank becomes full, or the @@ -328,7 +370,8 @@ static int CDC_Device_getchar_Blocking(FILE* Stream) ATTR_NON_NULL_PTR_ARG(1); #endif - void CDC_Device_Event_Stub(void) ATTR_CONST; + void CDC_Device_Event_Stub(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo); + void CDC_Device_Event_Stub_2(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, const uint8_t _1); void EVENT_CDC_Device_LineEncodingChanged(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo) ATTR_WEAK ATTR_NON_NULL_PTR_ARG(1) ATTR_ALIAS(CDC_Device_Event_Stub); @@ -336,7 +379,7 @@ ATTR_WEAK ATTR_NON_NULL_PTR_ARG(1) ATTR_ALIAS(CDC_Device_Event_Stub); void EVENT_CDC_Device_BreakSent(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, const uint8_t Duration) ATTR_WEAK ATTR_NON_NULL_PTR_ARG(1) - ATTR_ALIAS(CDC_Device_Event_Stub); + ATTR_ALIAS(CDC_Device_Event_Stub_2); #endif #endif diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/HIDClassDevice.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/HIDClassDevice.c similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/HIDClassDevice.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/HIDClassDevice.c index 03a745c..5d1f0bd 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/HIDClassDevice.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/HIDClassDevice.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/HIDClassDevice.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/HIDClassDevice.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/HIDClassDevice.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/HIDClassDevice.h index f373cf0..51672e3 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/HIDClassDevice.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/HIDClassDevice.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.c similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.c index b002525..4565dba 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.h index 70eb442..465bba1 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.c similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.c index d090796..e2529e0 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.h index 5132213..00fa2f1 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.c similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.c index fd3454b..313d64b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -59,7 +59,7 @@ void PRNT_Device_ProcessControlRequest(USB_ClassInfo_PRNT_Device_t* const PRNTIn } uint16_t IEEEStringLen = strlen(PRNTInterfaceInfo->Config.IEEE1284String); - Endpoint_Write_16_BE(IEEEStringLen); + Endpoint_Write_16_BE(IEEEStringLen + sizeof(uint16_t)); Endpoint_Write_Control_Stream_LE(PRNTInterfaceInfo->Config.IEEE1284String, IEEEStringLen); Endpoint_ClearStatusStage(); } @@ -77,6 +77,8 @@ void PRNT_Device_ProcessControlRequest(USB_ClassInfo_PRNT_Device_t* const PRNTIn } Endpoint_Write_8(PRNTInterfaceInfo->State.PortStatus); + Endpoint_ClearIN(); + Endpoint_ClearStatusStage(); } @@ -305,7 +307,7 @@ static int PRNT_Device_getchar_Blocking(FILE* Stream) } #endif -void PRNT_Device_Event_Stub(void) +void PRNT_Device_Event_Stub(USB_ClassInfo_PRNT_Device_t* const PRNTInterfaceInfo) { } diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.h index d9d9644..d8b3b07 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -273,7 +273,7 @@ static int PRNT_Device_getchar_Blocking(FILE* Stream) ATTR_NON_NULL_PTR_ARG(1); #endif - void PRNT_Device_Event_Stub(void) ATTR_CONST; + void PRNT_Device_Event_Stub(USB_ClassInfo_PRNT_Device_t* const PRNTInterfaceInfo); void EVENT_PRNT_Device_SoftReset(USB_ClassInfo_PRNT_Device_t* const PRNTInterfaceInfo) ATTR_WEAK ATTR_NON_NULL_PTR_ARG(1) ATTR_ALIAS(PRNT_Device_Event_Stub); diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.c similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.c index 6ee73c5..076e668 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h index 2821d7d..de09984 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/HIDClass.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/HIDClass.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/HIDClass.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/HIDClass.h index d2eea75..60419d4 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/HIDClass.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/HIDClass.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.c similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.c index ac8d5dc..8f0c676 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h index 0476f2e..4d2c684 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/AudioClassHost.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/AudioClassHost.c similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/AudioClassHost.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/AudioClassHost.c index 3b5bceb..ae0ebcc 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/AudioClassHost.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/AudioClassHost.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/AudioClassHost.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/AudioClassHost.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/AudioClassHost.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/AudioClassHost.h index b00bb5f..80f261c 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/AudioClassHost.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/AudioClassHost.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/CDCClassHost.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/CDCClassHost.c similarity index 83% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/CDCClassHost.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/CDCClassHost.c index b32a237..484d349 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/CDCClassHost.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/CDCClassHost.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -276,9 +276,8 @@ uint8_t CDC_Host_SendBreak(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, return USB_Host_SendControlRequest(NULL); } -uint8_t CDC_Host_SendData(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, - const void* const Buffer, - const uint16_t Length) +uint8_t CDC_Host_SendString(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, + const char* const String) { if ((USB_HostState != HOST_STATE_Configured) || !(CDCInterfaceInfo->State.IsActive)) return PIPE_READYWAIT_DeviceDisconnected; @@ -288,14 +287,15 @@ uint8_t CDC_Host_SendData(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, Pipe_SelectPipe(CDCInterfaceInfo->Config.DataOUTPipe.Address); Pipe_Unfreeze(); - ErrorCode = Pipe_Write_Stream_LE(Buffer, Length, NULL); + ErrorCode = Pipe_Write_Stream_LE(String, strlen(String), NULL); Pipe_Freeze(); return ErrorCode; } -uint8_t CDC_Host_SendString(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, - const char* const String) +uint8_t CDC_Host_SendData(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, + const void* const Buffer, + const uint16_t Length) { if ((USB_HostState != HOST_STATE_Configured) || !(CDCInterfaceInfo->State.IsActive)) return PIPE_READYWAIT_DeviceDisconnected; @@ -305,12 +305,49 @@ uint8_t CDC_Host_SendString(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, Pipe_SelectPipe(CDCInterfaceInfo->Config.DataOUTPipe.Address); Pipe_Unfreeze(); - ErrorCode = Pipe_Write_Stream_LE(String, strlen(String), NULL); + ErrorCode = Pipe_Write_Stream_LE(Buffer, Length, NULL); Pipe_Freeze(); return ErrorCode; } +#if defined(ARCH_HAS_FLASH_ADDRESS_SPACE) + uint8_t CDC_Host_SendString_P(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, + const char* const String) + { + if ((USB_HostState != HOST_STATE_Configured) || !(CDCInterfaceInfo->State.IsActive)) + return PIPE_READYWAIT_DeviceDisconnected; + + uint8_t ErrorCode; + + Pipe_SelectPipe(CDCInterfaceInfo->Config.DataOUTPipe.Address); + + Pipe_Unfreeze(); + ErrorCode = Pipe_Write_PStream_LE(String, strlen_P(String), NULL); + Pipe_Freeze(); + + return ErrorCode; + } + + uint8_t CDC_Host_SendData_P(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, + const void* const Buffer, + const uint16_t Length) + { + if ((USB_HostState != HOST_STATE_Configured) || !(CDCInterfaceInfo->State.IsActive)) + return PIPE_READYWAIT_DeviceDisconnected; + + uint8_t ErrorCode; + + Pipe_SelectPipe(CDCInterfaceInfo->Config.DataOUTPipe.Address); + + Pipe_Unfreeze(); + ErrorCode = Pipe_Write_PStream_LE(Buffer, Length, NULL); + Pipe_Freeze(); + + return ErrorCode; + } +#endif + uint8_t CDC_Host_SendByte(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, const uint8_t Data) { @@ -421,54 +458,54 @@ uint8_t CDC_Host_Flush(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo) } #if defined(FDEV_SETUP_STREAM) -void CDC_Host_CreateStream(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, - FILE* const Stream) -{ - *Stream = (FILE)FDEV_SETUP_STREAM(CDC_Host_putchar, CDC_Host_getchar, _FDEV_SETUP_RW); - fdev_set_udata(Stream, CDCInterfaceInfo); -} - -void CDC_Host_CreateBlockingStream(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, - FILE* const Stream) -{ - *Stream = (FILE)FDEV_SETUP_STREAM(CDC_Host_putchar, CDC_Host_getchar_Blocking, _FDEV_SETUP_RW); - fdev_set_udata(Stream, CDCInterfaceInfo); -} + void CDC_Host_CreateStream(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, + FILE* const Stream) + { + *Stream = (FILE)FDEV_SETUP_STREAM(CDC_Host_putchar, CDC_Host_getchar, _FDEV_SETUP_RW); + fdev_set_udata(Stream, CDCInterfaceInfo); + } -static int CDC_Host_putchar(char c, - FILE* Stream) -{ - return CDC_Host_SendByte((USB_ClassInfo_CDC_Host_t*)fdev_get_udata(Stream), c) ? _FDEV_ERR : 0; -} + void CDC_Host_CreateBlockingStream(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, + FILE* const Stream) + { + *Stream = (FILE)FDEV_SETUP_STREAM(CDC_Host_putchar, CDC_Host_getchar_Blocking, _FDEV_SETUP_RW); + fdev_set_udata(Stream, CDCInterfaceInfo); + } -static int CDC_Host_getchar(FILE* Stream) -{ - int16_t ReceivedByte = CDC_Host_ReceiveByte((USB_ClassInfo_CDC_Host_t*)fdev_get_udata(Stream)); + static int CDC_Host_putchar(char c, + FILE* Stream) + { + return CDC_Host_SendByte((USB_ClassInfo_CDC_Host_t*)fdev_get_udata(Stream), c) ? _FDEV_ERR : 0; + } - if (ReceivedByte < 0) - return _FDEV_EOF; + static int CDC_Host_getchar(FILE* Stream) + { + int16_t ReceivedByte = CDC_Host_ReceiveByte((USB_ClassInfo_CDC_Host_t*)fdev_get_udata(Stream)); - return ReceivedByte; -} + if (ReceivedByte < 0) + return _FDEV_EOF; -static int CDC_Host_getchar_Blocking(FILE* Stream) -{ - int16_t ReceivedByte; + return ReceivedByte; + } - while ((ReceivedByte = CDC_Host_ReceiveByte((USB_ClassInfo_CDC_Host_t*)fdev_get_udata(Stream))) < 0) + static int CDC_Host_getchar_Blocking(FILE* Stream) { - if (USB_HostState == HOST_STATE_Unattached) - return _FDEV_EOF; + int16_t ReceivedByte; - CDC_Host_USBTask((USB_ClassInfo_CDC_Host_t*)fdev_get_udata(Stream)); - USB_USBTask(); - } + while ((ReceivedByte = CDC_Host_ReceiveByte((USB_ClassInfo_CDC_Host_t*)fdev_get_udata(Stream))) < 0) + { + if (USB_HostState == HOST_STATE_Unattached) + return _FDEV_EOF; - return ReceivedByte; -} + CDC_Host_USBTask((USB_ClassInfo_CDC_Host_t*)fdev_get_udata(Stream)); + USB_USBTask(); + } + + return ReceivedByte; + } #endif -void CDC_Host_Event_Stub(void) +void CDC_Host_Event_Stub(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo) { } diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/CDCClassHost.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/CDCClassHost.h similarity index 87% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/CDCClassHost.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/CDCClassHost.h index aeee23e..b4af580 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/CDCClassHost.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/CDCClassHost.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -183,6 +183,22 @@ uint8_t CDC_Host_SendBreak(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, const uint8_t Duration) ATTR_NON_NULL_PTR_ARG(1); + /** Sends a given null-terminated string to the attached USB device, if connected. If a device is not connected when the + * function is called, the string is discarded. Bytes will be queued for transmission to the device until either the pipe + * bank becomes full, or the \ref CDC_Host_Flush() function is called to flush the pending data to the device. This allows + * for multiple bytes to be packed into a single pipe packet, increasing data throughput. + * + * \pre This function must only be called when the Host state machine is in the \ref HOST_STATE_Configured state or the + * call will fail. + * + * \param[in,out] CDCInterfaceInfo Pointer to a structure containing a CDC Class host configuration and state. + * \param[in] String Pointer to the null terminated string to send to the device. + * + * \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum. + */ + uint8_t CDC_Host_SendString(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, + const char* const String) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); + /** Sends a given data buffer to the attached USB device, if connected. If a device is not connected when the function is * called, the data will be discarded. Bytes will be queued for transmission to the device until either the pipe bank * becomes full, or the \ref CDC_Host_Flush() function is called to flush the pending data to the device. This allows for @@ -201,21 +217,47 @@ const void* const Buffer, const uint16_t Length) ATTR_NON_NULL_PTR_ARG(1); - /** Sends a given null-terminated string to the attached USB device, if connected. If a device is not connected when the - * function is called, the string is discarded. Bytes will be queued for transmission to the device until either the pipe - * bank becomes full, or the \ref CDC_Host_Flush() function is called to flush the pending data to the device. This allows - * for multiple bytes to be packed into a single pipe packet, increasing data throughput. - * - * \pre This function must only be called when the Host state machine is in the \ref HOST_STATE_Configured state or the - * call will fail. - * - * \param[in,out] CDCInterfaceInfo Pointer to a structure containing a CDC Class host configuration and state. - * \param[in] String Pointer to the null terminated string to send to the device. - * - * \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum. - */ - uint8_t CDC_Host_SendString(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, - const char* const String) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); + #if defined(ARCH_HAS_FLASH_ADDRESS_SPACE) + /** Sends a given null terminated string from PROGMEM space to the attached USB device, if connected. If a device is not connected + * when the function is called, the string is discarded. Bytes will be queued for transmission to the device until either + * the pipe bank becomes full, or the \ref CDC_Host_Flush() function is called to flush the pending data to + * the device. This allows for multiple bytes to be packed into a single pipe packet, increasing data throughput. + * + * \pre This function must only be called when the Host state machine is in the \ref HOST_STATE_Configured state or + * the call will fail. + * + * \note This function does not exist on architectures that do not have a separate flash memory space. + * + * \param[in,out] CDCInterfaceInfo Pointer to a structure containing a CDC Class host configuration and state. + * \param[in] String Pointer to the null terminated string to send to the host. + * + * \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum. + */ + uint8_t CDC_Host_SendString_P(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, + const char* const String) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); + #endif + + #if defined(ARCH_HAS_FLASH_ADDRESS_SPACE) + /** Sends a given data buffer from PROGMEM space to the attached USB device, if connected. If a device is not connected when the + * function is called, the string is discarded. Bytes will be queued for transmission to the host until either the pipe + * bank becomes full, or the \ref CDC_Host_Flush() function is called to flush the pending data to the device. This allows + * for multiple bytes to be packed into a single pipe packet, increasing data throughput. + * + * \pre This function must only be called when the Host state machine is in the \ref HOST_STATE_Configured state or + * the call will fail. + * + * \note This function does not exist on architectures that do not have a separate flash memory space. + * + * \param[in,out] CDCInterfaceInfo Pointer to a structure containing a CDC Class host configuration and state. + * \param[in] Buffer Pointer to a buffer containing the data to send to the device. + * \param[in] Length Length of the data to send to the host. + * + * \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum. + */ + uint8_t CDC_Host_SendData_P(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, + const void* const Buffer, + const uint16_t Length) ATTR_NON_NULL_PTR_ARG(1); + #endif /** Sends a given byte to the attached USB device, if connected. If a device is not connected when the function is called, the * byte is discarded. Bytes will be queued for transmission to the device until either the pipe bank becomes full, or the @@ -326,7 +368,7 @@ static int CDC_Host_getchar_Blocking(FILE* Stream) ATTR_NON_NULL_PTR_ARG(1); #endif - void CDC_Host_Event_Stub(void) ATTR_CONST; + void CDC_Host_Event_Stub(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo); void EVENT_CDC_Host_ControLineStateChanged(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo) ATTR_WEAK ATTR_NON_NULL_PTR_ARG(1) ATTR_ALIAS(CDC_Host_Event_Stub); diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/HIDClassHost.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/HIDClassHost.c similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/HIDClassHost.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/HIDClassHost.c index b43435d..65f91de 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/HIDClassHost.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/HIDClassHost.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -113,6 +113,7 @@ uint8_t HID_Host_ConfigurePipes(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo HIDInterfaceInfo->State.InterfaceNumber = HIDInterface->InterfaceNumber; HIDInterfaceInfo->State.HIDReportSize = LE16_TO_CPU(HIDDescriptor->HIDReportLength); + HIDInterfaceInfo->State.DeviceUsesOUTPipe = DataOUTEndpoint; HIDInterfaceInfo->State.SupportsBootProtocol = (HIDInterface->SubClass != HID_CSCP_NonBootProtocol); HIDInterfaceInfo->State.LargestReportSize = 8; HIDInterfaceInfo->State.IsActive = true; diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/HIDClassHost.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/HIDClassHost.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/HIDClassHost.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/HIDClassHost.h index 703b698..e62c9af 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/HIDClassHost.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/HIDClassHost.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/MIDIClassHost.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/MIDIClassHost.c similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/MIDIClassHost.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/MIDIClassHost.c index 8b898cb..431e4be 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/MIDIClassHost.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/MIDIClassHost.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/MIDIClassHost.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/MIDIClassHost.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/MIDIClassHost.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/MIDIClassHost.h index 7624f8e..9c2b4de 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/MIDIClassHost.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/MIDIClassHost.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/MassStorageClassHost.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/MassStorageClassHost.c similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/MassStorageClassHost.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/MassStorageClassHost.c index ac448a5..cca01e8 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/MassStorageClassHost.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/MassStorageClassHost.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/MassStorageClassHost.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/MassStorageClassHost.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/MassStorageClassHost.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/MassStorageClassHost.h index 6e55807..5bfc1ca 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/MassStorageClassHost.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/MassStorageClassHost.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/PrinterClassHost.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/PrinterClassHost.c similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/PrinterClassHost.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/PrinterClassHost.c index fd32e1c..4413750 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/PrinterClassHost.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/PrinterClassHost.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/PrinterClassHost.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/PrinterClassHost.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/PrinterClassHost.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/PrinterClassHost.h index 8089aa5..035daa6 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/PrinterClassHost.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/PrinterClassHost.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/RNDISClassHost.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/RNDISClassHost.c similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/RNDISClassHost.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/RNDISClassHost.c index 3ed51c8..1e89a22 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/RNDISClassHost.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/RNDISClassHost.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/RNDISClassHost.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/RNDISClassHost.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/RNDISClassHost.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/RNDISClassHost.h index 79334b4..2eb6269 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/RNDISClassHost.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/RNDISClassHost.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/StillImageClassHost.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/StillImageClassHost.c similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/StillImageClassHost.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/StillImageClassHost.c index 24a6308..4bf9431 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/StillImageClassHost.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/StillImageClassHost.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/StillImageClassHost.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/StillImageClassHost.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/StillImageClassHost.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/StillImageClassHost.h index f9f41ad..6ed2e6a 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/Host/StillImageClassHost.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/Host/StillImageClassHost.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/MIDIClass.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/MIDIClass.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/MIDIClass.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/MIDIClass.h index 7e6ba1c..aa1496e 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/MIDIClass.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/MIDIClass.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/MassStorageClass.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/MassStorageClass.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/MassStorageClass.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/MassStorageClass.h index 79a0521..5bff6dd 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/MassStorageClass.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/MassStorageClass.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/PrinterClass.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/PrinterClass.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/PrinterClass.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/PrinterClass.h index 91121b5..d86250f 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/PrinterClass.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/PrinterClass.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/RNDISClass.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/RNDISClass.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/RNDISClass.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/RNDISClass.h index 1555f0d..d0fe431 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/RNDISClass.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/RNDISClass.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/StillImageClass.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/StillImageClass.h similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/StillImageClass.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/StillImageClass.h index f2ec37b..bd6f99a 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Class/StillImageClass.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Class/StillImageClass.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.c similarity index 93% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.c index d23e7b8..1372a3d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h index 5efffe7..f9a1182 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -80,7 +80,7 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** \name USB Device Mode Option Masks */ - //@{ + /**@{*/ #if defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR) || defined(__DOXYGEN__) /** Mask for the Options parameter of the \ref USB_Init() function. This indicates that the * USB interface should be initialized in low speed (1.5Mb/s) mode. @@ -98,7 +98,7 @@ * USB interface should be initialized in full speed (12Mb/s) mode. */ #define USB_DEVICE_OPT_FULLSPEED (0 << 0) - //@} + /**@}*/ #if (!defined(NO_INTERNAL_SERIAL) && \ (defined(USB_SERIES_7_AVR) || defined(USB_SERIES_6_AVR) || \ @@ -113,22 +113,25 @@ * On unsupported devices, this will evaluate to \ref NO_DESCRIPTOR and so will force the host to create a pseudo-serial * number for the device. */ - #define USE_INTERNAL_SERIAL 0xDC + #ifndef USE_INTERNAL_SERIAL + #define USE_INTERNAL_SERIAL 0xDC + #endif /** Length of the device's unique internal serial number, in bits, if present on the selected microcontroller * model. */ - #define INTERNAL_SERIAL_LENGTH_BITS 80 + #define INTERNAL_SERIAL_LENGTH_BITS 80 /** Start address of the internal serial number, in the appropriate address space, if present on the selected microcontroller * model. */ - #define INTERNAL_SERIAL_START_ADDRESS 0x0E + #define INTERNAL_SERIAL_START_ADDRESS 0x0E #else - #define USE_INTERNAL_SERIAL NO_DESCRIPTOR + #undef USE_INTERNAL_SERIAL + #define USE_INTERNAL_SERIAL NO_DESCRIPTOR - #define INTERNAL_SERIAL_LENGTH_BITS 0 - #define INTERNAL_SERIAL_START_ADDRESS 0 + #define INTERNAL_SERIAL_LENGTH_BITS 0 + #define INTERNAL_SERIAL_START_ADDRESS 0 #endif /* Function Prototypes: */ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c index 5782824..970c113 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -43,15 +43,12 @@ uint8_t Endpoint_Discard_Stream(uint16_t Length, uint16_t* const BytesProcessed) { uint8_t ErrorCode; - uint16_t BytesInTransfer = 0; + uint16_t BytesInTransfer = BytesProcessed ? *BytesProcessed : 0; if ((ErrorCode = Endpoint_WaitUntilReady())) return ErrorCode; - if (BytesProcessed != NULL) - Length -= *BytesProcessed; - - while (Length) + while (BytesInTransfer < Length) { if (!(Endpoint_IsReadWriteAllowed())) { @@ -59,7 +56,7 @@ uint8_t Endpoint_Discard_Stream(uint16_t Length, if (BytesProcessed != NULL) { - *BytesProcessed += BytesInTransfer; + *BytesProcessed = BytesInTransfer; return ENDPOINT_RWSTREAM_IncompleteTransfer; } @@ -69,8 +66,6 @@ uint8_t Endpoint_Discard_Stream(uint16_t Length, else { Endpoint_Discard_8(); - - Length--; BytesInTransfer++; } } @@ -82,15 +77,12 @@ uint8_t Endpoint_Null_Stream(uint16_t Length, uint16_t* const BytesProcessed) { uint8_t ErrorCode; - uint16_t BytesInTransfer = 0; + uint16_t BytesInTransfer = BytesProcessed ? *BytesProcessed : 0; if ((ErrorCode = Endpoint_WaitUntilReady())) return ErrorCode; - if (BytesProcessed != NULL) - Length -= *BytesProcessed; - - while (Length) + while (BytesInTransfer < Length) { if (!(Endpoint_IsReadWriteAllowed())) { @@ -98,7 +90,7 @@ uint8_t Endpoint_Null_Stream(uint16_t Length, if (BytesProcessed != NULL) { - *BytesProcessed += BytesInTransfer; + *BytesProcessed = BytesInTransfer; return ENDPOINT_RWSTREAM_IncompleteTransfer; } @@ -108,8 +100,6 @@ uint8_t Endpoint_Null_Stream(uint16_t Length, else { Endpoint_Write_8(0); - - Length--; BytesInTransfer++; } } diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.h index 2032789..2e6920f 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -67,7 +67,7 @@ /* Public Interface - May be used in end-application: */ /* Function Prototypes: */ /** \name Stream functions for null data */ - //@{ + /**@{*/ /** Reads and discards the given number of bytes from the currently selected endpoint's bank, * discarding fully read packets from the host as needed. The last packet is not automatically @@ -175,10 +175,10 @@ uint8_t Endpoint_Null_Stream(uint16_t Length, uint16_t* const BytesProcessed); - //@} + /**@}*/ /** \name Stream functions for RAM source/destination data */ - //@{ + /**@{*/ /** Writes the given number of bytes to the endpoint from the given buffer in little endian, * sending full packets to the host as needed. The last packet filled is not automatically sent; @@ -425,10 +425,10 @@ */ uint8_t Endpoint_Read_Control_Stream_BE(void* const Buffer, uint16_t Length) ATTR_NON_NULL_PTR_ARG(1); - //@} + /**@}*/ /** \name Stream functions for EEPROM source/destination data */ - //@{ + /**@{*/ /** EEPROM buffer source version of \ref Endpoint_Write_Stream_LE(). * @@ -565,10 +565,10 @@ */ uint8_t Endpoint_Read_Control_EStream_BE(void* const Buffer, uint16_t Length) ATTR_NON_NULL_PTR_ARG(1); - //@} + /**@}*/ /** \name Stream functions for PROGMEM source/destination data */ - //@{ + /**@{*/ /** FLASH buffer source version of \ref Endpoint_Write_Stream_LE(). * @@ -645,7 +645,7 @@ */ uint8_t Endpoint_Write_Control_PStream_BE(const void* const Buffer, uint16_t Length) ATTR_NON_NULL_PTR_ARG(1); - //@} + /**@}*/ /* Disable C linkage for C++ Compilers: */ #if defined(__cplusplus) diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.c similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.c index f5d2034..c63ad4c 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h index 1632d93..98609f4 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c index 4e38c75..43fe17e 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.h index f0ffa5a..efe3968 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/OTG_AVR8.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/OTG_AVR8.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/OTG_AVR8.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/OTG_AVR8.h index c2e8496..998d78a 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/OTG_AVR8.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/OTG_AVR8.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.c similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.c index 47169b3..a7214db 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.h index 264dab5..606558f 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -67,7 +67,7 @@ /* Public Interface - May be used in end-application: */ /* Function Prototypes: */ /** \name Stream functions for null data */ - //@{ + /**@{*/ /** Reads and discards the given number of bytes from the pipe, discarding fully read packets from the host * as needed. The last packet is not automatically discarded once the remaining bytes has been read; the @@ -173,10 +173,10 @@ uint8_t Pipe_Null_Stream(uint16_t Length, uint16_t* const BytesProcessed); - //@} + /**@}*/ /** \name Stream functions for RAM source/destination data */ - //@{ + /**@{*/ /** Writes the given number of bytes to the pipe from the given buffer in little endian, * sending full packets to the device as needed. The last packet filled is not automatically sent; @@ -339,10 +339,10 @@ uint8_t Pipe_Read_Stream_BE(void* const Buffer, uint16_t Length, uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1); - //@} + /**@}*/ /** \name Stream functions for EEPROM source/destination data */ - //@{ + /**@{*/ /** EEPROM buffer source version of \ref Pipe_Write_Stream_LE(). * @@ -395,10 +395,10 @@ uint8_t Pipe_Read_EStream_BE(void* const Buffer, uint16_t Length, uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1); - //@} + /**@}*/ /** \name Stream functions for PROGMEM source/destination data */ - //@{ + /**@{*/ /** FLASH buffer source version of \ref Pipe_Write_Stream_LE(). * @@ -429,7 +429,7 @@ uint8_t Pipe_Write_PStream_BE(const void* const Buffer, uint16_t Length, uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1); - //@} + /**@}*/ /* Disable C linkage for C++ Compilers: */ #if defined(__cplusplus) diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c index fc99ae4..c6cfd61 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h index bac324f..15d2d24 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -99,7 +99,7 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** \name Pipe Error Flag Masks */ - //@{ + /**@{*/ /** Mask for \ref Pipe_GetErrorFlags(), indicating that an overflow error occurred in the pipe on the received data. */ #define PIPE_ERRORFLAG_OVERFLOW (1 << 6) @@ -120,10 +120,10 @@ /** Mask for \ref Pipe_GetErrorFlags(), indicating that a hardware data toggle error occurred in the pipe. */ #define PIPE_ERRORFLAG_DATATGL (1 << 0) - //@} + /**@}*/ /** \name Pipe Token Masks */ - //@{ + /**@{*/ /** Token mask for \ref Pipe_SetPipeToken() and \ref Pipe_GetPipeToken(). This sets the pipe as a SETUP token (for CONTROL type pipes), * which will trigger a control request on the attached device when data is written to the pipe. */ @@ -138,7 +138,7 @@ * indicating that the pipe data will flow from host to device. */ #define PIPE_TOKEN_OUT (2 << PTOKEN0) - //@} + /**@}*/ /** Default size of the default control pipe's bank, until altered by the Endpoint0Size value * in the device descriptor of the attached device. diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_R.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_R.c similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_R.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_R.c index 59c620a..4aa8bbf 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_R.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_R.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_W.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_W.c similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_W.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_W.c index 9888700..c09f278 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_W.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_W.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_RW.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_RW.c similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_RW.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_RW.c index d51afdf..757876f 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_RW.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_RW.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Template/Template_Pipe_RW.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Template/Template_Pipe_RW.c similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Template/Template_Pipe_RW.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Template/Template_Pipe_RW.c index 2685c9b..19cdfb1 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Template/Template_Pipe_RW.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/Template/Template_Pipe_RW.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.c similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.c index 71c5f91..5178b2a 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h index de34f42..d231b49 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -117,7 +117,7 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** \name USB Controller Option Masks */ - //@{ + /**@{*/ /** Regulator disable option mask for \ref USB_Init(). This indicates that the internal 3.3V USB data pad * regulator should be disabled and the AVR's VCC level used for the data pads. * @@ -152,7 +152,7 @@ * that the USB controller requires) and ensuring that it is locked at the correct frequency for USB operations. */ #define USB_OPT_AUTO_PLL (0 << 2) - //@} + /**@}*/ #if !defined(USB_STREAM_TIMEOUT_MS) || defined(__DOXYGEN__) /** Constant for the maximum software timeout period of the USB data stream transfer functions diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c index 7efaea6..927a788 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.h index e6f5ff9..27884fc 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/ConfigDescriptors.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/ConfigDescriptors.c similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/ConfigDescriptors.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/ConfigDescriptors.c index da6812a..00638c3 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/ConfigDescriptors.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/ConfigDescriptors.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/ConfigDescriptors.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/ConfigDescriptors.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/ConfigDescriptors.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/ConfigDescriptors.h index b4a9788..b6a4161 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/ConfigDescriptors.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/ConfigDescriptors.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Device.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Device.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Device.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Device.h index 10d739f..197a1f9 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Device.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Device.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -131,7 +131,7 @@ * \return Size in bytes of the descriptor if it exists, zero or \ref NO_DESCRIPTOR otherwise. */ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, - const uint8_t wIndex, + const uint16_t wIndex, const void** const DescriptorAddress #if (defined(ARCH_HAS_MULTI_ADDRESS_SPACE) || defined(__DOXYGEN__)) && \ !(defined(USE_FLASH_DESCRIPTORS) || defined(USE_EEPROM_DESCRIPTORS) || defined(USE_RAM_DESCRIPTORS)) diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/DeviceStandardReq.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/DeviceStandardReq.c similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/DeviceStandardReq.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/DeviceStandardReq.c index adf615a..88cc7f8 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/DeviceStandardReq.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/DeviceStandardReq.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -152,8 +152,8 @@ static void USB_Device_SetConfiguration(void) #define MemoryAddressSpace MEMSPACE_FLASH #elif defined(USE_EEPROM_DESCRIPTORS) #define MemoryAddressSpace MEMSPACE_EEPROM - #elif defined(USE_SRAM_DESCRIPTORS) - #define MemoryAddressSpace MEMSPACE_SRAM + #elif defined(USE_RAM_DESCRIPTORS) + #define MemoryAddressSpace MEMSPACE_RAM #else uint8_t MemoryAddressSpace; #endif @@ -292,6 +292,7 @@ static void USB_Device_GetStatus(void) switch (USB_ControlRequest.bmRequestType) { case (REQDIR_DEVICETOHOST | REQTYPE_STANDARD | REQREC_DEVICE): + { #if !defined(NO_DEVICE_SELF_POWER) if (USB_Device_CurrentlySelfPowered) CurrentStatus |= FEATURE_SELFPOWERED_ENABLED; @@ -302,9 +303,16 @@ static void USB_Device_GetStatus(void) CurrentStatus |= FEATURE_REMOTE_WAKEUP_ENABLED; #endif break; + } case (REQDIR_DEVICETOHOST | REQTYPE_STANDARD | REQREC_ENDPOINT): + { #if !defined(CONTROL_ONLY_DEVICE) - Endpoint_SelectEndpoint((uint8_t)USB_ControlRequest.wIndex & ENDPOINT_EPNUM_MASK); + uint8_t EndpointIndex = ((uint8_t)USB_ControlRequest.wIndex & ENDPOINT_EPNUM_MASK); + + if (EndpointIndex >= ENDPOINT_TOTAL_ENDPOINTS) + return; + + Endpoint_SelectEndpoint(EndpointIndex); CurrentStatus = Endpoint_IsStalled(); @@ -312,6 +320,7 @@ static void USB_Device_GetStatus(void) #endif break; + } default: return; } @@ -330,20 +339,23 @@ static void USB_Device_ClearSetFeature(void) { #if !defined(NO_DEVICE_REMOTE_WAKEUP) case REQREC_DEVICE: + { if ((uint8_t)USB_ControlRequest.wValue == FEATURE_SEL_DeviceRemoteWakeup) USB_Device_RemoteWakeupEnabled = (USB_ControlRequest.bRequest == REQ_SetFeature); else return; break; + } #endif #if !defined(CONTROL_ONLY_DEVICE) case REQREC_ENDPOINT: + { if ((uint8_t)USB_ControlRequest.wValue == FEATURE_SEL_EndpointHalt) { uint8_t EndpointIndex = ((uint8_t)USB_ControlRequest.wIndex & ENDPOINT_EPNUM_MASK); - if (EndpointIndex == ENDPOINT_CONTROLEP) + if (EndpointIndex == ENDPOINT_CONTROLEP || EndpointIndex >= ENDPOINT_TOTAL_ENDPOINTS) return; Endpoint_SelectEndpoint(EndpointIndex); @@ -364,6 +376,7 @@ static void USB_Device_ClearSetFeature(void) } break; + } #endif default: return; diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/DeviceStandardReq.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/DeviceStandardReq.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/DeviceStandardReq.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/DeviceStandardReq.h index 396e205..20ef8a3 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/DeviceStandardReq.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/DeviceStandardReq.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Endpoint.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Endpoint.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Endpoint.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Endpoint.h index bf41376..596e310 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Endpoint.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Endpoint.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/EndpointStream.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/EndpointStream.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/EndpointStream.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/EndpointStream.h index 5675c32..0b5b2d3 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/EndpointStream.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/EndpointStream.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Events.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Events.c similarity index 81% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Events.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Events.c index a63b002..abf922b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Events.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Events.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -37,3 +37,15 @@ void USB_Event_Stub(void) } +void USB_Event_Stub_2(const uint8_t _1) +{ + (void)_1; + USB_Event_Stub(); +} + +void USB_Event_Stub_3(const uint8_t _1, const uint8_t _2) +{ + (void)_1; + (void)_2; + USB_Event_Stub(); +} diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Events.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Events.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Events.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Events.h index 9c85112..36039a5 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Events.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Events.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -331,20 +331,22 @@ #if !defined(__DOXYGEN__) /* Function Prototypes: */ #if defined(__INCLUDE_FROM_EVENTS_C) - void USB_Event_Stub(void) ATTR_CONST; + void USB_Event_Stub(void); + void USB_Event_Stub_2(const uint8_t _1); + void USB_Event_Stub_3(const uint8_t _1, const uint8_t _2); #if defined(USB_CAN_BE_BOTH) void EVENT_USB_UIDChange(void) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub); #endif #if defined(USB_CAN_BE_HOST) - void EVENT_USB_Host_HostError(const uint8_t ErrorCode) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub); + void EVENT_USB_Host_HostError(const uint8_t ErrorCode) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub_2); void EVENT_USB_Host_DeviceAttached(void) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub); void EVENT_USB_Host_DeviceUnattached(void) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub); void EVENT_USB_Host_DeviceEnumerationComplete(void) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub); void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode) - ATTR_WEAK ATTR_ALIAS(USB_Event_Stub); + ATTR_WEAK ATTR_ALIAS(USB_Event_Stub_3); void EVENT_USB_Host_StartOfFrame(void) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub); #endif diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Host.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Host.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Host.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Host.h index 6146cc5..1297cdb 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Host.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Host.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/HostStandardReq.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/HostStandardReq.c similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/HostStandardReq.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/HostStandardReq.c index 4a21ce7..205e3c7 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/HostStandardReq.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/HostStandardReq.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/HostStandardReq.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/HostStandardReq.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/HostStandardReq.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/HostStandardReq.h index bd67bcb..a711a16 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/HostStandardReq.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/HostStandardReq.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/OTG.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/OTG.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/OTG.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/OTG.h index 58d47ba..3e11ef4 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/OTG.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/OTG.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Pipe.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Pipe.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Pipe.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Pipe.h index ca3fdbe..5d03a1b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/Pipe.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/Pipe.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/PipeStream.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/PipeStream.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/PipeStream.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/PipeStream.h index 2399696..82a0bd6 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/PipeStream.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/PipeStream.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/StdDescriptors.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/StdDescriptors.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/StdDescriptors.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/StdDescriptors.h index e0a1a37..c574c78 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/StdDescriptors.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/StdDescriptors.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -97,7 +97,7 @@ * * \param[in] ... Characters to initialize a USB String Descriptor structure with. */ - #define USB_STRING_DESCRIPTOR_ARRAY(...) { .Header = {.Size = sizeof(USB_Descriptor_Header_t) + sizeof((uint16_t){__VA_ARGS__}), .Type = DTYPE_String}, .UnicodeString = {__VA_ARGS__} } + #define USB_STRING_DESCRIPTOR_ARRAY(...) { .Header = {.Size = sizeof(USB_Descriptor_Header_t) + sizeof((uint16_t[]){__VA_ARGS__}), .Type = DTYPE_String}, .UnicodeString = {__VA_ARGS__} } /** Macro to encode a given major/minor/revision version number into Binary Coded Decimal format for descriptor * fields requiring BCD encoding, such as the USB version number in the standard device descriptor. @@ -120,15 +120,18 @@ #define LANGUAGE_ID_ENG 0x0409 /** \name USB Configuration Descriptor Attribute Masks */ - //@{ - /** Mask for the reserved bit in the Configuration Descriptor's \c ConfigAttributes field, which must be set on all - * devices for historical purposes. + /**@{*/ + /** Mask for the reserved bit in the Configuration Descriptor's \c ConfigAttributes field, which must be always + * set on all USB devices for historical purposes. */ #define USB_CONFIG_ATTR_RESERVED 0x80 /** Can be masked with other configuration descriptor attributes for a \ref USB_Descriptor_Configuration_Header_t * descriptor's \c ConfigAttributes value to indicate that the specified configuration can draw its power - * from the device's own power source. + * from the device's own power source, instead of drawing it from the USB host. + * + * Note that the host will probe this dynamically - the device should report its current power state via the + * \ref USB_Device_CurrentlySelfPowered global variable. */ #define USB_CONFIG_ATTR_SELFPOWERED 0x40 @@ -136,12 +139,16 @@ * descriptor's \c ConfigAttributes value to indicate that the specified configuration supports the * remote wakeup feature of the USB standard, allowing a suspended USB device to wake up the host upon * request. + * + * If set, the host will dynamically enable and disable remote wakeup support, indicated via the + * \ref USB_Device_RemoteWakeupEnabled global variable. To initiate a remote wakeup of the host (when allowed) + * see \ref USB_Device_RemoteWakeupEnabled(). */ #define USB_CONFIG_ATTR_REMOTEWAKEUP 0x20 - //@} + /**@}*/ /** \name Endpoint Descriptor Attribute Masks */ - //@{ + /**@{*/ /** Can be masked with other endpoint descriptor attributes for a \ref USB_Descriptor_Endpoint_t descriptor's * \c Attributes value to indicate that the specified endpoint is not synchronized. * @@ -169,10 +176,10 @@ * \see The USB specification for more details on the possible Endpoint attributes. */ #define ENDPOINT_ATTR_SYNC (3 << 2) - //@} + /**@}*/ /** \name Endpoint Descriptor Usage Masks */ - //@{ + /**@{*/ /** Can be masked with other endpoint descriptor attributes for a \ref USB_Descriptor_Endpoint_t descriptor's * \c Attributes value to indicate that the specified endpoint is used for data transfers. * @@ -193,7 +200,7 @@ * \see The USB specification for more details on the possible Endpoint usage attributes. */ #define ENDPOINT_USAGE_IMPLICIT_FEEDBACK (2 << 4) - //@} + /**@}*/ /* Enums: */ /** Enum for the possible standard descriptor types, as given in each descriptor's header. */ @@ -208,8 +215,6 @@ DTYPE_Other = 0x07, /**< Indicates that the descriptor is of other type. */ DTYPE_InterfacePower = 0x08, /**< Indicates that the descriptor is an interface power descriptor. */ DTYPE_InterfaceAssociation = 0x0B, /**< Indicates that the descriptor is an interface association descriptor. */ - DTYPE_CSInterface = 0x24, /**< Indicates that the descriptor is a class specific interface descriptor. */ - DTYPE_CSEndpoint = 0x25, /**< Indicates that the descriptor is a class specific endpoint descriptor. */ }; /** Enum for possible Class, Subclass and Protocol values of device and interface descriptors. */ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/StdRequestType.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/StdRequestType.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/StdRequestType.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/StdRequestType.h index b2506cd..4901fed 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/StdRequestType.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/StdRequestType.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -88,7 +88,7 @@ #define CONTROL_REQTYPE_RECIPIENT 0x1F /** \name Control Request Data Direction Masks */ - //@{ + /**@{*/ /** Request data direction mask, indicating that the request data will flow from host to device. * * \see \ref CONTROL_REQTYPE_DIRECTION macro. @@ -100,10 +100,10 @@ * \see \ref CONTROL_REQTYPE_DIRECTION macro. */ #define REQDIR_DEVICETOHOST (1 << 7) - //@} + /**@}*/ /** \name Control Request Type Masks */ - //@{ + /**@{*/ /** Request type mask, indicating that the request is a standard request. * * \see \ref CONTROL_REQTYPE_TYPE macro. @@ -121,10 +121,10 @@ * \see \ref CONTROL_REQTYPE_TYPE macro. */ #define REQTYPE_VENDOR (2 << 5) - //@} + /**@}*/ /** \name Control Request Recipient Masks */ - //@{ + /**@{*/ /** Request recipient mask, indicating that the request is to be issued to the device as a whole. * * \see \ref CONTROL_REQTYPE_RECIPIENT macro. @@ -151,7 +151,7 @@ * \see \ref CONTROL_REQTYPE_RECIPIENT macro. */ #define REQREC_OTHER (3 << 0) - //@} + /**@}*/ /* Type Defines: */ /** \brief Standard USB Control Request diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Device_UC3.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Device_UC3.c similarity index 93% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Device_UC3.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Device_UC3.c index 6f6de3f..aba71d0 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Device_UC3.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Device_UC3.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Device_UC3.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Device_UC3.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Device_UC3.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Device_UC3.h index 5579ea0..9a1a970 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Device_UC3.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Device_UC3.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -68,7 +68,7 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** \name USB Device Mode Option Masks */ - //@{ + /**@{*/ /** Mask for the Options parameter of the \ref USB_Init() function. This indicates that the * USB interface should be initialized in low speed (1.5Mb/s) mode. * @@ -88,7 +88,7 @@ */ #define USB_DEVICE_OPT_HIGHSPEED (1 << 1) #endif - //@} + /**@}*/ #if (!defined(NO_INTERNAL_SERIAL) && \ (defined(USB_SERIES_UC3A3_AVR32) || defined(USB_SERIES_UC3A4_AVR32) || \ @@ -102,7 +102,9 @@ * On unsupported devices, this will evaluate to \ref NO_DESCRIPTOR and so will force the host to create a pseudo-serial * number for the device. */ - #define USE_INTERNAL_SERIAL 0xDC + #ifndef USE_INTERNAL_SERIAL + #define USE_INTERNAL_SERIAL 0xDC + #endif /** Length of the device's unique internal serial number, in bits, if present on the selected microcontroller * model. @@ -114,6 +116,7 @@ */ #define INTERNAL_SERIAL_START_ADDRESS 0x80800204 #else + #undef USE_INTERNAL_SERIAL #define USE_INTERNAL_SERIAL NO_DESCRIPTOR #define INTERNAL_SERIAL_LENGTH_BITS 0 diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/EndpointStream_UC3.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/EndpointStream_UC3.c similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/EndpointStream_UC3.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/EndpointStream_UC3.c index 6e98629..7149c80 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/EndpointStream_UC3.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/EndpointStream_UC3.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -43,15 +43,12 @@ uint8_t Endpoint_Discard_Stream(uint16_t Length, uint16_t* const BytesProcessed) { uint8_t ErrorCode; - uint16_t BytesInTransfer = 0; + uint16_t BytesInTransfer = BytesProcessed ? *BytesProcessed : 0; if ((ErrorCode = Endpoint_WaitUntilReady())) return ErrorCode; - if (BytesProcessed != NULL) - Length -= *BytesProcessed; - - while (Length) + while (BytesInTransfer < Length) { if (!(Endpoint_IsReadWriteAllowed())) { @@ -59,7 +56,7 @@ uint8_t Endpoint_Discard_Stream(uint16_t Length, if (BytesProcessed != NULL) { - *BytesProcessed += BytesInTransfer; + *BytesProcessed = BytesInTransfer; return ENDPOINT_RWSTREAM_IncompleteTransfer; } @@ -69,8 +66,6 @@ uint8_t Endpoint_Discard_Stream(uint16_t Length, else { Endpoint_Discard_8(); - - Length--; BytesInTransfer++; } } @@ -82,15 +77,12 @@ uint8_t Endpoint_Null_Stream(uint16_t Length, uint16_t* const BytesProcessed) { uint8_t ErrorCode; - uint16_t BytesInTransfer = 0; + uint16_t BytesInTransfer = BytesProcessed ? *BytesProcessed : 0; if ((ErrorCode = Endpoint_WaitUntilReady())) return ErrorCode; - if (BytesProcessed != NULL) - Length -= *BytesProcessed; - - while (Length) + while (BytesInTransfer < Length) { if (!(Endpoint_IsReadWriteAllowed())) { @@ -98,7 +90,7 @@ uint8_t Endpoint_Null_Stream(uint16_t Length, if (BytesProcessed != NULL) { - *BytesProcessed += BytesInTransfer; + *BytesProcessed = BytesInTransfer; return ENDPOINT_RWSTREAM_IncompleteTransfer; } @@ -108,8 +100,6 @@ uint8_t Endpoint_Null_Stream(uint16_t Length, else { Endpoint_Write_8(0); - - Length--; BytesInTransfer++; } } diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/EndpointStream_UC3.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/EndpointStream_UC3.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/EndpointStream_UC3.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/EndpointStream_UC3.h index 831c714..9aaa9fb 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/EndpointStream_UC3.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/EndpointStream_UC3.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -67,7 +67,7 @@ /* Public Interface - May be used in end-application: */ /* Function Prototypes: */ /** \name Stream functions for null data */ - //@{ + /**@{*/ /** Reads and discards the given number of bytes from the currently selected endpoint's bank, * discarding fully read packets from the host as needed. The last packet is not automatically @@ -175,10 +175,10 @@ uint8_t Endpoint_Null_Stream(uint16_t Length, uint16_t* const BytesProcessed); - //@} + /**@}*/ /** \name Stream functions for RAM source/destination data */ - //@{ + /**@{*/ /** Writes the given number of bytes to the endpoint from the given buffer in little endian, * sending full packets to the host as needed. The last packet filled is not automatically sent; @@ -425,7 +425,7 @@ */ uint8_t Endpoint_Read_Control_Stream_BE(void* const Buffer, uint16_t Length) ATTR_NON_NULL_PTR_ARG(1); - //@} + /**@}*/ /* Disable C linkage for C++ Compilers: */ #if defined(__cplusplus) diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c index 5dce488..53a27bc 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h index cf35d2b..c4c3bbe 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -216,7 +216,7 @@ (AVR32_USBB_ALLOC_MASK | ((uint32_t)Type << AVR32_USBB_EPTYPE_OFFSET) | ((Address & ENDPOINT_DIR_IN) ? AVR32_USBB_UECFG0_EPDIR_MASK : 0) | - ((Banks > 1) ? AVR32_USBB_UECFG0_EPBK_SINGLE : AVR32_USBB_UECFG0_EPBK_DOUBLE) | + (((Banks > 1) ? AVR32_USBB_UECFG0_EPBK_DOUBLE : AVR32_USBB_UECFG0_EPBK_SINGLE) << AVR32_USBB_EPBK_OFFSET) | Endpoint_BytesToEPSizeMask(Size))); } diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Host_UC3.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Host_UC3.c similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Host_UC3.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Host_UC3.c index 7780752..d974d46 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Host_UC3.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Host_UC3.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Host_UC3.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Host_UC3.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Host_UC3.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Host_UC3.h index eb803b0..2a3d626 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Host_UC3.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Host_UC3.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.c similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.c index 7dfe448..1d2b073 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.h index 4dd79c9..7f76191 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -67,7 +67,7 @@ /* Public Interface - May be used in end-application: */ /* Function Prototypes: */ /** \name Stream functions for null data */ - //@{ + /**@{*/ /** Reads and discards the given number of bytes from the pipe, discarding fully read packets from the host * as needed. The last packet is not automatically discarded once the remaining bytes has been read; the @@ -173,10 +173,10 @@ uint8_t Pipe_Null_Stream(uint16_t Length, uint16_t* const BytesProcessed); - //@} + /**@}*/ /** \name Stream functions for RAM source/destination data */ - //@{ + /**@{*/ /** Writes the given number of bytes to the pipe from the given buffer in little endian, * sending full packets to the device as needed. The last packet filled is not automatically sent; @@ -339,7 +339,7 @@ uint8_t Pipe_Read_Stream_BE(void* const Buffer, uint16_t Length, uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1); - //@} + /**@}*/ /* Disable C linkage for C++ Compilers: */ #if defined(__cplusplus) diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.c similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.c index a24c7b1..e807192 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h index 1a0ada8..1ae8937 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -109,7 +109,7 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** \name Pipe Error Flag Masks */ - //@{ + /**@{*/ /** Mask for \ref Pipe_GetErrorFlags(), indicating that an overflow error occurred in the pipe on the received data. */ #define PIPE_ERRORFLAG_OVERFLOW (AVR32_USBB_UPSTA0_OVERFI_MASK << 8) @@ -127,10 +127,10 @@ /** Mask for \ref Pipe_GetErrorFlags(), indicating that a hardware data toggle error occurred in the pipe. */ #define PIPE_ERRORFLAG_DATATGL AVR32_USBB_UPERR0_DATATGL_MASK - //@} + /**@}*/ /** \name Pipe Token Masks */ - //@{ + /**@{*/ /** Token mask for \ref Pipe_SetPipeToken() and \ref Pipe_GetPipeToken(). This sets the pipe as a SETUP token (for CONTROL type pipes), * which will trigger a control request on the attached device when data is written to the pipe. */ @@ -145,7 +145,7 @@ * indicating that the pipe data will flow from host to device. */ #define PIPE_TOKEN_OUT AVR32_USBB_UPCFG0_PTOKEN_OUT - //@} + /**@}*/ /** Default size of the default control pipe's bank, until altered by the Endpoint0Size value * in the device descriptor of the attached device. diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_R.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_R.c similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_R.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_R.c index 59c620a..4aa8bbf 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_R.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_R.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_W.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_W.c similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_W.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_W.c index 9888700..c09f278 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_W.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_W.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_RW.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_RW.c similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_RW.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_RW.c index d51afdf..757876f 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_RW.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_RW.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Template/Template_Pipe_RW.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Template/Template_Pipe_RW.c similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Template/Template_Pipe_RW.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Template/Template_Pipe_RW.c index 2685c9b..19cdfb1 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/Template/Template_Pipe_RW.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/Template/Template_Pipe_RW.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/USBController_UC3.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/USBController_UC3.c similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/USBController_UC3.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/USBController_UC3.c index fda0ddc..a74a2b7 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/USBController_UC3.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/USBController_UC3.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h index 2e82458..8c99d1b 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -97,7 +97,7 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** \name USB Controller Option Masks */ - //@{ + /**@{*/ /** Selects one of the system's main clock oscillators as the input clock to the USB Generic Clock source * generation module. This indicates that an external oscillator should be used directly instead of an * internal PLL clock source. @@ -115,7 +115,7 @@ /** Selects PLL or External Oscillator 1 as the USB Generic Clock source module input clock. */ #define USB_OPT_GCLK_CHANNEL_1 (0 << 3) - //@} + /**@}*/ #if !defined(USB_STREAM_TIMEOUT_MS) || defined(__DOXYGEN__) /** Constant for the maximum software timeout period of the USB data stream transfer functions diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c index 83ada8c..fc93537 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.h index ddd5389..6f95d40 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/USBController.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/USBController.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/USBController.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/USBController.h index c1d74c3..19de8cd 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/USBController.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/USBController.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -64,7 +64,7 @@ /* Defines: */ /** \name Endpoint Direction Masks */ - //@{ + /**@{*/ /** Endpoint direction mask, for masking against endpoint addresses to retrieve the endpoint's * direction for comparing with the \c ENDPOINT_DIR_* masks. */ @@ -79,10 +79,10 @@ * the index of the address within a device to obtain the full endpoint address. */ #define ENDPOINT_DIR_IN 0x80 - //@} + /**@}*/ /** \name Pipe Direction Masks */ - //@{ + /**@{*/ /** Pipe direction mask, for masking against pipe addresses to retrieve the pipe's * direction for comparing with the \c PIPE_DIR_* masks. */ @@ -97,10 +97,10 @@ * the index of the address within a device to obtain the full endpoint address. */ #define PIPE_DIR_IN 0x80 - //@} + /**@}*/ /** \name Endpoint/Pipe Type Masks */ - //@{ + /**@{*/ /** Mask for determining the type of an endpoint from an endpoint descriptor. This should then be compared * with the \c EP_TYPE_* masks to determine the exact type of the endpoint. */ @@ -129,7 +129,7 @@ * \note See \ref Group_EndpointManagement and \ref Group_PipeManagement for endpoint/pipe functions. */ #define EP_TYPE_INTERRUPT 0x03 - //@} + /**@}*/ /* Enums: */ /** Enum for the possible USB controller modes, for initialization via \ref USB_Init() and indication back to the diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/USBInterrupt.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/USBInterrupt.h similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/USBInterrupt.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/USBInterrupt.h index 3dcfd5f..a38d7b0 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/USBInterrupt.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/USBInterrupt.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/USBMode.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/USBMode.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/USBMode.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/USBMode.h index 09cf307..073e716 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/USBMode.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/USBMode.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/USBTask.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/USBTask.c similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/USBTask.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/USBTask.c index 30a3cd6..bf89841 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/USBTask.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/USBTask.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/USBTask.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/USBTask.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/USBTask.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/USBTask.h index 7205ea1..03a9604 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/USBTask.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/USBTask.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.c similarity index 92% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.c index 10c3279..29d7072 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h similarity index 93% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h index b203e10..56dff70 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -80,7 +80,7 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** \name USB Device Mode Option Masks */ - //@{ + /**@{*/ /** Mask for the Options parameter of the \ref USB_Init() function. This indicates that the * USB interface should be initialized in low speed (1.5Mb/s) mode. * @@ -98,7 +98,7 @@ */ #define USB_DEVICE_OPT_FULLSPEED (0 << 0) #endif - //@} + /**@}*/ #if (!defined(NO_INTERNAL_SERIAL) || defined(__DOXYGEN__)) /** String descriptor index for the device's unique serial number string descriptor within the device. @@ -110,22 +110,25 @@ * On unsupported devices, this will evaluate to \ref NO_DESCRIPTOR and so will force the host to create a pseudo-serial * number for the device. */ - #define USE_INTERNAL_SERIAL 0xDC + #ifndef USE_INTERNAL_SERIAL + #define USE_INTERNAL_SERIAL 0xDC + #endif /** Length of the device's unique internal serial number, in bits, if present on the selected microcontroller * model. */ - #define INTERNAL_SERIAL_LENGTH_BITS (8 * (1 + (offsetof(NVM_PROD_SIGNATURES_t, COORDY1) - offsetof(NVM_PROD_SIGNATURES_t, LOTNUM0)))) + #define INTERNAL_SERIAL_LENGTH_BITS (8 * (1 + (offsetof(NVM_PROD_SIGNATURES_t, COORDY1) - offsetof(NVM_PROD_SIGNATURES_t, LOTNUM0)))) /** Start address of the internal serial number, in the appropriate address space, if present on the selected microcontroller * model. */ - #define INTERNAL_SERIAL_START_ADDRESS offsetof(NVM_PROD_SIGNATURES_t, LOTNUM0) + #define INTERNAL_SERIAL_START_ADDRESS offsetof(NVM_PROD_SIGNATURES_t, LOTNUM0) #else - #define USE_INTERNAL_SERIAL NO_DESCRIPTOR + #undef USE_INTERNAL_SERIAL + #define USE_INTERNAL_SERIAL NO_DESCRIPTOR - #define INTERNAL_SERIAL_LENGTH_BITS 0 - #define INTERNAL_SERIAL_START_ADDRESS 0 + #define INTERNAL_SERIAL_LENGTH_BITS 0 + #define INTERNAL_SERIAL_START_ADDRESS 0 #endif /* Function Prototypes: */ diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.c similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.c index 421d717..6a9ac09 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -43,15 +43,12 @@ uint8_t Endpoint_Discard_Stream(uint16_t Length, uint16_t* const BytesProcessed) { uint8_t ErrorCode; - uint16_t BytesInTransfer = 0; + uint16_t BytesInTransfer = BytesProcessed ? *BytesProcessed : 0; if ((ErrorCode = Endpoint_WaitUntilReady())) return ErrorCode; - if (BytesProcessed != NULL) - Length -= *BytesProcessed; - - while (Length) + while (BytesInTransfer < Length) { if (!(Endpoint_IsReadWriteAllowed())) { @@ -59,7 +56,7 @@ uint8_t Endpoint_Discard_Stream(uint16_t Length, if (BytesProcessed != NULL) { - *BytesProcessed += BytesInTransfer; + *BytesProcessed = BytesInTransfer; return ENDPOINT_RWSTREAM_IncompleteTransfer; } @@ -69,8 +66,6 @@ uint8_t Endpoint_Discard_Stream(uint16_t Length, else { Endpoint_Discard_8(); - - Length--; BytesInTransfer++; } } @@ -82,15 +77,12 @@ uint8_t Endpoint_Null_Stream(uint16_t Length, uint16_t* const BytesProcessed) { uint8_t ErrorCode; - uint16_t BytesInTransfer = 0; + uint16_t BytesInTransfer = BytesProcessed ? *BytesProcessed : 0; if ((ErrorCode = Endpoint_WaitUntilReady())) return ErrorCode; - if (BytesProcessed != NULL) - Length -= *BytesProcessed; - - while (Length) + while (BytesInTransfer < Length) { if (!(Endpoint_IsReadWriteAllowed())) { @@ -98,7 +90,7 @@ uint8_t Endpoint_Null_Stream(uint16_t Length, if (BytesProcessed != NULL) { - *BytesProcessed += BytesInTransfer; + *BytesProcessed = BytesInTransfer; return ENDPOINT_RWSTREAM_IncompleteTransfer; } @@ -108,8 +100,6 @@ uint8_t Endpoint_Null_Stream(uint16_t Length, else { Endpoint_Write_8(0); - - Length--; BytesInTransfer++; } } diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.h index cba6537..d1e3241 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -67,7 +67,7 @@ /* Public Interface - May be used in end-application: */ /* Function Prototypes: */ /** \name Stream functions for null data */ - //@{ + /**@{*/ /** Reads and discards the given number of bytes from the currently selected endpoint's bank, * discarding fully read packets from the host as needed. The last packet is not automatically @@ -175,10 +175,10 @@ uint8_t Endpoint_Null_Stream(uint16_t Length, uint16_t* const BytesProcessed); - //@} + /**@}*/ /** \name Stream functions for RAM source/destination data */ - //@{ + /**@{*/ /** Writes the given number of bytes to the endpoint from the given buffer in little endian, * sending full packets to the host as needed. The last packet filled is not automatically sent; @@ -425,10 +425,10 @@ */ uint8_t Endpoint_Read_Control_Stream_BE(void* const Buffer, uint16_t Length) ATTR_NON_NULL_PTR_ARG(1); - //@} + /**@}*/ /** \name Stream functions for EEPROM source/destination data */ - //@{ + /**@{*/ /** EEPROM buffer source version of \ref Endpoint_Write_Stream_LE(). * @@ -565,10 +565,10 @@ */ uint8_t Endpoint_Read_Control_EStream_BE(void* const Buffer, uint16_t Length) ATTR_NON_NULL_PTR_ARG(1); - //@} + /**@}*/ /** \name Stream functions for PROGMEM source/destination data */ - //@{ + /**@{*/ /** FLASH buffer source version of \ref Endpoint_Write_Stream_LE(). * @@ -645,7 +645,7 @@ */ uint8_t Endpoint_Write_Control_PStream_BE(const void* const Buffer, uint16_t Length) ATTR_NON_NULL_PTR_ARG(1); - //@} + /**@}*/ /* Disable C linkage for C++ Compilers: */ #if defined(__cplusplus) diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.c similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.c index 8155ecf..36873ae 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.h index 42c476b..9407403 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Host_XMEGA.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Host_XMEGA.c similarity index 92% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Host_XMEGA.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Host_XMEGA.c index c467733..1ce9029 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Host_XMEGA.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Host_XMEGA.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/PipeStream_XMEGA.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/PipeStream_XMEGA.c similarity index 92% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/PipeStream_XMEGA.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/PipeStream_XMEGA.c index c467733..1ce9029 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/PipeStream_XMEGA.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/PipeStream_XMEGA.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Pipe_XMEGA.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Pipe_XMEGA.c similarity index 92% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Pipe_XMEGA.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Pipe_XMEGA.c index 69f369e..1eb2837 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Pipe_XMEGA.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Pipe_XMEGA.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_R.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_R.c similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_R.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_R.c index 0bd3843..b8648d3 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_R.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_R.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_W.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_W.c similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_W.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_W.c index 703f253..8c05b40 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_W.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_W.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_RW.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_RW.c similarity index 95% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_RW.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_RW.c index d51afdf..757876f 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_RW.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_RW.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.c similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.c index 9958980..c30fa4e 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.h index 15d4eec..4de25ca 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -108,7 +108,7 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** \name USB Controller Option Masks */ - //@{ + /**@{*/ /** Sets the USB bus interrupt priority level to be low priority. The USB bus interrupt is used for Start of Frame events, bus suspend * and resume events, bus reset events and other events related to the management of the USB bus. */ @@ -129,7 +129,7 @@ /** Sets the USB controller to source its clock from the internal PLL. */ #define USB_OPT_PLLCLKSRC (1 << 3) - //@} + /**@}*/ #if !defined(USB_STREAM_TIMEOUT_MS) || defined(__DOXYGEN__) /** Constant for the maximum software timeout period of the USB data stream transfer functions diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c index f03f3f2..5779bd6 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.h index e224e22..a54886e 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/USB.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/USB.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/USB.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/USB.h index a8df26f..785dc0d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Drivers/USB/USB.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Drivers/USB/USB.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -410,6 +410,7 @@ #include "Class/AndroidAccessoryClass.h" #include "Class/AudioClass.h" + #include "Class/CCIDClass.h" #include "Class/CDCClass.h" #include "Class/HIDClass.h" #include "Class/MassStorageClass.h" diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/License.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/License.txt similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/License.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/License.txt index 8d4ad75..6937104 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/License.txt +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/License.txt @@ -1,5 +1,5 @@ LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/Platform.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/Platform.h similarity index 97% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/Platform.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/Platform.h index a9eedeb..f276d7d 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/Platform.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/Platform.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/UC3/ClockManagement.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/UC3/ClockManagement.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/UC3/ClockManagement.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/UC3/ClockManagement.h index fb06262..4119101 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/UC3/ClockManagement.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/UC3/ClockManagement.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/UC3/Exception.S b/avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/UC3/Exception.S similarity index 96% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/UC3/Exception.S rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/UC3/Exception.S index 3a5f240..b3c6850 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/UC3/Exception.S +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/UC3/Exception.S @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/UC3/InterruptManagement.c b/avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/UC3/InterruptManagement.c similarity index 94% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/UC3/InterruptManagement.c rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/UC3/InterruptManagement.c index 80d193f..4a75143 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/UC3/InterruptManagement.c +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/UC3/InterruptManagement.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/UC3/InterruptManagement.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/UC3/InterruptManagement.h similarity index 98% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/UC3/InterruptManagement.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/UC3/InterruptManagement.h index 90198cd..8c25bcd 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/UC3/InterruptManagement.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/UC3/InterruptManagement.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/UC3/UC3ExperimentalInfo.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/UC3/UC3ExperimentalInfo.txt similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/UC3/UC3ExperimentalInfo.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/UC3/UC3ExperimentalInfo.txt diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/XMEGA/ClockManagement.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/XMEGA/ClockManagement.h similarity index 99% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/XMEGA/ClockManagement.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/XMEGA/ClockManagement.h index 9edaa72..63da717 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/XMEGA/ClockManagement.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/XMEGA/ClockManagement.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/XMEGA/XMEGAExperimentalInfo.txt b/avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/XMEGA/XMEGAExperimentalInfo.txt similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Platform/XMEGA/XMEGAExperimentalInfo.txt rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Platform/XMEGA/XMEGAExperimentalInfo.txt diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/Version.h b/avr/bootloaders/lufa-LUFA-170418/LUFA/Version.h similarity index 63% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/Version.h rename to avr/bootloaders/lufa-LUFA-170418/LUFA/Version.h index 264c941..327b278 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/Version.h +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/Version.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2014. + Copyright (C) Dean Camera, 2020. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2020 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -42,11 +42,26 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ - /** Indicates the version number of the library, as an integer. */ - #define LUFA_VERSION_INTEGER 0x140928 + /** \name LUFA Release Type Constants */ + /**@{*/ + /** Constant for \ref LUFA_VERSION_RELEASE_TYPE indicating a development release. */ + #define LUFA_VERSION_RELEASE_TYPE_DEVELOPMENT 0 - /** Indicates the version number of the library, as a string. */ - #define LUFA_VERSION_STRING "140928" + /** Constant for \ref LUFA_VERSION_RELEASE_TYPE indicating a beta release. */ + #define LUFA_VERSION_RELEASE_TYPE_BETA 1 + + /** Constant for \ref LUFA_VERSION_RELEASE_TYPE indicating a full official release. */ + #define LUFA_VERSION_RELEASE_TYPE_FULL 2 + /**@}*/ + + /** Indicates the version number of the library, as an integer. \note This value is only updates in non-development releases. */ + #define LUFA_VERSION_INTEGER 0x170418 + + /** Indicates the version number of the library, as a string. \note This value is only updates in non-development releases. */ + #define LUFA_VERSION_STRING "170418" + + /** Indicates the release type of the library. */ + #define LUFA_VERSION_RELEASE_TYPE LUFA_VERSION_RELEASE_TYPE_DEVELOPMENT #endif diff --git a/avr/bootloaders/lufa-LUFA-140928/LUFA/doxyfile b/avr/bootloaders/lufa-LUFA-170418/LUFA/doxyfile similarity index 82% rename from avr/bootloaders/lufa-LUFA-140928/LUFA/doxyfile rename to avr/bootloaders/lufa-LUFA-170418/LUFA/doxyfile index 77e8def..8376b50 100644 --- a/avr/bootloaders/lufa-LUFA-140928/LUFA/doxyfile +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/doxyfile @@ -1,4 +1,4 @@ -# Doxyfile 1.8.8 +# Doxyfile 1.8.18 # This file describes the settings to be used by the documentation system # doxygen (www.doxygen.org) for a project. @@ -17,11 +17,11 @@ # Project related configuration options #--------------------------------------------------------------------------- -# This tag specifies the encoding used for all characters in the config file -# that follow. The default is UTF-8 which is also the encoding used for all text -# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv -# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv -# for the list of possible encodings. +# This tag specifies the encoding used for all characters in the configuration +# file that follow. The default is UTF-8 which is also the encoding used for all +# text before the first occurrence of this tag. Doxygen uses libiconv (or the +# iconv built into libc) for the transcoding. See +# https://www.gnu.org/software/libiconv/ for the list of possible encodings. # The default value is: UTF-8. DOXYFILE_ENCODING = UTF-8 @@ -46,10 +46,10 @@ PROJECT_NUMBER = 000000 PROJECT_BRIEF = -# With the PROJECT_LOGO tag one can specify an logo or icon that is included in -# the documentation. The maximum height of the logo should not exceed 55 pixels -# and the maximum width should not exceed 200 pixels. Doxygen will copy the logo -# to the output directory. +# With the PROJECT_LOGO tag one can specify a logo or an icon that is included +# in the documentation. The maximum height of the logo should not exceed 55 +# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy +# the logo to the output directory. PROJECT_LOGO = ./DoxygenPages/Images/LUFA_thumb.png @@ -60,7 +60,7 @@ PROJECT_LOGO = ./DoxygenPages/Images/LUFA_thumb.png OUTPUT_DIRECTORY = ./Documentation/ -# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub- +# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- # directories (in 2 levels) under the output directory of each output format and # will distribute the generated files over these directories. Enabling this # option can be useful when feeding doxygen a huge amount of source files, where @@ -93,14 +93,22 @@ ALLOW_UNICODE_NAMES = NO OUTPUT_LANGUAGE = English -# If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member +# The OUTPUT_TEXT_DIRECTION tag is used to specify the direction in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all generated output in the proper direction. +# Possible values are: None, LTR, RTL and Context. +# The default value is: None. + +OUTPUT_TEXT_DIRECTION = None + +# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member # descriptions after the members that are listed in the file and class # documentation (similar to Javadoc). Set to NO to disable this. # The default value is: YES. BRIEF_MEMBER_DESC = YES -# If the REPEAT_BRIEF tag is set to YES doxygen will prepend the brief +# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief # description of a member or function before the detailed description # # Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the @@ -145,7 +153,7 @@ ALWAYS_DETAILED_SEC = NO INLINE_INHERITED_MEMB = NO -# If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path +# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path # before files name in the file list and in the header files. If set to NO the # shortest path that makes the file name unique will be used # The default value is: YES. @@ -189,6 +197,16 @@ SHORT_NAMES = NO JAVADOC_AUTOBRIEF = NO +# If the JAVADOC_BANNER tag is set to YES then doxygen will interpret a line +# such as +# /*************** +# as being the beginning of a Javadoc-style comment "banner". If set to NO, the +# Javadoc-style will behave just like regular comments and it will not be +# interpreted by doxygen. +# The default value is: NO. + +JAVADOC_BANNER = NO + # If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first # line (until the first dot) of a Qt-style comment as the brief description. If # set to NO, the Qt-style will behave just like regular Qt-style comments (thus @@ -215,9 +233,9 @@ MULTILINE_CPP_IS_BRIEF = NO INHERIT_DOCS = YES -# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce a -# new page for each member. If set to NO, the documentation of a member will be -# part of the file/class/namespace that contains it. +# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new +# page for each member. If set to NO, the documentation of a member will be part +# of the file/class/namespace that contains it. # The default value is: NO. SEPARATE_MEMBER_PAGES = NO @@ -236,16 +254,15 @@ TAB_SIZE = 4 # will allow you to put the command \sideeffect (or @sideeffect) in the # documentation, which will result in a user-defined paragraph with heading # "Side Effects:". You can put \n's in the value part of an alias to insert -# newlines. +# newlines (in the resulting output). You can put ^^ in the value part of an +# alias to insert a newline as if a physical newline was in the original file. +# When you need a literal { or } or , in the value part of an alias you have to +# escape them by means of a backslash (\), this can lead to conflicts with the +# commands \{ and \} for these it is advised to use the version @{ and @} or use +# a double escape (\\{ and \\}) ALIASES = -# This tag can be used to specify a number of word-keyword mappings (TCL only). -# A mapping has the form "name=value". For example adding "class=itcl::class" -# will allow you to use the command class in the itcl::class meaning. - -TCL_SUBST = - # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources # only. Doxygen will then generate output that is more tailored for C. For # instance, some of the names that are used will be different. The list of all @@ -274,19 +291,28 @@ OPTIMIZE_FOR_FORTRAN = NO OPTIMIZE_OUTPUT_VHDL = NO +# Set the OPTIMIZE_OUTPUT_SLICE tag to YES if your project consists of Slice +# sources only. Doxygen will then generate output that is more tailored for that +# language. For instance, namespaces will be presented as modules, types will be +# separated into more groups, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_SLICE = NO + # Doxygen selects the parser to use depending on the extension of the files it # parses. With this tag you can assign which parser to use for a given # extension. Doxygen has a built-in mapping, but you can override or extend it # using this tag. The format is ext=language, where ext is a file extension, and -# language is one of the parsers supported by doxygen: IDL, Java, Javascript, -# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran: -# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran: -# Fortran. In the later case the parser tries to guess whether the code is fixed -# or free formatted code, this is the default for Fortran type files), VHDL. For -# instance to make doxygen treat .inc files as Fortran files (default is PHP), -# and .f files as C (default is Fortran), use: inc=Fortran f=C. +# language is one of the parsers supported by doxygen: IDL, Java, JavaScript, +# Csharp (C#), C, C++, D, PHP, md (Markdown), Objective-C, Python, Slice, VHDL, +# Fortran (fixed format Fortran: FortranFixed, free formatted Fortran: +# FortranFree, unknown formatted Fortran: Fortran. In the later case the parser +# tries to guess whether the code is fixed or free formatted code, this is the +# default for Fortran type files). For instance to make doxygen treat .inc files +# as Fortran files (default is PHP), and .f files as C (default is Fortran), +# use: inc=Fortran f=C. # -# Note For files without extension you can use no_extension as a placeholder. +# Note: For files without extension you can use no_extension as a placeholder. # # Note that for custom extensions you also need to set FILE_PATTERNS otherwise # the files are not read by doxygen. @@ -295,7 +321,7 @@ EXTENSION_MAPPING = # If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments # according to the Markdown format, which allows for more readable -# documentation. See http://daringfireball.net/projects/markdown/ for details. +# documentation. See https://daringfireball.net/projects/markdown/ for details. # The output of markdown processing is further processed by doxygen, so you can # mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in # case of backward compatibilities issues. @@ -303,10 +329,19 @@ EXTENSION_MAPPING = MARKDOWN_SUPPORT = NO +# When the TOC_INCLUDE_HEADINGS tag is set to a non-zero value, all headings up +# to that level are automatically included in the table of contents, even if +# they do not have an id attribute. +# Note: This feature currently applies only to Markdown headings. +# Minimum value: 0, maximum value: 99, default value: 5. +# This tag requires that the tag MARKDOWN_SUPPORT is set to YES. + +TOC_INCLUDE_HEADINGS = 5 + # When enabled doxygen tries to link words that correspond to documented # classes, or namespaces to their corresponding documentation. Such a link can -# be prevented in individual cases by by putting a % sign in front of the word -# or globally by setting AUTOLINK_SUPPORT to NO. +# be prevented in individual cases by putting a % sign in front of the word or +# globally by setting AUTOLINK_SUPPORT to NO. # The default value is: YES. AUTOLINK_SUPPORT = YES @@ -328,7 +363,7 @@ BUILTIN_STL_SUPPORT = NO CPP_CLI_SUPPORT = NO # Set the SIP_SUPPORT tag to YES if your project consists of sip (see: -# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen +# https://www.riverbankcomputing.com/software/sip/intro) sources only. Doxygen # will parse them like normal C++ but will assume all classes use public instead # of private inheritance when no explicit protection keyword is present. # The default value is: NO. @@ -346,13 +381,20 @@ SIP_SUPPORT = NO IDL_PROPERTY_SUPPORT = NO # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES, then doxygen will reuse the documentation of the first +# tag is set to YES then doxygen will reuse the documentation of the first # member in the group (if any) for the other members of the group. By default # all members of a group must be documented explicitly. # The default value is: NO. DISTRIBUTE_GROUP_DOC = NO +# If one adds a struct or class to a group and this option is enabled, then also +# any nested class or struct is added to the same group. By default this option +# is disabled and one has to add nested compounds explicitly via \ingroup. +# The default value is: NO. + +GROUP_NESTED_COMPOUNDS = NO + # Set the SUBGROUPING tag to YES to allow class member groups of the same type # (for instance a group of public functions) to be put as a subgroup of that # type (e.g. under the Public Functions section). Set it to NO to prevent @@ -411,7 +453,7 @@ LOOKUP_CACHE_SIZE = 0 # Build related configuration options #--------------------------------------------------------------------------- -# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in # documentation are documented, even if no documentation was available. Private # class members and static file members will be hidden unless the # EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES. @@ -421,35 +463,41 @@ LOOKUP_CACHE_SIZE = 0 EXTRACT_ALL = YES -# If the EXTRACT_PRIVATE tag is set to YES all private members of a class will +# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will # be included in the documentation. # The default value is: NO. EXTRACT_PRIVATE = YES -# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal +# If the EXTRACT_PRIV_VIRTUAL tag is set to YES, documented private virtual +# methods of a class will be included in the documentation. +# The default value is: NO. + +EXTRACT_PRIV_VIRTUAL = NO + +# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal # scope will be included in the documentation. # The default value is: NO. EXTRACT_PACKAGE = NO -# If the EXTRACT_STATIC tag is set to YES all static members of a file will be +# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be # included in the documentation. # The default value is: NO. EXTRACT_STATIC = YES -# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined -# locally in source files will be included in the documentation. If set to NO +# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined +# locally in source files will be included in the documentation. If set to NO, # only classes defined in header files are included. Does not have any effect # for Java sources. # The default value is: YES. EXTRACT_LOCAL_CLASSES = YES -# This flag is only useful for Objective-C code. When set to YES local methods, +# This flag is only useful for Objective-C code. If set to YES, local methods, # which are defined in the implementation section but not in the interface are -# included in the documentation. If set to NO only methods in the interface are +# included in the documentation. If set to NO, only methods in the interface are # included. # The default value is: NO. @@ -474,21 +522,21 @@ HIDE_UNDOC_MEMBERS = NO # If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all # undocumented classes that are normally visible in the class hierarchy. If set -# to NO these classes will be included in the various overviews. This option has -# no effect if EXTRACT_ALL is enabled. +# to NO, these classes will be included in the various overviews. This option +# has no effect if EXTRACT_ALL is enabled. # The default value is: NO. HIDE_UNDOC_CLASSES = NO # If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend -# (class|struct|union) declarations. If set to NO these declarations will be -# included in the documentation. +# declarations. If set to NO, these declarations will be included in the +# documentation. # The default value is: NO. HIDE_FRIEND_COMPOUNDS = NO # If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any -# documentation blocks found inside the body of a function. If set to NO these +# documentation blocks found inside the body of a function. If set to NO, these # blocks will be appended to the function's detailed documentation block. # The default value is: NO. @@ -502,21 +550,28 @@ HIDE_IN_BODY_DOCS = NO INTERNAL_DOCS = NO # If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file -# names in lower-case letters. If set to YES upper-case letters are also +# names in lower-case letters. If set to YES, upper-case letters are also # allowed. This is useful if you have classes or files whose names only differ # in case and if your file system supports case sensitive file names. Windows -# and Mac users are advised to set this option to NO. +# (including Cygwin) ands Mac users are advised to set this option to NO. # The default value is: system dependent. CASE_SENSE_NAMES = NO # If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with -# their full class and namespace scopes in the documentation. If set to YES the +# their full class and namespace scopes in the documentation. If set to YES, the # scope will be hidden. # The default value is: NO. HIDE_SCOPE_NAMES = NO +# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will +# append additional text to a page's title, such as Class Reference. If set to +# YES the compound reference will be hidden. +# The default value is: NO. + +HIDE_COMPOUND_REFERENCE= NO + # If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of # the files that are included by a file in the documentation of that file. # The default value is: YES. @@ -544,14 +599,14 @@ INLINE_INFO = YES # If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the # (detailed) documentation of file and class members alphabetically by member -# name. If set to NO the members will appear in declaration order. +# name. If set to NO, the members will appear in declaration order. # The default value is: YES. SORT_MEMBER_DOCS = YES # If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief # descriptions of file, namespace and class members alphabetically by member -# name. If set to NO the members will appear in declaration order. Note that +# name. If set to NO, the members will appear in declaration order. Note that # this will also influence the order of the classes in the class list. # The default value is: NO. @@ -596,27 +651,25 @@ SORT_BY_SCOPE_NAME = NO STRICT_PROTO_MATCHING = YES -# The GENERATE_TODOLIST tag can be used to enable ( YES) or disable ( NO) the -# todo list. This list is created by putting \todo commands in the -# documentation. +# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo +# list. This list is created by putting \todo commands in the documentation. # The default value is: YES. GENERATE_TODOLIST = NO -# The GENERATE_TESTLIST tag can be used to enable ( YES) or disable ( NO) the -# test list. This list is created by putting \test commands in the -# documentation. +# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test +# list. This list is created by putting \test commands in the documentation. # The default value is: YES. GENERATE_TESTLIST = NO -# The GENERATE_BUGLIST tag can be used to enable ( YES) or disable ( NO) the bug +# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug # list. This list is created by putting \bug commands in the documentation. # The default value is: YES. GENERATE_BUGLIST = NO -# The GENERATE_DEPRECATEDLIST tag can be used to enable ( YES) or disable ( NO) +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO) # the deprecated list. This list is created by putting \deprecated commands in # the documentation. # The default value is: YES. @@ -641,8 +694,8 @@ ENABLED_SECTIONS = MAX_INITIALIZER_LINES = 1 # Set the SHOW_USED_FILES tag to NO to disable the list of files generated at -# the bottom of the documentation of classes and structs. If set to YES the list -# will mention the files that were used to generate the documentation. +# the bottom of the documentation of classes and structs. If set to YES, the +# list will mention the files that were used to generate the documentation. # The default value is: YES. SHOW_USED_FILES = YES @@ -687,7 +740,7 @@ LAYOUT_FILE = # The CITE_BIB_FILES tag can be used to specify one or more bib files containing # the reference definitions. This must be a list of .bib files. The .bib # extension is automatically appended if omitted. This requires the bibtex tool -# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info. +# to be installed. See also https://en.wikipedia.org/wiki/BibTeX for more info. # For LaTeX the style of the bibliography can be controlled using # LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the # search path. See also \cite for info how to create references. @@ -706,7 +759,7 @@ CITE_BIB_FILES = QUIET = YES # The WARNINGS tag can be used to turn on/off the warning messages that are -# generated to standard error ( stderr) by doxygen. If WARNINGS is set to YES +# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES # this implies that the warnings are on. # # Tip: Turn warnings on while writing the documentation. @@ -714,7 +767,7 @@ QUIET = YES WARNINGS = YES -# If the WARN_IF_UNDOCUMENTED tag is set to YES, then doxygen will generate +# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate # warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag # will automatically be disabled. # The default value is: YES. @@ -731,12 +784,19 @@ WARN_IF_DOC_ERROR = YES # This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that # are documented, but have no documentation for their parameters or return -# value. If set to NO doxygen will only warn about wrong or incomplete parameter -# documentation, but not about the absence of documentation. +# value. If set to NO, doxygen will only warn about wrong or incomplete +# parameter documentation, but not about the absence of documentation. If +# EXTRACT_ALL is set to YES then this flag will automatically be disabled. # The default value is: NO. WARN_NO_PARAMDOC = YES +# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when +# a warning is encountered. +# The default value is: NO. + +WARN_AS_ERROR = NO + # The WARN_FORMAT tag determines the format of the warning messages that doxygen # can produce. The string should contain the $file, $line, and $text tags, which # will be replaced by the file and line number from which the warning originated @@ -760,7 +820,7 @@ WARN_LOGFILE = # The INPUT tag is used to specify the files and/or directories that contain # documented source files. You may enter file names like myfile.cpp or # directories like /usr/src/myproject. Separate the files or directories with -# spaces. +# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. INPUT = ./ @@ -768,7 +828,7 @@ INPUT = ./ # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses # libiconv (or the iconv built into libc) for the transcoding. See the libiconv -# documentation (see: http://www.gnu.org/software/libiconv) for the list of +# documentation (see: https://www.gnu.org/software/libiconv/) for the list of # possible encodings. # The default value is: UTF-8. @@ -776,12 +836,19 @@ INPUT_ENCODING = UTF-8 # If the value of the INPUT tag contains directories, you can use the # FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and -# *.h) to filter out the source-files in the directories. If left blank the -# following patterns are tested:*.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii, -# *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp, -# *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown, -# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf, -# *.qsf, *.as and *.js. +# *.h) to filter out the source-files in the directories. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# read by doxygen. +# +# If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp, +# *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, +# *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, +# *.m, *.markdown, *.md, *.mm, *.dox (to be provided as doxygen C comment), +# *.doc (to be provided as doxygen C comment), *.txt (to be provided as doxygen +# C comment), *.py, *.pyw, *.f90, *.f95, *.f03, *.f08, *.f18, *.f, *.for, *.vhd, +# *.vhdl, *.ucf, *.qsf and *.ice. FILE_PATTERNS = *.h \ *.txt @@ -800,7 +867,7 @@ RECURSIVE = YES # run. EXCLUDE = Documentation/ \ - StudioIntegration/ \ + Build/ \ License.txt # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or @@ -872,6 +939,10 @@ IMAGE_PATH = ./ # Note that the filter must not add or remove lines; it is applied before the # code is scanned, but not when the output code is generated. If lines are added # or removed, the anchors will not be placed correctly. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# properly processed by doxygen. INPUT_FILTER = @@ -881,11 +952,15 @@ INPUT_FILTER = # (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how # filters are used. If the FILTER_PATTERNS tag is empty or if none of the # patterns match the file name, INPUT_FILTER is applied. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# properly processed by doxygen. FILTER_PATTERNS = # If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER ) will also be used to filter the input files that are used for +# INPUT_FILTER) will also be used to filter the input files that are used for # producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES). # The default value is: NO. @@ -933,7 +1008,7 @@ INLINE_SOURCES = NO STRIP_CODE_COMMENTS = YES # If the REFERENCED_BY_RELATION tag is set to YES then for each documented -# function all documented functions referencing it will be listed. +# entity all documented functions referencing it will be listed. # The default value is: NO. REFERENCED_BY_RELATION = NO @@ -945,7 +1020,7 @@ REFERENCED_BY_RELATION = NO REFERENCES_RELATION = NO # If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set -# to YES, then the hyperlinks from functions in REFERENCES_RELATION and +# to YES then the hyperlinks from functions in REFERENCES_RELATION and # REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will # link to the documentation. # The default value is: YES. @@ -965,12 +1040,12 @@ SOURCE_TOOLTIPS = YES # If the USE_HTAGS tag is set to YES then the references to source code will # point to the HTML generated by the htags(1) tool instead of doxygen built-in # source browser. The htags tool is part of GNU's global source tagging system -# (see http://www.gnu.org/software/global/global.html). You will need version +# (see https://www.gnu.org/software/global/global.html). You will need version # 4.8.6 or higher. # # To use it do the following: # - Install the latest version of global -# - Enable SOURCE_BROWSER and USE_HTAGS in the config file +# - Enable SOURCE_BROWSER and USE_HTAGS in the configuration file # - Make sure the INPUT points to the root of the source tree # - Run doxygen as normal # @@ -992,13 +1067,13 @@ USE_HTAGS = NO VERBATIM_HEADERS = NO -# If the CLANG_ASSISTED_PARSING tag is set to YES, then doxygen will use the +# If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the # clang parser (see: http://clang.llvm.org/) for more accurate parsing at the # cost of reduced performance. This can be particularly helpful with template # rich C++ code for which doxygen's built-in parser lacks the necessary type # information. # Note: The availability of this option depends on whether or not doxygen was -# compiled with the --with-libclang option. +# generated with the -Duse_libclang=ON option for CMake. # The default value is: NO. CLANG_ASSISTED_PARSING = NO @@ -1011,6 +1086,16 @@ CLANG_ASSISTED_PARSING = NO CLANG_OPTIONS = +# If clang assisted parsing is enabled you can provide the clang parser with the +# path to the compilation database (see: +# http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html) used when the files +# were built. This is equivalent to specifying the "-p" option to a clang tool, +# such as clang-check. These options will then be passed to the parser. +# Note: The availability of this option depends on whether or not doxygen was +# generated with the -Duse_libclang=ON option for CMake. + +CLANG_DATABASE_PATH = + #--------------------------------------------------------------------------- # Configuration options related to the alphabetical class index #--------------------------------------------------------------------------- @@ -1041,7 +1126,7 @@ IGNORE_PREFIX = # Configuration options related to the HTML output #--------------------------------------------------------------------------- -# If the GENERATE_HTML tag is set to YES doxygen will generate HTML output +# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output # The default value is: YES. GENERATE_HTML = YES @@ -1107,10 +1192,10 @@ HTML_STYLESHEET = # cascading style sheets that are included after the standard style sheets # created by doxygen. Using this option one can overrule certain style aspects. # This is preferred over using HTML_STYLESHEET since it does not replace the -# standard style sheet and is therefor more robust against future updates. +# standard style sheet and is therefore more robust against future updates. # Doxygen will copy the style sheet files to the output directory. -# Note: The order of the extra stylesheet files is of importance (e.g. the last -# stylesheet in the list overrules the setting of the previous ones in the +# Note: The order of the extra style sheet files is of importance (e.g. the last +# style sheet in the list overrules the setting of the previous ones in the # list). For an example see the documentation. # This tag requires that the tag GENERATE_HTML is set to YES. @@ -1127,9 +1212,9 @@ HTML_EXTRA_STYLESHEET = ./DoxygenPages/Style/Style.css HTML_EXTRA_FILES = # The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen -# will adjust the colors in the stylesheet and background images according to +# will adjust the colors in the style sheet and background images according to # this color. Hue is specified as an angle on a colorwheel, see -# http://en.wikipedia.org/wiki/Hue for more information. For instance the value +# https://en.wikipedia.org/wiki/Hue for more information. For instance the value # 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300 # purple, and 360 is red again. # Minimum value: 0, maximum value: 359, default value: 220. @@ -1158,12 +1243,24 @@ HTML_COLORSTYLE_GAMMA = 80 # If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML # page will contain the date and time when the page was generated. Setting this -# to NO can help when comparing the output of multiple runs. -# The default value is: YES. +# to YES can help to show when doxygen was last run and thus if the +# documentation is up to date. +# The default value is: NO. # This tag requires that the tag GENERATE_HTML is set to YES. HTML_TIMESTAMP = NO +# If the HTML_DYNAMIC_MENUS tag is set to YES then the generated HTML +# documentation will contain a main index with vertical navigation menus that +# are dynamically created via JavaScript. If disabled, the navigation index will +# consists of multiple levels of tabs that are statically embedded in every HTML +# page. Disable this option to support browsers that do not have JavaScript, +# like the Qt help browser. +# The default value is: YES. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_DYNAMIC_MENUS = YES + # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML # documentation will contain sections that can be hidden and shown after the # page has loaded. @@ -1187,13 +1284,13 @@ HTML_INDEX_NUM_ENTRIES = 100 # If the GENERATE_DOCSET tag is set to YES, additional index files will be # generated that can be used as input for Apple's Xcode 3 integrated development -# environment (see: http://developer.apple.com/tools/xcode/), introduced with -# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a +# environment (see: https://developer.apple.com/xcode/), introduced with OSX +# 10.5 (Leopard). To create a documentation set, doxygen will generate a # Makefile in the HTML output directory. Running make will produce the docset in # that directory and running make install will install the docset in # ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at -# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html -# for more information. +# startup. See https://developer.apple.com/library/archive/featuredarticles/Doxy +# genXcode/_index.html for more information. # The default value is: NO. # This tag requires that the tag GENERATE_HTML is set to YES. @@ -1232,7 +1329,7 @@ DOCSET_PUBLISHER_NAME = DeanCamera # If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three # additional HTML index files: index.hhp, index.hhc, and index.hhk. The # index.hhp is a project file that can be read by Microsoft's HTML Help Workshop -# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on +# (see: https://www.microsoft.com/en-us/download/details.aspx?id=21138) on # Windows. # # The HTML Help Workshop contains a compiler that can convert all HTML output @@ -1255,28 +1352,28 @@ GENERATE_HTMLHELP = NO CHM_FILE = ../LUFA.chm # The HHC_LOCATION tag can be used to specify the location (absolute path -# including file name) of the HTML help compiler ( hhc.exe). If non-empty +# including file name) of the HTML help compiler (hhc.exe). If non-empty, # doxygen will try to run the HTML help compiler on the generated index.hhp. # The file has to be specified with full path. # This tag requires that the tag GENERATE_HTMLHELP is set to YES. HHC_LOCATION = -# The GENERATE_CHI flag controls if a separate .chi index file is generated ( -# YES) or that it should be included in the master .chm file ( NO). +# The GENERATE_CHI flag controls if a separate .chi index file is generated +# (YES) or that it should be included in the master .chm file (NO). # The default value is: NO. # This tag requires that the tag GENERATE_HTMLHELP is set to YES. GENERATE_CHI = NO -# The CHM_INDEX_ENCODING is used to encode HtmlHelp index ( hhk), content ( hhc) +# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc) # and project file content. # This tag requires that the tag GENERATE_HTMLHELP is set to YES. CHM_INDEX_ENCODING = -# The BINARY_TOC flag controls whether a binary table of contents is generated ( -# YES) or a normal table of contents ( NO) in the .chm file. Furthermore it +# The BINARY_TOC flag controls whether a binary table of contents is generated +# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it # enables the Previous and Next buttons. # The default value is: NO. # This tag requires that the tag GENERATE_HTMLHELP is set to YES. @@ -1308,7 +1405,7 @@ QCH_FILE = # The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help # Project output. For more information please see Qt Help Project / Namespace -# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace). +# (see: https://doc.qt.io/archives/qt-4.8/qthelpproject.html#namespace). # The default value is: org.doxygen.Project. # This tag requires that the tag GENERATE_QHP is set to YES. @@ -1316,7 +1413,7 @@ QHP_NAMESPACE = org.doxygen.Project # The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt # Help Project output. For more information please see Qt Help Project / Virtual -# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual- +# Folders (see: https://doc.qt.io/archives/qt-4.8/qthelpproject.html#virtual- # folders). # The default value is: doc. # This tag requires that the tag GENERATE_QHP is set to YES. @@ -1325,7 +1422,7 @@ QHP_VIRTUAL_FOLDER = doc # If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom # filter to add. For more information please see Qt Help Project / Custom -# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- +# Filters (see: https://doc.qt.io/archives/qt-4.8/qthelpproject.html#custom- # filters). # This tag requires that the tag GENERATE_QHP is set to YES. @@ -1333,7 +1430,7 @@ QHP_CUST_FILTER_NAME = # The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the # custom filter to add. For more information please see Qt Help Project / Custom -# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- +# Filters (see: https://doc.qt.io/archives/qt-4.8/qthelpproject.html#custom- # filters). # This tag requires that the tag GENERATE_QHP is set to YES. @@ -1341,7 +1438,7 @@ QHP_CUST_FILTER_ATTRS = # The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this # project's filter section matches. Qt Help Project / Filter Attributes (see: -# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes). +# https://doc.qt.io/archives/qt-4.8/qthelpproject.html#filter-attributes). # This tag requires that the tag GENERATE_QHP is set to YES. QHP_SECT_FILTER_ATTRS = @@ -1390,7 +1487,7 @@ DISABLE_INDEX = YES # index structure (just like the one that is generated for HTML Help). For this # to work a browser that supports JavaScript, DHTML, CSS and frames is required # (i.e. any modern browser). Windows users are probably better off using the -# HTML help feature. Via custom stylesheets (see HTML_EXTRA_STYLESHEET) one can +# HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can # further fine-tune the look of the index. As an example, the default style # sheet generated by doxygen has an example that shows how to put an image at # the root of the tree instead of the PROJECT_NAME. Since the tree basically has @@ -1418,13 +1515,24 @@ ENUM_VALUES_PER_LINE = 1 TREEVIEW_WIDTH = 300 -# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open links to +# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to # external symbols imported via tag files in a separate window. # The default value is: NO. # This tag requires that the tag GENERATE_HTML is set to YES. EXT_LINKS_IN_WINDOW = NO +# If the HTML_FORMULA_FORMAT option is set to svg, doxygen will use the pdf2svg +# tool (see https://github.com/dawbarton/pdf2svg) or inkscape (see +# https://inkscape.org) to generate formulas as SVG images instead of PNGs for +# the HTML output. These images will generally look nicer at scaled resolutions. +# Possible values are: png The default and svg Looks nicer but requires the +# pdf2svg tool. +# The default value is: png. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FORMULA_FORMAT = png + # Use this tag to change the font size of LaTeX formulas included as images in # the HTML documentation. When you change the font size after a successful # doxygen run you need to manually remove any form_*.png images from the HTML @@ -1434,7 +1542,7 @@ EXT_LINKS_IN_WINDOW = NO FORMULA_FONTSIZE = 10 -# Use the FORMULA_TRANPARENT tag to determine whether or not the images +# Use the FORMULA_TRANSPARENT tag to determine whether or not the images # generated for formulas are transparent PNGs. Transparent PNGs are not # supported properly for IE 6.0, but are supported on all modern browsers. # @@ -1445,9 +1553,15 @@ FORMULA_FONTSIZE = 10 FORMULA_TRANSPARENT = YES +# The FORMULA_MACROFILE can contain LaTeX \newcommand and \renewcommand commands +# to create new LaTeX commands to be used in formulas as building blocks. See +# the section "Including formulas" for details. + +FORMULA_MACROFILE = + # Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see -# http://www.mathjax.org) which uses client side Javascript for the rendering -# instead of using prerendered bitmaps. Use this if you do not have LaTeX +# https://www.mathjax.org) which uses client side JavaScript for the rendering +# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX # installed or if you want to formulas look prettier in the HTML output. When # enabled you may also need to install MathJax separately and configure the path # to it using the MATHJAX_RELPATH option. @@ -1473,8 +1587,8 @@ MATHJAX_FORMAT = HTML-CSS # MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax # Content Delivery Network so you can quickly see the result without installing # MathJax. However, it is strongly recommended to install a local copy of -# MathJax from http://www.mathjax.org before deployment. -# The default value is: http://cdn.mathjax.org/mathjax/latest. +# MathJax from https://www.mathjax.org before deployment. +# The default value is: https://cdn.jsdelivr.net/npm/mathjax@2. # This tag requires that the tag USE_MATHJAX is set to YES. MATHJAX_RELPATH = http://www.mathjax.org/mathjax @@ -1516,7 +1630,7 @@ MATHJAX_CODEFILE = SEARCHENGINE = YES # When the SERVER_BASED_SEARCH tag is enabled the search engine will be -# implemented using a web server instead of a web client using Javascript. There +# implemented using a web server instead of a web client using JavaScript. There # are two flavors of web server based searching depending on the EXTERNAL_SEARCH # setting. When disabled, doxygen will generate a PHP script for searching and # an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing @@ -1533,9 +1647,9 @@ SERVER_BASED_SEARCH = NO # external search engine pointed to by the SEARCHENGINE_URL option to obtain the # search results. # -# Doxygen ships with an example indexer ( doxyindexer) and search engine +# Doxygen ships with an example indexer (doxyindexer) and search engine # (doxysearch.cgi) which are based on the open source search engine library -# Xapian (see: http://xapian.org/). +# Xapian (see: https://xapian.org/). # # See the section "External Indexing and Searching" for details. # The default value is: NO. @@ -1546,9 +1660,9 @@ EXTERNAL_SEARCH = NO # The SEARCHENGINE_URL should point to a search engine hosted by a web server # which will return the search results when EXTERNAL_SEARCH is enabled. # -# Doxygen ships with an example indexer ( doxyindexer) and search engine +# Doxygen ships with an example indexer (doxyindexer) and search engine # (doxysearch.cgi) which are based on the open source search engine library -# Xapian (see: http://xapian.org/). See the section "External Indexing and +# Xapian (see: https://xapian.org/). See the section "External Indexing and # Searching" for details. # This tag requires that the tag SEARCHENGINE is set to YES. @@ -1584,7 +1698,7 @@ EXTRA_SEARCH_MAPPINGS = # Configuration options related to the LaTeX output #--------------------------------------------------------------------------- -# If the GENERATE_LATEX tag is set to YES doxygen will generate LaTeX output. +# If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output. # The default value is: YES. GENERATE_LATEX = NO @@ -1600,22 +1714,36 @@ LATEX_OUTPUT = latex # The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be # invoked. # -# Note that when enabling USE_PDFLATEX this option is only used for generating -# bitmaps for formulas in the HTML output, but not in the Makefile that is -# written to the output directory. -# The default file is: latex. +# Note that when not enabling USE_PDFLATEX the default is latex when enabling +# USE_PDFLATEX the default is pdflatex and when in the later case latex is +# chosen this is overwritten by pdflatex. For specific output languages the +# default can have been set differently, this depends on the implementation of +# the output language. # This tag requires that the tag GENERATE_LATEX is set to YES. LATEX_CMD_NAME = latex # The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate # index for LaTeX. +# Note: This tag is used in the Makefile / make.bat. +# See also: LATEX_MAKEINDEX_CMD for the part in the generated output file +# (.tex). # The default file is: makeindex. # This tag requires that the tag GENERATE_LATEX is set to YES. MAKEINDEX_CMD_NAME = makeindex -# If the COMPACT_LATEX tag is set to YES doxygen generates more compact LaTeX +# The LATEX_MAKEINDEX_CMD tag can be used to specify the command name to +# generate index for LaTeX. In case there is no backslash (\) as first character +# it will be automatically added in the LaTeX code. +# Note: This tag is used in the generated output file (.tex). +# See also: MAKEINDEX_CMD_NAME for the part in the Makefile / make.bat. +# The default value is: makeindex. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +LATEX_MAKEINDEX_CMD = makeindex + +# If the COMPACT_LATEX tag is set to YES, doxygen generates more compact LaTeX # documents. This may be useful for small projects and may help to save some # trees in general. # The default value is: NO. @@ -1630,12 +1758,15 @@ COMPACT_LATEX = NO # The default value is: a4. # This tag requires that the tag GENERATE_LATEX is set to YES. -PAPER_TYPE = a4wide +PAPER_TYPE = a4 # The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names -# that should be included in the LaTeX output. To get the times font for -# instance you can specify -# EXTRA_PACKAGES=times +# that should be included in the LaTeX output. The package can be specified just +# by its name or with the correct syntax as to be used with the LaTeX +# \usepackage command. To get the times font for instance you can specify : +# EXTRA_PACKAGES=times or EXTRA_PACKAGES={times} +# To use the option intlimits with the amsmath package you can specify: +# EXTRA_PACKAGES=[intlimits]{amsmath} # If left blank no extra packages will be included. # This tag requires that the tag GENERATE_LATEX is set to YES. @@ -1650,9 +1781,9 @@ EXTRA_PACKAGES = # Note: Only use a user-defined header if you know what you are doing! The # following commands have a special meaning inside the header: $title, # $datetime, $date, $doxygenversion, $projectname, $projectnumber, -# $projectbrief, $projectlogo. Doxygen will replace $title with the empy string, -# for the replacement values of the other commands the user is refered to -# HTML_HEADER. +# $projectbrief, $projectlogo. Doxygen will replace $title with the empty +# string, for the replacement values of the other commands the user is referred +# to HTML_HEADER. # This tag requires that the tag GENERATE_LATEX is set to YES. LATEX_HEADER = @@ -1668,6 +1799,17 @@ LATEX_HEADER = LATEX_FOOTER = +# The LATEX_EXTRA_STYLESHEET tag can be used to specify additional user-defined +# LaTeX style sheets that are included after the standard style sheets created +# by doxygen. Using this option one can overrule certain style aspects. Doxygen +# will copy the style sheet files to the output directory. +# Note: The order of the extra style sheet files is of importance (e.g. the last +# style sheet in the list overrules the setting of the previous ones in the +# list). +# This tag requires that the tag GENERATE_LATEX is set to YES. + +LATEX_EXTRA_STYLESHEET = + # The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or # other source files which should be copied to the LATEX_OUTPUT output # directory. Note that the files will be copied as-is; there are no commands or @@ -1686,7 +1828,7 @@ LATEX_EXTRA_FILES = PDF_HYPERLINKS = YES # If the USE_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate -# the PDF file directly from the LaTeX files. Set this option to YES to get a +# the PDF file directly from the LaTeX files. Set this option to YES, to get a # higher quality PDF documentation. # The default value is: YES. # This tag requires that the tag GENERATE_LATEX is set to YES. @@ -1721,17 +1863,33 @@ LATEX_SOURCE_CODE = NO # The LATEX_BIB_STYLE tag can be used to specify the style to use for the # bibliography, e.g. plainnat, or ieeetr. See -# http://en.wikipedia.org/wiki/BibTeX and \cite for more info. +# https://en.wikipedia.org/wiki/BibTeX and \cite for more info. # The default value is: plain. # This tag requires that the tag GENERATE_LATEX is set to YES. LATEX_BIB_STYLE = plain +# If the LATEX_TIMESTAMP tag is set to YES then the footer of each generated +# page will contain the date and time when the page was generated. Setting this +# to NO can help when comparing the output of multiple runs. +# The default value is: NO. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +LATEX_TIMESTAMP = NO + +# The LATEX_EMOJI_DIRECTORY tag is used to specify the (relative or absolute) +# path from which the emoji images will be read. If a relative path is entered, +# it will be relative to the LATEX_OUTPUT directory. If left blank the +# LATEX_OUTPUT directory will be used. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +LATEX_EMOJI_DIRECTORY = + #--------------------------------------------------------------------------- # Configuration options related to the RTF output #--------------------------------------------------------------------------- -# If the GENERATE_RTF tag is set to YES doxygen will generate RTF output. The +# If the GENERATE_RTF tag is set to YES, doxygen will generate RTF output. The # RTF output is optimized for Word 97 and may not look too pretty with other RTF # readers/editors. # The default value is: NO. @@ -1746,7 +1904,7 @@ GENERATE_RTF = NO RTF_OUTPUT = rtf -# If the COMPACT_RTF tag is set to YES doxygen generates more compact RTF +# If the COMPACT_RTF tag is set to YES, doxygen generates more compact RTF # documents. This may be useful for small projects and may help to save some # trees in general. # The default value is: NO. @@ -1766,9 +1924,9 @@ COMPACT_RTF = NO RTF_HYPERLINKS = NO -# Load stylesheet definitions from file. Syntax is similar to doxygen's config -# file, i.e. a series of assignments. You only have to provide replacements, -# missing definitions are set to their default value. +# Load stylesheet definitions from file. Syntax is similar to doxygen's +# configuration file, i.e. a series of assignments. You only have to provide +# replacements, missing definitions are set to their default value. # # See also section "Doxygen usage" for information on how to generate the # default style sheet that doxygen normally uses. @@ -1777,17 +1935,27 @@ RTF_HYPERLINKS = NO RTF_STYLESHEET_FILE = # Set optional variables used in the generation of an RTF document. Syntax is -# similar to doxygen's config file. A template extensions file can be generated -# using doxygen -e rtf extensionFile. +# similar to doxygen's configuration file. A template extensions file can be +# generated using doxygen -e rtf extensionFile. # This tag requires that the tag GENERATE_RTF is set to YES. RTF_EXTENSIONS_FILE = +# If the RTF_SOURCE_CODE tag is set to YES then doxygen will include source code +# with syntax highlighting in the RTF output. +# +# Note that which sources are shown also depends on other settings such as +# SOURCE_BROWSER. +# The default value is: NO. +# This tag requires that the tag GENERATE_RTF is set to YES. + +RTF_SOURCE_CODE = NO + #--------------------------------------------------------------------------- # Configuration options related to the man page output #--------------------------------------------------------------------------- -# If the GENERATE_MAN tag is set to YES doxygen will generate man pages for +# If the GENERATE_MAN tag is set to YES, doxygen will generate man pages for # classes and files. # The default value is: NO. @@ -1831,7 +1999,7 @@ MAN_LINKS = NO # Configuration options related to the XML output #--------------------------------------------------------------------------- -# If the GENERATE_XML tag is set to YES doxygen will generate an XML file that +# If the GENERATE_XML tag is set to YES, doxygen will generate an XML file that # captures the structure of the code including all documentation. # The default value is: NO. @@ -1845,7 +2013,7 @@ GENERATE_XML = NO XML_OUTPUT = xml -# If the XML_PROGRAMLISTING tag is set to YES doxygen will dump the program +# If the XML_PROGRAMLISTING tag is set to YES, doxygen will dump the program # listings (including syntax highlighting and cross-referencing information) to # the XML output. Note that enabling this will significantly increase the size # of the XML output. @@ -1854,11 +2022,18 @@ XML_OUTPUT = xml XML_PROGRAMLISTING = YES +# If the XML_NS_MEMB_FILE_SCOPE tag is set to YES, doxygen will include +# namespace members in file scope as well, matching the HTML output. +# The default value is: NO. +# This tag requires that the tag GENERATE_XML is set to YES. + +XML_NS_MEMB_FILE_SCOPE = NO + #--------------------------------------------------------------------------- # Configuration options related to the DOCBOOK output #--------------------------------------------------------------------------- -# If the GENERATE_DOCBOOK tag is set to YES doxygen will generate Docbook files +# If the GENERATE_DOCBOOK tag is set to YES, doxygen will generate Docbook files # that can be used to generate PDF. # The default value is: NO. @@ -1872,7 +2047,7 @@ GENERATE_DOCBOOK = NO DOCBOOK_OUTPUT = docbook -# If the DOCBOOK_PROGRAMLISTING tag is set to YES doxygen will include the +# If the DOCBOOK_PROGRAMLISTING tag is set to YES, doxygen will include the # program listings (including syntax highlighting and cross-referencing # information) to the DOCBOOK output. Note that enabling this will significantly # increase the size of the DOCBOOK output. @@ -1885,10 +2060,10 @@ DOCBOOK_PROGRAMLISTING = NO # Configuration options for the AutoGen Definitions output #--------------------------------------------------------------------------- -# If the GENERATE_AUTOGEN_DEF tag is set to YES doxygen will generate an AutoGen -# Definitions (see http://autogen.sf.net) file that captures the structure of -# the code including all documentation. Note that this feature is still -# experimental and incomplete at the moment. +# If the GENERATE_AUTOGEN_DEF tag is set to YES, doxygen will generate an +# AutoGen Definitions (see http://autogen.sourceforge.net/) file that captures +# the structure of the code including all documentation. Note that this feature +# is still experimental and incomplete at the moment. # The default value is: NO. GENERATE_AUTOGEN_DEF = NO @@ -1897,7 +2072,7 @@ GENERATE_AUTOGEN_DEF = NO # Configuration options related to the Perl module output #--------------------------------------------------------------------------- -# If the GENERATE_PERLMOD tag is set to YES doxygen will generate a Perl module +# If the GENERATE_PERLMOD tag is set to YES, doxygen will generate a Perl module # file that captures the structure of the code including all documentation. # # Note that this feature is still experimental and incomplete at the moment. @@ -1905,7 +2080,7 @@ GENERATE_AUTOGEN_DEF = NO GENERATE_PERLMOD = NO -# If the PERLMOD_LATEX tag is set to YES doxygen will generate the necessary +# If the PERLMOD_LATEX tag is set to YES, doxygen will generate the necessary # Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI # output from the Perl module output. # The default value is: NO. @@ -1913,9 +2088,9 @@ GENERATE_PERLMOD = NO PERLMOD_LATEX = NO -# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be nicely +# If the PERLMOD_PRETTY tag is set to YES, the Perl module output will be nicely # formatted so it can be parsed by a human reader. This is useful if you want to -# understand what is going on. On the other hand, if this tag is set to NO the +# understand what is going on. On the other hand, if this tag is set to NO, the # size of the Perl module output will be much smaller and Perl will parse it # just the same. # The default value is: YES. @@ -1935,14 +2110,14 @@ PERLMOD_MAKEVAR_PREFIX = # Configuration options related to the preprocessor #--------------------------------------------------------------------------- -# If the ENABLE_PREPROCESSING tag is set to YES doxygen will evaluate all +# If the ENABLE_PREPROCESSING tag is set to YES, doxygen will evaluate all # C-preprocessor directives found in the sources and include files. # The default value is: YES. ENABLE_PREPROCESSING = YES -# If the MACRO_EXPANSION tag is set to YES doxygen will expand all macro names -# in the source code. If set to NO only conditional compilation will be +# If the MACRO_EXPANSION tag is set to YES, doxygen will expand all macro names +# in the source code. If set to NO, only conditional compilation will be # performed. Macro expansion can be done in a controlled way by setting # EXPAND_ONLY_PREDEF to YES. # The default value is: NO. @@ -1958,7 +2133,7 @@ MACRO_EXPANSION = YES EXPAND_ONLY_PREDEF = YES -# If the SEARCH_INCLUDES tag is set to YES the includes files in the +# If the SEARCH_INCLUDES tag is set to YES, the include files in the # INCLUDE_PATH will be searched if a #include is found. # The default value is: YES. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. @@ -2037,37 +2212,32 @@ TAGFILES = GENERATE_TAGFILE = -# If the ALLEXTERNALS tag is set to YES all external class will be listed in the -# class index. If set to NO only the inherited external classes will be listed. +# If the ALLEXTERNALS tag is set to YES, all external class will be listed in +# the class index. If set to NO, only the inherited external classes will be +# listed. # The default value is: NO. ALLEXTERNALS = NO -# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed in -# the modules index. If set to NO, only the current project's groups will be +# If the EXTERNAL_GROUPS tag is set to YES, all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will be # listed. # The default value is: YES. EXTERNAL_GROUPS = YES -# If the EXTERNAL_PAGES tag is set to YES all external pages will be listed in +# If the EXTERNAL_PAGES tag is set to YES, all external pages will be listed in # the related pages index. If set to NO, only the current project's pages will # be listed. # The default value is: YES. EXTERNAL_PAGES = YES -# The PERL_PATH should be the absolute path and name of the perl script -# interpreter (i.e. the result of 'which perl'). -# The default file (with absolute path) is: /usr/bin/perl. - -PERL_PATH = /usr/bin/perl - #--------------------------------------------------------------------------- # Configuration options related to the dot tool #--------------------------------------------------------------------------- -# If the CLASS_DIAGRAMS tag is set to YES doxygen will generate a class diagram +# If the CLASS_DIAGRAMS tag is set to YES, doxygen will generate a class diagram # (in HTML and LaTeX) for classes with base or super classes. Setting the tag to # NO turns the diagrams off. Note that this option also works with HAVE_DOT # disabled, but it is recommended to install and use dot, since it yields more @@ -2076,15 +2246,6 @@ PERL_PATH = /usr/bin/perl CLASS_DIAGRAMS = NO -# You can define message sequence charts within doxygen comments using the \msc -# command. Doxygen will then run the mscgen tool (see: -# http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the -# documentation. The MSCGEN_PATH tag allows you to specify the directory where -# the mscgen tool resides. If left empty the tool is assumed to be found in the -# default search path. - -MSCGEN_PATH = - # You can include diagrams made with dia in doxygen documentation. Doxygen will # then run dia to produce the diagram and insert it in the documentation. The # DIA_PATH tag allows you to specify the directory where the dia binary resides. @@ -2092,7 +2253,7 @@ MSCGEN_PATH = DIA_PATH = -# If set to YES, the inheritance and collaboration graphs will hide inheritance +# If set to YES the inheritance and collaboration graphs will hide inheritance # and usage relations if the target is undocumented or is not a class. # The default value is: YES. @@ -2165,7 +2326,7 @@ COLLABORATION_GRAPH = NO GROUP_GRAPHS = YES -# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# If the UML_LOOK tag is set to YES, doxygen will generate inheritance and # collaboration diagrams in a style similar to the OMG's Unified Modeling # Language. # The default value is: NO. @@ -2217,7 +2378,8 @@ INCLUDED_BY_GRAPH = YES # # Note that enabling this option will significantly increase the time of a run. # So in most cases it will be better to enable call graphs for selected -# functions only using the \callgraph command. +# functions only using the \callgraph command. Disabling a call graph can be +# accomplished by means of the command \hidecallgraph. # The default value is: NO. # This tag requires that the tag HAVE_DOT is set to YES. @@ -2228,7 +2390,8 @@ CALL_GRAPH = NO # # Note that enabling this option will significantly increase the time of a run. # So in most cases it will be better to enable caller graphs for selected -# functions only using the \callergraph command. +# functions only using the \callergraph command. Disabling a caller graph can be +# accomplished by means of the command \hidecallergraph. # The default value is: NO. # This tag requires that the tag HAVE_DOT is set to YES. @@ -2251,11 +2414,15 @@ GRAPHICAL_HIERARCHY = NO DIRECTORY_GRAPH = YES # The DOT_IMAGE_FORMAT tag can be used to set the image format of the images -# generated by dot. +# generated by dot. For an explanation of the image formats see the section +# output formats in the documentation of the dot tool (Graphviz (see: +# http://www.graphviz.org/)). # Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order # to make the SVG files visible in IE 9+ (other browsers do not have this # requirement). -# Possible values are: png, jpg, gif and svg. +# Possible values are: png, jpg, gif, svg, png:gd, png:gd:gd, png:cairo, +# png:cairo:gd, png:cairo:cairo, png:cairo:gdiplus, png:gdiplus and +# png:gdiplus:gdiplus. # The default value is: png. # This tag requires that the tag HAVE_DOT is set to YES. @@ -2303,10 +2470,19 @@ DIAFILE_DIRS = # PlantUML is not used or called during a preprocessing step. Doxygen will # generate a warning when it encounters a \startuml command in this case and # will not generate output for the diagram. -# This tag requires that the tag HAVE_DOT is set to YES. PLANTUML_JAR_PATH = +# When using plantuml, the PLANTUML_CFG_FILE tag can be used to specify a +# configuration file for plantuml. + +PLANTUML_CFG_FILE = + +# When using plantuml, the specified paths are searched for files specified by +# the !include statement in a plantuml block. + +PLANTUML_INCLUDE_PATH = + # The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes # that will be shown in the graph. If the number of nodes in a graph becomes # larger than this value, doxygen will truncate the graph, which is visualized @@ -2343,7 +2519,7 @@ MAX_DOT_GRAPH_DEPTH = 2 DOT_TRANSPARENT = YES -# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output +# Set the DOT_MULTI_TARGETS tag to YES to allow dot to generate multiple output # files in one run (i.e. multiple -o and -T options on the command line). This # makes dot run faster, but since only newer versions of dot (>1.8.10) support # this, this feature is disabled by default. @@ -2360,7 +2536,7 @@ DOT_MULTI_TARGETS = NO GENERATE_LEGEND = YES -# If the DOT_CLEANUP tag is set to YES doxygen will remove the intermediate dot +# If the DOT_CLEANUP tag is set to YES, doxygen will remove the intermediate dot # files that are used to generate the various graphs. # The default value is: YES. # This tag requires that the tag HAVE_DOT is set to YES. diff --git a/avr/bootloaders/lufa-LUFA-170418/LUFA/makefile b/avr/bootloaders/lufa-LUFA-170418/LUFA/makefile new file mode 100644 index 0000000..e3ccb4b --- /dev/null +++ b/avr/bootloaders/lufa-LUFA-170418/LUFA/makefile @@ -0,0 +1,40 @@ +# +# LUFA Library +# Copyright (C) Dean Camera, 2020. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# +# --------------------------------------- +# Makefile for the LUFA library itself. +# --------------------------------------- + +LUFA_VERSION_NUM := $(shell grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2) + +# Default target - no default action when attempting to build the core directly +all: + +# Display the LUFA version of this library copy +version: + @echo "LUFA $(LUFA_VERSION_NUM)" + +LUFA_PATH := . +ARCH := {AVR8,UC3,XMEGA} +DOXYGEN_OVERRIDE_PARAMS := QUIET=YES PROJECT_NUMBER=$(LUFA_VERSION_NUM) + +# Remove all object and associated files from the LUFA library core +clean: + rm -f $(LUFA_SRC_ALL_FILES:%.c=%.o) + rm -f $(LUFA_SRC_ALL_FILES:%.c=%.d) + rm -f $(LUFA_SRC_ALL_FILES:%.c=%.lst) + +# Include LUFA-specific DMBS extension modules +DMBS_LUFA_PATH ?= $(LUFA_PATH)/Build/LUFA +include $(DMBS_LUFA_PATH)/lufa-sources.mk + +# Include common DMBS build system modules +DMBS_PATH ?= $(LUFA_PATH)/Build/DMBS/DMBS +include $(DMBS_PATH)/core.mk +include $(DMBS_PATH)/doxygen.mk + +.PHONY: all version diff --git a/avr/bootloaders/lufa-LUFA-140928/README.txt b/avr/bootloaders/lufa-LUFA-170418/README.txt similarity index 100% rename from avr/bootloaders/lufa-LUFA-140928/README.txt rename to avr/bootloaders/lufa-LUFA-170418/README.txt diff --git a/avr/bootloaders/lufa-LUFA-140928/makefile b/avr/bootloaders/lufa-LUFA-170418/makefile similarity index 83% rename from avr/bootloaders/lufa-LUFA-140928/makefile rename to avr/bootloaders/lufa-LUFA-170418/makefile index 880c0cf..a415fbe 100644 --- a/avr/bootloaders/lufa-LUFA-140928/makefile +++ b/avr/bootloaders/lufa-LUFA-170418/makefile @@ -1,6 +1,6 @@ # # LUFA Library -# Copyright (C) Dean Camera, 2014. +# Copyright (C) Dean Camera, 2020. # # dean [at] fourwalledcubicle [dot] com # www.lufa-lib.org @@ -9,7 +9,6 @@ # Makefile to build the LUFA library, projects and demos. # Call with "make all" to rebuild everything, "make clean" to clean everything, -# "make mostlyclean" to remove all intermediary files but preserve any binaries, # "make doxygen" to document everything with Doxygen (if installed). Call # "make help" for additional target build information within a specific project. diff --git a/avr/platform.txt b/avr/platform.txt index 68db93d..f54f3a1 100644 --- a/avr/platform.txt +++ b/avr/platform.txt @@ -6,4 +6,4 @@ # https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification name=Hoodloader2 Boards -version=2.0.5 +version=2.0.6