tests: Add the test case of GY271 on I2C0 of it8xxx2_evb
Add the alias of GY271 in it8xxx2_evb.overlay. Modify the testcase.yaml, as the GY271 is magnetic sensor, not accelerometer and remove the harness. Signed-off-by: Hu Zhenyu <zhenyu.hu@intel.com>
This commit is contained in:
parent
326b2fdf15
commit
237f317eec
|
@ -0,0 +1,5 @@
|
|||
/ {
|
||||
aliases {
|
||||
gy271 = &i2c0;
|
||||
};
|
||||
};
|
|
@ -2,5 +2,4 @@ tests:
|
|||
drivers.i2c.api:
|
||||
depends_on: i2c
|
||||
tags: drivers i2c
|
||||
harness: sensor
|
||||
filter: dt_alias_exists("accel-0")
|
||||
filter: dt_alias_exists("gy271")
|
||||
|
|
Loading…
Reference in New Issue