Skip to content

Commit 4372cf8

Browse files
committed
tests: Add LIS2MDL to expected I2C addresses list.
1 parent 0a76585 commit 4372cf8

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

tests/scenarios/board_i2c_scan.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ tests:
1414
i2c = I2C(1)
1515
found = i2c.scan()
1616
# Expected I2C addresses on STeaMi board (7-bit):
17-
# 0x20=MCP23009E, 0x29=VL53L1X, 0x39=APDS9960, 0x3B=STM32F103CB
18-
# 0x55=BQ27441, 0x5D=WSEN-PADS, 0x5F=HTS221/WSEN-HIDS, 0x6B=ISM330DL
19-
expected = [0x20, 0x29, 0x39, 0x3B, 0x55, 0x5D, 0x5F, 0x6B]
17+
# 0x1E=LIS2MDL, 0x20=MCP23009E, 0x29=VL53L1X, 0x39=APDS9960
18+
# 0x3B=STM32F103CB, 0x55=BQ27441, 0x5D=WSEN-PADS
19+
# 0x5F=HTS221/WSEN-HIDS, 0x6B=ISM330DL
20+
expected = [0x1E, 0x20, 0x29, 0x39, 0x3B, 0x55, 0x5D, 0x5F, 0x6B]
2021
missing = sorted([hex(a) for a in expected if a not in found])
2122
result = missing
2223
expect: []

0 commit comments

Comments
 (0)