SPNA237A April   2018  – October 2026 RM41L232 , RM42L432 , RM44L520 , RM44L920 , RM46L430 , RM46L440 , RM46L450 , RM46L830 , RM46L840 , RM46L850 , RM46L852 , RM48L530 , RM48L540 , RM48L730 , RM48L740 , RM48L940 , RM48L950 , RM48L952 , RM57L843 , TMS570LC4357 , TMS570LC4357-EP , TMS570LC4357-SEP , TMS570LS0232 , TMS570LS0332 , TMS570LS0432 , TMS570LS0714 , TMS570LS0714-S , TMS570LS0914 , TMS570LS1114 , TMS570LS1115 , TMS570LS1224 , TMS570LS1225 , TMS570LS1227 , TMS570LS2124 , TMS570LS2125 , TMS570LS2134 , TMS570LS2135 , TMS570LS3134 , TMS570LS3135 , TMS570LS3137

 

  1.   1
  2.   FreeRTOS on Hercules Devices
  3.   Trademarks
  4. 1FreeRTOS Source Files
  5. 2FreeRTOS Support in HALCoGen
  6. 3MPU Settings as an Add-on for Safety Use Cases
    1. 3.1 MPU Wrapper Functions
    2. 3.2 MPU Regions for Tasks
  7. 4Porting FREERTOS on a Different Part Number
  8. 5Revision History

FreeRTOS Source Files

FreeRTOS source files can be divided into platform-dependent and platform-independent files. It supports various families, including TI's Hercules microcontroller.

The FreeRTOS\Source folder contains the drivers for each submodule, such as tasks, semaphores, queues, and so forth. These drivers are platform-independent.

The FreeRTOS\Source\include folder contains the header files, including a header file named mpu_wrappers.h. For the platforms that support MPU, these header files redefine the kernel functions to the corresponding MPU wrapper functions. More details on MPU wrapper functions are provided in the following sections.

The FreeRTOS\Source\portable\XXX folder contains platform-dependent code. For every platform, FREERTOS provides a .c and an assembly file for port functions, and a header file named portmacro.h for the platform-dependent macros.

Along with these source files, a FreeRTOS project requires the following files:

  • FreeRTOSConfig.h — Contains macros for customizing the FreeRTOS drivers. Sample file provided as part of demos.
  • mpu_wrappers.c — Contains the MPU wrapper functions for kernel functions. For FreeRTOS v9 and later, a sample file is provided as part of FreeRTOS\Source\portable\Common folder.