Migration guidance 0.22 -> 0.23.1 #3030
Unanswered
fridolin-koch
asked this question in
Q&A
Replies: 2 comments 3 replies
-
See #3007 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, I upgraded to the commit but the issue remains the same |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
back in summer I started experimenting with esp-rs, this resulted in the creation of this HAL/Driver: https://github.com/fridolin-koch/lilygo-epd47-rs
The initial version was based on 0.19 and was later updated to 0.20. I'm now trying to upgrade to 0.23.1. The upgrade process from 0.20 to 0.22 went without major issues and everything worked fine afterwards (Thanks for the migration docs!)
Unfortunately the Update to 0.23.1 seems to break my implementation and I have no idea what's wrong. The code compiles and flashes fine but the EPD does not output anything. I went through the migration document and the changelog. As far as I can tell, the only major changes are related to the DMA channels. RMT and i8080 don't seem to have changed in terms of functionality.
My current working theory is that I'm just using the DMA channel wrong, but I really have no clue what I could be. I checked the code in the hil tests and it looks similar. But maybe it's something else and some defaults for rmt or i8080 changed as well? (It didn't see anything major in the commits).
Previously I used
configure(false, dma::DmaPriority::Priority0)
but as I understand it, burst mode ofDmaTxBuf
is disabled by default and the priority is also the default value, so the call was superfluous anyway.Here is my current working branch fridolin-koch/lilygo-epd47-rs@0f2b199 I would greatly appreciate some feedback if DMA usage is correct respectively equivalent to what I did before.
My hardware experience is rather limited, so any pointer where to look / how to debug are also greatly appreciated.
Thank you very much!
Regards,
Frido
Beta Was this translation helpful? Give feedback.
All reactions