Skip to content

Commit 5c185c3

Browse files
author
Alexander Wachter
committed
tests: drivers: build_all: Add AMS IAQcore and ENS210 to build all
This commit adds IAQcore and ENS210 from AMS to the build tests. Signed-off-by: Alexander Wachter <[email protected]>
1 parent dbadcc3 commit 5c185c3

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

tests/drivers/build_all/dts_fixup.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,18 @@
190190
#define DT_LSM9DS0_GYRO_INT_GPIO_PIN 1
191191
#endif
192192

193+
#ifndef DT_AMS_IAQCORE_0_LABEL
194+
#define DT_AMS_IAQCORE_0_LABEL ""
195+
#define DT_AMS_IAQCORE_0_BUS_NAME ""
196+
#define DT_AMS_IAQCORE_0_BASE_ADDRESS 0x00
197+
#endif
198+
199+
#ifndef DT_AMS_ENS210_0_LABEL
200+
#define DT_AMS_ENS210_0_LABEL ""
201+
#define DT_AMS_ENS210_0_BUS_NAME ""
202+
#define DT_AMS_ENS210_0_BASE_ADDRESS 0x00
203+
#endif
204+
193205
#endif /* CONFIG_HAS_DTS_I2C */
194206

195207
#if defined(CONFIG_HAS_DTS_SPI)

tests/drivers/build_all/sensors_a_h.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ CONFIG_ADXL362=y
1616
CONFIG_ADXL372=y
1717
CONFIG_AK8975=y
1818
CONFIG_AMG88XX=y
19+
CONFIG_AMS_IAQ_CORE=y
1920
CONFIG_APDS9960=y
2021
CONFIG_BMA280=y
2122
CONFIG_BMC150_MAGN=y
@@ -25,6 +26,7 @@ CONFIG_BMI160=y
2526
CONFIG_BMM150=y
2627
CONFIG_CCS811=y
2728
CONFIG_DHT=y
29+
CONFIG_ENS210=y
2830
CONFIG_FXAS21002=y
2931
CONFIG_FXOS8700=y
3032
#CONFIG_HDC1008=y

0 commit comments

Comments
 (0)