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:
Hu Zhenyu 2022-10-03 20:13:35 +08:00 committed by Carles Cufí
parent 326b2fdf15
commit 237f317eec
2 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,5 @@
/ {
aliases {
gy271 = &i2c0;
};
};

View File

@ -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")