jacobrosenthal / hf2-rs

Microsoft HF2 HID Flashing Format for UF2 Bootloaders
49 stars 14 forks source link

Add Wio Terminal to vid/pid database #31

Closed twitchyliquid64 closed 3 years ago

twitchyliquid64 commented 3 years ago

Could this VID/PID pair be added?

vid 0x2886
pid 0x002d

Tested successfully with: cargo hf2 --release --example=orientation --vid 0x2886 --pid 0x002d

And these udev rules:

ATTRS{idVendor}=="2886", ATTRS{idProduct}=="002d", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2886", ATTRS{idProduct}=="002d", MODE="0666"
SUBSYSTEM=="tty", ATTRS{idVendor}=="2886", ATTRS{idProduct}=="002d", MODE="0666"

Thanks!

twitchyliquid64 commented 3 years ago

Btw, this is the Seeed studio Wio Terminal version 1: https://www.seeedstudio.com/Wio-Terminal-p-4509.html

jacobrosenthal commented 3 years ago

Do you know what repo theyre developing these in. Id like to take any more vids and pids they have and have a link to check to stay current

twitchyliquid64 commented 3 years ago

I havent seen any repo for the UF2 bootloader used. We (jesse) are working on a BSP at https://github.com/jessebraham/wio-terminal, but eventually want to bring it into atsamd.

I dont have any other board so I can't determine the other PIDs.

twitchyliquid64 commented 3 years ago

Ooooo, found some stuff

https://github.com/macky-n-tosh/Arduino_ref/blob/899fe0810a07bff6f05ac42eec72ab60a90505db/packages/Seeeduino/hardware/samd/1.7.7/boards.txt#L27

https://github.com/platformio/platform-atmelsam/blob/0ed89cea0a96ce960279e34c9f4fb763e728fbcd/boards/seeed_wio_terminal.json#L18