[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:
**** 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
....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
Best regards,
Gavin
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
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.
Best regards,
Gavin
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/configThe 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.soThis 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.