diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..36a2dea --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +Leuchtklotz/Leuchtklotz/Debug +Leuchtklotz/.vs/ diff --git a/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.d b/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.d deleted file mode 100644 index 78de4e4..0000000 --- a/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.d +++ /dev/null @@ -1,43 +0,0 @@ -Leuchtklotz.d Leuchtklotz.o: .././Leuchtklotz.c \ - c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/avr/io.h \ - c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/avr/sfr_defs.h \ - c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/inttypes.h \ - c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/include/stdint.h \ - c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/stdint.h \ - c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/avr/iotn2313a.h \ - c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/avr/portpins.h \ - c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/avr/common.h \ - c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/avr/version.h \ - c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/avr/fuse.h \ - c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/avr/lock.h \ - c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/util/delay.h \ - c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/util/delay_basic.h \ - c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/math.h - -c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/avr/io.h: - -c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/avr/sfr_defs.h: - -c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/inttypes.h: - -c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/include/stdint.h: - -c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/stdint.h: - -c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/avr/iotn2313a.h: - -c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/avr/portpins.h: - -c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/avr/common.h: - -c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/avr/version.h: - -c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/avr/fuse.h: - -c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/avr/lock.h: - -c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/util/delay.h: - -c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/util/delay_basic.h: - -c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.2.876\avr8-gnu-toolchain\bin\../lib/gcc/avr/4.7.2/../../../../avr/include/math.h: diff --git a/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.elf b/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.elf deleted file mode 100644 index 5743b27..0000000 Binary files a/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.elf and /dev/null differ diff --git a/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.hex b/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.hex deleted file mode 100644 index 2086171..0000000 --- a/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.hex +++ /dev/null @@ -1,60 +0,0 @@ -:1000000014C021C020C01FC01EC01DC01CC01BC00A -:100010001AC019C018C017C016C015C014C013C02C -:1000200012C011C010C00FC00EC011241FBECFEDF2 -:10003000CDBF20E0A0E6B0E001C01D92A036B2071F -:10004000E1F7ACD1B2C1DCCF6770772780FF06C083 -:1000500098B3987F98BB98B3962B98BB81FF0DC03F -:1000600098B3977C98BB98B39B01220F331F220F44 -:10007000331F220F331F292B28BB82FF06C092B3E8 -:10008000987F92BB92B3962B92BB83FF0CC082B336 -:10009000877C82BB82B3660F771F660F771F660F60 -:1000A000771F682B62BB08952F923F924F925F9209 -:1000B0006F927F928F929F92AF92BF92CF92DF9278 -:1000C000EF92FF920F931F93CF93DF938C014B011D -:1000D0006A013901E12CF12C312C212C2CC0C42DCA -:1000E000D52DB401C801B0DF2196CF3FD105C9F7A6 -:1000F0001E141F044CF4C32DD22DB601C801A4DF79 -:100100002196CE15DF05C9F78FEFA81AB80AA614F5 -:10011000B70429F409C0A12CB12C4E2C5F2C8FEF11 -:10012000E816F104E4F2E4CF8FEFE81AF80A8FEF53 -:10013000E816F10421F0161417046CF3F5CFDF91E3 -:10014000CF911F910F91FF90EF90DF90CF90BF90D4 -:10015000AF909F908F907F906F905F904F903F9067 -:100160002F90089566E070E085E090E06DDF8FE409 -:1001700093EC0197F1F700C0000060E070E085E0CB -:1001800090E062DF9FE322E48FE0915020408040C6 -:10019000E1F700C0000066E070E08FE090E054DF1F -:1001A00087EA91E60197F1F700C0000060E070E097 -:1001B0008FE090E049DF9FE32DE083E09150204005 -:1001C0008040E1F700C0000066E070E08FE090E062 -:1001D0003BDF8FE493EC0197F1F700C0000060E093 -:1001E00070E08FE090E030DF9FE32DE083E09150FE -:1001F00020408040E1F700C0000066E070E08FE042 -:1002000090E022DF9FE52AEE80E091502040804080 -:10021000E1F700C0000060E070E08FE090E014DFE4 -:100220009FE724E88EE1915020408040E1F700C034 -:10023000000025E030E047E050E066E070E08FE04D -:1002400090E032DF60E070E08FE090E0FDDE089546 -:1002500088B3806C88BB969A8FE493EC0197F1F792 -:1002600000C000000895CF93C5E063E070E08AE02D -:1002700090E0EADE2FEF80E792E02150804090404E -:10028000E1F700C0000060E070E08AE090E0DCDEB2 -:100290002FEF80E792E0215080409040E1F700C0CE -:1002A0000000C15011F72FEF80E792E0215080400D -:1002B0009040E1F700C000002FEF80E792E021506E -:1002C00080409040E1F700C000002FEF80E792E00F -:1002D000215080409040E1F700C000002FEF80E700 -:1002E00092E0215080409040E1F700C000002FEFE5 -:1002F00080E792E0215080409040E1F700C000008C -:10030000C5E02FEF80E792E0215080409040E1F778 -:1003100000C0000061E070E084E090E095DE2FEF27 -:1003200080E792E0215080409040E1F700C000005B -:1003300060E070E084E090E087DEC15011F72FEFBD -:1003400080E792E0215080409040E1F700C000003B -:100350002FEF80E792E0215080409040E1F700C00D -:1003600000002FEF80E792E0215080409040E1F7BD -:1003700000C000002FEF80E792E0215080409040C5 -:10038000E1F700C000002FEF80E792E021508040AD -:100390009040E1F700C00000CF9108958FE387BB44 -:0E03A00081BB56DFDFDE5FDFFECFF894FFCFBC -:00000001FF diff --git a/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.lss b/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.lss deleted file mode 100644 index 1379398..0000000 --- a/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.lss +++ /dev/null @@ -1,640 +0,0 @@ - -Leuchtklotz.elf: file format elf32-avr - -Sections: -Idx Name Size VMA LMA File off Algn - 0 .text 000003ae 00000000 00000000 00000074 2**1 - CONTENTS, ALLOC, LOAD, READONLY, CODE - 1 .data 00000000 00800060 000003ae 00000422 2**0 - CONTENTS, ALLOC, LOAD, DATA - 2 .stab 000006b4 00000000 00000000 00000424 2**2 - CONTENTS, READONLY, DEBUGGING - 3 .stabstr 00000082 00000000 00000000 00000ad8 2**0 - CONTENTS, READONLY, DEBUGGING - 4 .comment 0000002f 00000000 00000000 00000b5a 2**0 - CONTENTS, READONLY - 5 .debug_aranges 00000080 00000000 00000000 00000b89 2**0 - CONTENTS, READONLY, DEBUGGING - 6 .debug_info 00001b24 00000000 00000000 00000c09 2**0 - CONTENTS, READONLY, DEBUGGING - 7 .debug_abbrev 00000246 00000000 00000000 0000272d 2**0 - CONTENTS, READONLY, DEBUGGING - 8 .debug_line 00000554 00000000 00000000 00002973 2**0 - CONTENTS, READONLY, DEBUGGING - 9 .debug_frame 000001dc 00000000 00000000 00002ec8 2**2 - CONTENTS, READONLY, DEBUGGING - 10 .debug_str 000001cf 00000000 00000000 000030a4 2**0 - CONTENTS, READONLY, DEBUGGING - 11 .debug_loc 00000847 00000000 00000000 00003273 2**0 - CONTENTS, READONLY, DEBUGGING - 12 .debug_ranges 00000118 00000000 00000000 00003aba 2**0 - CONTENTS, READONLY, DEBUGGING - -Disassembly of section .text: - -00000000 <__vectors>: - 0: 14 c0 rjmp .+40 ; 0x2a <__ctors_end> - 2: 21 c0 rjmp .+66 ; 0x46 <__bad_interrupt> - 4: 20 c0 rjmp .+64 ; 0x46 <__bad_interrupt> - 6: 1f c0 rjmp .+62 ; 0x46 <__bad_interrupt> - 8: 1e c0 rjmp .+60 ; 0x46 <__bad_interrupt> - a: 1d c0 rjmp .+58 ; 0x46 <__bad_interrupt> - c: 1c c0 rjmp .+56 ; 0x46 <__bad_interrupt> - e: 1b c0 rjmp .+54 ; 0x46 <__bad_interrupt> - 10: 1a c0 rjmp .+52 ; 0x46 <__bad_interrupt> - 12: 19 c0 rjmp .+50 ; 0x46 <__bad_interrupt> - 14: 18 c0 rjmp .+48 ; 0x46 <__bad_interrupt> - 16: 17 c0 rjmp .+46 ; 0x46 <__bad_interrupt> - 18: 16 c0 rjmp .+44 ; 0x46 <__bad_interrupt> - 1a: 15 c0 rjmp .+42 ; 0x46 <__bad_interrupt> - 1c: 14 c0 rjmp .+40 ; 0x46 <__bad_interrupt> - 1e: 13 c0 rjmp .+38 ; 0x46 <__bad_interrupt> - 20: 12 c0 rjmp .+36 ; 0x46 <__bad_interrupt> - 22: 11 c0 rjmp .+34 ; 0x46 <__bad_interrupt> - 24: 10 c0 rjmp .+32 ; 0x46 <__bad_interrupt> - 26: 0f c0 rjmp .+30 ; 0x46 <__bad_interrupt> - 28: 0e c0 rjmp .+28 ; 0x46 <__bad_interrupt> - -0000002a <__ctors_end>: - 2a: 11 24 eor r1, r1 - 2c: 1f be out 0x3f, r1 ; 63 - 2e: cf ed ldi r28, 0xDF ; 223 - 30: cd bf out 0x3d, r28 ; 61 - -00000032 <__do_clear_bss>: - 32: 20 e0 ldi r18, 0x00 ; 0 - 34: a0 e6 ldi r26, 0x60 ; 96 - 36: b0 e0 ldi r27, 0x00 ; 0 - 38: 01 c0 rjmp .+2 ; 0x3c <.do_clear_bss_start> - -0000003a <.do_clear_bss_loop>: - 3a: 1d 92 st X+, r1 - -0000003c <.do_clear_bss_start>: - 3c: a0 36 cpi r26, 0x60 ; 96 - 3e: b2 07 cpc r27, r18 - 40: e1 f7 brne .-8 ; 0x3a <.do_clear_bss_loop> - 42: ac d1 rcall .+856 ; 0x39c
- 44: b2 c1 rjmp .+868 ; 0x3aa <_exit> - -00000046 <__bad_interrupt>: - 46: dc cf rjmp .-72 ; 0x0 <__vectors> - -00000048 : - #else - //round up by default - __ticks_dc = (uint32_t)(ceil(fabs(__tmp))); - #endif - - __builtin_avr_delay_cycles(__ticks_dc); - 48: 67 70 andi r22, 0x07 ; 7 - 4a: 77 27 eor r23, r23 - 4c: 80 ff sbrs r24, 0 - 4e: 06 c0 rjmp .+12 ; 0x5c - 50: 98 b3 in r25, 0x18 ; 24 - 52: 98 7f andi r25, 0xF8 ; 248 - _delay_ms(50); - ledg(LED1, BLACK); - _delay_ms(50); - ledg(LED1, GREEN); - _delay_ms(50); - ledg(LED1, BLACK); - 54: 98 bb out 0x18, r25 ; 24 - 56: 98 b3 in r25, 0x18 ; 24 - 58: 96 2b or r25, r22 - 5a: 98 bb out 0x18, r25 ; 24 - 5c: 81 ff sbrs r24, 1 - 5e: 0d c0 rjmp .+26 ; 0x7a - 60: 98 b3 in r25, 0x18 ; 24 - 62: 97 7c andi r25, 0xC7 ; 199 - 64: 98 bb out 0x18, r25 ; 24 - 66: 98 b3 in r25, 0x18 ; 24 - 68: 9b 01 movw r18, r22 - 6a: 22 0f add r18, r18 - 6c: 33 1f adc r19, r19 - 6e: 22 0f add r18, r18 - _delay_ms(50); - ledg(LED1, RED); - 70: 33 1f adc r19, r19 - 72: 22 0f add r18, r18 - 74: 33 1f adc r19, r19 - 76: 29 2b or r18, r25 - 78: 28 bb out 0x18, r18 ; 24 - 7a: 82 ff sbrs r24, 2 - 7c: 06 c0 rjmp .+12 ; 0x8a - 7e: 92 b3 in r25, 0x12 ; 18 - 80: 98 7f andi r25, 0xF8 ; 248 - 82: 92 bb out 0x12, r25 ; 18 - 84: 92 b3 in r25, 0x12 ; 18 - 86: 96 2b or r25, r22 - 88: 92 bb out 0x12, r25 ; 18 - 8a: 83 ff sbrs r24, 3 - _delay_ms(50); - ledg(LED1, BLACK); - 8c: 0c c0 rjmp .+24 ; 0xa6 - 8e: 82 b3 in r24, 0x12 ; 18 - 90: 87 7c andi r24, 0xC7 ; 199 - 92: 82 bb out 0x12, r24 ; 18 - 94: 82 b3 in r24, 0x12 ; 18 - 96: 66 0f add r22, r22 - 98: 77 1f adc r23, r23 - 9a: 66 0f add r22, r22 - 9c: 77 1f adc r23, r23 - 9e: 66 0f add r22, r22 - a0: 77 1f adc r23, r23 - a2: 68 2b or r22, r24 - a4: 62 bb out 0x12, r22 ; 18 - a6: 08 95 ret - -000000a8 : - _delay_ms(50); - ledg(LED3, BLUE); - a8: 2f 92 push r2 - aa: 3f 92 push r3 - ac: 4f 92 push r4 - ae: 5f 92 push r5 - b0: 6f 92 push r6 - b2: 7f 92 push r7 - b4: 8f 92 push r8 - b6: 9f 92 push r9 - b8: af 92 push r10 - ba: bf 92 push r11 - bc: cf 92 push r12 - be: df 92 push r13 - c0: ef 92 push r14 - c2: ff 92 push r15 - _delay_ms(50); - ledg(LED3, BLACK); - c4: 0f 93 push r16 - c6: 1f 93 push r17 - c8: cf 93 push r28 - ca: df 93 push r29 - cc: 8c 01 movw r16, r24 - ce: 4b 01 movw r8, r22 - d0: 6a 01 movw r12, r20 - d2: 39 01 movw r6, r18 - d4: e1 2c mov r14, r1 - d6: f1 2c mov r15, r1 - d8: 31 2c mov r3, r1 - da: 21 2c mov r2, r1 - dc: 2c c0 rjmp .+88 ; 0x136 <__stack+0x57> - de: c4 2d mov r28, r4 - _delay_ms(50); - ledg(LED3, GREEN); - e0: d5 2d mov r29, r5 - e2: b4 01 movw r22, r8 - e4: c8 01 movw r24, r16 - e6: b0 df rcall .-160 ; 0x48 - e8: 21 96 adiw r28, 0x01 ; 1 - ea: cf 3f cpi r28, 0xFF ; 255 - ec: d1 05 cpc r29, r1 - ee: c9 f7 brne .-14 ; 0xe2 <__stack+0x3> - f0: 1e 14 cp r1, r14 - f2: 1f 04 cpc r1, r15 - f4: 4c f4 brge .+18 ; 0x108 <__stack+0x29> - f6: c3 2d mov r28, r3 - f8: d2 2d mov r29, r2 - fa: b6 01 movw r22, r12 - _delay_ms(50); - ledg(LED3, BLACK); - fc: c8 01 movw r24, r16 - fe: a4 df rcall .-184 ; 0x48 - 100: 21 96 adiw r28, 0x01 ; 1 - 102: ce 15 cp r28, r14 - 104: df 05 cpc r29, r15 - 106: c9 f7 brne .-14 ; 0xfa <__stack+0x1b> - 108: 8f ef ldi r24, 0xFF ; 255 - 10a: a8 1a sub r10, r24 - 10c: b8 0a sbc r11, r24 - 10e: a6 14 cp r10, r6 - 110: b7 04 cpc r11, r7 - 112: 29 f4 brne .+10 ; 0x11e <__stack+0x3f> - 114: 09 c0 rjmp .+18 ; 0x128 <__stack+0x49> - 116: a1 2c mov r10, r1 - _delay_ms(50); - ledg(LED3, RED); - 118: b1 2c mov r11, r1 - 11a: 4e 2c mov r4, r14 - 11c: 5f 2c mov r5, r15 - 11e: 8f ef ldi r24, 0xFF ; 255 - 120: e8 16 cp r14, r24 - 122: f1 04 cpc r15, r1 - 124: e4 f2 brlt .-72 ; 0xde - 126: e4 cf rjmp .-56 ; 0xf0 <__stack+0x11> - 128: 8f ef ldi r24, 0xFF ; 255 - 12a: e8 1a sub r14, r24 - 12c: f8 0a sbc r15, r24 - 12e: 8f ef ldi r24, 0xFF ; 255 - 130: e8 16 cp r14, r24 - 132: f1 04 cpc r15, r1 - _delay_ms(50); - ledg(LED3, BLACK); - 134: 21 f0 breq .+8 ; 0x13e <__stack+0x5f> - 136: 16 14 cp r1, r6 - 138: 17 04 cpc r1, r7 - 13a: 6c f3 brlt .-38 ; 0x116 <__stack+0x37> - 13c: f5 cf rjmp .-22 ; 0x128 <__stack+0x49> - 13e: df 91 pop r29 - 140: cf 91 pop r28 - 142: 1f 91 pop r17 - 144: 0f 91 pop r16 - 146: ff 90 pop r15 - 148: ef 90 pop r14 - 14a: df 90 pop r13 - 14c: cf 90 pop r12 - 14e: bf 90 pop r11 - _delay_ms(150); - ledg(LED1 | LED3, BLUE); - 150: af 90 pop r10 - 152: 9f 90 pop r9 - 154: 8f 90 pop r8 - 156: 7f 90 pop r7 - 158: 6f 90 pop r6 - 15a: 5f 90 pop r5 - 15c: 4f 90 pop r4 - 15e: 3f 90 pop r3 - 160: 2f 90 pop r2 - 162: 08 95 ret - -00000164 : - 164: 66 e0 ldi r22, 0x06 ; 6 - 166: 70 e0 ldi r23, 0x00 ; 0 - 168: 85 e0 ldi r24, 0x05 ; 5 - 16a: 90 e0 ldi r25, 0x00 ; 0 - _delay_ms(50); - ledg(LED1 | LED3, BLACK); - 16c: 6d df rcall .-294 ; 0x48 - 16e: 8f e4 ldi r24, 0x4F ; 79 - 170: 93 ec ldi r25, 0xC3 ; 195 - 172: 01 97 sbiw r24, 0x01 ; 1 - 174: f1 f7 brne .-4 ; 0x172 - 176: 00 c0 rjmp .+0 ; 0x178 - 178: 00 00 nop - 17a: 60 e0 ldi r22, 0x00 ; 0 - 17c: 70 e0 ldi r23, 0x00 ; 0 - 17e: 85 e0 ldi r24, 0x05 ; 5 - 180: 90 e0 ldi r25, 0x00 ; 0 - 182: 62 df rcall .-316 ; 0x48 - 184: 9f e3 ldi r25, 0x3F ; 63 - 186: 22 e4 ldi r18, 0x42 ; 66 - _delay_ms(50); - ledg(LED1 | LED3, GREEN); - 188: 8f e0 ldi r24, 0x0F ; 15 - 18a: 91 50 subi r25, 0x01 ; 1 - 18c: 20 40 sbci r18, 0x00 ; 0 - 18e: 80 40 sbci r24, 0x00 ; 0 - 190: e1 f7 brne .-8 ; 0x18a - 192: 00 c0 rjmp .+0 ; 0x194 - 194: 00 00 nop - 196: 66 e0 ldi r22, 0x06 ; 6 - 198: 70 e0 ldi r23, 0x00 ; 0 - 19a: 8f e0 ldi r24, 0x0F ; 15 - 19c: 90 e0 ldi r25, 0x00 ; 0 - 19e: 54 df rcall .-344 ; 0x48 - 1a0: 87 ea ldi r24, 0xA7 ; 167 - 1a2: 91 e6 ldi r25, 0x61 ; 97 - _delay_ms(50); - ledg(LED1 | LED3, BLACK); - 1a4: 01 97 sbiw r24, 0x01 ; 1 - 1a6: f1 f7 brne .-4 ; 0x1a4 - 1a8: 00 c0 rjmp .+0 ; 0x1aa - 1aa: 00 00 nop - 1ac: 60 e0 ldi r22, 0x00 ; 0 - 1ae: 70 e0 ldi r23, 0x00 ; 0 - 1b0: 8f e0 ldi r24, 0x0F ; 15 - 1b2: 90 e0 ldi r25, 0x00 ; 0 - 1b4: 49 df rcall .-366 ; 0x48 - 1b6: 9f e3 ldi r25, 0x3F ; 63 - 1b8: 2d e0 ldi r18, 0x0D ; 13 - 1ba: 83 e0 ldi r24, 0x03 ; 3 - 1bc: 91 50 subi r25, 0x01 ; 1 - 1be: 20 40 sbci r18, 0x00 ; 0 - _delay_ms(50); - ledg(LED1 | LED3, RED); - 1c0: 80 40 sbci r24, 0x00 ; 0 - 1c2: e1 f7 brne .-8 ; 0x1bc - 1c4: 00 c0 rjmp .+0 ; 0x1c6 - 1c6: 00 00 nop - 1c8: 66 e0 ldi r22, 0x06 ; 6 - 1ca: 70 e0 ldi r23, 0x00 ; 0 - 1cc: 8f e0 ldi r24, 0x0F ; 15 - 1ce: 90 e0 ldi r25, 0x00 ; 0 - 1d0: 3b df rcall .-394 ; 0x48 - 1d2: 8f e4 ldi r24, 0x4F ; 79 - 1d4: 93 ec ldi r25, 0xC3 ; 195 - 1d6: 01 97 sbiw r24, 0x01 ; 1 - 1d8: f1 f7 brne .-4 ; 0x1d6 - 1da: 00 c0 rjmp .+0 ; 0x1dc - _delay_ms(50); - ledg(LED1 | LED3, BLACK); - 1dc: 00 00 nop - 1de: 60 e0 ldi r22, 0x00 ; 0 - 1e0: 70 e0 ldi r23, 0x00 ; 0 - 1e2: 8f e0 ldi r24, 0x0F ; 15 - 1e4: 90 e0 ldi r25, 0x00 ; 0 - 1e6: 30 df rcall .-416 ; 0x48 - 1e8: 9f e3 ldi r25, 0x3F ; 63 - 1ea: 2d e0 ldi r18, 0x0D ; 13 - 1ec: 83 e0 ldi r24, 0x03 ; 3 - 1ee: 91 50 subi r25, 0x01 ; 1 - 1f0: 20 40 sbci r18, 0x00 ; 0 - 1f2: 80 40 sbci r24, 0x00 ; 0 - 1f4: e1 f7 brne .-8 ; 0x1ee - 1f6: 00 c0 rjmp .+0 ; 0x1f8 - 1f8: 00 00 nop - _delay_ms(50); - ledg(LED1 | LED2 | LED3 | LED4, CYAN); - _delay_ms(10); - ledg(LED1 | LED2 | LED3 | LED4, BLACK); - _delay_ms(50); - ledg(LED1 | LED2 | LED3 | LED4, CYAN); - 1fa: 66 e0 ldi r22, 0x06 ; 6 - 1fc: 70 e0 ldi r23, 0x00 ; 0 - 1fe: 8f e0 ldi r24, 0x0F ; 15 - 200: 90 e0 ldi r25, 0x00 ; 0 - 202: 22 df rcall .-444 ; 0x48 - 204: 9f e5 ldi r25, 0x5F ; 95 - 206: 2a ee ldi r18, 0xEA ; 234 - 208: 80 e0 ldi r24, 0x00 ; 0 - 20a: 91 50 subi r25, 0x01 ; 1 - 20c: 20 40 sbci r18, 0x00 ; 0 - 20e: 80 40 sbci r24, 0x00 ; 0 - 210: e1 f7 brne .-8 ; 0x20a - 212: 00 c0 rjmp .+0 ; 0x214 - 214: 00 00 nop - _delay_ms(15); - ledg(LED1 | LED2 | LED3 | LED4, BLACK); - 216: 60 e0 ldi r22, 0x00 ; 0 - 218: 70 e0 ldi r23, 0x00 ; 0 - 21a: 8f e0 ldi r24, 0x0F ; 15 - 21c: 90 e0 ldi r25, 0x00 ; 0 - 21e: 14 df rcall .-472 ; 0x48 - 220: 9f e7 ldi r25, 0x7F ; 127 - 222: 24 e8 ldi r18, 0x84 ; 132 - 224: 8e e1 ldi r24, 0x1E ; 30 - 226: 91 50 subi r25, 0x01 ; 1 - 228: 20 40 sbci r18, 0x00 ; 0 - 22a: 80 40 sbci r24, 0x00 ; 0 - 22c: e1 f7 brne .-8 ; 0x226 - 22e: 00 c0 rjmp .+0 ; 0x230 - 230: 00 00 nop - _delay_ms(500); - fade(LED1 | LED2 | LED3 | LED4, CYAN, WHITE, 5); - 232: 25 e0 ldi r18, 0x05 ; 5 - 234: 30 e0 ldi r19, 0x00 ; 0 - 236: 47 e0 ldi r20, 0x07 ; 7 - 238: 50 e0 ldi r21, 0x00 ; 0 - 23a: 66 e0 ldi r22, 0x06 ; 6 - 23c: 70 e0 ldi r23, 0x00 ; 0 - 23e: 8f e0 ldi r24, 0x0F ; 15 - 240: 90 e0 ldi r25, 0x00 ; 0 - 242: 32 df rcall .-412 ; 0xa8 - ledg(LED1 | LED2 | LED3 | LED4, BLACK); - 244: 60 e0 ldi r22, 0x00 ; 0 - 246: 70 e0 ldi r23, 0x00 ; 0 - 248: 8f e0 ldi r24, 0x0F ; 15 - 24a: 90 e0 ldi r25, 0x00 ; 0 - 24c: fd de rcall .-518 ; 0x48 - 24e: 08 95 ret - -00000250 : - rgbl(LED1 | LED2 | LED3 | LED4, rgb_r, rgb_g, rgb_b); -} - -void initschalter(void) -{ - PORTB |= ((1< - 260: 00 c0 rjmp .+0 ; 0x262 - 262: 00 00 nop - 264: 08 95 ret - -00000266 : - rgbl(LED2, 0, 0, 0); - }*/ -} -#define WAIT_WARN_BLINK 40 -void programWarnBlink(void) -{ - 266: cf 93 push r28 - 268: c5 e0 ldi r28, 0x05 ; 5 - uint8_t const blinks = 5; - uint8_t const waits = 5; - for(uint8_t i=0;i - 274: 2f ef ldi r18, 0xFF ; 255 - 276: 80 e7 ldi r24, 0x70 ; 112 - 278: 92 e0 ldi r25, 0x02 ; 2 - 27a: 21 50 subi r18, 0x01 ; 1 - 27c: 80 40 sbci r24, 0x00 ; 0 - 27e: 90 40 sbci r25, 0x00 ; 0 - 280: e1 f7 brne .-8 ; 0x27a - 282: 00 c0 rjmp .+0 ; 0x284 - 284: 00 00 nop - _delay_ms(WAIT_WARN_BLINK); - ledg(LED2 | LED4, BLACK); - 286: 60 e0 ldi r22, 0x00 ; 0 - 288: 70 e0 ldi r23, 0x00 ; 0 - 28a: 8a e0 ldi r24, 0x0A ; 10 - 28c: 90 e0 ldi r25, 0x00 ; 0 - 28e: dc de rcall .-584 ; 0x48 - 290: 2f ef ldi r18, 0xFF ; 255 - 292: 80 e7 ldi r24, 0x70 ; 112 - 294: 92 e0 ldi r25, 0x02 ; 2 - 296: 21 50 subi r18, 0x01 ; 1 - 298: 80 40 sbci r24, 0x00 ; 0 - 29a: 90 40 sbci r25, 0x00 ; 0 - 29c: e1 f7 brne .-8 ; 0x296 - 29e: 00 c0 rjmp .+0 ; 0x2a0 - 2a0: 00 00 nop - 2a2: c1 50 subi r28, 0x01 ; 1 -#define WAIT_WARN_BLINK 40 -void programWarnBlink(void) -{ - uint8_t const blinks = 5; - uint8_t const waits = 5; - for(uint8_t i=0;i - 2a6: 2f ef ldi r18, 0xFF ; 255 - 2a8: 80 e7 ldi r24, 0x70 ; 112 - 2aa: 92 e0 ldi r25, 0x02 ; 2 - 2ac: 21 50 subi r18, 0x01 ; 1 - 2ae: 80 40 sbci r24, 0x00 ; 0 - 2b0: 90 40 sbci r25, 0x00 ; 0 - 2b2: e1 f7 brne .-8 ; 0x2ac - 2b4: 00 c0 rjmp .+0 ; 0x2b6 - 2b6: 00 00 nop - 2b8: 2f ef ldi r18, 0xFF ; 255 - 2ba: 80 e7 ldi r24, 0x70 ; 112 - 2bc: 92 e0 ldi r25, 0x02 ; 2 - 2be: 21 50 subi r18, 0x01 ; 1 - 2c0: 80 40 sbci r24, 0x00 ; 0 - 2c2: 90 40 sbci r25, 0x00 ; 0 - 2c4: e1 f7 brne .-8 ; 0x2be - 2c6: 00 c0 rjmp .+0 ; 0x2c8 - 2c8: 00 00 nop - 2ca: 2f ef ldi r18, 0xFF ; 255 - 2cc: 80 e7 ldi r24, 0x70 ; 112 - 2ce: 92 e0 ldi r25, 0x02 ; 2 - 2d0: 21 50 subi r18, 0x01 ; 1 - 2d2: 80 40 sbci r24, 0x00 ; 0 - 2d4: 90 40 sbci r25, 0x00 ; 0 - 2d6: e1 f7 brne .-8 ; 0x2d0 - 2d8: 00 c0 rjmp .+0 ; 0x2da - 2da: 00 00 nop - 2dc: 2f ef ldi r18, 0xFF ; 255 - 2de: 80 e7 ldi r24, 0x70 ; 112 - 2e0: 92 e0 ldi r25, 0x02 ; 2 - 2e2: 21 50 subi r18, 0x01 ; 1 - 2e4: 80 40 sbci r24, 0x00 ; 0 - 2e6: 90 40 sbci r25, 0x00 ; 0 - 2e8: e1 f7 brne .-8 ; 0x2e2 - 2ea: 00 c0 rjmp .+0 ; 0x2ec - 2ec: 00 00 nop - 2ee: 2f ef ldi r18, 0xFF ; 255 - 2f0: 80 e7 ldi r24, 0x70 ; 112 - 2f2: 92 e0 ldi r25, 0x02 ; 2 - 2f4: 21 50 subi r18, 0x01 ; 1 - 2f6: 80 40 sbci r24, 0x00 ; 0 - 2f8: 90 40 sbci r25, 0x00 ; 0 - 2fa: e1 f7 brne .-8 ; 0x2f4 - 2fc: 00 c0 rjmp .+0 ; 0x2fe - 2fe: 00 00 nop - 300: c5 e0 ldi r28, 0x05 ; 5 - 302: 2f ef ldi r18, 0xFF ; 255 - 304: 80 e7 ldi r24, 0x70 ; 112 - 306: 92 e0 ldi r25, 0x02 ; 2 - 308: 21 50 subi r18, 0x01 ; 1 - 30a: 80 40 sbci r24, 0x00 ; 0 - 30c: 90 40 sbci r25, 0x00 ; 0 - 30e: e1 f7 brne .-8 ; 0x308 - 310: 00 c0 rjmp .+0 ; 0x312 - 312: 00 00 nop - for (uint8_t i=0;i - 31e: 2f ef ldi r18, 0xFF ; 255 - 320: 80 e7 ldi r24, 0x70 ; 112 - 322: 92 e0 ldi r25, 0x02 ; 2 - 324: 21 50 subi r18, 0x01 ; 1 - 326: 80 40 sbci r24, 0x00 ; 0 - 328: 90 40 sbci r25, 0x00 ; 0 - 32a: e1 f7 brne .-8 ; 0x324 - 32c: 00 c0 rjmp .+0 ; 0x32e - 32e: 00 00 nop - _delay_ms(WAIT_WARN_BLINK); - ledg(LED3, BLACK); - 330: 60 e0 ldi r22, 0x00 ; 0 - 332: 70 e0 ldi r23, 0x00 ; 0 - 334: 84 e0 ldi r24, 0x04 ; 4 - 336: 90 e0 ldi r25, 0x00 ; 0 - 338: 87 de rcall .-754 ; 0x48 - 33a: c1 50 subi r28, 0x01 ; 1 - _delay_ms(WAIT_WARN_BLINK); - } - for (uint8_t i=0;i - 33e: 2f ef ldi r18, 0xFF ; 255 - 340: 80 e7 ldi r24, 0x70 ; 112 - 342: 92 e0 ldi r25, 0x02 ; 2 - 344: 21 50 subi r18, 0x01 ; 1 - 346: 80 40 sbci r24, 0x00 ; 0 - 348: 90 40 sbci r25, 0x00 ; 0 - 34a: e1 f7 brne .-8 ; 0x344 - 34c: 00 c0 rjmp .+0 ; 0x34e - 34e: 00 00 nop - 350: 2f ef ldi r18, 0xFF ; 255 - 352: 80 e7 ldi r24, 0x70 ; 112 - 354: 92 e0 ldi r25, 0x02 ; 2 - 356: 21 50 subi r18, 0x01 ; 1 - 358: 80 40 sbci r24, 0x00 ; 0 - 35a: 90 40 sbci r25, 0x00 ; 0 - 35c: e1 f7 brne .-8 ; 0x356 - 35e: 00 c0 rjmp .+0 ; 0x360 - 360: 00 00 nop - 362: 2f ef ldi r18, 0xFF ; 255 - 364: 80 e7 ldi r24, 0x70 ; 112 - 366: 92 e0 ldi r25, 0x02 ; 2 - 368: 21 50 subi r18, 0x01 ; 1 - 36a: 80 40 sbci r24, 0x00 ; 0 - 36c: 90 40 sbci r25, 0x00 ; 0 - 36e: e1 f7 brne .-8 ; 0x368 - 370: 00 c0 rjmp .+0 ; 0x372 - 372: 00 00 nop - 374: 2f ef ldi r18, 0xFF ; 255 - 376: 80 e7 ldi r24, 0x70 ; 112 - 378: 92 e0 ldi r25, 0x02 ; 2 - 37a: 21 50 subi r18, 0x01 ; 1 - 37c: 80 40 sbci r24, 0x00 ; 0 - 37e: 90 40 sbci r25, 0x00 ; 0 - 380: e1 f7 brne .-8 ; 0x37a - 382: 00 c0 rjmp .+0 ; 0x384 - 384: 00 00 nop - 386: 2f ef ldi r18, 0xFF ; 255 - 388: 80 e7 ldi r24, 0x70 ; 112 - 38a: 92 e0 ldi r25, 0x02 ; 2 - 38c: 21 50 subi r18, 0x01 ; 1 - 38e: 80 40 sbci r24, 0x00 ; 0 - 390: 90 40 sbci r25, 0x00 ; 0 - 392: e1 f7 brne .-8 ; 0x38c - 394: 00 c0 rjmp .+0 ; 0x396 - 396: 00 00 nop - ledg(LED3, BLACK); - } - for (uint8_t i=0;i: - _delay_ms(150); -} - -int main(void) -{ - DDRB = 0b00111111; - 39c: 8f e3 ldi r24, 0x3F ; 63 - 39e: 87 bb out 0x17, r24 ; 23 - DDRD = 0b00111111; - 3a0: 81 bb out 0x11, r24 ; 17 - initschalter(); - 3a2: 56 df rcall .-340 ; 0x250 - initleds(); - 3a4: df de rcall .-578 ; 0x164 - while(1) - { - programWarnBlink(); - 3a6: 5f df rcall .-322 ; 0x266 - 3a8: fe cf rjmp .-4 ; 0x3a6 - -000003aa <_exit>: - 3aa: f8 94 cli - -000003ac <__stop_program>: - 3ac: ff cf rjmp .-2 ; 0x3ac <__stop_program> diff --git a/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.map b/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.map deleted file mode 100644 index c66b04e..0000000 --- a/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.map +++ /dev/null @@ -1,419 +0,0 @@ -Archive member included because of file (symbol) - -c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o) - c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o (exit) -c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_clear_bss.o) - Leuchtklotz.o (__do_clear_bss) - -Discarded input sections - - .bss 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o - .text 0x00000000 0x0 Leuchtklotz.o - .bss 0x00000000 0x3 Leuchtklotz.o - .text.rgbl 0x00000000 0x76 Leuchtklotz.o - .text.programColorFull - 0x00000000 0x7a Leuchtklotz.o - .text.programRainbow - 0x00000000 0x74 Leuchtklotz.o - .text.programWarnYellow - 0x00000000 0x86 Leuchtklotz.o - .text.programCop - 0x00000000 0xa6 Leuchtklotz.o - .text.programHacker - 0x00000000 0x196 Leuchtklotz.o - .text.programGreenBlink - 0x00000000 0x1fa Leuchtklotz.o - .text 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o) - .bss 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o) - .text.libgcc.mul - 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o) - .text.libgcc.div - 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o) - .text.libgcc 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o) - .text.libgcc.prologue - 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o) - .text.libgcc.builtins - 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o) - .text.libgcc.fmul - 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o) - .text 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_clear_bss.o) - .bss 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_clear_bss.o) - .text.libgcc.mul - 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_clear_bss.o) - .text.libgcc.div - 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_clear_bss.o) - .text.libgcc 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_clear_bss.o) - .text.libgcc.prologue - 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_clear_bss.o) - .text.libgcc.builtins - 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_clear_bss.o) - .text.libgcc.fmul - 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_clear_bss.o) - -Memory Configuration - -Name Origin Length Attributes -text 0x00000000 0x00002000 xr -data 0x00800060 0x0000ffa0 rw !x -eeprom 0x00810000 0x00010000 rw !x -fuse 0x00820000 0x00000400 rw !x -lock 0x00830000 0x00000400 rw !x -signature 0x00840000 0x00000400 rw !x -user_signatures 0x00850000 0x00000400 rw !x -*default* 0x00000000 0xffffffff - -Linker script and memory map - -LOAD c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o -LOAD Leuchtklotz.o -START GROUP -LOAD c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack\libm.a -END GROUP -LOAD c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a -LOAD c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack\libc.a -LOAD c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a - -.hash - *(.hash) - -.dynsym - *(.dynsym) - -.dynstr - *(.dynstr) - -.gnu.version - *(.gnu.version) - -.gnu.version_d - *(.gnu.version_d) - -.gnu.version_r - *(.gnu.version_r) - -.rel.init - *(.rel.init) - -.rela.init - *(.rela.init) - -.rel.text - *(.rel.text) - *(.rel.text.*) - *(.rel.gnu.linkonce.t*) - -.rela.text - *(.rela.text) - *(.rela.text.*) - *(.rela.gnu.linkonce.t*) - -.rel.fini - *(.rel.fini) - -.rela.fini - *(.rela.fini) - -.rel.rodata - *(.rel.rodata) - *(.rel.rodata.*) - *(.rel.gnu.linkonce.r*) - -.rela.rodata - *(.rela.rodata) - *(.rela.rodata.*) - *(.rela.gnu.linkonce.r*) - -.rel.data - *(.rel.data) - *(.rel.data.*) - *(.rel.gnu.linkonce.d*) - -.rela.data - *(.rela.data) - *(.rela.data.*) - *(.rela.gnu.linkonce.d*) - -.rel.ctors - *(.rel.ctors) - -.rela.ctors - *(.rela.ctors) - -.rel.dtors - *(.rel.dtors) - -.rela.dtors - *(.rela.dtors) - -.rel.got - *(.rel.got) - -.rela.got - *(.rela.got) - -.rel.bss - *(.rel.bss) - -.rela.bss - *(.rela.bss) - -.rel.plt - *(.rel.plt) - -.rela.plt - *(.rela.plt) - -.text 0x00000000 0x3ae - *(.vectors) - .vectors 0x00000000 0x2a c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o - 0x00000000 __vector_default - 0x00000000 __vectors - *(.vectors) - *(.progmem.gcc*) - *(.progmem*) - 0x0000002a . = ALIGN (0x2) - 0x0000002a __trampolines_start = . - *(.trampolines) - .trampolines 0x0000002a 0x0 linker stubs - *(.trampolines*) - 0x0000002a __trampolines_end = . - *(.jumptables) - *(.jumptables*) - *(.lowtext) - *(.lowtext*) - 0x0000002a __ctors_start = . - *(.ctors) - 0x0000002a __ctors_end = . - 0x0000002a __dtors_start = . - *(.dtors) - 0x0000002a __dtors_end = . - SORT(*)(.ctors) - SORT(*)(.dtors) - *(.init0) - .init0 0x0000002a 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o - 0x0000002a __init - *(.init0) - *(.init1) - *(.init1) - *(.init2) - .init2 0x0000002a 0x8 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o - *(.init2) - *(.init3) - *(.init3) - *(.init4) - .init4 0x00000032 0x10 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_clear_bss.o) - 0x00000032 __do_clear_bss - *(.init4) - *(.init5) - *(.init5) - *(.init6) - *(.init6) - *(.init7) - *(.init7) - *(.init8) - *(.init8) - *(.init9) - .init9 0x00000042 0x4 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o - *(.init9) - *(.text) - .text 0x00000046 0x2 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o - 0x00000046 __vector_1 - 0x00000046 __vector_12 - 0x00000046 __bad_interrupt - 0x00000046 __vector_6 - 0x00000046 __vector_3 - 0x00000046 __vector_11 - 0x00000046 __vector_13 - 0x00000046 __vector_17 - 0x00000046 __vector_19 - 0x00000046 __vector_7 - 0x00000046 __vector_5 - 0x00000046 __vector_4 - 0x00000046 __vector_9 - 0x00000046 __vector_2 - 0x00000046 __vector_15 - 0x00000046 __vector_8 - 0x00000046 __vector_14 - 0x00000046 __vector_10 - 0x00000046 __vector_16 - 0x00000046 __vector_18 - 0x00000046 __vector_20 - 0x00000048 . = ALIGN (0x2) - *(.text.*) - .text.ledg 0x00000048 0x60 Leuchtklotz.o - 0x00000048 ledg - .text.fade 0x000000a8 0xbc Leuchtklotz.o - 0x000000a8 fade - .text.initleds - 0x00000164 0xec Leuchtklotz.o - 0x00000164 initleds - .text.initschalter - 0x00000250 0x16 Leuchtklotz.o - 0x00000250 initschalter - .text.programWarnBlink - 0x00000266 0x136 Leuchtklotz.o - 0x00000266 programWarnBlink - .text.main 0x0000039c 0xe Leuchtklotz.o - 0x0000039c main - 0x000003aa . = ALIGN (0x2) - *(.fini9) - .fini9 0x000003aa 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o) - 0x000003aa _exit - 0x000003aa exit - *(.fini9) - *(.fini8) - *(.fini8) - *(.fini7) - *(.fini7) - *(.fini6) - *(.fini6) - *(.fini5) - *(.fini5) - *(.fini4) - *(.fini4) - *(.fini3) - *(.fini3) - *(.fini2) - *(.fini2) - *(.fini1) - *(.fini1) - *(.fini0) - .fini0 0x000003aa 0x4 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o) - *(.fini0) - 0x000003ae _etext = . - -.data 0x00800060 0x0 load address 0x000003ae - 0x00800060 PROVIDE (__data_start, .) - *(.data) - .data 0x00800060 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o - .data 0x00800060 0x0 Leuchtklotz.o - .data 0x00800060 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o) - .data 0x00800060 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_clear_bss.o) - *(.data*) - *(.rodata) - *(.rodata*) - *(.gnu.linkonce.d*) - 0x00800060 . = ALIGN (0x2) - 0x00800060 _edata = . - 0x00800060 PROVIDE (__data_end, .) - -.bss 0x00800060 0x0 - 0x00800060 PROVIDE (__bss_start, .) - *(.bss) - *(.bss*) - *(COMMON) - 0x00800060 PROVIDE (__bss_end, .) - 0x000003ae __data_load_start = LOADADDR (.data) - 0x000003ae __data_load_end = (__data_load_start + SIZEOF (.data)) - -.noinit 0x00800060 0x0 - 0x00800060 PROVIDE (__noinit_start, .) - *(.noinit*) - 0x00800060 PROVIDE (__noinit_end, .) - 0x00800060 _end = . - 0x00800060 PROVIDE (__heap_start, .) - -.eeprom 0x00810000 0x0 - *(.eeprom*) - 0x00810000 __eeprom_end = . - -.fuse - *(.fuse) - *(.lfuse) - *(.hfuse) - *(.efuse) - -.lock - *(.lock*) - -.signature - *(.signature*) - -.user_signatures - *(.user_signatures*) - -.stab 0x00000000 0x6b4 - *(.stab) - .stab 0x00000000 0x6b4 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o - -.stabstr 0x00000000 0x82 - *(.stabstr) - .stabstr 0x00000000 0x82 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o - -.stab.excl - *(.stab.excl) - -.stab.exclstr - *(.stab.exclstr) - -.stab.index - *(.stab.index) - -.stab.indexstr - *(.stab.indexstr) - -.comment 0x00000000 0x2f - *(.comment) - .comment 0x00000000 0x2f Leuchtklotz.o - 0x30 (size before relaxing) - -.debug - *(.debug) - -.line - *(.line) - -.debug_srcinfo - *(.debug_srcinfo) - -.debug_sfnames - *(.debug_sfnames) - -.debug_aranges 0x00000000 0x80 - *(.debug_aranges) - .debug_aranges - 0x00000000 0x80 Leuchtklotz.o - -.debug_pubnames - *(.debug_pubnames) - -.debug_info 0x00000000 0x1b24 - *(.debug_info) - .debug_info 0x00000000 0x1b24 Leuchtklotz.o - *(.gnu.linkonce.wi.*) - -.debug_abbrev 0x00000000 0x246 - *(.debug_abbrev) - .debug_abbrev 0x00000000 0x246 Leuchtklotz.o - -.debug_line 0x00000000 0x554 - *(.debug_line) - .debug_line 0x00000000 0x554 Leuchtklotz.o - -.debug_frame 0x00000000 0x1dc - *(.debug_frame) - .debug_frame 0x00000000 0x1dc Leuchtklotz.o - -.debug_str 0x00000000 0x1cf - *(.debug_str) - .debug_str 0x00000000 0x1cf Leuchtklotz.o - 0x203 (size before relaxing) - -.debug_loc 0x00000000 0x847 - *(.debug_loc) - .debug_loc 0x00000000 0x847 Leuchtklotz.o - -.debug_macinfo - *(.debug_macinfo) - -.debug_pubtypes - *(.debug_pubtypes) - -.debug_ranges 0x00000000 0x118 - *(.debug_ranges) - .debug_ranges 0x00000000 0x118 Leuchtklotz.o - -.debug_macro - *(.debug_macro) -OUTPUT(Leuchtklotz.elf elf32-avr) -LOAD linker stubs diff --git a/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.srec b/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.srec deleted file mode 100644 index 1b43450..0000000 --- a/Leuchtklotz/Leuchtklotz/Debug/Leuchtklotz.srec +++ /dev/null @@ -1,61 +0,0 @@ -S01300004C65756368746B6C6F747A2E7372656378 -S113000014C021C020C01FC01EC01DC01CC01BC006 -S11300101AC019C018C017C016C015C014C013C028 -S113002012C011C010C00FC00EC011241FBECFEDEE -S1130030CDBF20E0A0E6B0E001C01D92A036B2071B -S1130040E1F7ACD1B2C1DCCF6770772780FF06C07F -S113005098B3987F98BB98B3962B98BB81FF0DC03B -S113006098B3977C98BB98B39B01220F331F220F40 -S1130070331F220F331F292B28BB82FF06C092B3E4 -S1130080987F92BB92B3962B92BB83FF0CC082B332 -S1130090877C82BB82B3660F771F660F771F660F5C -S11300A0771F682B62BB08952F923F924F925F9205 -S11300B06F927F928F929F92AF92BF92CF92DF9274 -S11300C0EF92FF920F931F93CF93DF938C014B0119 -S11300D06A013901E12CF12C312C212C2CC0C42DC6 -S11300E0D52DB401C801B0DF2196CF3FD105C9F7A2 -S11300F01E141F044CF4C32DD22DB601C801A4DF75 -S11301002196CE15DF05C9F78FEFA81AB80AA614F1 -S1130110B70429F409C0A12CB12C4E2C5F2C8FEF0D -S1130120E816F104E4F2E4CF8FEFE81AF80A8FEF4F -S1130130E816F10421F0161417046CF3F5CFDF91DF -S1130140CF911F910F91FF90EF90DF90CF90BF90D0 -S1130150AF909F908F907F906F905F904F903F9063 -S11301602F90089566E070E085E090E06DDF8FE405 -S113017093EC0197F1F700C0000060E070E085E0C7 -S113018090E062DF9FE322E48FE0915020408040C2 -S1130190E1F700C0000066E070E08FE090E054DF1B -S11301A087EA91E60197F1F700C0000060E070E093 -S11301B08FE090E049DF9FE32DE083E09150204001 -S11301C08040E1F700C0000066E070E08FE090E05E -S11301D03BDF8FE493EC0197F1F700C0000060E08F -S11301E070E08FE090E030DF9FE32DE083E09150FA -S11301F020408040E1F700C0000066E070E08FE03E -S113020090E022DF9FE52AEE80E09150204080407C -S1130210E1F700C0000060E070E08FE090E014DFE0 -S11302209FE724E88EE1915020408040E1F700C030 -S1130230000025E030E047E050E066E070E08FE049 -S113024090E032DF60E070E08FE090E0FDDE089542 -S113025088B3806C88BB969A8FE493EC0197F1F78E -S113026000C000000895CF93C5E063E070E08AE029 -S113027090E0EADE2FEF80E792E02150804090404A -S1130280E1F700C0000060E070E08AE090E0DCDEAE -S11302902FEF80E792E0215080409040E1F700C0CA -S11302A00000C15011F72FEF80E792E02150804009 -S11302B09040E1F700C000002FEF80E792E021506A -S11302C080409040E1F700C000002FEF80E792E00B -S11302D0215080409040E1F700C000002FEF80E7FC -S11302E092E0215080409040E1F700C000002FEFE1 -S11302F080E792E0215080409040E1F700C0000088 -S1130300C5E02FEF80E792E0215080409040E1F774 -S113031000C0000061E070E084E090E095DE2FEF23 -S113032080E792E0215080409040E1F700C0000057 -S113033060E070E084E090E087DEC15011F72FEFB9 -S113034080E792E0215080409040E1F700C0000037 -S11303502FEF80E792E0215080409040E1F700C009 -S113036000002FEF80E792E0215080409040E1F7B9 -S113037000C000002FEF80E792E0215080409040C1 -S1130380E1F700C000002FEF80E792E021508040A9 -S11303909040E1F700C00000CF9108958FE387BB40 -S11103A081BB56DFDFDE5FDFFECFF894FFCFB8 -S9030000FC diff --git a/Leuchtklotz/Leuchtklotz/Debug/Makefile b/Leuchtklotz/Leuchtklotz/Debug/Makefile deleted file mode 100644 index 4f7d9b6..0000000 --- a/Leuchtklotz/Leuchtklotz/Debug/Makefile +++ /dev/null @@ -1,126 +0,0 @@ -################################################################################ -# Automatically-generated file. Do not edit! -################################################################################ - -SHELL := cmd.exe -RM := rm -rf - -USER_OBJS := - -LIBS := -PROJ := - -O_SRCS := -C_SRCS := -S_SRCS := -S_UPPER_SRCS := -OBJ_SRCS := -ASM_SRCS := -PREPROCESSING_SRCS := -OBJS := -OBJS_AS_ARGS := -C_DEPS := -C_DEPS_AS_ARGS := -EXECUTABLES := -OUTPUT_FILE_PATH := -OUTPUT_FILE_PATH_AS_ARGS := -AVR_APP_PATH :=$$$AVR_APP_PATH$$$ -QUOTE := " -ADDITIONAL_DEPENDENCIES:= -OUTPUT_FILE_DEP:= -LIB_DEP:= - -# Every subdirectory with source files must be described here -SUBDIRS := - - -# Add inputs and outputs from these tool invocations to the build variables -C_SRCS += \ -../Leuchtklotz.c - - -PREPROCESSING_SRCS += - - -ASM_SRCS += - - -OBJS += \ -Leuchtklotz.o - - -OBJS_AS_ARGS += \ -Leuchtklotz.o - - -C_DEPS += \ -Leuchtklotz.d - - -C_DEPS_AS_ARGS += \ -Leuchtklotz.d - - -OUTPUT_FILE_PATH +=Leuchtklotz.elf - -OUTPUT_FILE_PATH_AS_ARGS +=Leuchtklotz.elf - -ADDITIONAL_DEPENDENCIES:= - -OUTPUT_FILE_DEP:= ./makedep.mk - -LIB_DEP+= - -# AVR32/GNU C Compiler - - - -./%.o: .././%.c - @echo Building file: $< - @echo Invoking: AVR/GNU C Compiler : - $(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.876\avr8-gnu-toolchain\bin\avr-gcc.exe$(QUOTE) -funsigned-char -funsigned-bitfields -O1 -ffunction-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=attiny2313a -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o"$@" "$<" - @echo Finished building: $< - - - -# AVR32/GNU Preprocessing Assembler - - - -# AVR32/GNU Assembler - - - - -ifneq ($(MAKECMDGOALS),clean) -ifneq ($(strip $(C_DEPS)),) --include $(C_DEPS) -endif -endif - -# Add inputs and outputs from these tool invocations to the build variables - -# All Target -all: $(OUTPUT_FILE_PATH) $(ADDITIONAL_DEPENDENCIES) - -$(OUTPUT_FILE_PATH): $(OBJS) $(USER_OBJS) $(OUTPUT_FILE_DEP) $(LIB_DEP) - @echo Building target: $@ - @echo Invoking: AVR/GNU Linker : - $(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.876\avr8-gnu-toolchain\bin\avr-gcc.exe$(QUOTE) -o$(OUTPUT_FILE_PATH_AS_ARGS) $(OBJS_AS_ARGS) $(USER_OBJS) $(LIBS) -Wl,-Map="Leuchtklotz.map" -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--gc-sections -mmcu=attiny2313a - @echo Finished building target: $@ - "C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.876\avr8-gnu-toolchain\bin\avr-objcopy.exe" -O ihex -R .eeprom -R .fuse -R .lock -R .signature "Leuchtklotz.elf" "Leuchtklotz.hex" - "C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.876\avr8-gnu-toolchain\bin\avr-objcopy.exe" -j .eeprom --set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings -O ihex "Leuchtklotz.elf" "Leuchtklotz.eep" || exit 0 - "C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.876\avr8-gnu-toolchain\bin\avr-objdump.exe" -h -S "Leuchtklotz.elf" > "Leuchtklotz.lss" - "C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.876\avr8-gnu-toolchain\bin\avr-objcopy.exe" -O srec -R .eeprom -R .fuse -R .lock -R .signature "Leuchtklotz.elf" "Leuchtklotz.srec" - "C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.876\avr8-gnu-toolchain\bin\avr-size.exe" "Leuchtklotz.elf" - - - - - - -# Other Targets -clean: - -$(RM) $(OBJS_AS_ARGS)$(C_DEPS_AS_ARGS) $(EXECUTABLES) - rm -rf "Leuchtklotz.elf" "Leuchtklotz.a" "Leuchtklotz.hex" "Leuchtklotz.lss" "Leuchtklotz.eep" "Leuchtklotz.map" "Leuchtklotz.srec" - \ No newline at end of file diff --git a/Leuchtklotz/Leuchtklotz/Leuchtklotz.c b/Leuchtklotz/Leuchtklotz/Leuchtklotz.c index b69ae98..87e9e36 100644 --- a/Leuchtklotz/Leuchtklotz/Leuchtklotz.c +++ b/Leuchtklotz/Leuchtklotz/Leuchtklotz.c @@ -11,14 +11,14 @@ #define LED3 0b00000100 #define LED4 0b00001000 -#define BLACK 0 0b0000 -#define RED 1 0b0001 -#define GREEN 2 0b0010 -#define YELLOW 3 0b0011 -#define BLUE 4 0b0100 -#define MAGENTA 5 0b0101 -#define CYAN 6 0b0110 -#define WHITE 7 0b0111 +#define BLACK 0 //0b0000 +#define RED 1 //0b0001 +#define GREEN 2 //0b0010 +#define YELLOW 3 //0b0011 +#define BLUE 4 //0b0100 +#define MAGENTA 5 //0b0101 +#define CYAN 6 //0b0110 +#define WHITE 7 //0b0111 #include #include @@ -243,7 +243,7 @@ void programHacker(void) _delay_ms(1500); ledg(LED1 | LED2 | LED3 | LED4, WHITE); _delay_ms(3000); - while(1) { + //while(1) { ledg(LED1 | LED2 | LED3 | LED4, YELLOW); _delay_ms(3000); @@ -271,7 +271,7 @@ void programHacker(void) } ledg(LED1 | LED2 | LED3 | LED4, RED); _delay_ms(2500); - } + //} } void programGreenBlink(void) @@ -323,11 +323,11 @@ int main(void) while(1) { programWarnBlink(); - //programColorFull(); - //programRainbow(10); - //programWarnYellow(); - //programCop(); - //programHacker(); + programColorFull(); + programRainbow(10); + programWarnYellow(); + programCop(); + programHacker(); //programGreenBlink(); } } diff --git a/Leuchtklotz/Leuchtklotz/Leuchtklotz.componentinfo.xml b/Leuchtklotz/Leuchtklotz/Leuchtklotz.componentinfo.xml new file mode 100644 index 0000000..55ac23b --- /dev/null +++ b/Leuchtklotz/Leuchtklotz/Leuchtklotz.componentinfo.xml @@ -0,0 +1,86 @@ + + + + + + + Device + Startup + + + Atmel + 1.5.0 + E:/Programme\AtmelStudio\7.0\Packs + + + + + E:/Programme\AtmelStudio\7.0\Packs\Atmel\ATtiny_DFP\1.5.315\include + + include + C + + + include + + + + + E:/Programme\AtmelStudio\7.0\Packs\Atmel\ATtiny_DFP\1.5.315\include\avr\iotn2313a.h + + header + C + HrAHvYPQxOsA+HxSAElfhw== + + include/avr/iotn2313a.h + + + + + E:/Programme\AtmelStudio\7.0\Packs\Atmel\ATtiny_DFP\1.5.315\templates\main.c + template + source + C Exe + KjvOcFWd++tbnsEMfVPd/w== + + templates/main.c + Main file (.c) + + + + E:/Programme\AtmelStudio\7.0\Packs\Atmel\ATtiny_DFP\1.5.315\templates\main.cpp + template + source + C Exe + mkKaE95TOoATsuBGv6jmxg== + + templates/main.cpp + Main file (.cpp) + + + + E:/Programme\AtmelStudio\7.0\Packs\Atmel\ATtiny_DFP\1.5.315\gcc\dev\attiny2313a + + libraryPrefix + GCC + + + gcc/dev/attiny2313a + + + + + ATtiny_DFP + E:/Programme/AtmelStudio/7.0/Packs/Atmel/ATtiny_DFP/1.5.315/Atmel.ATtiny_DFP.pdsc + 1.5.315 + true + ATtiny2313A + + + + Resolved + Fixed + true + + + \ No newline at end of file diff --git a/Leuchtklotz/Leuchtklotz/Leuchtklotz.cproj b/Leuchtklotz/Leuchtklotz/Leuchtklotz.cproj index d8ffeeb..dc0624b 100644 --- a/Leuchtklotz/Leuchtklotz/Leuchtklotz.cproj +++ b/Leuchtklotz/Leuchtklotz/Leuchtklotz.cproj @@ -2,7 +2,7 @@ 2.0 - 6.1 + 7.0 com.Atmel.AVRGCC8.C {32847ec0-451a-4380-b515-f7d3c3505568} ATtiny2313A @@ -60,61 +60,91 @@ - - - - - - - - + + + + + + + + + true true 0x20000000 + + true + 2 + 0 + - - True - True - True - True - True - True - Optimize for size (-Os) - True - True - True - - - libm - - - + + -mmcu=attiny2313a -B "%24(PackRepoDir)\Atmel\ATtiny_DFP\1.5.315\gcc\dev\attiny2313a" + True + True + True + True + False + True + True + + + %24(PackRepoDir)\Atmel\ATtiny_DFP\1.5.315\include + + + Optimize for size (-Os) + True + True + True + + + libm + + + + + %24(PackRepoDir)\Atmel\ATtiny_DFP\1.5.315\include + + + - - True - True - True - True - True - True - Optimize (-O1) - True - True - Default (-g2) - True - - - libm - - - Default (-Wa,-g) - + + -mmcu=attiny2313a -B "%24(PackRepoDir)\Atmel\ATtiny_DFP\1.5.315\gcc\dev\attiny2313a" + True + True + True + True + False + True + True + + + %24(PackRepoDir)\Atmel\ATtiny_DFP\1.5.315\include + + + Optimize for size (-Os) + True + True + Default (-g2) + True + + + libm + + + + + %24(PackRepoDir)\Atmel\ATtiny_DFP\1.5.315\include + + + Default (-Wa,-g) + diff --git a/Leuchtklotz/Leuchtklotz/Leuchtklotz_6_1.cproj b/Leuchtklotz/Leuchtklotz/Leuchtklotz_6_1.cproj new file mode 100644 index 0000000..d8ffeeb --- /dev/null +++ b/Leuchtklotz/Leuchtklotz/Leuchtklotz_6_1.cproj @@ -0,0 +1,126 @@ + + + + 2.0 + 6.1 + com.Atmel.AVRGCC8.C + {32847ec0-451a-4380-b515-f7d3c3505568} + ATtiny2313A + none + Executable + C + $(MSBuildProjectName) + .elf + $(MSBuildProjectDirectory)\$(Configuration) + Leuchtklotz + Leuchtklotz + Leuchtklotz + Native + true + false + exception_table + 0 + 2.11.1 + ISP + com.atmel.avrdbg.tool.ispmk2 + + com.atmel.avrdbg.tool.simulator + Simulator + + + + 127.0.0.1 + 10872 + False + + + + com.atmel.avrdbg.tool.ispmk2 + AVRISP mkII + 0000000000000 + + 127.0.0.1 + 4525 + False + + + ISP + + 249000 + 1000000 + 250000 + false + false + 0 + 0 + 0 + 0 + + + + + + + + + + + + + + + true + true + 0x20000000 + + + + + True + True + True + True + True + True + Optimize for size (-Os) + True + True + True + + + libm + + + + + + + + + True + True + True + True + True + True + Optimize (-O1) + True + True + Default (-g2) + True + + + libm + + + Default (-Wa,-g) + + + + + + compile + + + + \ No newline at end of file diff --git a/Leuchtklotz/Leuchtklotz_6_1.atsln b/Leuchtklotz/Leuchtklotz_6_1.atsln new file mode 100644 index 0000000..cbaef34 --- /dev/null +++ b/Leuchtklotz/Leuchtklotz_6_1.atsln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Atmel Studio Solution File, Format Version 11.00 +Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "Leuchtklotz", "Leuchtklotz\Leuchtklotz_6_1.cproj", "{32847EC0-451A-4380-B515-F7D3C3505568}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|AVR = Debug|AVR + Release|AVR = Release|AVR + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {32847EC0-451A-4380-B515-F7D3C3505568}.Debug|AVR.ActiveCfg = Debug|AVR + {32847EC0-451A-4380-B515-F7D3C3505568}.Debug|AVR.Build.0 = Debug|AVR + {32847EC0-451A-4380-B515-F7D3C3505568}.Release|AVR.ActiveCfg = Release|AVR + {32847EC0-451A-4380-B515-F7D3C3505568}.Release|AVR.Build.0 = Release|AVR + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal