20121010-225709
This commit is contained in:
parent
158c8df2ce
commit
9091b7250e
1
15cmZahl/15cmZahl.aps
Normal file
1
15cmZahl/15cmZahl.aps
Normal file
@ -0,0 +1 @@
|
||||
<AVRStudio><MANAGEMENT><ProjectName>15cmZahl</ProjectName><Created>09-Oct-2012 22:20:33</Created><LastEdit>09-Oct-2012 23:22:40</LastEdit><ICON>241</ICON><ProjectType>0</ProjectType><Created>09-Oct-2012 22:20:33</Created><Version>4</Version><Build>4, 19, 0, 730</Build><ProjectTypeName>AVR GCC</ProjectTypeName></MANAGEMENT><CODE_CREATION><ObjectFile>default\15cmZahl.elf</ObjectFile><EntryFile></EntryFile><SaveFolder>D:\Doc's\Basteleien\Uhr\15cmZahl\</SaveFolder></CODE_CREATION><DEBUG_TARGET><CURRENT_TARGET>JTAGICE mkII</CURRENT_TARGET><CURRENT_PART>ATtiny2313.xml</CURRENT_PART><BREAKPOINTS></BREAKPOINTS><IO_EXPAND><HIDE>false</HIDE></IO_EXPAND><REGISTERNAMES><Register>R00</Register><Register>R01</Register><Register>R02</Register><Register>R03</Register><Register>R04</Register><Register>R05</Register><Register>R06</Register><Register>R07</Register><Register>R08</Register><Register>R09</Register><Register>R10</Register><Register>R11</Register><Register>R12</Register><Register>R13</Register><Register>R14</Register><Register>R15</Register><Register>R16</Register><Register>R17</Register><Register>R18</Register><Register>R19</Register><Register>R20</Register><Register>R21</Register><Register>R22</Register><Register>R23</Register><Register>R24</Register><Register>R25</Register><Register>R26</Register><Register>R27</Register><Register>R28</Register><Register>R29</Register><Register>R30</Register><Register>R31</Register></REGISTERNAMES><COM>Auto</COM><COMType>0</COMType><WATCHNUM>0</WATCHNUM><WATCHNAMES><Pane0></Pane0><Pane1></Pane1><Pane2></Pane2><Pane3></Pane3></WATCHNAMES><BreakOnTrcaeFull>0</BreakOnTrcaeFull></DEBUG_TARGET><Debugger><Triggers></Triggers></Debugger><AVRGCCPLUGIN><FILES><SOURCEFILE>15cmZahl.c</SOURCEFILE><OTHERFILE>default\15cmZahl.lss</OTHERFILE><OTHERFILE>default\15cmZahl.map</OTHERFILE></FILES><CONFIGS><CONFIG><NAME>default</NAME><USESEXTERNALMAKEFILE>NO</USESEXTERNALMAKEFILE><EXTERNALMAKEFILE></EXTERNALMAKEFILE><PART>attiny2313</PART><HEX>1</HEX><LIST>1</LIST><MAP>1</MAP><OUTPUTFILENAME>15cmZahl.elf</OUTPUTFILENAME><OUTPUTDIR>default\</OUTPUTDIR><ISDIRTY>0</ISDIRTY><OPTIONS/><INCDIRS/><LIBDIRS/><LIBS/><LINKOBJECTS/><OPTIONSFORALL>-Wall -gdwarf-2 -std=gnu99 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums</OPTIONSFORALL><LINKEROPTIONS></LINKEROPTIONS><SEGMENTS/></CONFIG></CONFIGS><LASTCONFIG>default</LASTCONFIG><USES_WINAVR>1</USES_WINAVR><GCC_LOC>E:\Programme\AVR Toolchain\bin\avr-gcc.exe</GCC_LOC><MAKE_LOC>E:\Programme\AVR Toolchain\bin\make.exe</MAKE_LOC></AVRGCCPLUGIN><IOView><usergroups/><sort sorted="0" column="0" ordername="0" orderaddress="0" ordergroup="0"/></IOView><Files><File00000><FileId>00000</FileId><FileName>15cmZahl.c</FileName><Status>1</Status></File00000></Files><Events><Bookmarks></Bookmarks></Events><Trace><Filters></Filters></Trace></AVRStudio>
|
13
15cmZahl/15cmZahl.c
Normal file
13
15cmZahl/15cmZahl.c
Normal file
@ -0,0 +1,13 @@
|
||||
#include <avr/io.h>
|
||||
#include <util/delay.h>
|
||||
|
||||
|
||||
int main(void) {
|
||||
DDRB = 0b01111111;
|
||||
while(1){
|
||||
PORTB = 255;
|
||||
_delay_ms(500);
|
||||
PORTB = 0;
|
||||
_delay_ms(500);
|
||||
}
|
||||
}
|
1
15cmZahl/15cmzahl.aws
Normal file
1
15cmZahl/15cmzahl.aws
Normal file
@ -0,0 +1 @@
|
||||
<AVRWorkspace><IOSettings><CurrentRegisters><PORTB><register register="DDRB" group="PORTB" display="1" locked="0"/></PORTB><PORTB><register register="PINB" group="PORTB" display="1" locked="0"/></PORTB><PORTB><register register="PORTB" group="PORTB" display="1" locked="0"/></PORTB></CurrentRegisters></IOSettings><part name="ATTINY2313"/><Files><File00000 Name="D:\Doc's\Basteleien\Uhr\15cmZahl\15cmZahl.c" Position="189 67 676 412" LineCol="7 13" State="Maximized"/></Files></AVRWorkspace>
|
1
15cmZahl/default/15cmZahl.eep
Normal file
1
15cmZahl/default/15cmZahl.eep
Normal file
@ -0,0 +1 @@
|
||||
:00000001FF
|
BIN
15cmZahl/default/15cmZahl.elf
Normal file
BIN
15cmZahl/default/15cmZahl.elf
Normal file
Binary file not shown.
8
15cmZahl/default/15cmZahl.hex
Normal file
8
15cmZahl/default/15cmZahl.hex
Normal file
@ -0,0 +1,8 @@
|
||||
:1000000012C017C016C015C014C013C012C011C052
|
||||
:1000100010C00FC00EC00DC00CC00BC00AC009C07C
|
||||
:1000200008C007C006C011241FBECFEDCDBF02D04F
|
||||
:1000300019C0E6CF8FE787BB8FEF88BB2FEF34E384
|
||||
:100040004CE0215030404040E1F700C0000018BAB9
|
||||
:100050002FEF34E34CE0215030404040E1F700C046
|
||||
:080060000000EBCFF894FFCF84
|
||||
:00000001FF
|
109
15cmZahl/default/15cmZahl.lss
Normal file
109
15cmZahl/default/15cmZahl.lss
Normal file
@ -0,0 +1,109 @@
|
||||
|
||||
15cmZahl.elf: file format elf32-avr
|
||||
|
||||
Sections:
|
||||
Idx Name Size VMA LMA File off Algn
|
||||
0 .text 00000068 00000000 00000000 00000054 2**1
|
||||
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
||||
1 .stab 000006b4 00000000 00000000 000000bc 2**2
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
2 .stabstr 00000085 00000000 00000000 00000770 2**0
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
3 .debug_aranges 00000020 00000000 00000000 000007f5 2**0
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
4 .debug_pubnames 0000001b 00000000 00000000 00000815 2**0
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
5 .debug_info 00000196 00000000 00000000 00000830 2**0
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
6 .debug_abbrev 00000106 00000000 00000000 000009c6 2**0
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
7 .debug_line 00000157 00000000 00000000 00000acc 2**0
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
8 .debug_frame 00000020 00000000 00000000 00000c24 2**2
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
9 .debug_str 000000e9 00000000 00000000 00000c44 2**0
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
10 .debug_pubtypes 00000038 00000000 00000000 00000d2d 2**0
|
||||
CONTENTS, READONLY, DEBUGGING
|
||||
|
||||
Disassembly of section .text:
|
||||
|
||||
00000000 <__vectors>:
|
||||
0: 12 c0 rjmp .+36 ; 0x26 <__ctors_end>
|
||||
2: 17 c0 rjmp .+46 ; 0x32 <__bad_interrupt>
|
||||
4: 16 c0 rjmp .+44 ; 0x32 <__bad_interrupt>
|
||||
6: 15 c0 rjmp .+42 ; 0x32 <__bad_interrupt>
|
||||
8: 14 c0 rjmp .+40 ; 0x32 <__bad_interrupt>
|
||||
a: 13 c0 rjmp .+38 ; 0x32 <__bad_interrupt>
|
||||
c: 12 c0 rjmp .+36 ; 0x32 <__bad_interrupt>
|
||||
e: 11 c0 rjmp .+34 ; 0x32 <__bad_interrupt>
|
||||
10: 10 c0 rjmp .+32 ; 0x32 <__bad_interrupt>
|
||||
12: 0f c0 rjmp .+30 ; 0x32 <__bad_interrupt>
|
||||
14: 0e c0 rjmp .+28 ; 0x32 <__bad_interrupt>
|
||||
16: 0d c0 rjmp .+26 ; 0x32 <__bad_interrupt>
|
||||
18: 0c c0 rjmp .+24 ; 0x32 <__bad_interrupt>
|
||||
1a: 0b c0 rjmp .+22 ; 0x32 <__bad_interrupt>
|
||||
1c: 0a c0 rjmp .+20 ; 0x32 <__bad_interrupt>
|
||||
1e: 09 c0 rjmp .+18 ; 0x32 <__bad_interrupt>
|
||||
20: 08 c0 rjmp .+16 ; 0x32 <__bad_interrupt>
|
||||
22: 07 c0 rjmp .+14 ; 0x32 <__bad_interrupt>
|
||||
24: 06 c0 rjmp .+12 ; 0x32 <__bad_interrupt>
|
||||
|
||||
00000026 <__ctors_end>:
|
||||
26: 11 24 eor r1, r1
|
||||
28: 1f be out 0x3f, r1 ; 63
|
||||
2a: cf ed ldi r28, 0xDF ; 223
|
||||
2c: cd bf out 0x3d, r28 ; 61
|
||||
2e: 02 d0 rcall .+4 ; 0x34 <main>
|
||||
30: 19 c0 rjmp .+50 ; 0x64 <_exit>
|
||||
|
||||
00000032 <__bad_interrupt>:
|
||||
32: e6 cf rjmp .-52 ; 0x0 <__vectors>
|
||||
|
||||
00000034 <main>:
|
||||
#include <avr/io.h>
|
||||
#include <util/delay.h>
|
||||
|
||||
|
||||
int main(void) {
|
||||
DDRB = 0b01111111;
|
||||
34: 8f e7 ldi r24, 0x7F ; 127
|
||||
36: 87 bb out 0x17, r24 ; 23
|
||||
while(1){
|
||||
PORTB = 255;
|
||||
38: 8f ef ldi r24, 0xFF ; 255
|
||||
3a: 88 bb out 0x18, r24 ; 24
|
||||
#else
|
||||
//round up by default
|
||||
__ticks_dc = (uint32_t)(ceil(fabs(__tmp)));
|
||||
#endif
|
||||
|
||||
__builtin_avr_delay_cycles(__ticks_dc);
|
||||
3c: 2f ef ldi r18, 0xFF ; 255
|
||||
3e: 34 e3 ldi r19, 0x34 ; 52
|
||||
40: 4c e0 ldi r20, 0x0C ; 12
|
||||
42: 21 50 subi r18, 0x01 ; 1
|
||||
44: 30 40 sbci r19, 0x00 ; 0
|
||||
46: 40 40 sbci r20, 0x00 ; 0
|
||||
48: e1 f7 brne .-8 ; 0x42 <__SREG__+0x3>
|
||||
4a: 00 c0 rjmp .+0 ; 0x4c <__SREG__+0xd>
|
||||
4c: 00 00 nop
|
||||
_delay_ms(500);
|
||||
PORTB = 0;
|
||||
4e: 18 ba out 0x18, r1 ; 24
|
||||
50: 2f ef ldi r18, 0xFF ; 255
|
||||
52: 34 e3 ldi r19, 0x34 ; 52
|
||||
54: 4c e0 ldi r20, 0x0C ; 12
|
||||
56: 21 50 subi r18, 0x01 ; 1
|
||||
58: 30 40 sbci r19, 0x00 ; 0
|
||||
5a: 40 40 sbci r20, 0x00 ; 0
|
||||
5c: e1 f7 brne .-8 ; 0x56 <__SREG__+0x17>
|
||||
5e: 00 c0 rjmp .+0 ; 0x60 <__SREG__+0x21>
|
||||
60: 00 00 nop
|
||||
62: eb cf rjmp .-42 ; 0x3a <main+0x6>
|
||||
|
||||
00000064 <_exit>:
|
||||
64: f8 94 cli
|
||||
|
||||
00000066 <__stop_program>:
|
||||
66: ff cf rjmp .-2 ; 0x66 <__stop_program>
|
347
15cmZahl/default/15cmZahl.map
Normal file
347
15cmZahl/default/15cmZahl.map
Normal file
@ -0,0 +1,347 @@
|
||||
Archive member included because of file (symbol)
|
||||
|
||||
e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/avr25\libgcc.a(_exit.o)
|
||||
e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/../../../../avr/lib/avr25/crttn2313.o (exit)
|
||||
|
||||
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
|
||||
*default* 0x00000000 0xffffffff
|
||||
|
||||
Linker script and memory map
|
||||
|
||||
LOAD e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/../../../../avr/lib/avr25/crttn2313.o
|
||||
LOAD 15cmZahl.o
|
||||
LOAD e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/avr25\libgcc.a
|
||||
LOAD e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/../../../../avr/lib/avr25\libc.a
|
||||
LOAD e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/avr25\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 0x68
|
||||
*(.vectors)
|
||||
.vectors 0x00000000 0x26 e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/../../../../avr/lib/avr25/crttn2313.o
|
||||
0x00000000 __vector_default
|
||||
0x00000000 __vectors
|
||||
*(.vectors)
|
||||
*(.progmem.gcc*)
|
||||
*(.progmem*)
|
||||
0x00000026 . = ALIGN (0x2)
|
||||
0x00000026 __trampolines_start = .
|
||||
*(.trampolines)
|
||||
.trampolines 0x00000026 0x0 linker stubs
|
||||
*(.trampolines*)
|
||||
0x00000026 __trampolines_end = .
|
||||
*(.jumptables)
|
||||
*(.jumptables*)
|
||||
*(.lowtext)
|
||||
*(.lowtext*)
|
||||
0x00000026 __ctors_start = .
|
||||
*(.ctors)
|
||||
0x00000026 __ctors_end = .
|
||||
0x00000026 __dtors_start = .
|
||||
*(.dtors)
|
||||
0x00000026 __dtors_end = .
|
||||
SORT(*)(.ctors)
|
||||
SORT(*)(.dtors)
|
||||
*(.init0)
|
||||
.init0 0x00000026 0x0 e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/../../../../avr/lib/avr25/crttn2313.o
|
||||
0x00000026 __init
|
||||
*(.init0)
|
||||
*(.init1)
|
||||
*(.init1)
|
||||
*(.init2)
|
||||
.init2 0x00000026 0x8 e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/../../../../avr/lib/avr25/crttn2313.o
|
||||
*(.init2)
|
||||
*(.init3)
|
||||
*(.init3)
|
||||
*(.init4)
|
||||
*(.init4)
|
||||
*(.init5)
|
||||
*(.init5)
|
||||
*(.init6)
|
||||
*(.init6)
|
||||
*(.init7)
|
||||
*(.init7)
|
||||
*(.init8)
|
||||
*(.init8)
|
||||
*(.init9)
|
||||
.init9 0x0000002e 0x4 e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/../../../../avr/lib/avr25/crttn2313.o
|
||||
*(.init9)
|
||||
*(.text)
|
||||
.text 0x00000032 0x2 e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/../../../../avr/lib/avr25/crttn2313.o
|
||||
0x00000032 __vector_1
|
||||
0x00000032 __vector_12
|
||||
0x00000032 __bad_interrupt
|
||||
0x00000032 __vector_6
|
||||
0x00000032 __vector_3
|
||||
0x00000032 __vector_11
|
||||
0x00000032 __vector_13
|
||||
0x00000032 __vector_17
|
||||
0x00000032 __vector_7
|
||||
0x00000032 __vector_5
|
||||
0x00000032 __vector_4
|
||||
0x00000032 __vector_9
|
||||
0x00000032 __vector_2
|
||||
0x00000032 __vector_15
|
||||
0x00000032 __vector_8
|
||||
0x00000032 __vector_14
|
||||
0x00000032 __vector_10
|
||||
0x00000032 __vector_16
|
||||
0x00000032 __vector_18
|
||||
.text 0x00000034 0x30 15cmZahl.o
|
||||
0x00000034 main
|
||||
.text 0x00000064 0x0 e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/avr25\libgcc.a(_exit.o)
|
||||
0x00000064 . = ALIGN (0x2)
|
||||
*(.text.*)
|
||||
.text.libgcc 0x00000064 0x0 e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/avr25\libgcc.a(_exit.o)
|
||||
0x00000064 . = ALIGN (0x2)
|
||||
*(.fini9)
|
||||
.fini9 0x00000064 0x0 e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/avr25\libgcc.a(_exit.o)
|
||||
0x00000064 _exit
|
||||
0x00000064 exit
|
||||
*(.fini9)
|
||||
*(.fini8)
|
||||
*(.fini8)
|
||||
*(.fini7)
|
||||
*(.fini7)
|
||||
*(.fini6)
|
||||
*(.fini6)
|
||||
*(.fini5)
|
||||
*(.fini5)
|
||||
*(.fini4)
|
||||
*(.fini4)
|
||||
*(.fini3)
|
||||
*(.fini3)
|
||||
*(.fini2)
|
||||
*(.fini2)
|
||||
*(.fini1)
|
||||
*(.fini1)
|
||||
*(.fini0)
|
||||
.fini0 0x00000064 0x4 e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/avr25\libgcc.a(_exit.o)
|
||||
*(.fini0)
|
||||
0x00000068 _etext = .
|
||||
|
||||
.data 0x00800060 0x0 load address 0x00000068
|
||||
0x00800060 PROVIDE (__data_start, .)
|
||||
*(.data)
|
||||
.data 0x00800060 0x0 e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/../../../../avr/lib/avr25/crttn2313.o
|
||||
.data 0x00800060 0x0 15cmZahl.o
|
||||
.data 0x00800060 0x0 e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/avr25\libgcc.a(_exit.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 0x00800060 0x0 e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/../../../../avr/lib/avr25/crttn2313.o
|
||||
.bss 0x00800060 0x0 15cmZahl.o
|
||||
.bss 0x00800060 0x0 e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/avr25\libgcc.a(_exit.o)
|
||||
*(.bss*)
|
||||
*(COMMON)
|
||||
0x00800060 PROVIDE (__bss_end, .)
|
||||
0x00000068 __data_load_start = LOADADDR (.data)
|
||||
0x00000068 __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*)
|
||||
|
||||
.stab 0x00000000 0x6b4
|
||||
*(.stab)
|
||||
.stab 0x00000000 0x6b4 e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/../../../../avr/lib/avr25/crttn2313.o
|
||||
|
||||
.stabstr 0x00000000 0x85
|
||||
*(.stabstr)
|
||||
.stabstr 0x00000000 0x85 e:/programme/avr toolchain/bin/../lib/gcc/avr/4.5.1/../../../../avr/lib/avr25/crttn2313.o
|
||||
|
||||
.stab.excl
|
||||
*(.stab.excl)
|
||||
|
||||
.stab.exclstr
|
||||
*(.stab.exclstr)
|
||||
|
||||
.stab.index
|
||||
*(.stab.index)
|
||||
|
||||
.stab.indexstr
|
||||
*(.stab.indexstr)
|
||||
|
||||
.comment
|
||||
*(.comment)
|
||||
|
||||
.debug
|
||||
*(.debug)
|
||||
|
||||
.line
|
||||
*(.line)
|
||||
|
||||
.debug_srcinfo
|
||||
*(.debug_srcinfo)
|
||||
|
||||
.debug_sfnames
|
||||
*(.debug_sfnames)
|
||||
|
||||
.debug_aranges 0x00000000 0x20
|
||||
*(.debug_aranges)
|
||||
.debug_aranges
|
||||
0x00000000 0x20 15cmZahl.o
|
||||
|
||||
.debug_pubnames
|
||||
0x00000000 0x1b
|
||||
*(.debug_pubnames)
|
||||
.debug_pubnames
|
||||
0x00000000 0x1b 15cmZahl.o
|
||||
|
||||
.debug_info 0x00000000 0x196
|
||||
*(.debug_info)
|
||||
.debug_info 0x00000000 0x196 15cmZahl.o
|
||||
*(.gnu.linkonce.wi.*)
|
||||
|
||||
.debug_abbrev 0x00000000 0x106
|
||||
*(.debug_abbrev)
|
||||
.debug_abbrev 0x00000000 0x106 15cmZahl.o
|
||||
|
||||
.debug_line 0x00000000 0x157
|
||||
*(.debug_line)
|
||||
.debug_line 0x00000000 0x157 15cmZahl.o
|
||||
|
||||
.debug_frame 0x00000000 0x20
|
||||
*(.debug_frame)
|
||||
.debug_frame 0x00000000 0x20 15cmZahl.o
|
||||
|
||||
.debug_str 0x00000000 0xe9
|
||||
*(.debug_str)
|
||||
.debug_str 0x00000000 0xe9 15cmZahl.o
|
||||
0x11d (size before relaxing)
|
||||
|
||||
.debug_loc
|
||||
*(.debug_loc)
|
||||
|
||||
.debug_macinfo
|
||||
*(.debug_macinfo)
|
||||
OUTPUT(15cmZahl.elf elf32-avr)
|
||||
LOAD linker stubs
|
||||
|
||||
.debug_pubtypes
|
||||
0x00000000 0x38
|
||||
.debug_pubtypes
|
||||
0x00000000 0x38 15cmZahl.o
|
77
15cmZahl/default/Makefile
Normal file
77
15cmZahl/default/Makefile
Normal file
@ -0,0 +1,77 @@
|
||||
###############################################################################
|
||||
# Makefile for the project 15cmZahl
|
||||
###############################################################################
|
||||
|
||||
## General Flags
|
||||
PROJECT = 15cmZahl
|
||||
MCU = attiny2313
|
||||
TARGET = 15cmZahl.elf
|
||||
CC = avr-gcc
|
||||
|
||||
CPP = avr-g++
|
||||
|
||||
## Options common to compile, link and assembly rules
|
||||
COMMON = -mmcu=$(MCU)
|
||||
|
||||
## Compile options common for all C compilation units.
|
||||
CFLAGS = $(COMMON)
|
||||
CFLAGS += -Wall -gdwarf-2 -std=gnu99 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
|
||||
CFLAGS += -MD -MP -MT $(*F).o -MF dep/$(@F).d
|
||||
|
||||
## Assembly specific flags
|
||||
ASMFLAGS = $(COMMON)
|
||||
ASMFLAGS += $(CFLAGS)
|
||||
ASMFLAGS += -x assembler-with-cpp -Wa,-gdwarf2
|
||||
|
||||
## Linker flags
|
||||
LDFLAGS = $(COMMON)
|
||||
LDFLAGS += -Wl,-Map=15cmZahl.map
|
||||
|
||||
|
||||
## Intel Hex file production flags
|
||||
HEX_FLASH_FLAGS = -R .eeprom -R .fuse -R .lock -R .signature
|
||||
|
||||
HEX_EEPROM_FLAGS = -j .eeprom
|
||||
HEX_EEPROM_FLAGS += --set-section-flags=.eeprom="alloc,load"
|
||||
HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0 --no-change-warnings
|
||||
|
||||
|
||||
## Objects that must be built in order to link
|
||||
OBJECTS = 15cmZahl.o
|
||||
|
||||
## Objects explicitly added by the user
|
||||
LINKONLYOBJECTS =
|
||||
|
||||
## Build
|
||||
all: $(TARGET) 15cmZahl.hex 15cmZahl.eep 15cmZahl.lss size
|
||||
|
||||
## Compile
|
||||
15cmZahl.o: ../15cmZahl.c
|
||||
$(CC) $(INCLUDES) $(CFLAGS) -c $<
|
||||
|
||||
##Link
|
||||
$(TARGET): $(OBJECTS)
|
||||
$(CC) $(LDFLAGS) $(OBJECTS) $(LINKONLYOBJECTS) $(LIBDIRS) $(LIBS) -o $(TARGET)
|
||||
|
||||
%.hex: $(TARGET)
|
||||
avr-objcopy -O ihex $(HEX_FLASH_FLAGS) $< $@
|
||||
|
||||
%.eep: $(TARGET)
|
||||
-avr-objcopy $(HEX_EEPROM_FLAGS) -O ihex $< $@ || exit 0
|
||||
|
||||
%.lss: $(TARGET)
|
||||
avr-objdump -h -S $< > $@
|
||||
|
||||
size: ${TARGET}
|
||||
@echo
|
||||
@avr-size -C --mcu=${MCU} ${TARGET}
|
||||
|
||||
## Clean target
|
||||
.PHONY: clean
|
||||
clean:
|
||||
-rm -rf $(OBJECTS) 15cmZahl.elf dep/* 15cmZahl.hex 15cmZahl.eep 15cmZahl.lss 15cmZahl.map
|
||||
|
||||
|
||||
## Other dependencies
|
||||
-include $(shell mkdir dep 2>NUL) $(wildcard dep/*)
|
||||
|
40
15cmZahl/default/dep/15cmZahl.o.d
Normal file
40
15cmZahl/default/dep/15cmZahl.o.d
Normal file
@ -0,0 +1,40 @@
|
||||
15cmZahl.o: ../15cmZahl.c \
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/avr/io.h \
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/avr/sfr_defs.h \
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/inttypes.h \
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/include/stdint.h \
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/stdint.h \
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/avr/iotn2313.h \
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/avr/portpins.h \
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/avr/common.h \
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/avr/version.h \
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/avr/fuse.h \
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/avr/lock.h \
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/util/delay.h \
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/util/delay_basic.h
|
||||
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/avr/io.h:
|
||||
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/avr/sfr_defs.h:
|
||||
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/inttypes.h:
|
||||
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/include/stdint.h:
|
||||
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/stdint.h:
|
||||
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/avr/iotn2313.h:
|
||||
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/avr/portpins.h:
|
||||
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/avr/common.h:
|
||||
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/avr/version.h:
|
||||
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/avr/fuse.h:
|
||||
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/avr/lock.h:
|
||||
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/util/delay.h:
|
||||
|
||||
e:\programme\avr\ toolchain\bin\../lib/gcc/avr/4.5.1/../../../../avr/include/util/delay_basic.h:
|
Loading…
Reference in New Issue
Block a user