Skip to content

Commit

Permalink
tests: drivers: i2c: Add support i2c_api test for RA4, RA2
Browse files Browse the repository at this point in the history
Add conf and overlay to run i2c_api test on: ek_ra4w1,
ek_ra4m2, ek_ra4m3, ek_ra2a1

Signed-off-by: Tri Nguyen <[email protected]>
Signed-off-by: Khoa Nguyen <[email protected]>
  • Loading branch information
khoa-nguyen-18 authored and kartben committed Dec 26, 2024
1 parent 8e18d23 commit 483a8df
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/drivers/i2c/i2c_api/boards/ek_ra2a1.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_SENSOR_GY271_QMC=y
6 changes: 6 additions & 0 deletions tests/drivers/i2c/i2c_api/boards/ek_ra2a1.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/ {
aliases {
i2c-0 = &iic0;
gy271 = &iic0;
};
};
1 change: 1 addition & 0 deletions tests/drivers/i2c/i2c_api/boards/ek_ra4m2.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_SENSOR_GY271_QMC=y
6 changes: 6 additions & 0 deletions tests/drivers/i2c/i2c_api/boards/ek_ra4m2.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/ {
aliases {
i2c-0 = &iic0;
gy271 = &iic0;
};
};
1 change: 1 addition & 0 deletions tests/drivers/i2c/i2c_api/boards/ek_ra4m3.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_SENSOR_GY271_QMC=y
6 changes: 6 additions & 0 deletions tests/drivers/i2c/i2c_api/boards/ek_ra4m3.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/ {
aliases {
i2c-0 = &iic0;
gy271 = &iic0;
};
};
1 change: 1 addition & 0 deletions tests/drivers/i2c/i2c_api/boards/ek_ra4w1.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_SENSOR_GY271_QMC=y
6 changes: 6 additions & 0 deletions tests/drivers/i2c/i2c_api/boards/ek_ra4w1.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/ {
aliases {
i2c-0 = &iic0;
gy271 = &iic0;
};
};

0 comments on commit 483a8df

Please sign in to comment.