Re: Simulator loop task.

2022-07-22 Thread Fotis Panagiotopoulos
Hello, SIM_WALLTIME_SIGNAL indeed seems the correct option for me, exactly what I need. Unfortunately, it is not working. The function sim_timer_update() is correctly called on the first signal that the host delivers. Then the simulation crashes during the execution of the function oneshot_callba

Re: Simulator loop task.

2022-07-22 Thread Xiang Xiao
On Fri, Jul 22, 2022 at 6:58 PM Fotis Panagiotopoulos wrote: > The loop task indeed needs to run in high priority. I provided a PR for > this. > > However, the functionality in up_idle cannot be transferred to the loop > function. This is because: > * Either the loop task will execute, and no one

Re: Simulator loop task.

2022-07-22 Thread Fotis Panagiotopoulos
The loop task indeed needs to run in high priority. I provided a PR for this. However, the functionality in up_idle cannot be transferred to the loop function. This is because: * Either the loop task will execute, and no one will be able to preempt it. * Or the loop task will get to sleep, but wil