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++
12612 Discussions

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

Altera_Forum
Honored Contributor II
1,935 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
1,124 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

0 Kudos
AlHill
Super User
1,120 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]

0 Kudos
Reply