UPB-CS-OpenSourceUpstream / libtock-rs

Rust userland library for Tock
Apache License 2.0
0 stars 12 forks source link

Error while flashing an example #6

Closed FlaviusRabuga closed 1 year ago

FlaviusRabuga commented 1 year ago

Hey, I cloned the repo and followed the steps from the main README, but when I run the make flash-microbit_v2 EXAMPLE=console command, I get this error: https://imgur.com/a/s46jsJn I am currently using WSL

alexandruradovici commented 1 year ago

There are several issue here:

  1. You do need tockloader version 1.10.0-dev installed, that means installing it from GitHub and not using pip (which installs and older version)
  2. You will need a real Linux to flash the board, as WSL does not seem to be able to redirect USB ports. You can use VirtualBox or VMWare, both know how to forwards USB ports.