-
# Proposal
I'm proposing to remove the existing `avr-unknown-gnu-atmega328` target and replace it with a generic `avr-unknown-none` variant. This variant can be then specialized for a specific CPU (w…
-
### Code
```Rust
#![no_std]
#![no_main]
#![feature(asm_experimental_arch)]
use core::{panic::PanicInfo, arch::asm};
#[panic_handler]
fn panic(_info: &PanicInfo) -> ! {
loop {}
}
#[no_mangle]…
-
At the moment compiler-builtins isn't useful for AVR, because that platform uses [a custom calling convention for intrinsics](https://gcc.gnu.org/wiki/avr-gcc#Exceptions_to_the_Calling_Convention) - s…
-
Perhaps it is possible for `-Ctarget-cpu` to replace the need for the custom target specs.
See discussion in https://github.com/rust-lang/rust/pull/131171, opening this issue to track it instead.
…
-
I just started using Windows after 2 year break and I am new to rust ecosystem, I was using macOS (where I could use `brew` for those who don't know) so I started using `winget` as documentation state…
-
I'm thinking to make documentation more useful and accessible by adding code examples. Would you be happy to accept this?
To start with, I would add just a basic example to the documentation of eac…
-
The domain avr-rust.com seems to be expired as of now (both https://avr-rust.com/ and https://book.avr-rust.com/)
![image](https://github.com/avr-rust/book.avr-rust.com/assets/956446/83cbdf0a-e8fb-…
-
Now that Rust has nightly support for AVR it would be neat to have an example for this crate using [avr-hal](https://github.com/Rahix/avr-hal) for the ubiquitous Arduino UNO.
-
The feature gate for the issue is `#![feature(asm_experimental_arch)]`.
### Summary
This feature tracks `asm!` and `global_asm!` support for the following architectures:
- Arm64ec: https://github.co…
-
There's no crate named avr-hal, why?
I apologize for being naive but this is my very first Rust project and ... I'm kind of dazed. I am developing an embedded firmware that should be able to run on…
mfp20 updated
3 months ago