Skip to content

Commit 25f31d4

Browse files
committed
tests: drivers: can: api: support nuvoton numaker_m3334ki
Add support for Nuvoton NuMaker-M3334KI board This target has only 4 MPU regions, so disable userspace test. Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
1 parent 6559364 commit 25f31d4

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_TEST_USERSPACE=n
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/* SPDX-License-Identifier: Apache-2.0 */
2+
3+
/ {
4+
chosen {
5+
zephyr,canbus = &canfd0;
6+
};
7+
};
8+
9+
&pinctrl {
10+
/* CAN TX/RX --> UNO D8/D9 */
11+
canfd0_default: canfd0_default {
12+
group0 {
13+
pinmux = <PA5MFP_CANFD0_TXD>,
14+
<PA4MFP_CANFD0_RXD>;
15+
};
16+
};
17+
};
18+
19+
&canfd0 {
20+
pinctrl-0 = <&canfd0_default>;
21+
pinctrl-names = "default";
22+
status = "okay";
23+
};

0 commit comments

Comments
 (0)