Closed aeblyve closed 10 months ago
element chat from @adamgreig submits https://github.com/embassy-rs/embassy/pull/2521 introduced the bug:
a temporary solution is to:
git checkout a099084bffe621f45fc798cec26164b96a8984aa
same issue on stm32l431cb for the field pllsai2_p ie.
error[E0609]: no field `pllsai2_p` on type `Temp`
--> embassy/examples/stm32l4/target/thumbv7em-none-eabi/release/build/embassy-stm32-aab123763c6d6b70/out/_macros.rs:1:595
|
1 | ...l1_q , pllsai1_p : all . pllsai1_p , pllsai2_p : all . pllsai2_p , rtc : all . rtc , sai1_extclk : all . sai1_extclk , sys : all . sys...
| ^^^^^^^^^ unknown field
|
::: /home/ragarnoy/CLionProjects/embassy/embassy-stm32/src/rcc/l.rs:378:5
|
378 | / set_clocks!(
379 | | sys: Some(sys_clk),
380 | | hclk1: Some(hclk1),
381 | | #[cfg(any(stm32l4, stm32l5, stm32wb, stm32wl))]
... |
423 | | lse: None,
424 | | );
| |_____- in this macro invocation
|
= note: this error originates in the macro `set_clocks` (in Nightly builds, run with -Z macro-backtrace for more info)
To reproduce:
cd examples/stm32f0
Changestm32f091rc
tostm32f072c8
(keep rest ofCargo.toml
the same)cargo build
The result is:
More info: