mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-27 04:10:28 +00:00

* Use TLSF by default * Update example heap usage to leave more stack * Fix test configurations
2.1 KiB
2.1 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
Added
- Added chip-selection features (#4023)
- New default feature (
compat
) enables implementations formalloc
,free
,calloc
,realloc
and others (#3890, #4043) ESP_ALLOC_CONFIG_HEAP_ALGORITHM
to select the global heap algorithm (#4130)
Changed
- Make stats structs fields public (#3828)
- The default heap allocator is now TLSF, implemented by the
rlsf
crate (#3950)
Fixed
- Fix problem of not de-allocating memory in some situations (#3949)
Removed
v0.8.0 - 2025-06-03
Added
allocator_api2
to support allocator APIs on stable Rust. (#3318, #3487)AnyMemory
,InternalMemory
,ExternalMemory
allocators. (#3318)- Removed the
Unused
section forstats()
to make the output cleaner (#3486)
Changed
- Bump Rust edition to 2024, bump MSRV to 1.86. (#3391, #3560)
- Update
defmt
to 1.0 (#3416)
0.7.0 - 2025-02-24
Added
esp_alloc::heap_allocator!
now accepts attributes, e.g.,esp_alloc::heap_allocator!(#[link_section = ".dram2_uninit"] size: 64000)
(#3133)
Changed
esp_alloc::heap_allocator!
syntax has been changed toesp_alloc::heap_allocator!(size: 64000)
(#3135)
0.6.0 - 2025-01-15
Added
esp_alloc::HEAP.stats()
can now be used to get heap usage informations (#2137)
Changed
- Bump MSRV to 1.84 (#2951)
0.5.0 - 2024-10-10
Changed
- a global allocator is created in esp-alloc, now you need to add individual memory regions (up to 3) to the allocator (#2099)