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

cmsis_dap improvements. #18

Merged
merged 1 commit into from
Sep 2, 2024
Merged

cmsis_dap improvements. #18

merged 1 commit into from
Sep 2, 2024

Conversation

HiFiPhile
Copy link
Contributor

Hi, thanks for your probe, I made an implementation on LPC55.

I made some improvements to the class in case if you are interested:

  • Use usbd_edpt_claim for concurrent locking.
  • Add dedicated SWO EP support (not seriously tested)
  • Use uint8_t occupancy, since int promotion will make wrong calculation if wp is wrapped
  • Use weak default for callback

@kkitayam
Copy link
Owner

kkitayam commented Sep 2, 2024

Thank you for your PR!

Use usbd_edpt_claim for concurrent locking.

The improvement is excellent! It seems I didn’t notice the API at that time.

@kkitayam kkitayam merged commit fe65621 into kkitayam:main Sep 2, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants