hier is der text
Code:
>Session Environment Variables:
AF_AVRDIR=C:\WinAVR_20071221
AF_PROJECT=testproject
AF_SOURCE_FILES=test.c asuro.c
AF_ASM_SRC_FILES=
AF_PRGDIR=C:\AsuroFlash
AF_PRJDIR=C:\Users\Patrick\Desktop\Neuer Ordner
AF_ASURO_LIB_PATH=%AllUsersProfile%\asuro_lib\lib
File test.c saved.
File asuro.h saved.
File asuro.c saved.
>Default make_all.cmd file created.
>Default makefile created.
Make
C:\Users\Patrick\Desktop\Neuer Ordner>C:\WinAVR_20071221\utils\bin\make.exe all
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=asuro.lst -IC:\AsuroFlash\include asuro.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > asuro.d; \
[ -s asuro.d ] || rm -f asuro.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst -IC:\AsuroFlash\include test.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > test.d; \
[ -s test.d ] || rm -f test.d
-------- begin --------
avr-gcc --version
avr-gcc (WinAVR 20090313) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Size before:
testproject.elf :
section size addr
.text 1840 0
.data 88 8388704
.bss 1 8388792
.debug_aranges 64 0
.debug_pubnames 263 0
.debug_info 1080 0
.debug_abbrev 421 0
.debug_line 1182 0
.debug_frame 288 0
.debug_str 382 0
.debug_loc 388 0
Total 5997
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst -IC:\AsuroFlash\include test.c -o test.o
In file included from asuro.h:34,
from test.c:32:
c:/winavr_20071221/lib/gcc/../../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>."
test.c: In function 'main':
test.c:40: warning: large integer implicitly truncated to unsigned type
test.c:42: warning: large integer implicitly truncated to unsigned type
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=asuro.lst -IC:\AsuroFlash\include asuro.c -o asuro.o
In file included from asuro.h:34,
from asuro.c:29:
c:/winavr_20071221/lib/gcc/../../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>."
avr-gcc -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.o -IC:\AsuroFlash\include test.o asuro.o --output testproject.elf -Wl,-Map=testproject.map,--cref -IC:\AsuroFlash\lib -lm
avr-objcopy -O ihex -R .eeprom testproject.elf testproject.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \
--change-section-lma .eeprom=0 -O ihex testproject.elf testproject.eep
c:\WinAVR_20071221\bin\avr-objcopy.exe: --change-section-lma .eeprom=0x00000000 never used
avr-objdump -h -S testproject.elf > testproject.lss
Size after:
testproject.elf :
section size addr
.text 1806 0
.bss 1 8388704
.debug_aranges 64 0
.debug_pubnames 263 0
.debug_info 1060 0
.debug_abbrev 401 0
.debug_line 1182 0
.debug_frame 288 0
.debug_str 376 0
.debug_loc 388 0
Total 5829
Errors: none
-------- end --------
ExitCode 0
>Ready.
C:\Users\Patrick\Desktop\Neuer Ordner\testproject.hex
is set as default flash file.
Use program button to flash it to hardware.
Lesezeichen