[FRDM-IMX93] MCUXpresso with Zephyr 4.3.0

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

[FRDM-IMX93] MCUXpresso with Zephyr 4.3.0

Jump to solution
592 Views
jaseze01
Contributor I

Hi, developer in training here! I'm trying to work with MCUXpresso in VSCode and Zephyr 4.3.0. I have been trying to import an example from the Zephyr repository for the FRDM-IMX93, "synchronization" or "hello world", but when I try to build them a "Error: could not find CMAKE_PROJECT_NAME in Cache" pops up. I have done some very-simple work with the MIMXRT1060-EVKB and MIMXRT1160-EVK with the same set-up with no problem, and the projects build just fine.  I'm not sure if I'm missing something, as I'm still trying to learns the basics of Zephyr...

0 Kudos
Reply
1 Solution
403 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @jaseze01 

yes, the complete installation of sdk should contain aarch64-zephyr-elf folder,you can try to delete zephyr-sdk-0.17.4 folder and reinstall it.

Best Regards,
Zhiming

View solution in original post

0 Kudos
Reply
5 Replies
553 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @jaseze01 

 

Did you installed the correct compile tool?

That error usually means CMake is not initialized properly.

 

Regards

Daniel

0 Kudos
Reply
500 Views
jaseze01
Contributor I

jaseze01_0-1763975113208.png

Hi, I installed the tools following the Zephyr https://github.com/nxp-mcuxpresso/vscode-for-mcux/wiki/Zephyr-Lab-Installation-and-Preparation guidelines. I suspect that maybe it has something to do with the versions of the tools (I attach a photo of the currents versions), as the FRDM-IMX93 is a relatively "new" incorporation, and only supported via MCUXpresso in Zephyr v4.3.0. With the other dev-kits I can compile and develop my projects without problems.

0 Kudos
Reply
465 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @jaseze01 

There is no issue here.

Zhiming_Liu_1-1764037024168.png

 

Zhiming_Liu_0-1764037007732.png

 

Please try to install v4.3 zephyr development tool.

Zhiming_Liu_2-1764037085009.png

 

 

To install zephyr, you can try to install it from VScode MCUXpresso plugin.

Zhiming_Liu_3-1764037131307.png




Best Regards,
Zhiming

0 Kudos
Reply
427 Views
jaseze01
Contributor I

Hi @Zhiming_Liu ! I have updated the installation, and now have the v4.3 for the Zephyr Developer. However the problem is still there...

I have revised the logs, and I think the problem originates in the Zephyr SDK:

Cmake Error at:

/mnt/.../.../zephyr/zephyr/zephyr/cmake/compiler/gcc/target.cmake:11 (message):

C compiler:

/home/.../zephyr-sdk-0.17.4/aarch64-zephyr-elf/bin/aarch64-zephyr-elf-gcc not found - Please chek your toolchain installation.

However, my zephyr-sdk-0.17.4 folder has no <aarch64-zephyr-elf> subdirectory, but <arm-zephyr-eabi> instead. Could that be it?

0 Kudos
Reply
404 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @jaseze01 

yes, the complete installation of sdk should contain aarch64-zephyr-elf folder,you can try to delete zephyr-sdk-0.17.4 folder and reinstall it.

Best Regards,
Zhiming

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2217581%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%5BFRDM-IMX93%5D%20MCUXpresso%20with%20Zephyr%204.3.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2217581%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20developer%20in%20training%20here!%20I'm%20trying%20to%20work%20with%20MCUXpresso%20in%20VSCode%20and%20Zephyr%204.3.0.%20I%20have%20been%20trying%20to%20import%20an%20example%20from%20the%20Zephyr%20repository%20for%20the%20FRDM-IMX93%2C%20%22synchronization%22%20or%20%22hello%20world%22%2C%20but%20when%20I%20try%20to%20build%20them%20a%20%22Error%3A%20could%20not%20find%20CMAKE_PROJECT_NAME%20in%20Cache%22%20pops%20up.%20I%20have%20done%20some%20very-simple%20work%20with%20the%20MIMXRT1060-EVKB%20and%20MIMXRT1160-EVK%20with%20the%20same%20set-up%20with%20no%20problem%2C%20and%20the%20projects%20build%20just%20fine.%26nbsp%3B%20I'm%20not%20sure%20if%20I'm%20missing%20something%2C%20as%20I'm%20still%20trying%20to%20learns%20the%20basics%20of%20Zephyr...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2228901%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20%5BFRDM-IMX93%5D%20MCUXpresso%20with%20Zephyr%204.3.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2228901%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F257092%22%20target%3D%22_blank%22%3E%40jaseze01%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EDid%20you%20installed%20the%20correct%20compile%20tool%3F%3C%2FP%3E%0A%3CP%3EThat%20error%20usually%20means%20CMake%20is%20not%20initialized%20properly.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%3C%2FP%3E%0A%3CP%3EDaniel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2247149%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20%5BFRDM-IMX93%5D%20MCUXpresso%20with%20Zephyr%204.3.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2247149%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jaseze01_0-1763975113208.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jaseze01_0-1763975113208.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jaseze01_0-1763975113208.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jaseze01_0-1763975113208.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jaseze01_0-1763975113208.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F366953iDA05EBEBEDAB241B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jaseze01_0-1763975113208.png%22%20alt%3D%22jaseze01_0-1763975113208.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EHi%2C%20I%20installed%20the%20tools%20following%20the%20Zephyr%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-mcuxpresso%2Fvscode-for-mcux%2Fwiki%2FZephyr-Lab-Installation-and-Preparation%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-mcuxpresso%2Fvscode-for-mcux%2Fwiki%2FZephyr-Lab-Installation-and-Preparation%3C%2FA%3E%26nbsp%3Bguidelines.%20I%20suspect%20that%20maybe%20it%20has%20something%20to%20do%20with%20the%20versions%20of%20the%20tools%20(I%20attach%20a%20photo%20of%20the%20currents%20versions)%2C%20as%20the%20FRDM-IMX93%20is%20a%20relatively%20%22new%22%20incorporation%2C%20and%20only%20supported%20via%20MCUXpresso%20in%20Zephyr%20v4.3.0.%20With%20the%20other%20dev-kits%20I%20can%20compile%20and%20develop%20my%20projects%20without%20problems.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2248347%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20%5BFRDM-IMX93%5D%20MCUXpresso%20with%20Zephyr%204.3.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2248347%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F151788%22%20target%3D%22_blank%22%3E%40Zhiming_Liu%3C%2FA%3E%26nbsp%3B!%20I%20have%20updated%20the%20installation%2C%20and%20now%20have%20the%20v4.3%20for%20the%20Zephyr%20Developer.%20However%20the%20problem%20is%20still%20there...%3C%2FP%3E%3CP%3EI%20have%20revised%20the%20logs%2C%20and%20I%20think%20the%20problem%20originates%20in%20the%20Zephyr%20SDK%3A%3C%2FP%3E%3CP%3E%3CEM%3ECmake%20Error%20at%3A%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3E%2Fmnt%2F...%2F...%2Fzephyr%2Fzephyr%2Fzephyr%2Fcmake%2Fcompiler%2Fgcc%2Ftarget.cmake%3A11%20(message)%3A%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3EC%20compiler%3A%3C%2FEM%3E%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CEM%3E%2Fhome%2F...%2Fzephyr-sdk-0.17.4%2Faarch64-zephyr-elf%2Fbin%2Faarch64-zephyr-elf-gcc%20not%20found%20-%20Please%20chek%20your%20toolchain%20installation.%3C%2FEM%3E%3C%2FP%3E%3CP%3EHowever%2C%20my%20zephyr-sdk-0.17.4%20folder%20has%20no%20%3CAARCH64-ZEPHYR-ELF%3E%20subdirectory%2C%20but%20%3CARM-ZEPHYR-EABI%3E%20instead.%20Could%20that%20be%20it%3F%3C%2FARM-ZEPHYR-EABI%3E%3C%2FAARCH64-ZEPHYR-ELF%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2247874%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20%5BFRDM-IMX93%5D%20MCUXpresso%20with%20Zephyr%204.3.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2247874%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F257092%22%20target%3D%22_blank%22%3E%40jaseze01%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20is%20no%20issue%20here.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Zhiming_Liu_1-1764037024168.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Zhiming_Liu_1-1764037024168.png%22%20style%3D%22width%3A%20383px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Zhiming_Liu_1-1764037024168.png%22%20style%3D%22width%3A%20383px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F367049i4DEB212AF646D414%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Zhiming_Liu_1-1764037024168.png%22%20alt%3D%22Zhiming_Liu_1-1764037024168.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Zhiming_Liu_0-1764037007732.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Zhiming_Liu_0-1764037007732.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Zhiming_Liu_0-1764037007732.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F367048i91E918C128E18FDA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Zhiming_Liu_0-1764037007732.png%22%20alt%3D%22Zhiming_Liu_0-1764037007732.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EPlease%20try%20to%20install%20v4.3%20zephyr%20development%20tool.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Zhiming_Liu_2-1764037085009.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Zhiming_Liu_2-1764037085009.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Zhiming_Liu_2-1764037085009.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F367050iD6922476369739D6%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Zhiming_Liu_2-1764037085009.png%22%20alt%3D%22Zhiming_Liu_2-1764037085009.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CP%3ETo%20install%20zephyr%2C%20you%20can%20try%20to%20install%20it%20from%20VScode%20MCUXpresso%20plugin.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Zhiming_Liu_3-1764037131307.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Zhiming_Liu_3-1764037131307.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Zhiming_Liu_3-1764037131307.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F367051iE321117D1B02ABFF%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Zhiming_Liu_3-1764037131307.png%22%20alt%3D%22Zhiming_Liu_3-1764037131307.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2248724%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20%5BFRDM-IMX93%5D%20MCUXpresso%20with%20Zephyr%204.3.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2248724%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F257092%22%20target%3D%22_blank%22%3E%40jaseze01%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3Eyes%2C%20the%20complete%20%3CSPAN%3Einstallation%20of%20sdk%20should%20contain%20%3CEM%3Eaarch64-zephyr-elf%3C%2FEM%3E%26nbsp%3Bfolder%2Cyou%20can%20try%20to%20delete%26nbsp%3Bzephyr-sdk-0.17.4%20folder%20and%20reinstall%20it.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E