embedded-alloc
cortex-m-quickstart
embedded-alloc | cortex-m-quickstart | |
---|---|---|
3 | 1 | |
271 | 712 | |
4.1% | 0.0% | |
6.8 | 0.0 | |
3 months ago | about 1 year ago | |
Rust | Rust | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
embedded-alloc
-
Embedded Rust on BBC Micro Bit: unlocking Vec and HashMap
Luckily, the embedded-alloc crate provides us with one (there is a complete example in the associated Github repository). We also need the cortex-m crate to handle critical sections. Add them to the project's dependencies like so:
- Help with alloc_cortex_m build
- Alternative for Vec for variable size arrays in no_std environment?
cortex-m-quickstart
-
Weird Autocomplete Behavior with rust-embedded Template
This paragraph is to just give context that everything else has been setup correctly. I have installed all prerequisites and can successfully run cargo generate --git https://github.com/rust-embedded/cortex-m-quickstart. I have edited memory.x as mentioned, and .cargo/config.toml to specify my MCU. I then run cargo build, change my debug configuration to Debug (OpenOCD), hit F5 and successfully reach the first breakpoint.
What are some alternatives?
cortex-m - Low level access to Cortex-M processors
cortex-m-rt - Minimal startup / runtime for Cortex-M microcontrollers
staticvec - Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.
rtic - Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers
rfcs - RFCs for changes to Rust
wyhash-rs - wyhash fast portable non-cryptographic hashing algorithm and random number generator in Rust
tock - A secure embedded operating system for microcontrollers
hoverkite - A project to fly a kite using custom firmware on a hoverboard
app-boilerplate-rust - Rust boilerplate application for Ledger Nano S/S+/X
min-no-std - A minimal setup for a no_std library with wee_alloc as global allocator
cortex-a - Low level access to Cortex-A processors
bitsvec - A bit vector with the Rust standard library's portable SIMD API.