[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Help: avrgcc for window NT with AVR studio3.56
From: |
Volkmar Dierkes |
Subject: |
Re: [avr-gcc-list] Help: avrgcc for window NT with AVR studio3.56 |
Date: |
Wed, 2 Apr 2003 23:19:09 +0200 |
User-agent: |
40tude_Dialog/2.0.3.1 Hamster/2.0.1.0 Hamster/2.0.0.1 |
On Wed, 2 Apr 2003 13:42:55 -0500, Loc Mai wrote:
> Hi all,
> 1. I appreciate Eric pointing me where to get winavr.
> I am a newbie in C and AVR chip. All DOS commands my mind slipped long time
> ago. I love to learn all samples first before I go further in C-asm.
> I did not try TWItest yet. PWM works well.
> I tried gcctest1,2,3,4,5 without any problem in WINAVR.
> I don't know how to put information in make file to get gcctest7 work with
> multi sources and headers.
>
> in <project directory> has:
> gcc.bat
> gcc2.bat
> makefile
> gcctest7.apr
> gcctest7.c
> uart.c
> uart.h
>
> In makefile, I changed
> OBJ = gcctest7.o uart.c uart.h
> MCU_TARGET = atmega103
Use the sample makefile of WinAVR and change the TARGET from main to
gcctest7 and for the SRC "foo.c bar.c" to uart.c
HTH
Volkmar