Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Build failures when compiling the NXP USB driver #67459

Merged
merged 2 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions drivers/usb/device/usb_dc_mcux.c
Original file line number Diff line number Diff line change
Expand Up @@ -910,9 +910,6 @@ static void usb_mcux_thread_main(void *arg1, void *arg2, void *arg3)
case kUSB_DeviceNotifyResume:
dev_state.status_cb(USB_DC_RESUME, NULL);
break;
case kUSB_DeviceNotifySOF:
dev_state.status_cb(USB_DC_SOF, NULL);
break;
default:
ep_abs_idx = EP_ABS_IDX(msg.code);

Expand Down
5 changes: 0 additions & 5 deletions modules/hal_nxp/usb/usb_device_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,4 @@ BUILD_ASSERT(NUM_INSTS <= 1, "Only one USB device supported");
/* Number of endpoints supported */
#define USB_DEVICE_CONFIG_ENDPOINTS (DT_INST_PROP(0, num_bidir_endpoints))

/* Start of Frame (SOF) Notifications are required by the zephyr usb audio driver */
#ifdef CONFIG_USB_DEVICE_AUDIO
#define USB_DEVICE_CONFIG_SOF_NOTIFICATIONS (1U)
#endif /* CONFIG_USB_DEVICE_AUDIO */

#endif /* __USB_DEVICE_CONFIG_H__ */
Loading