This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C129ENCPDT: How to build a port of freeRTOS that supports the MPU?

Part Number: TM4C129ENCPDT

Tool/software:

I am currently working in CCS, and I've built a small project using freeRTOS by downloading the freeRTOS kernel source code from their website, and then copying it into the CCS project.

When choosing a port of freeRTOS, I chose portable/CCS/ARM_CM4F. This port compiles with the CCS compiler, however, it does not support usage of the MPU. Are there any examples of using freeRTOS on the Tiva Series chips and also enabling the MPU? 

I have also tried using a port such as portable/GCC/ARM_CM4_MPU, but the kernel code in this port does not compile, since CCS does not use the gcc compiler.

My CCS version is 12.7.1.00001, and I am using the TM4C129ENCPDT.

  • Hi Eric,

     There are three app notes for developing FreeRTOS applications on TM4C MCU. Inside each app note, there are ready to use examples. Please go the device product webpage and look under Technical Documentation section. 

  • Hi Charles,

    Thanks for the quick response. I have reviewed the application notes that you referenced, which have lots of examples on how to use freeRTOS with peripherals. However, they do not mention how to build a kernel with the MPU enabled, which I would like to have for memory protection.

    Do you know of any documentation about how to build a freeRTOS kernel that supports the MPU, with CCS?

  • Hi

    they do not mention how to build a kernel with the MPU enabled, which I would like to have for memory protection.

     I will suggest you reach out to FreeRTOS and post question there as my expertise in on the MCU, not this 3rd party tool on how to rebuild the kernel for MPU.