-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile errors on NatureDSP for HiFi4 on i.MX8MP #3
Comments
I believe the problem is that, for
but later is used for both cases (w/ or w/o
or at line 221
or line 283:
@cad-audio @cad-audioNDSP can you please let me know how can I overcome this? |
Hi Iulia Prodan, Which toolchain are you using and what is the LX version of the core used? |
Hi @cad-audioNDSP, I'm using Xtensa Toolchain version RI-2023.11-linux, Xtensa Core = hifi4_mscale_v2_0_2_prod. When setting LESSTHANLX8=1 the compilation is ok, I get the library. Can we make Thanks, |
@cad-audioNDSP can you please make the following changes:
in
With these 2 changes any user can take the code and compile the library for an LX8 or less than LX8 core with a make argument, no need to change the code. With the above modifications, for an LX6 core I'm compiling the library with: I can create a pull request for this, but I have access only to the archive. Thank you! |
Hi @cad-audioNDSP, When trying to compile latest release NDSP_HiFi4_v500.zip, using RJ-2024.3 toolchain I get:
Shouldn't this compile directly, without any modifications ? |
Hi @iuliana-prodan |
Hi, I'm compiling for HiFi4 DSP from i.MX8M Plus - see here my board with "Cadence® Tensilica® HiFi 4 DSP @ 800 MHz". |
Hi, If you could also attach the complete build log, that would help. |
The exact version is LX6.0.4 |
Currently the LX8 flag gets defined here in common.h file. The macro **#define XCHAL_SW_VERSION_MAJOR 15000 is defined in core-isa.h file. (This file is core specific). Can you please confirm what is the above value: it is expected to be below 15000 to enable the guarded code. I tried building the code with one of the LX6.0.2 core and is building well, therefore could not reproduce the issue. |
Hi @cad-audioNDSP, Sorry for the late reply, I was OOO. Here's the core-isa.h file that I use and I don't have the Where or how can I get an updated Thanks! |
@iuliana-prodan |
When compiling the NatureDSP Lib from this github repo, for the HiFi4 DSP from i.MX8MP, I get the following error:
The text was updated successfully, but these errors were encountered: