RTOS specifics

Operating system selection

The SDK offers different projects for each supported operating system (FreeRTOS OS) and for BareMetal configuration. To switch between systems, the user needs to switch the workspace.

The RTOS source code is found in the SDK package and is linked in the workspace in the freertos virtual folder, as shown in Figure 1:

Parent topic:RTOS specifics

Bluetooth LE Host task configuration

Application developers are provided with two files for RTOS task initialization:

  • ble_host_task_config.h, and ble_host_tasks.c for the Host.

Reusing these files is recommended because they perform all the necessary RTOS-related work. The application developer must only modify the macros from *_config.h files whenever tasks need a bigger stack size or different priority settings. The new values should be overridden in the app_preinclude.h file.

Parent topic:RTOS specifics

Parent topic:Application Structure