Skip to content

pico-sdk: adapt for the sha256 driver to Zephyr #13

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

Open
wants to merge 2 commits into
base: zephyr
Choose a base branch
from

Conversation

soburi
Copy link
Member

@soburi soburi commented Jun 15, 2025

Comment out unused DMA-related code and add wrappers to expose
internal functions.

@soburi
Copy link
Member Author

soburi commented Jun 17, 2025

@ajf58 @ThreeEights @petejohanson @kartben

Could you take a look if you have a time, please?

@@ -3,6 +3,9 @@
Need to take care to not break these changes when updating pico-sdk.

## Patch List:
- [#10] pico-sdk: Disabling sanity check the IRQ status
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [#10] pico-sdk: Disabling sanity check the IRQ status
- [#10] pico-sdk: Disabling DMA routines and sanity check the IRQ status

Crypto subsystem does support DMA though, so if this feature becomes desired, then should it be implemented in the Zephyr driver part? Couldn't the existing HAL code be used for DMA operations?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DMA operations must be performed via the Zephyr DMA driver, so the HAL code cannot be used. DMA support must be implemented separately.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reasonable, most of that code just calls into HAL DMA methods

soburi added 2 commits August 1, 2025 11:24
Comment out unused DMA-related code and add wrappers to expose
internal functions.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Add a note about the sha256 zephyr adaptation.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
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