-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
RP2040 tweaks #2723
RP2040 tweaks #2723
Conversation
…ome memcpy implementations
…default state by a hardware reset
…ker_flag is not available in all supported version of CMake, so just allow it to be passed in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
look good, thank you
I know this has been merged, but replacing memcpy with a local implementation makes no sense to me.
None of the While the implementation here of edit There are also lots of |
@earlephilhower yeah, thank you for your feedback. You are rigtht, this is my thought as well initially. However, since it copy to/from a dual port USB RAM, it may have some extra hw limit, we have seen this in other ports e.g #1024, though that is a bit different since MCU is M4 and able to do unaligned access (hence memcpy is implemented in such as way), however the usb ram is limited to byte/aligned access only which could cause issue. Update: It is confirmed that this does actually fixed an actual hw issue under certain testing condition. |
Gotcha. Thanks to all for looking into it. |
no problems, thank you for providing feedback on the PR. |
RP2040 tweaks: