* feat(esp-alloc): Add heap usage stats and provide `esp_alloc::get_info!()` macro
* refactor(esp-alloc): Feature gate internal memory usage that requires extra computation.
- Introduce the `internal-heap-stats` feature for `esp-alloc`.
- Add `esp_alloc::get_info!()` to `psram_quad` example to show usage and
ensure coverage of the feature in tests.
* refactor(esp-alloc): Remove `get_info!()` macro in favour of documenting `HEAP.stats()`
* Implement defmt::Format for HeapStats and RegionStats
* rustfmt
* show usage percent + move bar drawing logic to separate functions
* update doc comments
* Fixed a typo in qa-test/src/bin/psram_quad.rs
Co-authored-by: Scott Mabin <scott@mabez.dev>
* minor improvements to write bar functions
* Aligned the indentation in Cargo.toml
Co-authored-by: Kirill Mikhailov <62840029+playfulFence@users.noreply.github.com>
* Fixed a typo in docs
Co-authored-by: Kirill Mikhailov <62840029+playfulFence@users.noreply.github.com>
* Nitpicking x2
Co-authored-by: Kirill Mikhailov <62840029+playfulFence@users.noreply.github.com>
* Surround a function call with backticks
Co-authored-by: Kirill Mikhailov <62840029+playfulFence@users.noreply.github.com>
* rustfmt
---------
Co-authored-by: Anthony Grondin <104731965+AnthonyGrondin@users.noreply.github.com>
Co-authored-by: Scott Mabin <scott@mabez.dev>
Co-authored-by: Kirill Mikhailov <62840029+playfulFence@users.noreply.github.com>
* esp-wifi uses global allocator, esp-alloc supports multiple regions
* CHANGELOG.md
* Apply suggestions
* Use `alloc` when linting esp-wifi
* Make coex example build for ESP32
* Re-enable some wifi examples for ESP32-S2
* Optionally depend on `esp-alloc` (by default)
* Rename INSTANCE -> HEAP