diverse changes, cleanup
This commit is contained in:
parent
27f21e510f
commit
a2046bdb4b
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Leuchtklotz/Leuchtklotz/Debug
|
||||||
|
Leuchtklotz/.vs/
|
||||||
@ -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:
|
|
||||||
Binary file not shown.
@ -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
|
|
||||||
@ -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 <main>
|
|
||||||
44: b2 c1 rjmp .+868 ; 0x3aa <_exit>
|
|
||||||
|
|
||||||
00000046 <__bad_interrupt>:
|
|
||||||
46: dc cf rjmp .-72 ; 0x0 <__vectors>
|
|
||||||
|
|
||||||
00000048 <ledg>:
|
|
||||||
#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 <ledg+0x14>
|
|
||||||
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 <ledg+0x32>
|
|
||||||
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 <ledg+0x42>
|
|
||||||
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 <ledg+0x5e>
|
|
||||||
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 <fade>:
|
|
||||||
_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 <ledg>
|
|
||||||
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 <ledg>
|
|
||||||
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 <fade+0x36>
|
|
||||||
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 <initleds>:
|
|
||||||
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 <ledg>
|
|
||||||
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 <initleds+0xe>
|
|
||||||
176: 00 c0 rjmp .+0 ; 0x178 <initleds+0x14>
|
|
||||||
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 <ledg>
|
|
||||||
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 <initleds+0x26>
|
|
||||||
192: 00 c0 rjmp .+0 ; 0x194 <initleds+0x30>
|
|
||||||
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 <ledg>
|
|
||||||
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 <initleds+0x40>
|
|
||||||
1a8: 00 c0 rjmp .+0 ; 0x1aa <initleds+0x46>
|
|
||||||
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 <ledg>
|
|
||||||
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 <initleds+0x58>
|
|
||||||
1c4: 00 c0 rjmp .+0 ; 0x1c6 <initleds+0x62>
|
|
||||||
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 <ledg>
|
|
||||||
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 <initleds+0x72>
|
|
||||||
1da: 00 c0 rjmp .+0 ; 0x1dc <initleds+0x78>
|
|
||||||
_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 <ledg>
|
|
||||||
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 <initleds+0x8a>
|
|
||||||
1f6: 00 c0 rjmp .+0 ; 0x1f8 <initleds+0x94>
|
|
||||||
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 <ledg>
|
|
||||||
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 <initleds+0xa6>
|
|
||||||
212: 00 c0 rjmp .+0 ; 0x214 <initleds+0xb0>
|
|
||||||
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 <ledg>
|
|
||||||
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 <initleds+0xc2>
|
|
||||||
22e: 00 c0 rjmp .+0 ; 0x230 <initleds+0xcc>
|
|
||||||
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 <fade>
|
|
||||||
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 <ledg>
|
|
||||||
24e: 08 95 ret
|
|
||||||
|
|
||||||
00000250 <initschalter>:
|
|
||||||
rgbl(LED1 | LED2 | LED3 | LED4, rgb_r, rgb_g, rgb_b);
|
|
||||||
}
|
|
||||||
|
|
||||||
void initschalter(void)
|
|
||||||
{
|
|
||||||
PORTB |= ((1<<PINB7) | (1<<PINB6));
|
|
||||||
250: 88 b3 in r24, 0x18 ; 24
|
|
||||||
252: 80 6c ori r24, 0xC0 ; 192
|
|
||||||
254: 88 bb out 0x18, r24 ; 24
|
|
||||||
PORTD |= (1<<PIND6);
|
|
||||||
256: 96 9a sbi 0x12, 6 ; 18
|
|
||||||
258: 8f e4 ldi r24, 0x4F ; 79
|
|
||||||
25a: 93 ec ldi r25, 0xC3 ; 195
|
|
||||||
25c: 01 97 sbiw r24, 0x01 ; 1
|
|
||||||
25e: f1 f7 brne .-4 ; 0x25c <initschalter+0xc>
|
|
||||||
260: 00 c0 rjmp .+0 ; 0x262 <initschalter+0x12>
|
|
||||||
262: 00 00 nop
|
|
||||||
264: 08 95 ret
|
|
||||||
|
|
||||||
00000266 <programWarnBlink>:
|
|
||||||
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<blinks;i++) {
|
|
||||||
ledg(LED2 | LED4, YELLOW);
|
|
||||||
26a: 63 e0 ldi r22, 0x03 ; 3
|
|
||||||
26c: 70 e0 ldi r23, 0x00 ; 0
|
|
||||||
26e: 8a e0 ldi r24, 0x0A ; 10
|
|
||||||
270: 90 e0 ldi r25, 0x00 ; 0
|
|
||||||
272: ea de rcall .-556 ; 0x48 <ledg>
|
|
||||||
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 <programWarnBlink+0x14>
|
|
||||||
282: 00 c0 rjmp .+0 ; 0x284 <programWarnBlink+0x1e>
|
|
||||||
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 <ledg>
|
|
||||||
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 <programWarnBlink+0x30>
|
|
||||||
29e: 00 c0 rjmp .+0 ; 0x2a0 <programWarnBlink+0x3a>
|
|
||||||
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<blinks;i++) {
|
|
||||||
2a4: 11 f7 brne .-60 ; 0x26a <programWarnBlink+0x4>
|
|
||||||
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 <programWarnBlink+0x46>
|
|
||||||
2b4: 00 c0 rjmp .+0 ; 0x2b6 <programWarnBlink+0x50>
|
|
||||||
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 <programWarnBlink+0x58>
|
|
||||||
2c6: 00 c0 rjmp .+0 ; 0x2c8 <programWarnBlink+0x62>
|
|
||||||
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 <programWarnBlink+0x6a>
|
|
||||||
2d8: 00 c0 rjmp .+0 ; 0x2da <programWarnBlink+0x74>
|
|
||||||
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 <programWarnBlink+0x7c>
|
|
||||||
2ea: 00 c0 rjmp .+0 ; 0x2ec <programWarnBlink+0x86>
|
|
||||||
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 <programWarnBlink+0x8e>
|
|
||||||
2fc: 00 c0 rjmp .+0 ; 0x2fe <programWarnBlink+0x98>
|
|
||||||
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 <programWarnBlink+0xa2>
|
|
||||||
310: 00 c0 rjmp .+0 ; 0x312 <programWarnBlink+0xac>
|
|
||||||
312: 00 00 nop
|
|
||||||
for (uint8_t i=0;i<waits;i++) {
|
|
||||||
_delay_ms(WAIT_WARN_BLINK);
|
|
||||||
}
|
|
||||||
for(uint8_t i=0;i<blinks;i++) {
|
|
||||||
_delay_ms(WAIT_WARN_BLINK);
|
|
||||||
ledg(LED3, RED);
|
|
||||||
314: 61 e0 ldi r22, 0x01 ; 1
|
|
||||||
316: 70 e0 ldi r23, 0x00 ; 0
|
|
||||||
318: 84 e0 ldi r24, 0x04 ; 4
|
|
||||||
31a: 90 e0 ldi r25, 0x00 ; 0
|
|
||||||
31c: 95 de rcall .-726 ; 0x48 <ledg>
|
|
||||||
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 <programWarnBlink+0xbe>
|
|
||||||
32c: 00 c0 rjmp .+0 ; 0x32e <programWarnBlink+0xc8>
|
|
||||||
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 <ledg>
|
|
||||||
33a: c1 50 subi r28, 0x01 ; 1
|
|
||||||
_delay_ms(WAIT_WARN_BLINK);
|
|
||||||
}
|
|
||||||
for (uint8_t i=0;i<waits;i++) {
|
|
||||||
_delay_ms(WAIT_WARN_BLINK);
|
|
||||||
}
|
|
||||||
for(uint8_t i=0;i<blinks;i++) {
|
|
||||||
33c: 11 f7 brne .-60 ; 0x302 <programWarnBlink+0x9c>
|
|
||||||
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 <programWarnBlink+0xde>
|
|
||||||
34c: 00 c0 rjmp .+0 ; 0x34e <programWarnBlink+0xe8>
|
|
||||||
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 <programWarnBlink+0xf0>
|
|
||||||
35e: 00 c0 rjmp .+0 ; 0x360 <programWarnBlink+0xfa>
|
|
||||||
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 <programWarnBlink+0x102>
|
|
||||||
370: 00 c0 rjmp .+0 ; 0x372 <programWarnBlink+0x10c>
|
|
||||||
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 <programWarnBlink+0x114>
|
|
||||||
382: 00 c0 rjmp .+0 ; 0x384 <programWarnBlink+0x11e>
|
|
||||||
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 <programWarnBlink+0x126>
|
|
||||||
394: 00 c0 rjmp .+0 ; 0x396 <programWarnBlink+0x130>
|
|
||||||
396: 00 00 nop
|
|
||||||
ledg(LED3, BLACK);
|
|
||||||
}
|
|
||||||
for (uint8_t i=0;i<waits;i++) {
|
|
||||||
_delay_ms(WAIT_WARN_BLINK);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
398: cf 91 pop r28
|
|
||||||
39a: 08 95 ret
|
|
||||||
|
|
||||||
0000039c <main>:
|
|
||||||
_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 <initschalter>
|
|
||||||
initleds();
|
|
||||||
3a4: df de rcall .-578 ; 0x164 <initleds>
|
|
||||||
while(1)
|
|
||||||
{
|
|
||||||
programWarnBlink();
|
|
||||||
3a6: 5f df rcall .-322 ; 0x266 <programWarnBlink>
|
|
||||||
3a8: fe cf rjmp .-4 ; 0x3a6 <main+0xa>
|
|
||||||
|
|
||||||
000003aa <_exit>:
|
|
||||||
3aa: f8 94 cli
|
|
||||||
|
|
||||||
000003ac <__stop_program>:
|
|
||||||
3ac: ff cf rjmp .-2 ; 0x3ac <__stop_program>
|
|
||||||
@ -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
|
|
||||||
@ -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
|
|
||||||
@ -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"
|
|
||||||
|
|
||||||
@ -11,14 +11,14 @@
|
|||||||
#define LED3 0b00000100
|
#define LED3 0b00000100
|
||||||
#define LED4 0b00001000
|
#define LED4 0b00001000
|
||||||
|
|
||||||
#define BLACK 0 0b0000
|
#define BLACK 0 //0b0000
|
||||||
#define RED 1 0b0001
|
#define RED 1 //0b0001
|
||||||
#define GREEN 2 0b0010
|
#define GREEN 2 //0b0010
|
||||||
#define YELLOW 3 0b0011
|
#define YELLOW 3 //0b0011
|
||||||
#define BLUE 4 0b0100
|
#define BLUE 4 //0b0100
|
||||||
#define MAGENTA 5 0b0101
|
#define MAGENTA 5 //0b0101
|
||||||
#define CYAN 6 0b0110
|
#define CYAN 6 //0b0110
|
||||||
#define WHITE 7 0b0111
|
#define WHITE 7 //0b0111
|
||||||
|
|
||||||
#include <avr/io.h>
|
#include <avr/io.h>
|
||||||
#include <util/delay.h>
|
#include <util/delay.h>
|
||||||
@ -243,7 +243,7 @@ void programHacker(void)
|
|||||||
_delay_ms(1500);
|
_delay_ms(1500);
|
||||||
ledg(LED1 | LED2 | LED3 | LED4, WHITE);
|
ledg(LED1 | LED2 | LED3 | LED4, WHITE);
|
||||||
_delay_ms(3000);
|
_delay_ms(3000);
|
||||||
while(1) {
|
//while(1) {
|
||||||
|
|
||||||
ledg(LED1 | LED2 | LED3 | LED4, YELLOW);
|
ledg(LED1 | LED2 | LED3 | LED4, YELLOW);
|
||||||
_delay_ms(3000);
|
_delay_ms(3000);
|
||||||
@ -271,7 +271,7 @@ void programHacker(void)
|
|||||||
}
|
}
|
||||||
ledg(LED1 | LED2 | LED3 | LED4, RED);
|
ledg(LED1 | LED2 | LED3 | LED4, RED);
|
||||||
_delay_ms(2500);
|
_delay_ms(2500);
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
void programGreenBlink(void)
|
void programGreenBlink(void)
|
||||||
@ -323,11 +323,11 @@ int main(void)
|
|||||||
while(1)
|
while(1)
|
||||||
{
|
{
|
||||||
programWarnBlink();
|
programWarnBlink();
|
||||||
//programColorFull();
|
programColorFull();
|
||||||
//programRainbow(10);
|
programRainbow(10);
|
||||||
//programWarnYellow();
|
programWarnYellow();
|
||||||
//programCop();
|
programCop();
|
||||||
//programHacker();
|
programHacker();
|
||||||
//programGreenBlink();
|
//programGreenBlink();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
86
Leuchtklotz/Leuchtklotz/Leuchtklotz.componentinfo.xml
Normal file
86
Leuchtklotz/Leuchtklotz/Leuchtklotz.componentinfo.xml
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Store xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="AtmelPackComponentManagement">
|
||||||
|
<ProjectComponents>
|
||||||
|
<ProjectComponent z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
|
||||||
|
<CApiVersion></CApiVersion>
|
||||||
|
<CBundle></CBundle>
|
||||||
|
<CClass>Device</CClass>
|
||||||
|
<CGroup>Startup</CGroup>
|
||||||
|
<CSub></CSub>
|
||||||
|
<CVariant></CVariant>
|
||||||
|
<CVendor>Atmel</CVendor>
|
||||||
|
<CVersion>1.5.0</CVersion>
|
||||||
|
<DefaultRepoPath>E:/Programme\AtmelStudio\7.0\Packs</DefaultRepoPath>
|
||||||
|
<DependentComponents xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
|
||||||
|
<Description></Description>
|
||||||
|
<Files xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
|
||||||
|
<d4p1:anyType i:type="FileInfo">
|
||||||
|
<AbsolutePath>E:/Programme\AtmelStudio\7.0\Packs\Atmel\ATtiny_DFP\1.5.315\include</AbsolutePath>
|
||||||
|
<Attribute></Attribute>
|
||||||
|
<Category>include</Category>
|
||||||
|
<Condition>C</Condition>
|
||||||
|
<FileContentHash i:nil="true" />
|
||||||
|
<FileVersion></FileVersion>
|
||||||
|
<Name>include</Name>
|
||||||
|
<SelectString></SelectString>
|
||||||
|
<SourcePath></SourcePath>
|
||||||
|
</d4p1:anyType>
|
||||||
|
<d4p1:anyType i:type="FileInfo">
|
||||||
|
<AbsolutePath>E:/Programme\AtmelStudio\7.0\Packs\Atmel\ATtiny_DFP\1.5.315\include\avr\iotn2313a.h</AbsolutePath>
|
||||||
|
<Attribute></Attribute>
|
||||||
|
<Category>header</Category>
|
||||||
|
<Condition>C</Condition>
|
||||||
|
<FileContentHash>HrAHvYPQxOsA+HxSAElfhw==</FileContentHash>
|
||||||
|
<FileVersion></FileVersion>
|
||||||
|
<Name>include/avr/iotn2313a.h</Name>
|
||||||
|
<SelectString></SelectString>
|
||||||
|
<SourcePath></SourcePath>
|
||||||
|
</d4p1:anyType>
|
||||||
|
<d4p1:anyType i:type="FileInfo">
|
||||||
|
<AbsolutePath>E:/Programme\AtmelStudio\7.0\Packs\Atmel\ATtiny_DFP\1.5.315\templates\main.c</AbsolutePath>
|
||||||
|
<Attribute>template</Attribute>
|
||||||
|
<Category>source</Category>
|
||||||
|
<Condition>C Exe</Condition>
|
||||||
|
<FileContentHash>KjvOcFWd++tbnsEMfVPd/w==</FileContentHash>
|
||||||
|
<FileVersion></FileVersion>
|
||||||
|
<Name>templates/main.c</Name>
|
||||||
|
<SelectString>Main file (.c)</SelectString>
|
||||||
|
<SourcePath></SourcePath>
|
||||||
|
</d4p1:anyType>
|
||||||
|
<d4p1:anyType i:type="FileInfo">
|
||||||
|
<AbsolutePath>E:/Programme\AtmelStudio\7.0\Packs\Atmel\ATtiny_DFP\1.5.315\templates\main.cpp</AbsolutePath>
|
||||||
|
<Attribute>template</Attribute>
|
||||||
|
<Category>source</Category>
|
||||||
|
<Condition>C Exe</Condition>
|
||||||
|
<FileContentHash>mkKaE95TOoATsuBGv6jmxg==</FileContentHash>
|
||||||
|
<FileVersion></FileVersion>
|
||||||
|
<Name>templates/main.cpp</Name>
|
||||||
|
<SelectString>Main file (.cpp)</SelectString>
|
||||||
|
<SourcePath></SourcePath>
|
||||||
|
</d4p1:anyType>
|
||||||
|
<d4p1:anyType i:type="FileInfo">
|
||||||
|
<AbsolutePath>E:/Programme\AtmelStudio\7.0\Packs\Atmel\ATtiny_DFP\1.5.315\gcc\dev\attiny2313a</AbsolutePath>
|
||||||
|
<Attribute></Attribute>
|
||||||
|
<Category>libraryPrefix</Category>
|
||||||
|
<Condition>GCC</Condition>
|
||||||
|
<FileContentHash i:nil="true" />
|
||||||
|
<FileVersion></FileVersion>
|
||||||
|
<Name>gcc/dev/attiny2313a</Name>
|
||||||
|
<SelectString></SelectString>
|
||||||
|
<SourcePath></SourcePath>
|
||||||
|
</d4p1:anyType>
|
||||||
|
</Files>
|
||||||
|
<PackName>ATtiny_DFP</PackName>
|
||||||
|
<PackPath>E:/Programme/AtmelStudio/7.0/Packs/Atmel/ATtiny_DFP/1.5.315/Atmel.ATtiny_DFP.pdsc</PackPath>
|
||||||
|
<PackVersion>1.5.315</PackVersion>
|
||||||
|
<PresentInProject>true</PresentInProject>
|
||||||
|
<ReferenceConditionId>ATtiny2313A</ReferenceConditionId>
|
||||||
|
<RteComponents xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
|
||||||
|
<d4p1:string></d4p1:string>
|
||||||
|
</RteComponents>
|
||||||
|
<Status>Resolved</Status>
|
||||||
|
<VersionMode>Fixed</VersionMode>
|
||||||
|
<IsComponentInAtProject>true</IsComponentInAtProject>
|
||||||
|
</ProjectComponent>
|
||||||
|
</ProjectComponents>
|
||||||
|
</Store>
|
||||||
@ -2,7 +2,7 @@
|
|||||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
<ProjectVersion>6.1</ProjectVersion>
|
<ProjectVersion>7.0</ProjectVersion>
|
||||||
<ToolchainName>com.Atmel.AVRGCC8.C</ToolchainName>
|
<ToolchainName>com.Atmel.AVRGCC8.C</ToolchainName>
|
||||||
<ProjectGuid>{32847ec0-451a-4380-b515-f7d3c3505568}</ProjectGuid>
|
<ProjectGuid>{32847ec0-451a-4380-b515-f7d3c3505568}</ProjectGuid>
|
||||||
<avrdevice>ATtiny2313A</avrdevice>
|
<avrdevice>ATtiny2313A</avrdevice>
|
||||||
@ -60,61 +60,91 @@
|
|||||||
</com_atmel_avrdbg_tool_ispmk2>
|
</com_atmel_avrdbg_tool_ispmk2>
|
||||||
<AsfFrameworkConfig>
|
<AsfFrameworkConfig>
|
||||||
<framework-data>
|
<framework-data>
|
||||||
<options />
|
<options />
|
||||||
<configurations />
|
<configurations />
|
||||||
<files />
|
<files />
|
||||||
<documentation help="" />
|
<documentation help="" />
|
||||||
<dependencies>
|
<offline-documentation help="" />
|
||||||
<content-extension eid="atmel.asf" uuidref="Atmel.ASF" version="3.3.0" />
|
<dependencies>
|
||||||
</dependencies>
|
<content-extension eid="atmel.asf" uuidref="Atmel.ASF" version="3.40.0" />
|
||||||
</framework-data>
|
</dependencies>
|
||||||
|
</framework-data>
|
||||||
</AsfFrameworkConfig>
|
</AsfFrameworkConfig>
|
||||||
<CacheFlash>true</CacheFlash>
|
<CacheFlash>true</CacheFlash>
|
||||||
<ProgFlashFromRam>true</ProgFlashFromRam>
|
<ProgFlashFromRam>true</ProgFlashFromRam>
|
||||||
<RamSnippetAddress>0x20000000</RamSnippetAddress>
|
<RamSnippetAddress>0x20000000</RamSnippetAddress>
|
||||||
|
<UncachedRange />
|
||||||
|
<preserveEEPROM>true</preserveEEPROM>
|
||||||
|
<BootSegment>2</BootSegment>
|
||||||
|
<ResetRule>0</ResetRule>
|
||||||
|
<EraseKey />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||||
<ToolchainSettings>
|
<ToolchainSettings>
|
||||||
<AvrGcc xmlns="">
|
<AvrGcc>
|
||||||
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
|
<avrgcc.common.Device>-mmcu=attiny2313a -B "%24(PackRepoDir)\Atmel\ATtiny_DFP\1.5.315\gcc\dev\attiny2313a"</avrgcc.common.Device>
|
||||||
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
|
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
|
||||||
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
|
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
|
||||||
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
|
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
|
||||||
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
|
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
|
||||||
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
|
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures>
|
||||||
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level>
|
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
|
||||||
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
|
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
|
||||||
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
|
<avrgcc.compiler.directories.IncludePaths>
|
||||||
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
|
<ListValues>
|
||||||
<avrgcc.linker.libraries.Libraries>
|
<Value>%24(PackRepoDir)\Atmel\ATtiny_DFP\1.5.315\include</Value>
|
||||||
<ListValues>
|
</ListValues>
|
||||||
<Value>libm</Value>
|
</avrgcc.compiler.directories.IncludePaths>
|
||||||
</ListValues>
|
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level>
|
||||||
</avrgcc.linker.libraries.Libraries>
|
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
|
||||||
</AvrGcc>
|
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
|
||||||
|
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
|
||||||
|
<avrgcc.linker.libraries.Libraries>
|
||||||
|
<ListValues>
|
||||||
|
<Value>libm</Value>
|
||||||
|
</ListValues>
|
||||||
|
</avrgcc.linker.libraries.Libraries>
|
||||||
|
<avrgcc.assembler.general.IncludePaths>
|
||||||
|
<ListValues>
|
||||||
|
<Value>%24(PackRepoDir)\Atmel\ATtiny_DFP\1.5.315\include</Value>
|
||||||
|
</ListValues>
|
||||||
|
</avrgcc.assembler.general.IncludePaths>
|
||||||
|
</AvrGcc>
|
||||||
</ToolchainSettings>
|
</ToolchainSettings>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||||
<ToolchainSettings>
|
<ToolchainSettings>
|
||||||
<AvrGcc xmlns="">
|
<AvrGcc>
|
||||||
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
|
<avrgcc.common.Device>-mmcu=attiny2313a -B "%24(PackRepoDir)\Atmel\ATtiny_DFP\1.5.315\gcc\dev\attiny2313a"</avrgcc.common.Device>
|
||||||
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
|
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
|
||||||
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
|
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
|
||||||
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
|
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
|
||||||
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
|
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
|
||||||
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
|
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures>
|
||||||
<avrgcc.compiler.optimization.level>Optimize (-O1)</avrgcc.compiler.optimization.level>
|
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
|
||||||
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
|
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
|
||||||
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
|
<avrgcc.compiler.directories.IncludePaths>
|
||||||
<avrgcc.compiler.optimization.DebugLevel>Default (-g2)</avrgcc.compiler.optimization.DebugLevel>
|
<ListValues>
|
||||||
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
|
<Value>%24(PackRepoDir)\Atmel\ATtiny_DFP\1.5.315\include</Value>
|
||||||
<avrgcc.linker.libraries.Libraries>
|
</ListValues>
|
||||||
<ListValues>
|
</avrgcc.compiler.directories.IncludePaths>
|
||||||
<Value>libm</Value>
|
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level>
|
||||||
</ListValues>
|
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
|
||||||
</avrgcc.linker.libraries.Libraries>
|
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
|
||||||
<avrgcc.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcc.assembler.debugging.DebugLevel>
|
<avrgcc.compiler.optimization.DebugLevel>Default (-g2)</avrgcc.compiler.optimization.DebugLevel>
|
||||||
</AvrGcc>
|
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
|
||||||
|
<avrgcc.linker.libraries.Libraries>
|
||||||
|
<ListValues>
|
||||||
|
<Value>libm</Value>
|
||||||
|
</ListValues>
|
||||||
|
</avrgcc.linker.libraries.Libraries>
|
||||||
|
<avrgcc.assembler.general.IncludePaths>
|
||||||
|
<ListValues>
|
||||||
|
<Value>%24(PackRepoDir)\Atmel\ATtiny_DFP\1.5.315\include</Value>
|
||||||
|
</ListValues>
|
||||||
|
</avrgcc.assembler.general.IncludePaths>
|
||||||
|
<avrgcc.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcc.assembler.debugging.DebugLevel>
|
||||||
|
</AvrGcc>
|
||||||
</ToolchainSettings>
|
</ToolchainSettings>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
126
Leuchtklotz/Leuchtklotz/Leuchtklotz_6_1.cproj
Normal file
126
Leuchtklotz/Leuchtklotz/Leuchtklotz_6_1.cproj
Normal file
@ -0,0 +1,126 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
|
<ProjectVersion>6.1</ProjectVersion>
|
||||||
|
<ToolchainName>com.Atmel.AVRGCC8.C</ToolchainName>
|
||||||
|
<ProjectGuid>{32847ec0-451a-4380-b515-f7d3c3505568}</ProjectGuid>
|
||||||
|
<avrdevice>ATtiny2313A</avrdevice>
|
||||||
|
<avrdeviceseries>none</avrdeviceseries>
|
||||||
|
<OutputType>Executable</OutputType>
|
||||||
|
<Language>C</Language>
|
||||||
|
<OutputFileName>$(MSBuildProjectName)</OutputFileName>
|
||||||
|
<OutputFileExtension>.elf</OutputFileExtension>
|
||||||
|
<OutputDirectory>$(MSBuildProjectDirectory)\$(Configuration)</OutputDirectory>
|
||||||
|
<AssemblyName>Leuchtklotz</AssemblyName>
|
||||||
|
<Name>Leuchtklotz</Name>
|
||||||
|
<RootNamespace>Leuchtklotz</RootNamespace>
|
||||||
|
<ToolchainFlavour>Native</ToolchainFlavour>
|
||||||
|
<KeepTimersRunning>true</KeepTimersRunning>
|
||||||
|
<OverrideVtor>false</OverrideVtor>
|
||||||
|
<OverrideVtorValue>exception_table</OverrideVtorValue>
|
||||||
|
<eraseonlaunchrule>0</eraseonlaunchrule>
|
||||||
|
<AsfVersion>2.11.1</AsfVersion>
|
||||||
|
<avrtoolinterface>ISP</avrtoolinterface>
|
||||||
|
<avrtool>com.atmel.avrdbg.tool.ispmk2</avrtool>
|
||||||
|
<com_atmel_avrdbg_tool_simulator>
|
||||||
|
<ToolType>com.atmel.avrdbg.tool.simulator</ToolType>
|
||||||
|
<ToolName>Simulator</ToolName>
|
||||||
|
<ToolNumber>
|
||||||
|
</ToolNumber>
|
||||||
|
<Channel>
|
||||||
|
<host>127.0.0.1</host>
|
||||||
|
<port>10872</port>
|
||||||
|
<ssl>False</ssl>
|
||||||
|
</Channel>
|
||||||
|
</com_atmel_avrdbg_tool_simulator>
|
||||||
|
<com_atmel_avrdbg_tool_ispmk2>
|
||||||
|
<ToolType>com.atmel.avrdbg.tool.ispmk2</ToolType>
|
||||||
|
<ToolName>AVRISP mkII</ToolName>
|
||||||
|
<ToolNumber>0000000000000</ToolNumber>
|
||||||
|
<Channel>
|
||||||
|
<host>127.0.0.1</host>
|
||||||
|
<port>4525</port>
|
||||||
|
<ssl>False</ssl>
|
||||||
|
</Channel>
|
||||||
|
<ToolOptions>
|
||||||
|
<InterfaceName>ISP</InterfaceName>
|
||||||
|
<InterfaceProperties>
|
||||||
|
<JtagDbgClock>249000</JtagDbgClock>
|
||||||
|
<JtagProgClock>1000000</JtagProgClock>
|
||||||
|
<IspClock>250000</IspClock>
|
||||||
|
<JtagInChain>false</JtagInChain>
|
||||||
|
<JtagEnableExtResetOnStartSession>false</JtagEnableExtResetOnStartSession>
|
||||||
|
<JtagDevicesBefore>0</JtagDevicesBefore>
|
||||||
|
<JtagDevicesAfter>0</JtagDevicesAfter>
|
||||||
|
<JtagInstrBitsBefore>0</JtagInstrBitsBefore>
|
||||||
|
<JtagInstrBitsAfter>0</JtagInstrBitsAfter>
|
||||||
|
</InterfaceProperties>
|
||||||
|
</ToolOptions>
|
||||||
|
</com_atmel_avrdbg_tool_ispmk2>
|
||||||
|
<AsfFrameworkConfig>
|
||||||
|
<framework-data>
|
||||||
|
<options />
|
||||||
|
<configurations />
|
||||||
|
<files />
|
||||||
|
<documentation help="" />
|
||||||
|
<dependencies>
|
||||||
|
<content-extension eid="atmel.asf" uuidref="Atmel.ASF" version="3.3.0" />
|
||||||
|
</dependencies>
|
||||||
|
</framework-data>
|
||||||
|
</AsfFrameworkConfig>
|
||||||
|
<CacheFlash>true</CacheFlash>
|
||||||
|
<ProgFlashFromRam>true</ProgFlashFromRam>
|
||||||
|
<RamSnippetAddress>0x20000000</RamSnippetAddress>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||||
|
<ToolchainSettings>
|
||||||
|
<AvrGcc xmlns="">
|
||||||
|
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
|
||||||
|
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
|
||||||
|
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
|
||||||
|
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
|
||||||
|
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
|
||||||
|
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
|
||||||
|
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level>
|
||||||
|
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
|
||||||
|
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
|
||||||
|
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
|
||||||
|
<avrgcc.linker.libraries.Libraries>
|
||||||
|
<ListValues>
|
||||||
|
<Value>libm</Value>
|
||||||
|
</ListValues>
|
||||||
|
</avrgcc.linker.libraries.Libraries>
|
||||||
|
</AvrGcc>
|
||||||
|
</ToolchainSettings>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||||
|
<ToolchainSettings>
|
||||||
|
<AvrGcc xmlns="">
|
||||||
|
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
|
||||||
|
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
|
||||||
|
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
|
||||||
|
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
|
||||||
|
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
|
||||||
|
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
|
||||||
|
<avrgcc.compiler.optimization.level>Optimize (-O1)</avrgcc.compiler.optimization.level>
|
||||||
|
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
|
||||||
|
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
|
||||||
|
<avrgcc.compiler.optimization.DebugLevel>Default (-g2)</avrgcc.compiler.optimization.DebugLevel>
|
||||||
|
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
|
||||||
|
<avrgcc.linker.libraries.Libraries>
|
||||||
|
<ListValues>
|
||||||
|
<Value>libm</Value>
|
||||||
|
</ListValues>
|
||||||
|
</avrgcc.linker.libraries.Libraries>
|
||||||
|
<avrgcc.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcc.assembler.debugging.DebugLevel>
|
||||||
|
</AvrGcc>
|
||||||
|
</ToolchainSettings>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Leuchtklotz.c">
|
||||||
|
<SubType>compile</SubType>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(AVRSTUDIO_EXE_PATH)\\Vs\\Compiler.targets" />
|
||||||
|
</Project>
|
||||||
20
Leuchtklotz/Leuchtklotz_6_1.atsln
Normal file
20
Leuchtklotz/Leuchtklotz_6_1.atsln
Normal file
@ -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
|
||||||
Loading…
Reference in New Issue
Block a user