esp-rs / esp-hal

no_std Hardware Abstraction Layers for ESP32 microcontrollers
https://docs.esp-rs.org/esp-hal/
Apache License 2.0
764 stars 214 forks source link

Auto-initialize PSRAM #2546

Open bugadani opened 1 week ago

bugadani commented 1 week ago

This allows removing the locking around reading the memory range.

bugadani commented 1 week ago

skip-changelog because of a change I made to esp-alloc, which is inside a macro so it shouldn't be user observable. Except it's breaking because it relies on breaking changes in esp-hal 🤔

Dominaezzz commented 1 hour ago

Not sure if this is the right place to bring this up but if static linking and/or XiP from PSRAM are still going to be a thing, the auto-initialization would (eventually) be moved out of esp_hal::init to somewhere before main right?