Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

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!!!

2 Replies

  • brajhan's avatar
    brajhan
    Icon for New Contributor rankNew Contributor

    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

  • Anonymous's avatar
    Anonymous

    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]