Pumpkin, Inc.

Pumpkin User Forums

avr lite with winavr

For issues specific to Atmel's AVR and MegaAVR microcontrollers, including Atmel AVRStudio and ImageCraft's ICCAVR C compiler.

avr lite with winavr

Postby Phil W » Mon Nov 03, 2003 6:03 am

I have decided to look at salvo with gccavr.
I have downloaded and installed the latest winavr as also avrlite 3.2.3

I assumed the tutorials should compile without modification to any files. However not so.

I am new to gcc and makefiles, being used to iar.

the error that comes up when doing make all from edit that comes with winavr is as follows

makefile:350: c:/salvo/src/make/makefile_autolibs: No such file or directory
set -e; avr-gcc -MM -mmcu=at90s8515 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=c:/salvo/src/mem.lst -D SYSY -D MAKE_WITH_FREE_LIB=1 -I c:/salvo/tut/tu1 -I c:/salvo/inc -L c:/salvo/lib/gccavr c:/salvo/src/mem.c
| sed 's,(.*).o[ :]*,1.o 1.d : ,g' > c:/salvo/src/mem.d;
[ -s c:/salvo/src/mem.d ] || rm -f c:/salvo/src/mem.d
set -e; avr-gcc -MM -mmcu=at90s8515 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=../main.lst -D SYSY -D MAKE_WITH_FREE_LIB=1 -I c:/salvo/tut/tu1 -I c:/salvo/inc -L c:/salvo/lib/gccavr ../main.c
| sed 's,(.*).o[ :]*,1.o 1.d : ,g' > ../main.d;
[ -s ../main.d ] || rm -f ../main.d
make: *** No rule to make target `c:/salvo/src/make/makefile_autolibs'. Stop.

Any help please

regards
Phil

Phil W
 
Posts: 36
Joined: Tue Jan 14, 2003 12:00 am
Location: penrith nsw australia

Re: avr lite with winavr

Postby Phil W » Mon Nov 03, 2003 6:53 am

Sorry,

I reinstalled salvo lite but did a complete install instead of selected install.

All works fine now, thanks


Phil

Phil W
 
Posts: 36
Joined: Tue Jan 14, 2003 12:00 am
Location: penrith nsw australia

Re: avr lite with winavr

Postby aek » Mon Nov 03, 2003 7:40 am

Hi Phil.
quote:
I reinstalled salvo lite but did a complete install instead of selected install.
By that, do you mean that you did a Typical install instead of a Custom install the second time, or that you did a Typical install both times, but left ICC selected (as well as AVR-GCC) the second time?

It's possible that certain files (like makefile_autolibs) are incorrectly "tied" to certain installer behavior ...

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: avr lite with winavr

Postby Phil W » Mon Nov 03, 2003 9:56 am

Hi,

I did a typical instead of a custom

Phil

Phil W
 
Posts: 36
Joined: Tue Jan 14, 2003 12:00 am
Location: penrith nsw australia

Re: avr lite with winavr

Postby aek » Tue Nov 04, 2003 2:30 am

Hi Phil.

Those makefiles are available in the Sources -> Makefiles group when doing a Custom install.

BTW, as of Salvo v3.2, you can usually install any Salvo distribution "over" any other one without losing important files -- e.g. install Salvo Lite AVR over Salvo Pro MSP430, and only the common files (e.g. salvo.h) which have been updated will be replaced.

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: avr lite with winavr

Postby Phil W » Tue Nov 04, 2003 2:41 am

Thanks for the info.

Phil

Phil W
 
Posts: 36
Joined: Tue Jan 14, 2003 12:00 am
Location: penrith nsw australia


Return to Atmel AVR and MegaAVR

Who is online

Users browsing this forum: No registered users and 0 guests

cron