Better to use task scheduler or RTOS tasks?
Posted: Fri Dec 16, 2022 6:54 am
Hi,
any opinions on whether it is better to use a task scheduler or RTOS tasks on a dual core ESP32?
I'm thinking of a task that, for example, sends an update every 30 seconds.
I've tried both and both work.
It 'feels' like the RTOS way is better but are there any opinions?
Also, what difference is there between:
xTaskCreatePinnedToCore with tskNO_AFFINITY and
xTaskCreate
It appears that they are the same
any opinions on whether it is better to use a task scheduler or RTOS tasks on a dual core ESP32?
I'm thinking of a task that, for example, sends an update every 30 seconds.
I've tried both and both work.
It 'feels' like the RTOS way is better but are there any opinions?
Also, what difference is there between:
xTaskCreatePinnedToCore with tskNO_AFFINITY and
xTaskCreate
It appears that they are the same