cortex-m
cortex-m copied to clipboard
Low level access to Cortex-M processors
Hi, I realize this is not really a bug, I just hoped to get some feedback about where you think this should be reported. The issue is that if you...
Hello all, Does anyone have a workaround for the following error: ``` cannot find linker script memory.x >>> INCLUDE memory.x >>> ^ ``` that arises when compiling packages within workspaces?...
Hi, I'm just getting started with embedded rust, so apologies if this is a silly question! While trying to get a tick counter, I realized [`SYST::get_current()`](https://github.com/rust-embedded/cortex-m/blob/1a215916eeebdf96d4530e0afb1baa91b93eefb7/src/peripheral/syst.rs#L97-L102) would (almost) always return...
In `cortex-m-rtic` CI `cortex-m-semihosting` is used for printouts and QEMU control. As part of this [PR#680](https://github.com/rtic-rs/cortex-m-rtic/pull/680) semihosting got bumped to latest v0.5.0, and after adopting code to match the removed...
this ensures that the dependencies are kept up to date. see [the docs][] for further information. note that `cortex-m-rt/macros` isn't listed in the main `workspace` and also not in `cortex-m-rt`....
I know it's a weird combo (no halting debug is rare), but if we read this from IPSR instead of ICSR we avoid the problem altogether. https://github.com/rust-embedded/cortex-m/blob/1a215916eeebdf96d4530e0afb1baa91b93eefb7/cortex-m-rt/macros/src/lib.rs#L227
It seems that the `master` branch is at an older 0.7.4 code. ``` toml [package] authors = [ "The Cortex-M Team ", "Jorge Aparicio ", ] categories = ["embedded", "hardware-support",...
Added a comment to the `Cargo.toml` version. ``` toml ... version = "0.7.4" # preview of 0.8.x (kept at 0.7.x to allow patching during development) ... ```
> In the Armv8-M architecture, the NVIC supports up to 496 general-purpose interrupt lines. However, processor implementations may limit the maximum to a lower number, often 240 or 480. Cortex-M...
... so that the crates are [always `no_std`](https://rust.godbolt.org/z/q4eGM19W7), even on unsupported platforms. For dependent binaries, this will cause either: 1. No change, when compiling for `all(target_arch = "arm", target_os =...