Skip to content

Commit eb787d2

Browse files
[nrf fromlist] tests: boards: nrf: i2c_slave: allow more instances
Allow more TWIS instances to be tested. Upstream PR #: 91402 Signed-off-by: Michał Stasiak <[email protected]>
1 parent d07064e commit eb787d2

File tree

1 file changed

+10
-0
lines changed
  • tests/boards/nrf/i2c/i2c_slave/src

1 file changed

+10
-0
lines changed

tests/boards/nrf/i2c/i2c_slave/src/main.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,18 @@
2121
#define I2C_S_INSTANCE 1
2222
#elif CONFIG_NRFX_TWIS2
2323
#define I2C_S_INSTANCE 2
24+
#elif CONFIG_NRFX_TWIS20
25+
#define I2C_S_INSTANCE 20
26+
#elif CONFIG_NRFX_TWIS21
27+
#define I2C_S_INSTANCE 21
2428
#elif CONFIG_NRFX_TWIS22
2529
#define I2C_S_INSTANCE 22
30+
#elif CONFIG_NRFX_TWIS23
31+
#define I2C_S_INSTANCE 23
32+
#elif CONFIG_NRFX_TWIS24
33+
#define I2C_S_INSTANCE 24
34+
#elif CONFIG_NRFX_TWIS30
35+
#define I2C_S_INSTANCE 30
2636
#elif CONFIG_NRFX_TWIS131
2737
#define I2C_S_INSTANCE 131
2838
#else

0 commit comments

Comments
 (0)