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
west build -p auto -b olimexino_stm32 samples/sensor/sht3xd
error messages :
/zephyrproject/zephyr/drivers/sensor/sht3xd/sht3xd.c:228:14: error: 'DT_INST_0_SENSIRION_SHT3XD_BUS_NAME' undeclared here (not in a function); did you mean 'DT_INST_0_ZEPHYR_MMC_SPI_SLOT_BUS_NAME'?
.bus_name = DT_INST_0_SENSIRION_SHT3XD_BUS_NAME,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DT_INST_0_ZEPHYR_MMC_SPI_SLOT_BUS_NAME
/zephyrproject/zephyr/drivers/sensor/sht3xd/sht3xd.c:232:18: error: 'DT_INST_0_SENSIRION_SHT3XD_BASE_ADDRESS' undeclared here (not in a function); did you mean 'DT_INST_0_MMIO_SRAM_BASE_ADDRESS'?
.base_address = DT_INST_0_SENSIRION_SHT3XD_BASE_ADDRESS,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DT_INST_0_MMIO_SRAM_BASE_ADDRESS
In file included from /zephyrproject/zephyr/drivers/sensor/sht3xd/sht3xd.c:7:
/zephyrproject/zephyr/drivers/sensor/sht3xd/sht3xd.c:238:30: error: 'DT_INST_0_SENSIRION_SHT3XD_LABEL' undeclared here (not in a function); did you mean 'DT_INST_0_ST_STM32_SPI_LABEL'?
DEVICE_AND_API_INIT(sht3xd0, DT_INST_0_SENSIRION_SHT3XD_LABEL,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/device.h:106:11: note: in definition of macro 'DEVICE_AND_API_INIT'
.name = drv_name, .init = (init_fn),
^~~~~~~~
ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered:
host : Ubuntu 18.04 LTS
board olimexino_stm32
sensor : sht3xd
west build -p auto -b olimexino_stm32 samples/sensor/sht3xd
error messages :
/zephyrproject/zephyr/drivers/sensor/sht3xd/sht3xd.c:228:14: error: 'DT_INST_0_SENSIRION_SHT3XD_BUS_NAME' undeclared here (not in a function); did you mean 'DT_INST_0_ZEPHYR_MMC_SPI_SLOT_BUS_NAME'?
.bus_name = DT_INST_0_SENSIRION_SHT3XD_BUS_NAME,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DT_INST_0_ZEPHYR_MMC_SPI_SLOT_BUS_NAME
/zephyrproject/zephyr/drivers/sensor/sht3xd/sht3xd.c:232:18: error: 'DT_INST_0_SENSIRION_SHT3XD_BASE_ADDRESS' undeclared here (not in a function); did you mean 'DT_INST_0_MMIO_SRAM_BASE_ADDRESS'?
.base_address = DT_INST_0_SENSIRION_SHT3XD_BASE_ADDRESS,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DT_INST_0_MMIO_SRAM_BASE_ADDRESS
In file included from /zephyrproject/zephyr/drivers/sensor/sht3xd/sht3xd.c:7:
/zephyrproject/zephyr/drivers/sensor/sht3xd/sht3xd.c:238:30: error: 'DT_INST_0_SENSIRION_SHT3XD_LABEL' undeclared here (not in a function); did you mean 'DT_INST_0_ST_STM32_SPI_LABEL'?
DEVICE_AND_API_INIT(sht3xd0, DT_INST_0_SENSIRION_SHT3XD_LABEL,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/device.h:106:11: note: in definition of macro 'DEVICE_AND_API_INIT'
.name = drv_name, .init = (init_fn),
^~~~~~~~
ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered: