This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Create task.

Hi Sir 

Is it necessary to use FreeRTOS for create two tasks ? Does Nordic has any library or API for task creating ?

Parents
  • Hi

    Have you taken a look at the app_timer module?

    With this one you can provide a pointer to a function which will be called either once after a certain delay, or repeatedly following a certain interval. 

    It doesn't have as many features as a fully fledged RTOS, but for many applications it will be sufficient. 

    We don't have any dedicated examples for the app_timer module, but many of the other examples use it. For instance the ble_app_hrs example uses the app_timer to schedule things like battery state updates and simulated heart rate sensor updates. 

    Best regards
    Torbjørn

Reply
  • Hi

    Have you taken a look at the app_timer module?

    With this one you can provide a pointer to a function which will be called either once after a certain delay, or repeatedly following a certain interval. 

    It doesn't have as many features as a fully fledged RTOS, but for many applications it will be sufficient. 

    We don't have any dedicated examples for the app_timer module, but many of the other examples use it. For instance the ble_app_hrs example uses the app_timer to schedule things like battery state updates and simulated heart rate sensor updates. 

    Best regards
    Torbjørn

Children
No Data
Related