FreeRTOS Application Testing Procedure

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FreeRTOS Application Testing Procedure

267 次查看
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 项奖励
回复
1 回复

225 次查看
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 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2162868%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFreeRTOS%20%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E6%B5%8B%E8%AF%95%E7%A8%8B%E5%BA%8F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2162868%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E9%9C%80%E8%A6%81%E5%9C%A8%20imx93%20%E8%87%AA%E5%AE%9A%E4%B9%89%E6%9D%BF%E4%B8%AD%E4%BD%BF%E7%94%A8%E4%BB%A5%E4%B8%8B%E6%BA%90%E4%BB%A3%E7%A0%81%E9%AA%8C%E8%AF%81%20FreeRTOS%E3%80%82%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%3E%E8%AF%B7%E5%88%86%E4%BA%AB%E7%94%A8%E4%BA%8E%E9%AA%8C%E8%AF%81%20FreeRTOS%20%E7%9A%84%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E6%B5%8B%E8%AF%95%E6%96%87%E6%A1%A3%E3%80%82%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%3E%E4%BD%A0%E5%A5%BD%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%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%E5%B8%8C%E6%9C%9B%E4%BD%A0%E4%B8%80%E5%88%87%E9%83%BD%E5%A5%BD%E3%80%82%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%E5%9C%A8%20SDK%20%E6%96%87%E4%BB%B6%E5%A4%B9%E4%B8%AD%EF%BC%8C%E6%82%A8%E4%BC%9A%E5%8F%91%E7%8E%B0%E4%B8%80%E4%B8%AA%E5%90%8D%E4%B8%BA%20freertos_exmaples%20%E7%9A%84%E6%96%87%E4%BB%B6%E5%A4%B9%EF%BC%9A%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CPRE%20class%3D%22language-markup%22%3E%3CCODE%20translate%3D%22no%22%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%3E%E4%BD%A0%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%20arm%20%E7%9A%84%20gcc%20%E5%B7%A5%E5%85%B7%E7%BC%96%E8%AF%91%E4%BB%BB%E4%BD%95%E4%BE%8B%E5%AD%90%E3%80%82%E5%B0%B1%E6%88%91%E8%80%8C%E8%A8%80%EF%BC%8C%E6%88%91%E4%BD%BF%E7%94%A8%E7%9A%84%E6%98%AF%20arm-gnu-toolchain-13.3.rel1-x86_64-%3CSPAN%3E%3C%2FSPAN%3E%20%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-none-eab%3C%2FA%3E%20i%E3%80%82%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%E6%82%A8%E5%8F%AF%E4%BB%A5%E4%B8%8B%E8%BD%BD%E8%AF%A5%E5%B7%A5%E5%85%B7%EF%BC%8C%E7%84%B6%E5%90%8E%E5%AF%BC%E5%87%BA%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E8%BF%9B%E8%A1%8C%E7%BC%96%E8%AF%91%EF%BC%9A%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CPRE%20class%3D%22language-markup%22%3E%3CCODE%20translate%3D%22no%22%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%3E%E7%84%B6%E5%90%8E%EF%BC%8C%E8%BD%AC%E5%88%B0%E8%A6%81%E7%BC%96%E8%AF%91%E7%9A%84%E9%A1%B9%E7%9B%AE%EF%BC%8C%E4%BE%8B%E5%A6%82%22freertos_hello%22%20%E3%80%82%E5%9C%A8%E8%AF%A5%E7%9B%AE%E5%BD%95%E4%B8%AD%EF%BC%8C%E4%BD%A0%E4%BC%9A%E5%8F%91%E7%8E%B0%E5%8F%A6%E4%B8%80%E4%B8%AA%E5%90%8D%E4%B8%BA%22armgcc%22%20%E7%9A%84%E7%9B%AE%E5%BD%95%E3%80%82%E8%BF%99%E9%87%8C%E6%9C%89%E7%BC%96%E8%AF%91%E9%A1%B9%E7%9B%AE%E6%89%80%E9%9C%80%E7%9A%84%E8%84%9A%E6%9C%AC%EF%BC%9A%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CPRE%20class%3D%22language-markup%22%3E%3CCODE%20translate%3D%22no%22%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%3E%E7%8E%B0%E5%9C%A8%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%B0%86%E7%A4%BA%E4%BE%8B%E5%8A%A0%E8%BD%BD%E5%88%B0%E6%9D%BF%E4%B8%8A%E3%80%82%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%E9%A1%BA%E7%A5%9D%E5%95%86%E7%A5%BA%EF%BC%81%3C%2FDIV%3E%0A%3CDIV%3E%E8%90%A8%E6%8B%89%E6%96%AF%3C%2FDIV%3E%3C%2FLINGO-BODY%3E