2139286_en-US

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

2139286_en-US

2139286_en-US

unable to build for fusion F1 DSP MIMXRT595-EVK
Hi,
 
When trying to build one of the examples (following https://mcuxpresso.nxp.com/mcuxsdk/25.06.00/html/boards/RT/evkmimxrt595/gettingStartedXplorer/topics...) I get the following error:
[nicolas@LPC84-nicolas xcc]$ make
[  5%] Building C object CMakeFiles/dsp_naturedsp_dsp.elf.dir/opt/mcuxpresso-ide/SDK_25_06_00_EVK-MIMXRT595/SDK_25_06_00_EVK-MIMXRT595/boards/evkmimxrt595/dsp_examples/naturedsp/fusionf1/main.c.obj
Error: the "nxp_rt500_RI23_11_newlib" core is not in the current Xtensa core registry.

You need to either specify the name of a registered Xtensa core (with
the --xtensa-core option or the XTENSA_CORE environment variable) or
specify a different registry of Xtensa cores (with the --xtensa-system
option or the XTENSA_SYSTEM environment variable).

The following Xtensa cores are available:
 
The  is set to XTENSA_SYSTEM is set .../builds/RI-2023.11-linux/nxp_rt500_RI23_11_newlib. XTENSA_CORE is set to "nxp_rt500_RI23_11_newlib", but is not found. No cores are available?
 
When using the Xplorer application I get the same error. The DSP configuration for linux newlib was downloaded from tensilica tools and installed using the GUI.
The specific build error is: 
**** Incremental Build [Wed, 23 Jul 2025 11:46:42] ****
 Project: test
 Configuration: nxp_rt500_RI23_11_newlib
 Build Target: Debug
********************************
....

LLVM ERROR: Failed to load library ~/xtensa/XtDevTools/install/builds/RI-2023.11-linux/nxp_rt500_RI23_11_newlib/config/llvm/lib/libXtensaCodeGen.so. Unsupported processor configuration. ~/xtensa/XtDevTools/install/builds/RI-2023.11-linux/nxp_rt500_RI23_11_newlib/config/llvm/lib/libXtensaCodeGen.so: cannot enable executable stack as shared object requires: Invalid argument

....
 
 
Could there be something wrong with the DSP configuration for linux (newlib) v10.1.11 download from tenisillica tools? Is anyone else experiencing issues on Linux?
 
Re: unable to build for fusion F1 DSP MIMXRT595-EVK

Hi @Nicolas-ph ,

I did the same test for you on a test environment and the problem should be in the environment variable configuration. Modify it to the following configuration and it will work:

XTENSA_SYSTEM=~/xtensa/XtDevTools/install/builds/RI-2023.11-linux/nxp_rt500_RI23_11_newlib/config
export XTENSA_CORE=nxp_rt500_RI23_11_newlib export 

Gavin_Jia_0-1754990046173.png


Best regards,
Gavin

Re: unable to build for fusion F1 DSP MIMXRT595-EVK

Hi Gavin,

Thank you for the reply. 

If the license is not ok, I am unable to start the build process in the IDE. So that should not be it. Also, the Xplorer IDE reports that the license is ok in both windows and Linux.

Best regards,
Nicolas

Re: unable to build for fusion F1 DSP MIMXRT595-EVK

Hi @Nicolas-ph ,

Thanks for your interest in NXP MIMXRT series!

The Windows environment can compile DSP code, so your configuration process should be fine. I just suspect that it could be due to a problem with the license in a Linux environment.

Gavin_Jia_0-1754468219833.png


Best regards,
Gavin

Re: unable to build for fusion F1 DSP MIMXRT595-EVKUpdate, going through the same steps on windows, I am able to build...Re: unable to build for fusion F1 DSP MIMXRT595-EVK

Hello,


You have two different errors.

The first error is because your XTENSA_SYSTEM environment variable is incorrect. I think the confusion is because the documentation (like here)  is badly formatted. The correct variable as answered earlier:

XTENSA_SYSTEM=~/xtensa/XtDevTools/install/builds/RI-2023.11-linux/nxp_rt500_RI23_11_newlib/config

The second error is: "cannot enable executable stack". The reason for this is because security-enhanced Linux (SELinux) is not a supported platform by Xtensa Software Tools. You need to remove the executable stack requirement from libXtensaCodeGen.so. Make a copy of the file first just in case and then run this command:

execstack -c ~/xtensa/XtDevTools/install/builds/RI-2023.11-linux/nxp_rt500_RI23_11_newlib/config/llvm/lib/libXtensaCodeGen.so

This way I was able to debug the dsp_mu_polling example on Fedora 43 using the Xtensa Xplorer and the MCUXpresso IDE and the RT685-EVK. I was also able to compile the example using the terminal.

Tags (1)
No ratings
Version history
Last update:
‎03-31-2026 04:28 AM
Updated by: