Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blinky.rs doesn't work #37

Closed
weihsiu opened this issue May 11, 2021 · 2 comments
Closed

Blinky.rs doesn't work #37

weihsiu opened this issue May 11, 2021 · 2 comments

Comments

@weihsiu
Copy link

weihsiu commented May 11, 2021

the blinky example in rp2040-hal doesn't seem to work. the example compiled just fine. and after converting it to .uf2 and move it to a pico board, the led on pin 25 doesn't blink at all.

@9names
Copy link
Member

9names commented May 11, 2021

I just did a build of the latest HAL, and it worked first go.
Have you run rustup recently, maybe running a newer version of rustc might help?
Here's my commands, in case there's something I'm doing that isn't obvious.

>rustc --version
rustc 1.51.0 (2fd73fabe 2021-03-23)
>cargo build --example blinky --release
>elf2uf2 target/thumbv6m-none-eabi/release/examples/blinky blinky.uf2
>cp blinky.uf2 /media/9names/RPI-RP2/

@weihsiu
Copy link
Author

weihsiu commented May 11, 2021

i am sorry, my bad! i had a wrong memory.x from the other project. closing now and thanks for the great work, guys!

@weihsiu weihsiu closed this as completed May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants