I am using PK51, which comes with RTX51 tiny. I am trying to use the os_wait command from a function. This is code I'm using.
while (something) { CallFunction(some,thing,here); .. <continue processing> .. }
CallFunction(some,thing,here) _task_ some_task { .. os_wait(K_SIG | K_TMO, 1,0); .. }
Andy: How can I reset the WDT if I'm using os_wait? Thank you!
"How can I reset the WDT if I'm using os_wait?" I have no idea - I don't use RTX51! You're the one that's using RTX51 so, hopefully, you have determined that it is suitable to your application - and that would include determining that it can handle your WDT!