Closed mutantbob closed 2 years ago
Good news.
I performed a little test by taking one of my apps and converting its "hello" to
let _ = uwriteln!(
&mut serial,
"{}",
progmem_display!("do you wanna have a bad time?!")
);
and I tweaked the Cargo.toml
with
[dependencies]
avr-progmem = "0.3.0-alpha"
[patch.crates-io]
avr-progmem = { git="https://github.com/Cryptjar/avr-progmem-rs.git", branch="v0.3"}
I compiled with nightly-2022-05-10 and flashed it to the Arduino. It displayed the message as I hoped.
I look forward to your updated crate being available on crates.io.
Thanks for testing. I also updated the MSRV notice to reflect the compatibility with nightly-2022-05-10
(it needs to be still a nightly as AVR inline-assembly is still unstable for some reason). Sorry, for the brevity on my side, I'm a bit busy at the moment.
I just published it as v0.3.0 on crates.io, thus I'm closing this issue.
The latest AVR template now uses
channel = "nightly-2022-05-10"
. Unfortunately, that breaks any code that usesllvm_asm!
I think the avr-hal crates use feature flags enabled by
build.rs
to support the new rust : https://github.com/Rahix/avr-hal/commit/5d757696e338104622a0f89c51020b718bf48b62