mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-27 12:20:56 +00:00

* 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
esp-alloc
A simple no_std
heap allocator for RISC-V and Xtensa processors from Espressif. Supports all currently available ESP32 devices.
NOTE: using this as your global allocator requires using Rust 1.68 or greater, or the nightly
release channel.
Minimum Supported Rust Version (MSRV)
This crate is guaranteed to compile when using the latest stable Rust version at the time of the crate's release. It might compile with older versions, but that may change in any new release, including patches.
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.