Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12409 Discussions

Error: "Type 'OS_TMR' could not be resolved" . Help to fix it!

Altera_Forum
Honored Contributor II
1,196 Views

I need to use sevral timers in project under Altera Quartus 13.0 with Nios/e CPU under ucos_ii. By editing project BSP in "systen.h" OS_TMR_EN set from 0 to 1. According to uC/OS-II User's Manual that is enough to enable timers for usage. 

But line which declare variable in XXX.h 

.....................# include "system.h"# include "includes.h" 

 

 

OS_FLAGS Flag; 

OS_TMR *CloseDoorTmr;// ERROR: "Type 'OS_TMR' could not be resolved" 

 

..................... 

 

shows error "Type 'OS_TMR' could not be resolved".  

In additional looking on ucos_ii.h  

typedef struct os_tmr { ...} OS_TMR; 

is active after setting OS_TMR_EN 1. 

 

Please, help to solve this problem!!!
2 Replies
brajhan
Beginner
385 Views

Hi, Did you manage to solve the mentioned problem? I am having the same problem and I can't find any information to solve it. Thanks

AlHill
Super User
381 Views

This is a thread that is more than 5-years old and never had a response.

Start a new thread for yourself, with complete explanation and information.

 

Doc (not an Intel employee or contractor)
[Windows 11 is the new Vista]

Reply