Open majidBahmanigbt opened 7 months ago
I think it is as simple as GPIO support not being there for the Xtensa ADSP core. @dbaluta and @iuliana-prodan can probably comment further.
as @kartben said I think no one bothered with GPIO support for Xtensa ADSP.
So, first step would be to understand which driver needs to be pulled in.
Maybe
--- a/soc/nxp/imx/imx8m/Kconfig
+++ b/soc/nxp/imx/imx8m/Kconfig
@@ -51,6 +51,7 @@ config SOC_MIMX8ML8_ADSP
select HAS_MCUX_CCM if CLOCK_CONTROL
select HAS_MCUX_IOMUXC if PINCTRL
select PINCTRL_IMX if HAS_MCUX_IOMUXC
+ select HAS_MCUX_IGPIO
select CPU_HAS_DCACHE
Will have a look once we can get some free time. We are now travelling for EOSS.
Cc: @LaurentiuM1234
Hi, I didn't know where I should enable the GPIO for DSP! It works now. Thank you
Blinky for IMX8MP DSP HiFi4: No SOURCES given to Zephyr library
I want to compile blinky for IMX8MP DSP. I added led node in zephyr/zephyr/boards/nxp/imx8mp_evk/imx8mp_evk_mimx8ml8_adsp.dts :
Then I added gpio3 node in zephyr/zephyr/dts/xtensa/nxp/nxp_imx8m.dtsi:
However, When I compile the code:
I am getting this warning:
And the compile fails with the following Error:
According to/zephyr/include/generated/devicetree_generated.h "__device_dts_ord_37" is related to gpio3
Please note that when I compile the code for IMX8MP CM7, it is done with no issue:
Could you please tell me how it is possible to solve this problem?
samples/basic/blinky/README