Search the web
Sign In
New User? Sign Up
avrx · Support group for the AvrX RTOS
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
AVRx on Arduino   Message List  
Reply | Forward Message #1896 of 1912 |
RE: [avrx] Re: AVRx on Arduino

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»¥¶¯ä¯ÀÀ£¡ Á¢¿ÌÌåÑ飡


Sat May 23, 2009 7:06 am

zm_gu
Offline Offline
Send Email Send Email

Forward
Message #1896 of 1912 |
Expand Messages Author Sort by Date

I would like to know whether somebody has ported the AVRx to Arduino. I would like to use AVRx on Arduino. Is there any information (how-to) available? Best...
pino_otto
Online Now Send Email
Apr 17, 2009
11:29 am

Think about what you are wishing for. Arduino is its own 'C' like environment but does not support multitasking. AVRX is another runtime environment that...
Shane Bolton
shane_bolton
Offline Send Email
Apr 17, 2009
10:58 pm

Arduino is a programming language, but it is also a microcontroller board. I think it makes a very nice, very inexpensive ATmega168 development kit. You can...
Tony Richardson
arichardson54
Offline Send Email
May 13, 2009
4:17 pm

Tony, From what I understand the only AVR devices Arduino supports are ATmega168 and ATmega328. What other AVR divices does Arduino support? Mike...
brewski922
Offline Send Email
May 13, 2009
4:59 pm

Mike, I believe that is all. I did not mean to imply that the Arduino board could be used for general Atmel development. Tony...
Tony Richardson
arichardson54
Offline Send Email
May 13, 2009
6:38 pm

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...
brewski922
Offline Send Email
May 13, 2009
7:48 pm

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...
Swaby, Jonathan F
jfs10psuedu
Offline Send Email
May 13, 2009
8:02 pm

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...
brewski922
Offline Send Email
May 14, 2009
5:00 am

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...
gusimon
zm_gu
Offline Send Email
May 23, 2009
12:24 pm

... Looks like you are including avrx.inc and avrx.h in Task_Def.c. Should you only include avrx.h?...
tomdean1939
Offline Send Email
May 24, 2009
10:53 am

Cool, you hit the great point. After remove avrx.inc and rename avrx.a to libavrx.a to adapter AVR Studio and WinAvr constraint, it works fine now. Great...
gusimon
zm_gu
Offline Send Email
May 25, 2009
12:16 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help