Commit 95ee8f0f authored by Mahesh Mahadevan's avatar Mahesh Mahadevan Committed by Christopher Friedt
Browse files

soc: LPC55S69: Add USB support



1. Update soc.c file to add USB clock setup
2. Add a linker script file to move USB transfer
   buffer and controller buffers to USB RAM
3. Update Kconfig's to add USB support
4. Add zephyr_udc0 nodelabel

Signed-off-by: default avatarMahesh Mahadevan <mahesh.mahadevan@nxp.com>
parent 7929b106
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -80,6 +80,8 @@ features:
+-----------+------------+-------------------------------------+
| HWINFO    | on-chip    | Unique device serial number         |
+-----------+------------+-------------------------------------+
| USB       | on-chip    | USB device                          |
+-----------+------------+-------------------------------------+

Targets available
==================
+4 −0
Original line number Diff line number Diff line
@@ -105,3 +105,7 @@
&mailbox0 {
	status = "okay";
};

zephyr_udc0: &usbhs {
	status = "okay";
};
+1 −0
Original line number Diff line number Diff line
@@ -22,4 +22,5 @@ supported:
  - gpio
  - i2c
  - spi
  - usb_device
  - watchdog
+4 −0
Original line number Diff line number Diff line
@@ -103,3 +103,7 @@
	dma-channels = <20>;
	status = "okay";
};

zephyr_udc0: &usbhs {
	status = "okay";
};
+3 −0
Original line number Diff line number Diff line
@@ -12,6 +12,9 @@ zephyr_library_include_directories(
  ${ZEPHYR_BASE}/arch/${ARCH}/include
  )

zephyr_linker_sources_ifdef(CONFIG_USB_DEVICE_DRIVER
  SECTIONS usb.ld)

if (CONFIG_SECOND_CORE_MCUX)
  set(gen_dir ${ZEPHYR_BINARY_DIR}/include/generated/)
  string(CONFIGURE ${CONFIG_SECOND_IMAGE_MCUX} second_core_image)
Loading