stm32-rs / stm32wlxx-hal

A Hardware abstraction layer for the stm32wl series chips written in rust.
Apache License 2.0
45 stars 18 forks source link

compile #368

Closed tcpipchip closed 1 year ago

tcpipchip commented 1 year ago

Hi, i want to test your gpio-blink.rs in my module LSM110A (W55JC)...

I am doing on examples folder

$~/stm32wlxx-hal cd examples cargo build

image

How i create the hex to burn in my Module ?

I dont want to use the cargo-run

Thanks

newAM commented 1 year ago

Building creates an ELF file (under the target directory). objcopy can be used to change the format of that file.

tcpipchip commented 1 year ago

hi, but wich name ? image

tcpipchip commented 1 year ago

well, solved... I did a blog too https://lom204-cli-wisol.blogspot.com/2023/09/lsm110a-blink-led-com-rust.html

newAM commented 1 year ago

Glad you got it working! Sorry I couldn't provide the path earlier, I'm away from my computer for another week.

I'll close to issue now, but feel free to reopen!