Skip to content

Commit 30ac76f

Browse files
committed
tests: drivers: i2c: add i2c test support for frdm_mcxa344 board
add i2c test support for frdm_mcxa344 board Signed-off-by: Neil Chen <[email protected]>
1 parent ce3d58c commit 30ac76f

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* To test this sample, connect
8+
* LPI2C0 SCL(J2-20) --> LPI2C1 SCL(J5-5)
9+
* LPI2C0 SDA(J2-18) --> LPI2C1 SDA(J5-6)
10+
*/
11+
12+
&lpi2c0 {
13+
eeprom0: eeprom@54 {
14+
compatible = "zephyr,i2c-target-eeprom";
15+
reg = <0x54>;
16+
size = <256>;
17+
};
18+
};
19+
20+
&lpi2c1 {
21+
eeprom1: eeprom@56 {
22+
compatible = "zephyr,i2c-target-eeprom";
23+
reg = <0x56>;
24+
size = <256>;
25+
};
26+
};

tests/drivers/i2c/i2c_target_api/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ tests:
5757
- frdm_mcxa346
5858
- frdm_mcxa266
5959
- frdm_mcxa366
60+
- frdm_mcxa344
6061
- max32655evkit/max32655/m4
6162
- max32662evkit
6263
- max32666evkit/max32666/cpu0

0 commit comments

Comments
 (0)