Skip to content

Commit b188649

Browse files
committed
Only enable I2C examples on STM32H503
The example is currently only tested on NUCLEO-STM32H503, and uses pins that are not available on other H5 processors. This can be enabled on other processors by choosing different pins for the various evaluation boards.
1 parent 4b5fbd6 commit b188649

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,11 @@ required-features = ["stm32h503"]
9191
[[example]]
9292
name = "i2c"
9393
required-features = ["stm32h503"]
94+
95+
[[example]]
96+
name = "i2c_target"
97+
required-features = ["stm32h503"]
98+
99+
[[example]]
100+
name = "i2c_target_manual_ack"
101+
required-features = ["stm32h503"]

0 commit comments

Comments
 (0)