-
Notifications
You must be signed in to change notification settings - Fork 99
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
Embedded WG Meeting, March 12th #331
Comments
cc @rust-embedded/cortex-m |
The nrf52 devices (likely the other Nordic devices as well) have a DMA controller which can't access ROM. So to transfer data via DMA, the buffer from or to which you copy have to reside in RAM. We discussed, how we should handle this circumstance. There is two fixes for this:
What is more of an issue too, is implicit batching. At the moment, the proposed solution does not only copy to a RAM buffer, but also automatically batches if the maximum DMA transfer size is exceeded with the given buffer. This is the issue where I started the discussion: nrf-rs/nrf-hal#37. So since the nrf52 team couldn't agree in favor of one solution, I am raising a general question to be discussed in the meeting: Should basic HAL functions, especially embedded-hal implementors do implicit stuff (copy, batching, etc) or should they notify the user and request them to handle the error on a case by case basis? Maybe @rust-embedded/hal could have a look at the already had discussions in the issue and also make themselves an opinion of it. Thanks. |
I think my item got missed last time ;) |
8-9 PM CET (Berlin time) on #rust-embedded on irc.mozilla.org
Public Google calendar that includes these weekly meetings
Agenda.
Reminders / announcements
Issues nominated for discussion, if any
[your topic goes here]
This meeting is open for anyone to attend. If you'd like to bring up any issue / topic related to embedded Rust leave a comment in this issue so we can add it to the agenda.
The text was updated successfully, but these errors were encountered: