tinyfpga / TinyFPGA-Programmer-Application

Desktop application for programming TinyFPGA boards
GNU General Public License v3.0
61 stars 19 forks source link

application doesnt run on windows #12

Open Joshinken opened 2 years ago

Joshinken commented 2 years ago

this is an issue with a known workaround, and here is the solution if anyone else is encountering the same issues i did

  1. clone the tinyFPGA programmer application repo, as well as its 2 dependencies, "a-series programmer" and "b-series" (if you clone it using the recursive command, that will do it automatically, but if youre on windows, chances are you arent downloading this using the command line)
  2. copy the folder "tinyfpgab" from "b-series/programmer" into the tinyfpga programmer repo directory, so its in the same folder as the "tinyfpga-programmer-gui.py"
  3. install python 2.7
  4. copy the folders tcl8.5 and tk8.5 from c:/python27/tcl to c:/python27/lib (note: these directories may change depending on your python install. you may just have to find your python install folder wherever it is. the folders will always be named tcl and lib, though)
  5. open cmd (windows key+r, type "cmd", press enter), use the cd command to navigate to your repo, and then run the commands "pip install pyserial", followed by "python tinyfpga-programmer-gui.py"
  6. (optional) i suggest making a .bat file containing that last command so you dont have to redo that every time
Joshinken commented 2 years ago

there is, at least to me, currently no known way of launching the .exe file

launching the program on linux requires the first 2 steps, and a few extra pip commands which im sure you can figure out yourself if youre using linux