Skip to content

Commit

Permalink
middleware: usb: add sof support for zephyr
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
MarkWangChinese authored and dleach02 committed Aug 12, 2024
1 parent e9a9219 commit 7b354ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mcux/README
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,4 @@ Patch List:
- MCXA14x family
- MCXA15x family
- MCXN23x family
- add kUSB_DeviceNotifySOF to usb_device_mcux_drv_port.h SDK USB stack already supports it in SDK 2.16.0
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ typedef enum _usb_device_notification
kUSB_DeviceNotifyError, /*!< Errors happened in bus */
kUSB_DeviceNotifyDetach, /*!< Device disconnected from a host */
kUSB_DeviceNotifyAttach, /*!< Device connected to a host */
kUSB_DeviceNotifySOF, /*!< Start of Frame received */
#if (defined(USB_DEVICE_CONFIG_CHARGER_DETECT) && (USB_DEVICE_CONFIG_CHARGER_DETECT > 0U))
kUSB_DeviceNotifyDcdDetectFinished, /*!< Device charger detection finished */
#endif
Expand Down

0 comments on commit 7b354ae

Please sign in to comment.