File tree Expand file tree Collapse file tree 4 files changed +19
-10
lines changed Expand file tree Collapse file tree 4 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 1212
1313#define DT_GPIO_P0_DEV_NAME DT_NORDIC_NRF_GPIO_GPIO_0_LABEL
1414
15- #define DT_I2C_0_NAME DT_NORDIC_NRF_I2C_I2C_0_LABEL
16- #define DT_I2C_1_NAME DT_NORDIC_NRF_I2C_I2C_1_LABEL
15+ #define DT_I2C_0_NAME DT_NORDIC_NRF_TWI_I2C_0_LABEL
16+ #define DT_I2C_1_NAME DT_NORDIC_NRF_TWI_I2C_1_LABEL
1717
1818#define DT_SPI_0_NAME DT_NORDIC_NRF_SPI_SPI_0_LABEL
1919#define DT_SPI_1_NAME DT_NORDIC_NRF_SPI_SPI_1_LABEL
Original file line number Diff line number Diff line change 1919#define DT_GPIO_P0_DEV_NAME DT_NORDIC_NRF_GPIO_GPIO_0_LABEL
2020#define DT_GPIO_P1_DEV_NAME DT_NORDIC_NRF_GPIO_GPIO_1_LABEL
2121
22- #define DT_I2C_0_NAME DT_NORDIC_NRF_I2C_I2C_0_LABEL
23- #define DT_I2C_1_NAME DT_NORDIC_NRF_I2C_I2C_1_LABEL
22+ #if defined(DT_NORDIC_NRF_TWIM_I2C_0_LABEL )
23+ #define DT_I2C_0_NAME DT_NORDIC_NRF_TWIM_I2C_0_LABEL
24+ #else
25+ #define DT_I2C_0_NAME DT_NORDIC_NRF_TWI_I2C_0_LABEL
26+ #endif
27+
28+ #if defined(DT_NORDIC_NRF_TWIM_I2C_1_LABEL )
29+ #define DT_I2C_1_NAME DT_NORDIC_NRF_TWIM_I2C_1_LABEL
30+ #else
31+ #define DT_I2C_1_NAME DT_NORDIC_NRF_TWI_I2C_1_LABEL
32+ #endif
2433
2534#define DT_SPI_0_NAME DT_NORDIC_NRF_SPI_SPI_0_LABEL
2635#define DT_SPI_1_NAME DT_NORDIC_NRF_SPI_SPI_1_LABEL
Original file line number Diff line number Diff line change 2323#define DT_GPIO_P0_DEV_NAME DT_NORDIC_NRF_GPIO_GPIO_0_LABEL
2424#define DT_GPIO_P1_DEV_NAME DT_NORDIC_NRF_GPIO_GPIO_1_LABEL
2525
26- #define DT_I2C_0_NAME DT_NORDIC_NRF_I2C_I2C_0_LABEL
27- #define DT_I2C_1_NAME DT_NORDIC_NRF_I2C_I2C_1_LABEL
26+ #define DT_I2C_0_NAME DT_NORDIC_NRF_TWIM_I2C_0_LABEL
27+ #define DT_I2C_1_NAME DT_NORDIC_NRF_TWIM_I2C_1_LABEL
2828
2929#define DT_SPI_0_NAME DT_NORDIC_NRF_SPI_SPI_0_LABEL
3030#define DT_SPI_1_NAME DT_NORDIC_NRF_SPI_SPI_1_LABEL
Original file line number Diff line number Diff line change 2222
2323#define DT_GPIO_P0_DEV_NAME DT_NORDIC_NRF_GPIO_GPIO_0_LABEL
2424
25- #define DT_I2C_0_NAME DT_NORDIC_NRF_I2C_I2C_0_LABEL
26- #define DT_I2C_1_NAME DT_NORDIC_NRF_I2C_I2C_1_LABEL
27- #define DT_I2C_2_NAME DT_NORDIC_NRF_I2C_I2C_2_LABEL
28- #define DT_I2C_3_NAME DT_NORDIC_NRF_I2C_I2C_3_LABEL
25+ #define DT_I2C_0_NAME DT_NORDIC_NRF_TWIM_I2C_0_LABEL
26+ #define DT_I2C_1_NAME DT_NORDIC_NRF_TWIM_I2C_1_LABEL
27+ #define DT_I2C_2_NAME DT_NORDIC_NRF_TWIM_I2C_2_LABEL
28+ #define DT_I2C_3_NAME DT_NORDIC_NRF_TWIM_I2C_3_LABEL
2929
3030#define DT_SPI_0_NAME DT_NORDIC_NRF_SPI_SPI_0_LABEL
3131#define DT_SPI_1_NAME DT_NORDIC_NRF_SPI_SPI_1_LABEL
You can’t perform that action at this time.
0 commit comments