I have created two application timers. If these timers expire at same time, does the timer expire handler run concurrently or timer expire handler B run after timer expire handler A finish?
I have created two application timers. If these timers expire at same time, does the timer expire handler run concurrently or timer expire handler B run after timer expire handler A finish?
Hi,
timer expire handler B run after timer expire handler A finish?
For our standard nRF5SDK, this is the case.
The standard nRF5SDK doesn't use threads as it's purely bare-metal with no OS. If you want to use threads with nRF5SDK, then you'll have to go with FREERTOS. Luckily, we do already have a examples in the nRF5SDK that use FreeRTOS. You can find them here. Also, consider using nRF Connect SDK instead, which is built on the Zephyr RTOS.
regards
Jared
Hi,
timer expire handler B run after timer expire handler A finish?
For our standard nRF5SDK, this is the case.
The standard nRF5SDK doesn't use threads as it's purely bare-metal with no OS. If you want to use threads with nRF5SDK, then you'll have to go with FREERTOS. Luckily, we do already have a examples in the nRF5SDK that use FreeRTOS. You can find them here. Also, consider using nRF Connect SDK instead, which is built on the Zephyr RTOS.
regards
Jared