IMX8MP DSP compile Dsp_framework with Xtensa Xplorer 8.0.13 IDE

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

IMX8MP DSP compile Dsp_framework with Xtensa Xplorer 8.0.13 IDE

跳至解决方案
1,028 次查看
panpanjiangjiang
Contributor II

Hi,

I want to compile DSP Framework code and generate bin file with Xtensa Xplorer 8.0.13 IDE. According to "XPLORIMX8MPUG_Rev0.pdf":

1) cloning "imx-audio-framework"

2) Registration with MAC_ADDRESS

3) downloading and adding the configuration to Xtensa Xplorer IDE

4) Creating a new project and Importing "imx-audio-framework"

5) adding Linker in build Propertise: "~\imx-audio-framework\dsp_framework\memmap\imx8m"

However, when I execute "build Active", I receive the following error:

**** Incremental Build [星期一, 26 二月 2024 15:40:50] ****
Project: dsp_framework
Configuration: hifi4_mscale_v1_0_2_prod
Build Target: Debug
********************************

"C:\\usr\\xtensa\\XtDevTools\\install\\tools\\RI-2020.4-win32\\XtensaTools\\bin\\xt-xcc" -c -g -O0 -DPLATF_8M -fmessage-length=0 -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/arch\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/arch/libloader/include\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/component/audio\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/include\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/include/audio\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/include/lib\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/plugins/audio_codec\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/plugins/audio_codec/uni_audio\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/plugins/renderer\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/environment/bm\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/environment/freertos\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/environment/qnx\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/environment/threadx\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/environment/xos\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/environment/zephyr\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/aarch64\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imx6sx_m4\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imx7d_m4\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imx7ulp_m4\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imx8mm_m4\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imx8mn_m7\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imx8mp_m7\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imx8mq_m4\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imx8qm_m4\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imx8qx_cm4\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imx8ulp_fusionf1\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imx8ulp_m33\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imxrt1160\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imxrt1170\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imxrt500_fusionf1\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imxrt500_m33\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imxrt600_hifi4\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/imxrt600_m33\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/k32l3a6\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/lpc5410x\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/lpc5411x\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/lpc55s69\"" -I "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/rpmsg-lite/lib/include/platform/mcxnx4x\"" -DPROC_hifi4_mscale_v1_0_2_prod -DCONFIG_hifi4_mscale_v1_0_2_prod --xtensa-system=C:/usr/xtensa/XtDevTools/install/builds/RI-2020.4-win32/hifi4_mscale_v1_0_2_prod/config --xtensa-core=hifi4_mscale_v1_0_2_prod --xtensa-params= "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/ipc/rpmsg_platform.c\"" -o "\"C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/bin/hifi4_mscale_v1_0_2_prod/Debug/ipc/rpmsg_platform.o\""
C:/usr/xtensa/Xplorer-8.0.13-workspaces/workspace/dsp_framework/ipc/rpmsg_platform.c:11:34: error: fsl_device_registers.h: No such file or directory
Time taken: 248 ms

Build error encountered... cannot continue further.
Total time taken: 0.923 secs
**** Build Finished [星期一, 26 二月 2024 15:40:51] ****


So, I want to know why this error is reported and how I can fix it.At the same time, my ultimate goal is to use imx8mp's Arm + dsp. Is there more infomation that will allow me to set up a development environment more easyily. Thanks!

0 项奖励
回复
1 解答
997 次查看
panpanjiangjiang
Contributor II

hi JorgeCas,

Very happy and grateful for your reply.
We previously referred to the i.MX DSP User's Guide document to operate. We just can't find the file fsl_device_registers.h. Can you tell me where exactly this file is?

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,000 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

 

It seems that fsl_device_registers.h is missing on specified route I suggest you add it to see if solves the error.

 

Is there more information that will allow me to set up a development environment more easily.

 

The available information related to this is i.MX DSP User's Guide.

 

Best regards.

998 次查看
panpanjiangjiang
Contributor II

hi JorgeCas,

Very happy and grateful for your reply.
We previously referred to the i.MX DSP User's Guide document to operate. We just can't find the file fsl_device_registers.h. Can you tell me where exactly this file is?

0 项奖励
回复
976 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello panpanjiangjiang,

Since this is licensed software I do not have access to it.

Is it possible to consult it with your FAE or sales-person?

Best regards.

0 项奖励
回复
856 次查看
panpanjiangjiang
Contributor II
According to the i.MX DSP User's Guide documentation our problem was solved, thank you very much。