Hi,
I tried to run AVRX 2.6f and 2.6g on AT Mega16, the platform is AVR Studio 4.13 and WinAvr 20090313, but the compile error always exist as below, it seems MACRO and ENDM is not recognized by compiler or any other issue.
I already change the avrx.a to libavrx.a, and copy avrx.h and avrx.inc to source directory.
Anyone can helps or direct me to the correct person for help?
Thanks in advance!
Regards,
Simon
avr-gcc.exe -I"E:\AVRX\iMP3\..\RTOS\AvrX2.6g\avrx" -mmcu=atmega16 -Wall -gdwarf-2 -std=gnu99 -DF_CPU=8000000UL -O2 -funsigned-char -funsigned-bitfields -fshort-enums -MD -MP -MT Task_Def.o -MF dep/Task_Def.o.d -c ../Task/Task
_Def.c
In file included from ../Task/Task_Def.c:19:
../Task/../avrx.inc:302: error: expected identifier or '(' before '.' token
../Task/../avrx.inc:327: error: expected identifier or '(' before '.' token
In file included from ../Task/Task_Def.c:20:
../Task/../avrx.h:113: error: expected identifier or '(' before numeric constant
../Task/../avrx.h:114: error: expected ';' before 'unsigned'
../Task/../avrx.h:125: error: expected identifier or '(' before numeric constant
../Task/../avrx.h:126: error: expected ';' before 'struct'
../Task/../avrx.h:171: error: expected identifier or '(' before numeric constant
../Task/../avrx.h:172: error: expected ';' before 'Mutex'
../Task/../avrx.h:206: error: expected identifier or '(' before numeric constant
../Task/../avrx.h:207: error: expected ';' before 'Mutex'
../Task/../avrx.h:374: error: expected identifier or '(' before numeric constant
make: *** [Task_Def.o] Error 1
To: avrx@yahoogroups.com
From: Brewskister@...
Date: Thu, 14 May 2009 05:00:38 +0000
Subject: [avrx] Re: AVRx on Arduino
Like I said...
Atmel, the micro Arduino is using, manufactures a large range of chips form 8 pin up to over 100 pin. Somewhere in there their is most likely a micro that will do the job for me. The problem is Arduino limits themselves to less than a handfull.
Say for a project you want to use one 8-pin port to read a keypad, one 8-pin port to control an LCD character display and two pins on a third port to control a remote device via the RS-232 pins. I have used an 8515 to do just that. That was about 7 years ago. It has never failed and is still working today. As far as I know Arduino has nothing that has 3 8-pin ports on it.
Sure, I could have done that multiplexing the use of the ports but having specific ports to do specific things, no timesharing, made life easier for my first commercial project.
Mike
--- In avrx@yahoogroups.com , "Swaby, Jonathan F" <jonathan.swaby@...> wrote:
>
> There is an Arduino that is based on some variant of the ATmega128. It is fairly new and is only supported by the newer releases of the Arduino software. I think SparkFun and others have it.
> https://www.sparkfun.com/commerce/product_info.php?products_id=9152
>
> It looks as if it is being called the Arduino Mega. Well, at least by SparkFun.
>
> Nuts and Volts or Servo have had a few articles on programming the Arduino. The last article went over using WinAVR to program it.
>
> ----- "brewski922" <Brewskister@...> wrote:
> >
> >
> >
> >
> >
> >
>
> I have been tinkering around with AVRs for about 8 years. The reason I ask is about a month or two ago I purchased the Arduino Duemilanove. It has the ATmega328. Started looking around, found out that is about all they support. If I needed a smaller, more cost effective, or bigger, because I needed more computing power, I'm out of luck. I didn't want to get tied down to such a limited setup.
> > Mike
> >
> > --- In avrx@yahoogroups.com , "brewski922" <Brewskister@> wrote:
> > >
> > > Tony,
> > >
> > > From what I understand the only AVR devices Arduino supports are ATmega168 and ATmega328. What other AVR divices does Arduino support?
> > >
> > > Mike
> > >
> >
> >
> >
>
> --
> Jonathan Swaby
> IT Program Manager - Student Affairs
> 404-894-5889
> Georgia Institute of Technology
>
Á¢¼´ÊÔÊÔ΢ÈíµØÍ¼Ð¹¦ÄÜ£¬msn»¥¶¯ä¯ÀÀ£¡ Á¢¿ÌÌåÑ飡
I tried to run AVRX 2.6f and 2.6g on AT Mega16, the platform is AVR Studio 4.13 and WinAvr 20090313, but the compile error always exist as below, it seems MACRO and ENDM is not recognized by compiler or any other issue.
I already change the avrx.a to libavrx.a, and copy avrx.h and avrx.inc to source directory.
Anyone can helps or direct me to the correct person for help?
Thanks in advance!
Regards,
Simon
avr-gcc.exe -I"E:\AVRX\iMP3\..\RTOS\AvrX2.6g\avrx" -mmcu=atmega16 -Wall -gdwarf-2 -std=gnu99 -DF_CPU=8000000UL -O2 -funsigned-char -funsigned-bitfields -fshort-enums -MD -MP -MT Task_Def.o -MF dep/Task_Def.o.d -c ../Task/Task
_Def.c
In file included from ../Task/Task_Def.c:19:
../Task/../avrx.inc:302: error: expected identifier or '(' before '.' token
../Task/../avrx.inc:327: error: expected identifier or '(' before '.' token
In file included from ../Task/Task_Def.c:20:
../Task/../avrx.h:113: error: expected identifier or '(' before numeric constant
../Task/../avrx.h:114: error: expected ';' before 'unsigned'
../Task/../avrx.h:125: error: expected identifier or '(' before numeric constant
../Task/../avrx.h:126: error: expected ';' before 'struct'
../Task/../avrx.h:171: error: expected identifier or '(' before numeric constant
../Task/../avrx.h:172: error: expected ';' before 'Mutex'
../Task/../avrx.h:206: error: expected identifier or '(' before numeric constant
../Task/../avrx.h:207: error: expected ';' before 'Mutex'
../Task/../avrx.h:374: error: expected identifier or '(' before numeric constant
make: *** [Task_Def.o] Error 1
To: avrx@yahoogroups.com
From: Brewskister@...
Date: Thu, 14 May 2009 05:00:38 +0000
Subject: [avrx] Re: AVRx on Arduino
Like I said...
Atmel, the micro Arduino is using, manufactures a large range of chips form 8 pin up to over 100 pin. Somewhere in there their is most likely a micro that will do the job for me. The problem is Arduino limits themselves to less than a handfull.
Say for a project you want to use one 8-pin port to read a keypad, one 8-pin port to control an LCD character display and two pins on a third port to control a remote device via the RS-232 pins. I have used an 8515 to do just that. That was about 7 years ago. It has never failed and is still working today. As far as I know Arduino has nothing that has 3 8-pin ports on it.
Sure, I could have done that multiplexing the use of the ports but having specific ports to do specific things, no timesharing, made life easier for my first commercial project.
Mike
--- In avrx@yahoogroups.
>
> There is an Arduino that is based on some variant of the ATmega128. It is fairly new and is only supported by the newer releases of the Arduino software. I think SparkFun and others have it.
> https://www.
>
> It looks as if it is being called the Arduino Mega. Well, at least by SparkFun.
>
> Nuts and Volts or Servo have had a few articles on programming the Arduino. The last article went over using WinAVR to program it.
>
> ----- "brewski922" <Brewskister@
> >
> >
> >
> >
> >
> >
>
> I have been tinkering around with AVRs for about 8 years. The reason I ask is about a month or two ago I purchased the Arduino Duemilanove. It has the ATmega328. Started looking around, found out that is about all they support. If I needed a smaller, more cost effective, or bigger, because I needed more computing power, I'm out of luck. I didn't want to get tied down to such a limited setup.
> > Mike
> >
> > --- In avrx@yahoogroups.
> > >
> > > Tony,
> > >
> > > From what I understand the only AVR devices Arduino supports are ATmega168 and ATmega328. What other AVR divices does Arduino support?
> > >
> > > Mike
> > >
> >
> >
> >
>
> --
> Jonathan Swaby
> IT Program Manager - Student Affairs
> 404-894-5889
> Georgia Institute of Technology
>
Á¢¼´ÊÔÊÔ΢ÈíµØÍ¼Ð¹¦ÄÜ£¬msn»¥¶¯ä¯ÀÀ£¡ Á¢¿ÌÌåÑ飡