bitvec
bitvec copied to clipboard
Build for STM32 (no_std, thumbv7m-none-eabi) - no global memory allocator
trafficstars
Hello! I try to build my project with bitvec for stm32f103.
I added this for my cargo.toml:
[dependencies.bitvec]
version = "1"
default-features = false
features = ["atomic", "alloc"]
Error:
error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait
error: could not compile `my-project` (bin "my-project`) due to previous error
How to fix it?