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.
- Fix panic in
tlsf::Heap::used. - Fix panic in
tlsf::Heap::freein case the value returned frominsert_free_block_ptrdoes not cover the full memory range passed in.
v0.7.0 - 2026-01-03
- Added a
initmacro to make initialization easier. - Added
Heap::freeandHeap::usedfor the TLSF heap.
- The
Heap::initmethods now panic if they're called more than once or withsize == 0.
v0.6.0 - 2024-09-01
- Added a Two-Level Segregated Fit heap with the
tlsffeature.
- The
Heapstruct has been renamed toLlffHeapand requires thellfffeature. - Updated the rust edition from 2018 to 2021.
v0.5.1 - 2023-11-04
- Implemented
AllocatorforHeapwith theallocator_apicrate feature. This feature requires a nightly toolchain for the unstableallocator_apicompiler feature.
- Updated
linked_list_allocatordependency to 0.10.5, which allows compiling with stable rust.
v0.5.0 - 2022-12-06
- Renamed crate from
alloc-cortex-mtoembedded-alloc. - Renamed
CortexMHeaptoHeap. - Use
critical-sectionto lock the heap, instead ofcortex_m::interrupt::free(). This allows using this crate on non-Cortex-M systems, or on Cortex-M systems that require a custom critical section implementation.
v0.4.3 - 2022-11-03
- Updated
linked_list_allocatordependency to 0.10.4, which fixes CVE-2022-36086/RUSTSEC-2022-0063.
v0.4.2 - 2022-01-04
- Updated
cortex-mdependency to 0.7.2.
v0.4.1 - 2021-01-02
const_mut_refsfeature to the dependencylinked_list_allocatorcrate.
- Bumped the dependency of the
linked_list_allocatorcrate to v0.8.11.
v0.4.0 - 2020-06-05
- Bumped the
cortex-mdependency to v0.6.2. - Bumped the dependency of the
linked_list_allocatorcrate to v0.8.1. - Removed
#![feature(alloc)]to supress compiler warning about stability for alloc.
v0.3.5 - 2018-06-19
- To work with recent nightly
v0.3.4 - 2018-05-12
- Update the example in the crate level documentation to show how to define the new
oomlang item.
v0.3.3 - 2018-04-23
- Bumped the dependency of the
linked_list_allocatorcrate to v0.6.0.
v0.3.2 - 2018-02-26
- Bumped the dependency of the
linked_list_allocatorcrate to v0.5.0.
v0.3.1 - 2017-10-07
- The example in the documentation.
v0.3.0 - 2017-10-07
- [breaking-change] Switched to the new allocator system. See documentation for details.
v0.2.2 - 2017-04-29
- a
__rust_allocate_zeroedsymbol as it's needed on recent nightlies.
v0.2.1 - 2016-11-27
- The heap size is
end_addr-start_addr. Previously, it was wrongly calculated asend_addr - start_addr - 1.
v0.2.0 - 2016-11-19
- [breaking-change] Hid the HEAP variable. We now only expose an
initfunction to initialize the allocator.
- Initial version of the allocator