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 6, 2024
1 parent 7f76063 commit d5190c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mcux/README
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ Patch List:
- All *.a binary archive files. Files are still present in the SDK github repo but are not allowed in Zephyr Project
- mcux-sdk\manifests
- mcux-sdk\docs


- skipped update of mcux-sdk\components\osa\ due to build errors
- skipped update of mcux-sdk\components\conn_fwloader\mcux-sdk\components\conn_fwloader\ due to build errors
Expand All @@ -94,3 +93,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 d5190c3

Please sign in to comment.