Skip to content

Releases: feilipu/miniAVRfreeRTOS

Initial v11.1.0 Release

30 Apr 11:06
1963520
Compare
Choose a tag to compare

Changes between FreeRTOS V11.0.0 and FreeRTOS V11.1.0 released April 22, 2024

+ Add ARMv7-R port with Memory Protection Unit (MPU) support.
+ Add Memory Protection Unit (MPU) support to the Cortex-M0 port.
+ Add stream batching buffer. A stream batching buffer differs from a stream
  buffer when a task reads from a non-empty buffer:
  - The task reading from a non-empty stream buffer returns immediately
    regardless of the amount of data in the buffer.
  - The task reading from a non-empty steam batching buffer blocks until the
    amount of data in the buffer exceeds the trigger level or the block time
    expires.
  We thank @cperkulator for their contribution.
+ Add the ability to change task notification index for stream buffers. We
  thank @glemco for their contribution.
+ Add xStreamBufferResetFromISR and xMessageBufferResetFromISR APIs to reset
  stream buffer and message buffer from an Interrupt Service Routine (ISR).
  We thank @HagaiMoshe for their contribution.
+ Update all the FreeRTOS APIs to use configSTACK_DEPTH_TYPE for stack type.
  We thank @feilipu for their contribution.
+ Update vTaskEndScheduler to delete the timer and idle tasks,
  once the scheduler is stopped.
+ Make xTaskGetCurrentTaskHandleForCore() available to the single core
  scheduler. We thank @Dazza0 for their contribution.
+ Update uxTaskGetSystemState to not use the pxIndex member of the List_t
  structure while iterating ready tasks list. The reason is that pxIndex
  member must only used to select next ready task to run. We thank
  @gemarcano for their inputs.
+ Add a config option to the FreeRTOS SMP Kernel to set the default core
  affinity mask for tasks created without an affinity mask. We thank @go2sh
  for their contribution.
+ Add configUSE_EVENT_GROUPS and configUSE_STREAM_BUFFERS configuration
  constants to control the inclusion of event group and stream buffer
  functionalities.
+ Code changes to comply with MISRA C 2012.
+ Add 64-bit support to the FreeRTOS Windows Simulator port. We thank @watsk
  and @josesimoes for their contributions.
+ Add support for 64-bit Microblaze processor to the MicroblazeV9 port. We
  thank @mubinsyed for their contribution.
+ Add support for MSP430 Embedded Application Binary Interface (EABI) to
  the MSP430F449 port to make it work with both MSP430 GCC and MSPGCC
  compilers. We thank @Forty-Bot for their contribution.
+ Update xPortIsAuthorizedToAccessBuffer() on FreeRTOS ports with MPU
  support to grant an unprivileged task access to all the memory before the
  scheduler is started.
+ Update the POSIX port to pass the FreeRTOS task name to pthread for
  readable output in debuggers. We thank @Mixaill for their contribution.
+ Update the POSIX port to ignore the user specified stack memory and only
  pass the stack size to the pthread API to avoid errors caused when stack size
  is smaller than the minimum. We thank @cmorgnaBE for their
  contribution.
+ Update the POSIX port to use a timer thread for tick interrupts instead of
  POSIX timers to address issues with signal handling in non-FreeRTOS
  pthreads. We thank @cmorgnaBE for their contribution.
+ Update ARM_TFM port to support TF-Mv2.0.0 release of trusted-firmware-m.
  We thanks @urutva for their contribution.
+ Remove redundant constant pools in ARMv8 ports. We thank @urutva for their
  contribution.
+ Add APIs to reset the internal state of kernel modules. These APIs are
  primarily intended to be used in the testing frameworks that restart the
  scheduler.
+ Use kernel provided implementations of vApplicationGetIdleTaskMemory() and
  vApplicationGetTimerTaskMemory() in the RP2040 port. We thank @dpslwk for
  their contribution.
+ Fix atomic enter/exit critical section macro definitions in atomic.h for
  ports that support nested interrupts. We thank @sebunger for their
  contribution.
+ Fix compiler warnings in the MSP430F449 port when compiled with the
  MSP430 GCC compiler. We thank @Forty-Bot for their contribution.
+ Update the scheduler suspension usage in ulTaskGenericNotifyTake and
  xTaskGenericNotifyWait() to enhance code readability. We thank @Dazza0 for
  their contribution.
+ Add support for latest version of MPU wrappers( mpu_wrappers_v2) in CMake.
  We thank @IsaacDynamo for their contribution.
+ Update CMake support to create only one static library containing both the
  kernel common code and the kernel port code. We thank @barnatahmed for
  their contribution.
+ Updated the SBOM file.

Changes between FreeRTOS V10.6.2 and FreeRTOS V11.0.0 released December 18, 2023

+ SMP merged into the mainline:  While FreeRTOS introduced Asymmetric
  Multiprocessing (AMP) support in 2017, FreeRTOS Version 11.0.0 is the
  first to merge Symmetric Multiprocessing (SMP) support into the mainline
  release. SMP enables one instance of the FreeRTOS Kernel to schedule tasks
  across multiple identical processor cores.  We thank Mike Bruno and Jerry
  McCarthy of XMOS and, Darian Liang, Sudeep Mohanty and Zim Kalinowski of
  Espressif Systems for their contributions.
+ Switch MISRA compliance checking from PC Lint to Coverity, and update from
  MISRA C:2004 to MISRA C:2012.
+ Add a template FreeRTOSConfig.h, inclusive of an abbreviated explanation of
  each configuration item. Application writers can use this template as a
  starting point to create the FreeRTOSConfig.h file for their application.
+ Add a template FreeRTOS port which can be used as a starting point for
  developing a new FreeRTOS port.
+ Add bounds checking and obfuscation to internal heap block pointers in
  heap_4.c and heap_5.c to help catch pointer corruptions. The application can
  enable these checks by setting configENABLE_HEAP_PROTECTOR to 1 in their
  FreeRTOSConfig.h. We thank @oliverlavery for their contribution.
+ Update vTaskList and vTaskGetRunTimeStats APIs to replace the use of sprintf
  with snprintf.
+ Add trace macros to ports that enable tracing the interaction of ISRs with
  scheduler events. We thank @conara for their contribution.
+ Add trace macros that enable tracing of entering and exiting all APIs. We
  thank @Techcore123 for their contribution.
+ Add uxTaskBasePriorityGet and uxTaskBasePriorityGetFromISR APIs to get the
  base priority of a task. The base priority of a task is the priority that
  was last assigned to the task - which due to priority inheritance, may not
  be the current priority of the task.
+ Add pdTICKS_TO_MS macro to convert time in FreeRTOS ticks to time in
  milliseconds. We thank @Dazza0 for their contribution.
+ Add default implementations of vApplicationGetIdleTaskMemory and
  vApplicationGetTimerTaskMemory. The application can enable these default
  implementations by setting configKERNEL_PROVIDED_STATIC_MEMORY to 1 in their
  FreeRTOSConfig.h. We thank @mdnr-g for their contribution.
+ Update vTaskGetInfo to include start and end of the stack whenever both
  values are available. We thank @vinceburns for their contribution.
+ Prevent tasks waiting for a notification from being resumed by calls to
  vTaskResume or vTaskResumeFromISR. We thank @Moral-Hao for their
  contribution.
+ Add asserts to validate that the application has correctly installed
  FreeRTOS handlers for PendSV and SVCall interrupts on Cortex-M devices.
  We thank @jefftenney for their contribution.
+ Rename ARM_CA53_64_BIT and ARM_CA53_64_BIT_SRE ports to Arm_AARCH64 and
  Arm_AARCH64_SRE respectively as these ports are applicable to all AArch64
  architecture. We thank @urutva for their contribution.
+ Add CMake support to allow the application writer to select the RISC-V
  chip extension. We thank @JoeBenczarski for their contribution.
+ Add CMake support to allow the application writer to build an application
  with static allocation only. We thank @conara for their contribution.
+ Make taskYIELD available to unprivileged tasks for ARMv8-M ports.
+ Update Cortex-M23 ports to not use PSPLIM_NS. We thank @urutva for their
  contribution.
+ Update the SysTick setup code for ARMv8-M ports to first configure the clock
  source and then enable SysTick. This is needed to address a bug in QEMU
  versions older than 7.0.0, which causes an emulation error if SysTick is
  enabled without first selecting a valid clock source. We thank @jefftenney
  for their contribution.
+ Add the port-optimized task selection algorithm optionally available for
  ARMv7-M ports to the ARMv8-M ports. We thank @jefftenney for their
  contribution.
+ Improve the speed of pvPortMalloc in heap_4.c and heap_5.c by removing
  unnecessary steps while splitting a large memory block into two. We thank
  @Moral-Hao for their contribution.
+ Shorten the critical section in pvPortMalloc in heap_2.c, heap_4.c and
  heap_5.c by moving the size calculation out of the critical section. We thank
  @Moral-Hao for their contribution.
+ Update xTaskNotifyWait and ulTaskNotifyTake to remove the non-deterministic
  operation of traversing a linked link from a critical section. We thank
  @karver8 for their contribution.
+ Fix stack end and stack size computation in POSIX port to meet the stack
  alignment requirements on MacOS. We thank @tegimeki for their contribution.
+ Update the vTaskPrioritySet implementation to use the new priority whe...
Read more

Initial v10.5.0 Release

17 Sep 07:38
Compare
Choose a tag to compare

Changes between FreeRTOS V10.4.6 and V10.5.0 September 16 2022

  • Update the pointer types to portPOINTER_SIZE_TYPE.
  • Add the ability to override send and receive completed callbacks for each
    instance of a stream buffer or message buffer. Earlier there could be
    one send and one receive callback for all instances of stream and message
    buffers. Having separate callbacks per instance allows different message
    and stream buffers to be used differently - for example, some for inter core
    communication and others for same core communication.
    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 for 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.
  • 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.
  • Simplify prvInitialiseNewTask to memset newly allocated TCB structures
    to zero, and remove code that set individual structure members to zero.
  • Add top of stack and end of stack to the task info report obtained using
    vTaskGetInfo().
  • Add a cap to the cRxLock and cTxLock members of the queue data structure.
    These locks count the number items received and sent to the queue while
    the queue was locked. These are later used to unblock tasks waiting on
    the queue when the queue is unlocked. This PR caps the values of the
    cRxLock and cTxLock to the number of tasks in the system because we cannot
    unblock more tasks than there are in the system. Note that the same assert
    could still be triggered is the application creates more than 127 tasks.
  • 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.

Initial v10.3.0 Release

16 Apr 13:32
Compare
Choose a tag to compare
10.3.0-1

align to ATmegaxxxx

Initial v10.2.0 Release

27 Feb 10:51
Compare
Choose a tag to compare
10.2.0-1

v10.2.0 whitespace

Update v10.1.1 Release

08 Sep 09:49
Compare
Choose a tag to compare

Tidied up some whitespace, and some bad includes.
Otherwise just updated to v10.1.1.

Initial v10.0.0 Release

09 Dec 04:10
Compare
Choose a tag to compare

Initial release of the FreeRTOS v10.0.0 code train.

The new licencing is MIT, as Richard Berry has joined Amazon Web Services.

This is backwards compatible with v9.x.x. The only significant difference is the addition of static memory allocation options, avoiding the need to have a malloc() function.

FreeRTOS kernel v10 includes two major new features: stream buffers and message buffers. These are task (thread)-to-task and interrupt-to-task communication primitives, but, unlike other FreeRTOS communications primitives, they are optimized for single reader/single writer scenarios, such as passing data from an interrupt service routine to a task, or (increasingly important these days) from one microcontroller core to another. Stream buffers pass a continuous stream of bytes, whereas message buffers pass variable-sized but discrete messages.

Initial v9.0.0 Release

09 Dec 02:25
Compare
Choose a tag to compare
v9.0.0-1

initial v9.0.0 commit

Final v8 Branch Release

13 Mar 16:03
Compare
Choose a tag to compare

The final state of the freeRTOS v8 branch is v8.2.3.
Moving to v9 once the release candidate process is finished.