Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
778 Views

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

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!!!
0 Kudos
0 Replies