tests: drivers: i2c: Add support i2c_api for ek_ra8p1
Add support test app i2c_api for Renesas ek_ra8p1 testing on i2c and sci-i2c HWIP Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
This commit is contained in:
parent
c6f237ed0b
commit
10120fd09f
@ -0,0 +1,4 @@
|
||||
# Copyright (c) 2025 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SENSOR_GY271_QMC=y
|
||||
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (c) 2025 Renesas Electronics Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
i2c-0 = &iic1;
|
||||
gy271 = &iic1;
|
||||
};
|
||||
};
|
||||
|
||||
&iic1 {
|
||||
status = "okay";
|
||||
};
|
||||
@ -0,0 +1,6 @@
|
||||
# Copyright (c) 2025 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_I2C=y
|
||||
CONFIG_ZTEST=y
|
||||
CONFIG_SENSOR_GY271_QMC=y
|
||||
@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright (c) 2025 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
i2c-0 = &i2c1;
|
||||
gy271 = &i2c1;
|
||||
};
|
||||
};
|
||||
|
||||
&sci1 {
|
||||
status = "okay";
|
||||
|
||||
i2c1: i2c {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
@ -18,6 +18,17 @@ tests:
|
||||
extra_args:
|
||||
- DTC_OVERLAY_FILE="./boards/${BOARD}_sci_b_i2c.overlay"
|
||||
- CONF_FILE="./prj.conf ./boards/${BOARD}_sci_b_i2c.conf"
|
||||
drivers.i2c.renesas_sci_b_i2c_ra8x2.api:
|
||||
depends_on: i2c
|
||||
tags:
|
||||
- drivers
|
||||
- i2c
|
||||
filter: dt_alias_exists("gy271") and CONFIG_I2C_RENESAS_RA_SCI_B
|
||||
platform_allow:
|
||||
- ek_ra8p1/r7ka8p1kflcac/cm85
|
||||
extra_args:
|
||||
- DTC_OVERLAY_FILE="./boards/${BOARD}${NORMALIZED_BOARD_QUALIFIERS}_sci_b_i2c.overlay"
|
||||
- CONF_FILE="./prj.conf ./boards/${BOARD}${NORMALIZED_BOARD_QUALIFIERS}_sci_b_i2c.conf"
|
||||
drivers.i2c.stm32.interrupt_disabled:
|
||||
depends_on:
|
||||
- i2c
|
||||
|
||||
Loading…
Reference in New Issue
Block a user