avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] problem with GCC and DS18(S)20


From: Marco Trapanese
Subject: [avr-gcc-list] problem with GCC and DS18(S)20
Date: Mon, 29 Mar 2004 18:19:30 +0200

Hello!

I'm new to this list.
I downloaded from avrfreaks.com the "project 59" which contains a lot of C 
source file for AVR driver. I need to use several DS18S20 in my application, so 
I tried to compile the test file in order to be sure the code I've got is ok. 
But compiling fails  and return me this error:


avr-gcc -c -g -Os -funsigned-char -funsigned-bitfields -fpack-struct 
-fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test_ds18x20.lst 
-mmcu=at90s8515 -DAVRGCC_VERSION=330 -DF_CPU=8000000 -I. test_ds18x20.c -o 
test_ds18x20.o
avr-gcc -c -g -Os -funsigned-char -funsigned-bitfields -fpack-struct 
-fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=one_wire.lst -mmcu=at90s8515 
-DAVRGCC_VERSION=330 -DF_CPU=8000000 -I. one_wire.c -o one_wire.o
avr-gcc -c -g -Os -funsigned-char -funsigned-bitfields -fpack-struct 
-fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=lcd_io.lst -mmcu=at90s8515 
-DAVRGCC_VERSION=330 -DF_CPU=8000000 -I. lcd_io.c -o lcd_io.o
avr-gcc -c -g -Os -funsigned-char -funsigned-bitfields -fpack-struct 
-fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=i2c.lst -mmcu=at90s8515 
-DAVRGCC_VERSION=330 -DF_CPU=8000000 -I. i2c.c -o i2c.o
avr-gcc -c -g -Os -funsigned-char -funsigned-bitfields -fpack-struct 
-fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=ds18x20.lst -mmcu=at90s8515 
-DAVRGCC_VERSION=330 -DF_CPU=8000000 -I. ds18x20.c -o ds18x20.o
avr-gcc  test_ds18x20.o ds18x20.o one_wire.o lcd_io.o i2c.o   
-Wl,-Map=test_ds18x20.map,--cref -mmcu=at90s8515 -o test_ds18x20.elf
avr-objcopy -O ihex -R .eeprom test_ds18x20.elf test_ds18x20.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" 
--change-section-lma .eeprom=0 -O ihex test_ds18x20.elf test_ds18x20.eep
avr-sizex  --long --mcu at90s8515 test_ds18x20.elf
process_begin: CreateProcess((null), avr-sizex --long --mcu at90s8515 
test_ds18x20.elf, ...) failed.
make (e=2): Impossibile trovare il file specificato.

make: *** [test_ds18x20.ok] Error 2
rm ds18x20.o

> Process Exit Code: 2


I see it doesn't find a file (in Italian "Impossibile trovare il file 
specificato" means "file not found") but I can't find what file it is. Could 
you help me ? if you need I can post C source file, maybe in attachement if the 
list support that.

Thank you,
Marco
_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list


reply via email to

[Prev in Thread] Current Thread [Next in Thread]