esp-hal/esp-alloc/CHANGELOG.md
Björn Quentin 3ab3490d62
Move malloc etc to esp-alloc, common C functions to esp-rom-sys, define "C functions" in esp-radio weak (#3890)
* Provide malloc, free and friends in esp-alloc

* Mute warning

* Remove some (now unused) global symbols

* Have a way to opt-out of esp-alloc's malloc,free etc.

* Fixes

* Move some common C functions from esp-radio to esp-rom-sys

* Fix

* Make esp-readio symbols weakly linked

* CHANGELOG.md

* Align MSRV, cleanup visibility

* Init before `assume_init`

* Linker script fixes

* Fix examples

* Remove heapless - esp-radio is alloc

* Fix examples

* Whitespace

* realloc_internal

* Make `__esp_radio_putchar` a no-op if `sys-logs` is not enabled
2025-08-05 11:58:31 +00:00

1.8 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

  • New default feature (compat) enables implementations for malloc, free, calloc, realloc (#3890)

Changed

  • Make stats structs fields public (#3828)

Fixed

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