Working on a BLE application on a nRF52833 development board with FreeRTOS (external/freertos), and I noticed that the SDK uses dynamic allocation for FreeRTOS, e.g., xTaskCreate() vs xTaskCreateStatic().
Our product is required to use static allocation only for the usual reasons, predictable memory usage, can't run out of heap... While the SDK modules could be translated to configSUPPORT_DYNAMIC_ALLOCATION == 1 && configSUPPORT_DYNAMIC_ALLOCATION == 0, it would really be nice if the SDK provided this support as well.
Also note that the stack size of the softdevice_task() is set in nrf_sdh_freertos.c, and doesn't appear to be sufficient for pairing & bounding. It would be better if the stack size (or the stack), was passed into nrf_sdh_freertos_init().
Bug? nRF5_SDK + FreeRTOS does not support static allocation of RTOS objects, or
Suggestion? it would be really nice if nRF5_SDK + FreeRTOS supported static allocation of RTOS objects, including task stacks.