Before I go deep into the rabbit hole, I am wondering if anyone has had success with the following:
- I am in a Windows 11 environment
- I want to setup Docker with nRF Connect SDK image from https://github.com/NordicPlayground/nrf-docker
- In order to support flashing, above link indicates
- "Docker for Mac OS and Windows does not have support for USB yet, so this will only work on Linux computers"
- So on my Windows 11 machine, I will endeavor to run Docker under WSL2
- well supported, presumably for a couple of years now
- https://code.visualstudio.com/blogs/2020/03/02/docker-in-wsl2
- From my Windows 11 environment, I will access the Docker container as a remote container
- Appears support for connecting a USB device to a Linux distribution running on WSL 2 ( needed for flashing / debugging ) is fairly recent capability on Windows 11
Assuming the above is workable, has anyone battled through this, and seen success ?
The main goal ( but concerns ), are once I have VS Code running on Windows 11, and the nRF Connect for VS Code extension installed
- https://www.nordicsemi.com/Products/Development-tools/nRF-Connect-for-VS-Code)
- ... will I be able to effectively use the debugger / flash operations within VS Code transparently to my Linux WSL2 remote container containing nRF Connect SDK.
Lots of reading material suggests should be possible .... just seeing if anyone has crossed the ocean on this ?
Thanks, Martin