FreeRTOS Application Testing Procedure

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FreeRTOS Application Testing Procedure

269 Views
Esakkiammal
Contributor I

Need to validate the FreeRTOS using below source in imx93 custom board.
https://mcuxpresso.nxp.com/dashboard
Kindly share the application testing document for validating FreeRTOS.

0 Kudos
Reply
1 Reply

227 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport
Hello @Esakkiammal 
 
I hope you are doing very well.
 
Inside of the SDK folder, you will find a folder called freertos_exmaples:
 
linux@machine:~/SDK_25_03_00_MCIMX93-EVK/boards/mcimx93evk/freertos_examples$ ls
freertos_event  freertos_generic  freertos_hello  freertos_mutex  freertos_queue  freertos_sem  freertos_sem_static  freertos_swtimer
linux@machine:~/SDKs/SDK_25_03_00_MCIMX93-EVK/boards/mcimx93evk/freertos_examples$ 
 
You can compile any example with gcc tool from arm. In my case I am using the arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.
 
You can Download the tool, and then export an environment variable for compile:
 
$ export ARMGCC_DIR=~/cortex-m-toolchain/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi
 
Then, go to the project you want to compile, for example "freertos_hello". Inside of the directory, you will find another one with name "armgcc". There are the necessary scripts to compile the project:
 
#Inside of "armgcc" directory
$ ./build_release.sh 
$ cd release
$ ls
freertos_hello.bin  freertos_hello_cm33.elf
 
 
Now you can load the examples to the board.
 
Best regards,
Salas.
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2162868%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFreeRTOS%20Application%20Testing%20Procedure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2162868%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ENeed%20to%20validate%20the%20FreeRTOS%20using%20below%20source%20in%20imx93%20custom%20board.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fmcuxpresso.nxp.com%2Fdashboard%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmcuxpresso.nxp.com%2Fdashboard%3C%2FA%3E%3CBR%20%2F%3EKindly%20share%20the%20application%20testing%20document%20for%20validating%20FreeRTOS.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2164449%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FreeRTOS%20Application%20Testing%20Procedure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2164449%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CDIV%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F254401%22%20target%3D%22_blank%22%3E%40Esakkiammal%3C%2FA%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EI%20hope%20you%20are%20doing%20very%20well.%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EInside%20of%20the%20SDK%20folder%2C%20you%20will%20find%20a%20folder%20called%20freertos_exmaples%3A%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CPRE%20class%3D%22language-markup%22%3E%3CCODE%3Elinux%40machine%3A~%2FSDK_25_03_00_MCIMX93-EVK%2Fboards%2Fmcimx93evk%2Ffreertos_examples%24%20ls%0Afreertos_event%20%20freertos_generic%20%20freertos_hello%20%20freertos_mutex%20%20freertos_queue%20%20freertos_sem%20%20freertos_sem_static%20%20freertos_swtimer%0Alinux%40machine%3A~%2FSDKs%2FSDK_25_03_00_MCIMX93-EVK%2Fboards%2Fmcimx93evk%2Ffreertos_examples%24%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EYou%20can%20compile%20any%20example%20with%20gcc%20tool%20from%20arm.%20In%20my%20case%20I%20am%20using%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdeveloper.arm.com%2Fdownloads%2F-%2Farm-gnu-toolchain-downloads%2F13-3-rel1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%20shape%3D%22rect%22%3Earm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi%3C%2FA%3E.%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EYou%20can%20Download%20the%20tool%2C%20and%20then%20export%20an%20environment%20variable%20for%20compile%3A%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CPRE%20class%3D%22language-markup%22%3E%3CCODE%3E%24%20export%20ARMGCC_DIR%3D~%2Fcortex-m-toolchain%2Farm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EThen%2C%20go%20to%20the%20project%20you%20want%20to%20compile%2C%20for%20example%20%22freertos_hello%22.%20Inside%20of%20the%20directory%2C%20you%20will%20find%20another%20one%20with%20name%20%22armgcc%22.%20There%20are%20the%20necessary%20scripts%20to%20compile%20the%20project%3A%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CPRE%20class%3D%22language-markup%22%3E%3CCODE%3E%23Inside%20of%20%22armgcc%22%20directory%0A%24%20.%2Fbuild_release.sh%20%0A%24%20cd%20release%0A%24%20ls%0Afreertos_hello.bin%20%20freertos_hello_cm33.elf%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3ENow%20you%20can%20load%20the%20examples%20to%20the%20board.%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EBest%20regards%2C%3C%2FDIV%3E%0A%3CDIV%3ESalas.%3C%2FDIV%3E%3C%2FLINGO-BODY%3E