-
Notifications
You must be signed in to change notification settings - Fork 2k
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
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <dylan.laduranty@mesotic.com>
046ce5f
to
8b088c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good !
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