Skip to content

Commit 7fea8ae

Browse files
NeilChen93kartben
authored andcommitted
boards: frdm_mcxc444: Add usb support
Support usb for NXP frdm_mcxc444 board. Test it using samples/subsys/usb/console. Signed-off-by: Neil Chen <[email protected]>
1 parent 72acd97 commit 7fea8ae

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

boards/nxp/frdm_mcxc444/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ The ``frdm_mcxc444`` board target supports the following hardware features:
6363
+-----------+------------+-------------------------------------+
6464
| RTC | on-chip | counter |
6565
+-----------+------------+-------------------------------------+
66+
| USB | on-chip | USB device |
67+
+-----------+------------+-------------------------------------+
6668

6769

6870
Targets available

boards/nxp/frdm_mcxc444/frdm_mcxc444.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,8 @@ i2c0: &i2c0 {
137137
&pit0_channel1 {
138138
status = "okay";
139139
};
140+
141+
zephyr_udc0: &usb {
142+
status = "okay";
143+
num-bidir-endpoints = <8>;
144+
};

boards/nxp/frdm_mcxc444/frdm_mcxc444.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ supported:
2020
- gpio
2121
- i2c
2222
- uart
23+
- usb_device
24+
- usbd
2325
testing:
2426
ignore_tags:
2527
- net

0 commit comments

Comments
 (0)