Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

FreeRTOS version upgrade in nRF5 SDK v16

Hi, do you plan to upgrade FreeRTOS? In nRF5 SDK v16.0.0, there is FreeRTOS v10.0.0 - at the time of writing, FreeRTOS v10.2.1 is available and it comes with a few fixes. Thanks.

Parents Reply
  • Great, thank you so much, Joakim. I am sure for many developers and applications, the FreeRTOS support is a must. Today, I have to workaround the following stream buffer API of FreeRTOS because it is not thread-safe in v10.0.0:

    void os_stream_flush(os_stream_t *stream)
    {
        // TODO Workaround FreeRTOS bug (will be fixed in future release)
        os_critical_enter();
    
        xStreamBufferReset(stream->_handle);
    
        // TODO Workaround FreeRTOS bug (will be fixed in future release)
        os_critical_exit();
    }

Children
No Data
Related