Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

__ucosii__ not defined

Altera_Forum
Honored Contributor II
1,294 Views

Hello Guru's, 

 

I need to create a library project using the NIOS2 IDE. I started by creating a new project and selected the Altera NIOS II -> Managed Library Project. Added a dependency to the syslib. However when I build the library, it seems that __ucosii__ is not defined (the same code was previously part of an application but must be separated into a lib now). Is this define not set by default for library projects or am I missing something else? 

 

Regards,  

 

/M.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
418 Views

 

--- Quote Start ---  

originally posted by bokkie@Jan 10 2007, 05:09 AM 

hello guru's, 

 

i need to create a library project using the nios2 ide. i started by creating a new project and selected the altera nios ii -> managed library project. added a dependency to the syslib. however when i build the library, it seems that __ucosii__ is not defined (the same code was previously part of an application but must be separated into a lib now). is this define not set by default for library projects or am i missing something else? 

 

regards,  

 

/m. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20467) 

--- quote end ---  

 

--- Quote End ---  

 

 

M. 

When you create the New System Library you have a choice at that time select MicroCOSII. 

 

BTW - Use File->New->Project then select Altera NiosII->NiosII System Library 

 

Mike
0 Kudos
Reply