Skip to content

Initial 11.3.3 Release

Latest

Choose a tag to compare

@feilipu feilipu released this 27 Nov 11:43

Kernel updated from FreeRTOS V11.1.0 (22 April 2024) to V11.3.3 (29 October 2026). This is the LTS release for this library.

The ATmega port is unchanged apart from the version banner. The local AVR modifications are kept, including the explicit handle casts, the real kernel typedefs, the heap_3 dynamic-allocation guard, and the queue-creation size check. On the Uno and Mega test images, flash grew by 32 bytes and RAM was unchanged.

Updates that apply to this library

+ Add xTaskPeriodicDelay() for periodic tasks. It supersedes xTaskDelayUntil(), catches up skipped periods immediately, and returns how many periods were skipped.
+ Add uxTaskCallForEachTask(), which invokes a caller-supplied function for every task.
+ Fix batching stream buffers so a waiting reader is woken only after the stored byte count is greater than the trigger level. A reader could previously wake early and have xStreamBufferReceive() return 0. Ordinary stream buffers and message buffers are unchanged.
+ Fix priority disinheritance when the task that timed out on a mutex was the only waiter at its priority.
+ Fix xEventGroupSetBits() so the value it returns is read while the scheduler is suspended. A higher-priority task can no longer delete the event group before that read.
+ Fix xQueueAddToSet() and xQueueSelectFromSet() so an ordinary queue passed in place of a queue set is rejected. Queue sets stay off in the default configuration.
+ Fix xTimerGenericCommandFromTask() to reject a command id below the valid range.
+ Add checks for deleting a queue that still has tasks blocked on it, for a stack that would overflow at task creation, and for overflow in a stream-buffer send and a recursive mutex. These are configASSERT checks, and they stay compiled out unless configASSERT is defined.
+ Check for NULL after configASSERT() in queue.c and stream_buffer.c, which covers builds where asserts are compiled out.
+ Cast the stack allocation for a downward-growing stack to StackType_t *. This port grows the stack down, and StackType_t remains one byte.
+ Replace `#define static` with a STATIC macro, so the idle-task and timer-task allocation hooks stay static when portREMOVE_STATIC_QUALIFIER is set.
+ In xTaskNotifyWait() and ulTaskNotifyTake(), suspend the scheduler only when the task is not already notified and the caller is willing to wait.
+ Give queue sets their own queue type value, so a tracer can tell a queue set from a queue.
+ Use UBaseType_t for the queue item-length macros. On this port that type is still uint8_t.

The context switch, critical sections, and watchdog tick are the existing ATmega port. The full upstream history, including changes for other architectures, is in src/History.txt.