I'm trying to compile the awe core for the RT685 and get following compiling errors:
In Xtensa Xplorer (7.0.8):
In file included from C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Source/AWEPlatform_Hifi.c:17:
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Source/AWEPlatform_Hifi.h:20:24: error: xos_errors.h: No such file or directory
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Source/AWEPlatform_Hifi.h:21:25: error: core-macros.h: No such file or directory
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Source/AWEPlatform_Hifi.h:22:17: error: xos.h: No such file or directory
When compiling the ARM code in IAR (8.40.2) I get the following error:
Error[Li005]: no definition for "awe_modMeasurementV3Class" [referenced from \workspace\awe8-bsp-nxp-rt685evk\SampleApp\RT685EVK\Build\EWARM\Debug\Obj\AWEPlatform_ARM.o]
9:26am
Please remove awe_modMeasurementV3Class from the LISTOFCLASSOBJECTS in your ModuleList.h file.
To resolve the Hifi4 build errors find where your XTENSA has installed the missing include files and add the path to those files to Xplorer
8:29am
I removed the function and it compiles in IAR.
When adding the missing path I get new errors:
-l:SensoryRT600.a -l:CloakedSensoryLib.a -l:dspc_vui.a -lxos -lxtutil --xtensa-system=C:/usr/xtensa/XtDevTools/install/builds/RG-2017.8-win32/nxp_rt600_ext/config --xtensa-core=nxp_rt600_ext --xtensa-params=
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModCfft.o):(.literal.awe_modCfftConstructor+0x8): undefined reference to `twiddleTable16384'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModCfft.o):(.literal.awe_modCfftProcess+0x0): undefined reference to `ifft_cplxf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModCfft.o):(.literal.awe_modCfftProcess+0x4): undefined reference to `fft_cplxf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModCfft.o): In function `awe_modCfftProcess':
C:\AudioWeaver_Version8\awecore-common\Source\Advanced\Source/ModCfft.c:499: undefined reference to `ifft_cplxf_ie'
C:\AudioWeaver_Version8\awecore-common\Source\Advanced\Source/ModCfft.c:507: undefined reference to `fft_cplxf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModFft.o):(.literal.awe_modFftProcess+0x4): undefined reference to `fft_realf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModFft.o): In function `awe_modFftProcess':
C:\AudioWeaver_Version8\awecore-common\Source\Advanced\Source/ModFft.c:316: undefined reference to `fft_realf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModIfft.o):(.literal.awe_modIfftProcess+0x4): undefined reference to `ifft_realf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModIfft.o): In function `awe_modIfftProcess':
C:\AudioWeaver_Version8\awecore-common\Source\Advanced\Source/ModIfft.c:313: undefined reference to `ifft_realf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModGPIO.o):(.literal.awe_modGPIOProcess+0x0): undefined reference to `awe_pltGPIOSetPin'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModGPIO.o):(.literal.awe_modGPIOProcess+0x4): undefined reference to `awe_pltGPIOGetPin'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModGPIO.o):(.literal.awe_modGPIOSet+0x0): undefined reference to `awe_pltGPIOSetPinDir'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModGPIO.o): In function `awe_modGPIOProcess':
C:\AudioWeaver_Version8\awecore-common\Source\Standard\Source/ModGPIO.c:148: undefined reference to `awe_pltGPIOSetPin'
C:\AudioWeaver_Version8\awecore-common\Source\Standard\Source/ModGPIO.c:133: undefined reference to `awe_pltGPIOGetPin'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModGPIO.o): In function `awe_modGPIOSet':
C:\AudioWeaver_Version8\awecore-common\Source\Standard\Source/ModGPIO.c:174: undefined reference to `awe_pltGPIOSetPinDir'
make[1]: *** [RT600_DSP_APP] Error 2
post all rule
8:50am
The undefined references that are not GPIO are because you need to link in the CMSIS DSP libirary.
If you are using GPIO there should have been a GPIO.c file that you can add to your project. If not create these three dummies:
void awe_pltGPIOSetPinDir(UINT32 nPinNo, UINT32 nPinDir) {};
void awe_pltGPIOSetPin(UINT32 nPinNo, UINT32 nValue) {};
void awe_pltGPIOGetPin(UINT32 nPinNo, UINT32 * nValue){};
3:07pm
I added the path to the GPIO.c, but still I get errors. Any ideas what is wrong?
-l:SensoryRT600.a -l:CloakedSensoryLib.a -l:dspc_vui.a -lxos -lxtutil --xtensa-system=C:/usr/xtensa/XtDevTools/install/builds/RG-2017.8-win32/nxp_rt600_ext/config --xtensa-core=nxp_rt600_ext --xtensa-params=
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModCfft.o):(.literal.awe_modCfftConstructor+0x8): undefined reference to `twiddleTable16384'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModCfft.o):(.literal.awe_modCfftProcess+0x0): undefined reference to `ifft_cplxf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModCfft.o):(.literal.awe_modCfftProcess+0x4): undefined reference to `fft_cplxf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModCfft.o): In function `awe_modCfftProcess':
C:\AudioWeaver_Version8\awecore-common\Source\Advanced\Source/ModCfft.c:499: undefined reference to `ifft_cplxf_ie'
C:\AudioWeaver_Version8\awecore-common\Source\Advanced\Source/ModCfft.c:507: undefined reference to `fft_cplxf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModFft.o):(.literal.awe_modFftProcess+0x4): undefined reference to `fft_realf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModFft.o): In function `awe_modFftProcess':
C:\AudioWeaver_Version8\awecore-common\Source\Advanced\Source/ModFft.c:316: undefined reference to `fft_realf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModIfft.o):(.literal.awe_modIfftProcess+0x4): undefined reference to `ifft_realf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModIfft.o): In function `awe_modIfftProcess':
C:\AudioWeaver_Version8\awecore-common\Source\Advanced\Source/ModIfft.c:313: undefined reference to `ifft_realf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModGPIO.o):(.literal.awe_modGPIOProcess+0x0): undefined reference to `awe_pltGPIOSetPin'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModGPIO.o):(.literal.awe_modGPIOProcess+0x4): undefined reference to `awe_pltGPIOGetPin'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModGPIO.o):(.literal.awe_modGPIOSet+0x0): undefined reference to `awe_pltGPIOSetPinDir'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModGPIO.o): In function `awe_modGPIOProcess':
C:\AudioWeaver_Version8\awecore-common\Source\Standard\Source/ModGPIO.c:148: undefined reference to `awe_pltGPIOSetPin'
C:\AudioWeaver_Version8\awecore-common\Source\Standard\Source/ModGPIO.c:133: undefined reference to `awe_pltGPIOGetPin'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModGPIO.o): In function `awe_modGPIOSet':
C:\AudioWeaver_Version8\awecore-common\Source\Standard\Source/ModGPIO.c:174: undefined reference to `awe_pltGPIOSetPinDir'
make[1]: *** [RT600_DSP_APP] Error 2
post all rule
5:16pm
If not using GPIO remove awe_modGPIOClass from your LISTOFCLASSOBJECTS in ModuleList.h.
4:23am
GPIO error solved, but I still have problems with below, where it is referring to a file C:\AudioWeaver_Version8\awecore-common\Source\Advanced\Source/ModCfft.c. I dont have any directory (AudioWeaver_Version8) or file by that name:
--xtensa-system=C:/usr/xtensa/XtDevTools/install/builds/RG-2017.8-win32/nxp_rt600_ext/config --xtensa-core=nxp_rt600_ext --xtensa-params=
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModCfft.o):(.literal.awe_modCfftConstructor+0x8): undefined reference to `twiddleTable16384'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModCfft.o):(.literal.awe_modCfftProcess+0x0): undefined reference to `ifft_cplxf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModCfft.o):(.literal.awe_modCfftProcess+0x4): undefined reference to `fft_cplxf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModCfft.o): In function `awe_modCfftProcess':
C:\AudioWeaver_Version8\awecore-common\Source\Advanced\Source/ModCfft.c:499: undefined reference to `ifft_cplxf_ie'
C:\AudioWeaver_Version8\awecore-common\Source\Advanced\Source/ModCfft.c:507: undefined reference to `fft_cplxf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModFft.o):(.literal.awe_modFftProcess+0x4): undefined reference to `fft_realf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModFft.o): In function `awe_modFftProcess':
C:\AudioWeaver_Version8\awecore-common\Source\Advanced\Source/ModFft.c:316: undefined reference to `fft_realf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModIfft.o):(.literal.awe_modIfftProcess+0x4): undefined reference to `ifft_realf_ie'
C:/usr/xtensa/Xplorer-7.0.8-workspaces/awe8-bsp-nxp-rt685evk/SampleApp/RT685EVK/Build/XTENSA/RT600_DSP_APP/../../../../../AweCore/Lib/HIFI4\AWECore.a(ModIfft.o): In function `awe_modIfftProcess':
C:\AudioWeaver_Version8\awecore-common\Source\Advanced\Source/ModIfft.c:313: undefined reference to `ifft_realf_ie'
make[1]: *** [RT600_DSP_APP] Error 2
4:27am
I am told these unresolved references come from NatureDSP library that Tensillica provides.
4:46am
How do I get the NatureDSP library. What is next step?