...
See /wiki/spaces/NER/pages/611516420 for a full overview of the NER build system
c. (Windows only) WSL passthrough
Basically, WSL doesnt get the USB devices such as our circuit boards, by default. A program usbipd
fixes that. But, it cannot be run from WSL and therefore not automated.
First, to install, run winget install usbipd
in a Windows (non WSL) terminal.
Now, every time a new circuit board is plugged in for the first time, open a adminstrator command prompt terminal and run:
Code Block | ||
---|---|---|
| ||
usbipd list
# identify the device from the list (usually called FTDI or CMSIS-DAP), and enter its bus ID below
usbipd bind --busid <BUS_ID> |
Every time you plug in the device, run from a non-adminstrator windows terminal (not wsl):
Code Block |
---|
usbipd attach --wsl --busid <BUS_ID> |
Learning Resources
a. Git
View file | ||
---|---|---|
|
...