Skip to content

Commit 5c0f6a3

Browse files
cybertalegalak
authored andcommitted
sensor: fxos8700: Convert to new DT_<COMPAT>_<INSTANCE> defines
The old defines make the Shippable tests fail. Convert the fixing ups for fxos8700 to use new defines introduced in #12491. Signed-off-by: Song Qiang <[email protected]>
1 parent 209e92e commit 5c0f6a3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/drivers/build_all/dts_fixup.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@
5151
#define DT_NXP_FXAS21002_0_INT2_GPIOS_PIN 0
5252
#endif
5353

54-
#ifndef DT_FXOS8700_NAME
55-
#define DT_FXOS8700_NAME ""
56-
#define DT_FXOS8700_I2C_NAME ""
57-
#define DT_FXOS8700_I2C_ADDRESS 0
58-
#define DT_FXOS8700_GPIO_NAME ""
59-
#define DT_FXOS8700_GPIO_PIN 0
54+
#ifndef DT_NXP_FXOS8700_0_LABEL
55+
#define DT_NXP_FXOS8700_0_LABEL ""
56+
#define DT_NXP_FXOS8700_0_BASE_ADDRESS 0
57+
#define DT_NXP_FXOS8700_0_BUS_NAME ""
58+
#define DT_NXP_FXOS8700_0_INT1_GPIOS_CONTROLLER ""
59+
#define DT_NXP_FXOS8700_0_INT1_GPIOS_PIN 0
6060
#endif
6161

6262
#ifndef DT_ST_HTS221_0_LABEL

0 commit comments

Comments
 (0)