Skip to content

Update 10.4.6 Release

Compare
Choose a tag to compare
@feilipu feilipu released this 07 Aug 13:09
· 41 commits to master since this release

Changes between FreeRTOS V10.4.6 and V10.4.6 snapshot August 7 2022

  • Changed uxAutoReload parameter in timer functions to xAutoReload. The
    type is now BaseType_t. This matches the type of pdTRUE and pdFALSE.
    The new function xTimerGetAutoReload() provides the auto-reload state as
    a BaseType_t. The legacy function uxTimerGetAutoReload is retained with the
    original UBaseType_t return value.
  • Introduce the configUSE_MINI_LIST_ITEM configuration option. When this
    option is set to 1, ListItem_t and MiniLitItem_t remain separate types.
    However, when configUSE_MINI_LIST_ITEM == 0, MiniLitItem_t and ListItem_t
    are both typedefs of the same struct xLIST_ITEM. This addresses some issues
    observed when strict-aliasing and link time optimization are enabled.
    To maintain backwards compatibility, configUSE_MINI_LIST_ITEM defaults to 1.
  • Add the ability to override send and receive completed callbacks for each
    instance of a stream buffer or message buffer. The feature can be controlled
    by setting the configuration option configUSE_SB_COMPLETED_CALLBACK in
    FreeRTOSConfig.h. When the option is set to 1, APIs
    xStreamBufferCreateWithCallback() or xStreamBufferCreateStaticWithCallback()
    (and likewise APIs from message buffer) can be used to create a stream buffer
    or message buffer instance with application provided callback overrides. When
    the option is set to 0, then the default callbacks as defined by
    sbSEND_COMPLETED() and sbRECEIVE_COMPLETED() macros are invoked. To maintain
    backwards compatibility, configUSE_SB_COMPLETED_CALLBACK defaults to 0. The
    functionality is currently not supported for MPU enabled ports.

Changes between FreeRTOS V10.4.5 and FreeRTOS V10.4.6 released November 12 2021

  • Extend use of the configSTACK_DEPTH_TYPE which enables developers to define
    the type used to hold stack counter variables. Defaults to uint16_t
    for backward compatibility. #define configSTACK_DEPTH_TYPE to a type
    (for example, uint8_t) in FreeRTOSConfig.h to override the default.
  • Introduce a new config configALLOW_UNPRIVILEGED_CRITICAL_SECTIONS which
    enables developers to prevent critical sections from unprivileged tasks.
    It defaults to 1 for backward compatibility. Application should set it to
    0 to disable critical sections from unprivileged tasks.
  • Deleted all references to Coroutines.