Skip to content

Commit aa1f9e2

Browse files
NeilChen93kartben
authored andcommitted
tests: drivers: spi: add spi test support for frdm_mcxa153 board
add spi test support for frdm_mcxa153 board. reduce isr stack size to avoid ram overflow. Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
1 parent 62fcd0c commit aa1f9e2

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_ISR_STACK_SIZE=512
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* To test this sample, connect
8+
* LPSPI0 MOSI(J6-6, P1_0/LPSPI0_SDO) --> LPSPI0 MISO(J6-5, P1_2/LPSPI0_SDI)
9+
*/
10+
&lpspi0 {
11+
slow@0 {
12+
compatible = "test-spi-loopback-slow";
13+
reg = <0>;
14+
spi-max-frequency = <500000>;
15+
};
16+
fast@0 {
17+
compatible = "test-spi-loopback-fast";
18+
reg = <0>;
19+
spi-max-frequency = <16000000>;
20+
};
21+
};

0 commit comments

Comments
 (0)