Create tasks of different priorities using task manager

Hi,

I am beginner with NRF52840. I want to create a task scheduler using multiple tasks with different level of priorities that is low, medium and high. I am using SDK 17.1.

Please let me know if there is any example available and kindly provide the sample code.

Thanks

Mehul

Parents Reply
  • Hi,

    The task_manager library is an experimental library which is only used in an experimental sample (examples/ble_peripheral/experimental/ble_app_cli/). That shows how to crate tasks using task_create() etc indireclty by calling nrf_cli_task_create() which calls task_create(). I do not have any other code to share, and it is not widely used (in fact, I have never seen it used before other than that example).

    If you want something more prooven while using the nRF5 SDK I would look at FreeRTOS.

Children
No Data
Related