Skip to content

Commit f8bd68b

Browse files
MarkWangChinesemmahadevan108
authored andcommitted
middleware: usb: add sof support for zephyr
add kUSB_DeviceNotifySOF to usb_device_mcux_drv_port.h SDK USB stack already supports it in SDK 2.16.0 Signed-off-by: Mark Wang <[email protected]>
1 parent 3d237a2 commit f8bd68b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

mcux/README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,4 @@ Patch List:
9696
- MCXA14x family
9797
- MCXA15x family
9898
- MCXN23x family
99+
- add kUSB_DeviceNotifySOF to usb_device_mcux_drv_port.h SDK USB stack already supports it in SDK 2.16.0

mcux/middleware/mcux-sdk-middleware-usb/device/usb_device_mcux_drv_port.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ typedef enum _usb_device_notification
3232
kUSB_DeviceNotifyError, /*!< Errors happened in bus */
3333
kUSB_DeviceNotifyDetach, /*!< Device disconnected from a host */
3434
kUSB_DeviceNotifyAttach, /*!< Device connected to a host */
35+
kUSB_DeviceNotifySOF, /*!< Start of Frame received */
3536
#if (defined(USB_DEVICE_CONFIG_CHARGER_DETECT) && (USB_DEVICE_CONFIG_CHARGER_DETECT > 0U))
3637
kUSB_DeviceNotifyDcdDetectFinished, /*!< Device charger detection finished */
3738
#endif

0 commit comments

Comments
 (0)