Posts

Showing posts from March, 2025
Making STM32WL55 work with Rust I recently got my hands on a STM32WL55 development kit (NUCLEO-WL55JC2 to be more precise) and wanted to program it in Rust. Since things did not work out of the box and I had to spend many hours figuring out how to make it work, I thought I document the steps I took to make it work for the next person who bumps into this: Pre-requisites STM32CubeProgrammer probe-rs target-gen Note: The target-gen docs instruct how to run it from the repository but it's not necessary and you can install with cargo install target-gen . Getting Started Powering up the board is super easy. Just connect the USB cable to the board and your computer. Now if you're as eager as I was, you'll want to already want to try out the lora-rs examples but if you do that already, you'll get an error: ❯ cargo r --bin lora_p2p_receive Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s Running `probe-rs run --chip STM32WL55JC ...