Skip to content

Conversation

peter-marcisovsky
Copy link
Collaborator

@peter-marcisovsky peter-marcisovsky commented Jun 4, 2025

Description

This MR adds Suspend/Resume events for MSC class driver as a follow-up for the Global/Suspend resume MR in esp-idf.

Added a backward compatibility for older IDF releases, where the suspend/resume will not be backported, by:

// For backward compatibility with IDF versions which do not have suspend/resume api
#ifdef USB_HOST_LIB_EVENT_FLAGS_AUTO_SUSPEND
#define MSC_HOST_SUSPEND_RESUME_API_SUPPORTED
#endif

Related

  • Suspend/Resume support for MSC Class driver IDF-13343

Testing

  • Added tests, which verify the class driver functionality with root port Suspend/Resume events

Checklist

Before submitting a Pull Request, please ensure the following:

  • 🚨 This PR does not introduce breaking changes.
  • All CI checks (GH Actions) pass.
  • Documentation is updated as needed.
  • Tests are updated or added as necessary.
  • Code is well-commented, especially in complex areas.
  • Git history is clean — commits are squashed to the minimum necessary.

@peter-marcisovsky peter-marcisovsky self-assigned this Jun 4, 2025
@peter-marcisovsky peter-marcisovsky added the Status: In Progress Issue is being worked on label Jun 4, 2025
@peter-marcisovsky peter-marcisovsky force-pushed the feat/usb_host_msc_suspend_resume_evts branch 3 times, most recently from 45e682b to 2227f73 Compare July 3, 2025 08:00
@peter-marcisovsky peter-marcisovsky force-pushed the feat/usb_host_msc_suspend_resume_evts branch from 2227f73 to 3bb97fc Compare July 14, 2025 12:24
@peter-marcisovsky peter-marcisovsky force-pushed the feat/usb_host_msc_suspend_resume_evts branch from 3bb97fc to f87beb8 Compare August 8, 2025 08:04
@peter-marcisovsky peter-marcisovsky force-pushed the feat/usb_host_msc_suspend_resume_evts branch from 5655e37 to f87beb8 Compare August 20, 2025 15:13
    - usb_host lib supports global suspend and resume
    - backward compatibility with older IDF releases
    - MSC Host target tests
@peter-marcisovsky peter-marcisovsky force-pushed the feat/usb_host_msc_suspend_resume_evts branch from f87beb8 to d10d377 Compare August 21, 2025 09:20
@peter-marcisovsky peter-marcisovsky added stall PR is stall due to low priority, or blocked by other PR and removed Status: In Progress Issue is being worked on labels Sep 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stall PR is stall due to low priority, or blocked by other PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant