News for hackers. Stuff that matters.
Re:Embassy: Modern embedded framework, using Rust and async by junon on Thursday January 08, 2026 @09:07PM (#46549295)
On the flip side, the stm32 firmware hello world from cubeide caused temperature spikes due to spinning. Embassy uses power states efficiently to reduce power draw and temp when nothing is scheduled. It is a huge tangible benefit to use async executors for firmware and I hold the strong belief that it should become the norm for general purpose uC firmware.
Re:Embassy: Modern embedded framework, using Rust and async by the__alchemist on Thursday January 08, 2026 @09:15PM (#46549357)
There is nothing unique to Async about this: You just put a cortex_m wfi in the main loop, or depending on the STM32 variant, set the sleep or stop bits and related.
Re:Embassy: Modern embedded framework, using Rust and async by junon on Friday January 09, 2026 @04:05AM (#46551624)
I didn't say it wasn't possible. I said it was the hello world from cubeide.
Re:Embassy: Modern embedded framework, using Rust and async by 5d41402abc4b on Friday January 09, 2026 @03:58AM (#46551573)
>the stm32 firmware hello world from cubeide caused temperature spikes due to spinning

That should never happen unless you are using a high end 1GHz+ MPUs.Check your GPIOs to make sure there are no shorts.