Hi,
I am trying to build FreeRTOS for the M4 core on IMX8QX using the SDK(SDK_2.3_MEK-MIMX8QX_M4_Beta_Linux.run). I found the steps for building FreeRTOS example applications in the document "Getting Started with MCUXpresso SDK and FreeRTOS OS.pdf" found in the SDK docs. I was able to build a sample FreeRTOS Application(freertos_hello).
But I am confused whether this include the entire FreeRTOS or the Just the FreeRTOS application only. If it is just a FreeRTOS application, where can i find the steps for building FreeRTOS for M4 core using the SDK(SDK_2.3_MEK-MIMX8QX_M4_Beta_Linux.run)?
Regards,
Ajmal
Solved! Go to Solution.
steps for running M4 application can be found in sect.4.7.6 Running the ARM Cortex-M4 image
i.MX_Linux_User's_Guide.pdf included in linux documentation package
I believe "freertos_hello.elf" image contains OS(FreeRTOS) & sample application.
Best regards
igor
Hi Ajmal
as stated in sect.1 Overview Getting Started with MCUXpresso SDK pdf document:
"The MCUXpresso SDK also contains FreeRTOS, and various other middleware to support rapid
development."
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you for your reply.
After building the freertos_hello application for M4 core, we got the final image as "freertos_hello.elf"(388.4kb). If I understand correctly, this image contains the OS(FreeRTOS) & our sample application. Kindly please confirm this understanding. Due to curiosity, We have a question, Are we able to build,flash and run FreeRTOS alone in the M4 core without any sample application?
Regards,
Ajmal
steps for running M4 application can be found in sect.4.7.6 Running the ARM Cortex-M4 image
i.MX_Linux_User's_Guide.pdf included in linux documentation package
I believe "freertos_hello.elf" image contains OS(FreeRTOS) & sample application.
Best regards
igor
I checked the document(i.MX_Linux_User's_Guide.pdf) and found the steps for running the M4 image on i.MX8 as you mentioned in your reply. But still I couldn't get the steps for building the FreeRTOS alone in the M4 core. Can you please help me to build the FreeRTOS alone in the M4 core without any sample application?
Regards,
Ajmal
I checked the link(https://www.freertos.org/FreeRTOS-quick-start-guide.html) and found the steps for making the FreeRTOS demo application and so many other details. I am looking for steps to build the FreeRTOS for M4 core without any application for the I.MX8. Can you please provide pointer or link for build the FreeRTOS alone in the M4 core by using the SDK (SDK_2.3_MEK-MIMX8QX_M4_Beta_Linux.run)?
Regards,
Ajmal
Hi Ajmal
seems building FreeRTOS for M4 core without any application does not make
sense as image should always have some basic RTOS Components, like Scheduler,
Timing Services: Clocks, Timers, etc.
Best regards
igor