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!!!Link Copied
For more complete information about compiler optimizations, see our Optimization Notice.