IAR compiler problems

Hello folks, I'm trying to run the uCOS_II operating system on an AVR 128. The compiler I use is the IAR embedded workbench. I compiled all source files successfully. Linking fails because of the error "Error(e62) File name uCOS_II.r90 used for multiple files. There is a uCOS_II.c and auCOS_II.h file. Can anyone tell me in more detail what this error means and what I can do to prevent it. I'm not a very experienced embedded software guy! Thanks in advance for your help.

Christof Abt

Reply to
Christof.Abt
Loading thread data ...

Sounds you did inlcude the .c _and_ .h file in your project. Only put .c and .sXX files. The headers are found by EWB.

--
42Bastian
Do not email to bastian42@yahoo.com, it's a spam-only account :-)
Use @monlynx.de instead !
Reply to
42Bastian Schick

In article , snipped-for-privacy@hno.atmel.com writes

Are you experienced with C? DO you know the difference between a.h file and a .c file?

You may be better doing so simple programs and examples without uCOS before you start of porting an OS.

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills  Staffs  England     /\/\/\/\/
/\/\/ chris@phaedsys.org      www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Reply to
Chris Hills

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.