I'm not sure if X-Windows server is needed, but I have some notes in a prior blog post to use cygwin from WSL.
sudo apt-get update sudo apt-get upgrade sudo apt-get install nodejs sudo apt-get install npm node -v cd ~/workspace/ ## see https://github.com/FPGAwars/icestudio#download ## git clone https://github.com/FPGAwars/icestudio.git cd icestudio ## Do we need to have an X-Windows server running? ## export DISPLAY=:0 # you may wish you put in this your ~/.bashrc cp /mnt/c/cygwin64/home/gojimmypi/.Xauthority ~/.Xauthority ## test X-Windows xclock ## ensure we are on the develop branch ## git status npm install npm start
Unforunately, this left me in a state of "waiting..."
gojimmypi:~/workspace/icestudio $ npm start > firstname.lastname@example.org start /home/gojimmypi/workspace/icestudio > grunt serve Running "nggettext_compile:all" (nggettext_compile) task Running "watch:scripts" (watch) task Waiting... Running "wiredep:task" (wiredep) task Running "exec:stopNW" (exec) task Running "exec:nw" (exec) task Done. Completed in 3.118s at Tue Dec 24 2019 06:57:33 GMT-0800 (PST) - Waiting...
For Windows, download the NodeJS and NPM. I did get it working, but see this icestudio GitHub issue #368. More to come...
Resources and links:
- FTDI Drivers, specifically CDM v2.12.28 WHQL Certified (contains both 32 and 64 bit
- WSL GUI - Using Cygwin X-Server for Graphical Interface
- Makefile gtkwave sim and xserver recipes for WSL FPGA programming
- WSL2 install (I still have WSL 1 for this blog)