esp-hal/esp-alloc/CHANGELOG.md
Dániel Buga 42297811be
Use TLSF by default (#4130)
* Use TLSF by default

* Update example heap usage to leave more stack

* Fix test configurations
2025-09-17 14:03:32 +00:00

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 for malloc, 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 for stats() 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 to esp_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)

0.4.0 - 2024-06-04

0.3.0 - 2023-04-25

0.2.1 - 2023-04-21

0.2.0 - 2023-02-22

0.1.0 - 2022-07-25