Forum Discussion

MK_ABQ's avatar
MK_ABQ
Icon for Contributor rankContributor
9 months ago
Solved

NIOS MicroC OS C code question

Hello all, I am looking at an existing C code of NIOS II RTOS microC/OS-II. I see a bunch of OSTimeDly(1); being used in the code. How do I determine how long is the time delay? is it 1 second or ...
  • BoonBengT_Altera's avatar
    9 months ago

    Hi @MK_ABQ,


    Thank you for posting in Intel community forum and hope all is well.

    Per understand the actual time duration of delay task by 1 ticks which usually defined in the BSP.

    Perhaps you can check if it being defined under the files os_cfg.h


    Note: Usually OSTimeDly(1) means delay this task for 10 ms


    Best Wishes

    BB