FreeRTOS
Introduction
FreeRTOS is a real-time operating system for microcontrollers and small microprocessors, distributed under the MIT license. The SDK integrates the FreeRTOS kernel with CPU-specific ports and application-owned configuration.
FreeRTOS is supported on the Arm Cortex-M33 CPU. The SDK uses the Cortex-M33 port without TrustZone task support.
CPU |
Compiler |
Port |
|---|---|---|
M33 |
TI Arm Clang |
Upstream GCC Cortex-M33 NTZ port (Directly compatible with TI Arm Clang) |
M33 |
IAR Embedded Workbench |
Upstream IAR Cortex-M33 NTZ port |
Features Supported
FreeRTOS Kernel v11.2.0.
Preemptive, priority-based scheduling, with time slicing enabled in the SDK default configuration.
Tasks, direct-to-task notifications, queues, queue sets, binary and counting semaphores, mutexes, recursive mutexes, software timers, and event groups.
Stream and message buffers.
Static and dynamic allocation; the SDK builds the
heap_4.callocator.Configurable kernel tick, interrupt-safe APIs, and nested interrupt handling through the CPU port.
Optional run-time statistics, trace support, assertions, and stack-overflow checks.
CPU Port Information
M33
Feature |
M33 |
|---|---|
Tick |
Cortex-M SysTick |
Yield |
PendSV exception; SVC starts the first task |
Critical section |
NVIC priority masking using BASEPRI |
Floating-point context |
Enabled by |
Features Not Supported
Co-routines are disabled in the default configuration.
Tickless idle is disabled in the SDK configuration
Note: The tick timer and statistics integration must be reviewed before enabling tickless mode.
SMP scheduling is not supported. Each supported CPU core runs an independent FreeRTOS kernel instance.
FreeRTOS+POSIX and other FreeRTOS companion libraries are not included by the kernel build.
TrustZone-aware task execution is not enabled by the NTZ integration.
Task-level MPU protection is disabled in the
defaultconfiguration.
Important Files and Directory Structure
Paths below are relative to
${SDK_INSTALL_PATH}.<cpu>denotes a CPU supported by the selected device.<config>denotes a specific SDK configuration for the selected device. (e.g.,default)
Folder / File |
Description |
|---|---|
|
Upstream FreeRTOS kernel, headers, and memory allocators (TI fork*) |
|
SDK CPU/compiler port integration |
|
Kernel source selection and CPU/compiler port selection |
|
Kernel and port include paths |
|
Default kernel and port settings |
|
Customizable hooks and device integration |
|
Configuration source and include-path wiring |
|
FreeRTOS example applications |
*For details on fork-specific changes and features, see
source/kernel/freertos/FreeRTOS_Kernel/README.md.
FreeRTOS Usage Guidelines
See FreeRTOS usage guidelines for SDK configuration, port integration, application startup, memory, interrupts, and diagnostic customization.
Additional References
Document Description |
Web Link |
|---|---|
FreeRTOS book |
|
FreeRTOS user documentation |
|
FreeRTOS User API reference |
|
FreeRTOS kernel source code |
|
FreeRTOS kernel example source code |