Skip to content

Commit 8912f07

Browse files
djiatsaf-stkartben
authored andcommitted
tests: drivers: i2c: i2c_api: add a scenario for ci building
add scenario in build-only operation to check for CI failures when interrupt is disabled for the STM32 i2c driver. Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
1 parent ad1c215 commit 8912f07

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/drivers/i2c/i2c_api/testcase.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,12 @@ tests:
1818
extra_args:
1919
- DTC_OVERLAY_FILE="./boards/${BOARD}_sci_b_i2c.overlay"
2020
- CONF_FILE="./prj.conf ./boards/${BOARD}_sci_b_i2c.conf"
21+
drivers.i2c.stm32.interrupt_disabled:
22+
depends_on:
23+
- i2c
24+
- arduino_i2c
25+
filter: dt_nodelabel_enabled("arduino_i2c") and CONFIG_SOC_FAMILY_STM32
26+
build_only: true
27+
extra_args: "DTC_OVERLAY_FILE=boards/stm32_arduino.overlay"
28+
extra_configs:
29+
- CONFIG_I2C_STM32_INTERRUPT=n

0 commit comments

Comments
 (0)