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.
v0.6.0 - 2024-09-01
- Added a Two-Level Segregated Fit heap with the
tlsf
feature.
- The
Heap
struct has been renamed toLlffHeap
and requires thellff
feature. - Updated the rust edition from 2018 to 2021.
v0.5.1 - 2023-11-04
- Implemented
Allocator
forHeap
with theallocator_api
crate feature. This feature requires a nightly toolchain for the unstableallocator_api
compiler feature.
- Updated
linked_list_allocator
dependency to 0.10.5, which allows compiling with stable rust.
v0.5.0 - 2022-12-06
- Renamed crate from
alloc-cortex-m
toembedded-alloc
. - Renamed
CortexMHeap
toHeap
. - Use
critical-section
to 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_allocator
dependency to 0.10.4, which fixes CVE-2022-36086/RUSTSEC-2022-0063.
v0.4.2 - 2022-01-04
- Updated
cortex-m
dependency to 0.7.2.
v0.4.1 - 2021-01-02
const_mut_refs
feature to the dependencylinked_list_allocator
crate.
- Bumped the dependency of the
linked_list_allocator
crate to v0.8.11.
v0.4.0 - 2020-06-05
- Bumped the
cortex-m
dependency to v0.6.2. - Bumped the dependency of the
linked_list_allocator
crate 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
oom
lang item.
v0.3.3 - 2018-04-23
- Bumped the dependency of the
linked_list_allocator
crate to v0.6.0.
v0.3.2 - 2018-02-26
- Bumped the dependency of the
linked_list_allocator
crate 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_zeroed
symbol 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
init
function to initialize the allocator.
- Initial version of the allocator