Scott Mabin
Scott Mabin
To be 100% safe, buffers used with the embedded-dma traits _must_ be static. This is because `core::mem::forget` is safe in Rust, and if a user were to forget a driver...
We currently have duplicates of these reg functions where the svd's don't have enough info, and we have to resort back to raw register writes. E.g: https://github.com/search?q=repo%3Aesp-rs%2Fesp-hal%20reg_set&type=code. We should cleanup...
Quote from #977 > The current overflow handling will in some cases return a buffer where there are missing characters (as there was an overflow) and then at the next...
Copied from https://github.com/esp-rs/esp-hal/issues/954#issuecomment-1816696280 > Huh, last time I went looking into how the cache works it was all ROM code and zero docs. Now there is a esp_mm component: https://github.com/espressif/esp-idf/tree/c8243465e45489835d645bf217a6929fd0c01b7f/components/esp_mm...
See https://github.com/esp-rs/esp-hal/pull/448#issuecomment-1535446796 and https://github.com/esp-rs/esp-hal/pull/448#issuecomment-1535979574 for more details.
Consider the hello world esp32 example startup: ```rust load:0x3fff0030,len:7104 load:0x40078000,len:15576 load:0x40080400,len:4 0x40080400 - _DoubleExceptionVector at ??:?? ho 8 tail 4 room 4 load:0x40080404,len:3876 0x40080404 - _DoubleExceptionVector at ??:?? entry 0x4008064c...
Spotted in https://github.com/esp-rs/esp-hal/pull/1397/files#diff-b984f0a4e39566134a42a24478359a9451a60d4a92014074067c518a8dc1a53cR46
We should probably add an `embassy_main` macro for Xtensa to make this easier.