doc: Add guide for dev setup on Windows#20426
Conversation
|
@maribu Note that you can also use .exe directly from WSL so one can install JLinkExe.exe (for example) into windows, symlink the .exe binary to JLinkExe within WSL then use good old |
|
With USB-IP also |
|
Let me know when the full tutorial is ready. I'll give it a try on my W10 laptop. |
|
Should be good now :) |
|
Awesome! Please be patient for a couple of days, maybe one or two weeks. I'm drowning in work rn. |
|
Followed the whole tutorial. I was able to successfully flash The only issue is with DAP programmer which rely on USB HID. This is not supported by the default WSL Linux Kernel. For now, I think this PR is already in good shape ! |
91d2b15 to
9044471
Compare
|
Thanks. I added the info about USB HID programmers. I do get why Microsoft disabled The thing is that HID devices are the only USB device class that works on Windows without any driver being installed. (Which also makes sense: Installing your Mouse and Keyboard driver without using a Mouse and Keyboard on Windows will be a challenge.) Abusing HID as transport for debuggers only became popular because of the desire to have the smooth driver-less experience Linux users are familiar with also on Windows. It's quite ironic that this decision resulted in the experience now being less smooth for Windows users wanting to use RIOT. |
9044471 to
5f1beb1
Compare
dylad
left a comment
There was a problem hiding this comment.
Spotted a typo in the newly added text.
You can squash directly.
This adds a step-by-step guide to install a dev setup based on WSL2 / Ubuntu and native VS Code with the WSL extension. The guide uses screenshots and adds annotations on top using Inkscape, so that every click is documented. The Inkscape sources are also added to allow adjusting / fixing the annotations later on without having to record a new set of screenshots. Co-authored-by: Dylan Laduranty <[email protected]>
046ce5f to
8b088c8
Compare
|
Thx :) |
Contribution description
This adds a detailed instruction on how to get a working development setup on Windows.
State
Testing procedure
Check here for a rendering of the added README.md
Issues/PRs references
#20388