system_os_task vs timers ?
Posted: Tue Jul 07, 2015 11:32 pm
Hi All
Apologies if this is the wrong sub board...
From my understanding of the SDK, you can have up to 3 os_tasks to do different things.
The vast majority of examples only ever seem to set up 1 task with a delay and nothing else.
Other functionality is then delivered by 1-shot or repeating timers or interrrupts.
What purpose do the system_os_task and system_os_post serve ? It's not an RTOS and it seems (from my tests) that even if multiple system_os_tasks are defined and then posted to, only one task ever seems to run.
Thanks
lakid
Apologies if this is the wrong sub board...
From my understanding of the SDK, you can have up to 3 os_tasks to do different things.
The vast majority of examples only ever seem to set up 1 task with a delay and nothing else.
Other functionality is then delivered by 1-shot or repeating timers or interrrupts.
What purpose do the system_os_task and system_os_post serve ? It's not an RTOS and it seems (from my tests) that even if multiple system_os_tasks are defined and then posted to, only one task ever seems to run.
Thanks
lakid