probe-run
cortex-m
probe-run | cortex-m | |
---|---|---|
6 | 6 | |
646 | 756 | |
- | 4.4% | |
0.0 | 7.6 | |
3 months ago | 14 days ago | |
Rust | Rust | |
Apache License 2.0 | 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.
probe-run
-
blink sketch for stm32f411?
Install probe-run (this is optional, but makes flashing easier)
-
This Year in Embedded Rust: 2021 Edition
This made me want to try getting some of these tools running. Probe run looked so handy, but it just doesn't work for me.
-
Any frameworks in Rust for developing on SiFive / ST / NXP boards?
For flashing, Check out Kurling's Probe-run, and related tools like defmt, as well as their app template.
- Writing embedded firmware using Rust
-
Rust community should go all in on supporting Raspberry Pi RP2040 Microcontrollers
You don't need a USB file system for a convenient dev experience. In fact you can achieve an even more integrated experience with Rust today, on essentially any Cortex-M microcontroller if you set up probe-run. It makes cargo run flash and run the code on your microcontroller and can even be invoked with rust-analyzer's run button or an IDE command.
-
How can I use probe-run and still debug application
I've been looking for a way to debug my application like I would from GDB (ie: set breakpoints, inspect registers, step, etc.) but I haven't found any documentation on how to accomplish this with probe-run.
cortex-m
-
Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022
I do not have as strong of feelings as your parent, but:
1. A lot of the APIs make use of the typestate pattern, which is nice, but also very verbose, and might turn many people off.
2. The generated API documentation for the lower level crates relies on you knowing the feel for how it generates the various APIs. It can take some time to get used to, especially if you're used to the better documentation of the broader ecosystem.
3. A bunch of the ecosystem crates assume the "I am running one program in ring0" kind of thing, and not "I have an RTOS" sort of case. See the discussion in https://github.com/rust-embedded/cortex-m/issues/233 for example.
- Advisory: Miscompilation in cortex-m-rt 0.7.1 and 0.7.2
-
Any frameworks in Rust for developing on SiFive / ST / NXP boards?
For cortex-m support, check out the cortex-m crate
-
Getting panic when running Rust-Embedded code to set GPIO mode
See https://github.com/rust-embedded/cortex-m/tree/master/panic-semihosting
-
A GPIO Driver in Rust
I don't think so. Once a function is compiled, it basically becomes a black box with a type signature so unless sleeping in a function affects its signature, that information is erased. If you pass in some kind of a sleep token that has to be used to sleep, then yeah I think you could enforce it by only being able to get that token in a non-atomic context and making it leak proof.
The Cortex-M crate does something similar, but for proving that you are in an atomic context. Another function that expects a CriticalSection type is then assured that it's running without interrupts enabled.
https://github.com/rust-embedded/cortex-m/blob/master/src/in...
- Would it be possible to run Rust on the new Raspberry Pi Pico?
What are some alternatives?
cargo-embed - a cargo extension for working with microcontrollers
cortex-m-rt - Minimal startup / runtime for Cortex-M microcontrollers
defmt - Efficient, deferred formatting for logging on embedded systems
stm32-rs - Embedded Rust device crates for STM32 microcontrollers
rtic - Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers
stm32f7xx-hal - A Rust embedded-hal HAL for all MCUs in the STM32 F7 family
wyhash-rs - wyhash fast portable non-cryptographic hashing algorithm and random number generator in Rust
svd2nim - Convert CMSIS ARM SVD files to nim register memory mappings
pico-examples
stm32-hal - This library provides access to STM32 peripherals in Rust.