You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to add adxl362 accelerometer support to Zephyr. the accelerometer is connected to SPI1 via multicon and is working ok using an ASM program.
However, when trying to compile, using wall, a Zephyr program (hello world) with this driver enabled, I get this error:
In file included from ../soc/riscv/swervolf/soc.h:12,
from ../include/arch/riscv/arch.h:25,
from ../include/arch/cpu.h:25,
from ../include/kernel_includes.h:39,
from ../include/kernel.h:17,
from /home/artecs/zephyr/drivers/sensor/adxl362/adxl362.c:11:
zephyr/include/generated/devicetree_unfixed.h:603:36: error: 'DT_N_S_soc_S_spi_80001100_S_adi_adxl362_0_P_spi_max_frequency' undeclared here (not in a function); did you mean 'DT_N_S_soc_S_spi_80001040_S_flash_0_P_spi_max_frequency'?
hello world works ok with this driver disabled using guiconfig.
spi1, adxl362 and spi-max-frequency are included in swervolf_nexys.dts as follows:
Hi,
I'm trying to add adxl362 accelerometer support to Zephyr. the accelerometer is connected to SPI1 via multicon and is working ok using an ASM program.
However, when trying to compile, using wall, a Zephyr program (hello world) with this driver enabled, I get this error:
hello world works ok with this driver disabled using guiconfig.
spi1, adxl362 and spi-max-frequency are included in swervolf_nexys.dts as follows:
spi1@80001100 is defined at riscv32-swerv.dtsi.
any hint on the cause of the error?
Thanks
The text was updated successfully, but these errors were encountered: