raspberrypi / pico-project-generator

Tool to automatically generate a Pico C SDK Project
BSD 3-Clause "New" or "Revised" License
289 stars 74 forks source link

Launcher for Windows #103

Open BitRolher opened 6 months ago

BitRolher commented 6 months ago

Discovers the path of pico-sdk-tools Runs pico-env.cmd to prepare the environment Uses py.exe to find the path to Python Runs pico_project with gui

lurch commented 6 months ago

Does this "fix" #88 ? ping also @ndabas

BitRolher commented 6 months ago

Remark: It uses "cmd" and not Powershell as in #88, but the issues and workarounds are the same. So: -It "fixes" the "Python was not found" error which occurs when using "py" to launch -It "fixes" the "tkinter module not found" error when using "python" to launch -No fix: "CMake Error", but the environment is correctly set and same as in "Pico - Developer Command Prompt" (double checked with "Process Hacker 2"

ndabas commented 6 months ago

Thanks for putting this together, just added a couple of comments on the details -- let me know your thoughts.

BitRolher commented 6 months ago

I have pushed the script changes to my fork

BitRolher commented 6 months ago

I am sorry. It seems that it would be better if I created another branch for the "Use Ninja" changes.