Björn Quentin
Björn Quentin
I think we had something similar regarding I2S on Matrix and this worked there: `i2s_tx: esp_hal::i2s::I2sTx
Does the `flash_read_write` example (in-tree) work for you? Which exact dev-board/module/chip are you using? You need to make sure to use the release profile (ESP32 really, really shouldn't access flash...
What does `espflash board-info` print?
@sikora77 can you attach the compiled binary, please? Just to try it on my side and have a look
We also have type-erasure for gpio pins: https://github.com/esp-rs/esp-hal/blob/422eb2118676d4c1c938fa6cb2b8211fb177c232/esp32c3-hal/examples/blinky_erased_pins.rs#L68-L76
The problem is, the bootloader cannot load data there (or code) while it's still running (before jumping into the application). As soon as our application runs, we can use the...
For inspiration - https://github.com/bjoernQ/esp32c3-sleep-experiment - https://matrix.to/#/!LdaNPfUfvefOLewEIM:matrix.org/$MGQY24t_Zo-eufQ6vFjUX99MLHOb7W41f9F44BwBHX8?via=matrix.org&via=tchncs.de&via=mozilla.org
Probably the PACs should get patched to collect these registers into arrays. We use https://github.com/rust-embedded/svdtools for patching SVDs in https://github.com/esp-rs/esp-pacs
I guess this won't get much attention at the bottom of this quite old thread. I would probably get it to a point when it's ready to be filed as...
In general, it probably makes sense to move that code into its own crate Ideally the user would only need to add one dependency and we re-export relevant things from...