micropython-ide-vscode
micropython-ide-vscode copied to clipboard
.micropythonrc sample is required....
Where can we find a sample .micropythonrc code?
Thank you Pei
This is my example
{
"tools": {
"ampy": "/home/googchai/.local/bin/ampy",
"rshell": "/usr/local/bin/rshell"
},
"upload": {
"port": "/dev/ttyUSB0"
}
}
I have:
{
"tools": {
"ampy": "c:/Users/wally/AppData/Local/Programs/Python/Python37-32/Scripts/ampy.exe",
"rshell": "c:/Users/wally/AppData/Local/Programs/Python/Python37-32/Scripts/rshell.exe"
},
"upload": {
"port": "COM6"
}
}
but after Run in VSCode (W10) I get:
Checking current script...
Preparing file c:\repo\nas\Wally.MicroPython.VSCode\.micropythonrc...
Checking `ampy` tool...
Error: Required tool not found (`ampy`). Please install `ampy` to run project.
Task abort with 5220 milliseconds.
can anybody help? Is the Extension compatible with VisualStudio Code Windows 10 version?
Hi wally666,
Could you please check file "ampy.exe" is exists / collect path or not ?
regards, googchai
Imho there is a problem inside code, because plugin uses "which" command to invoke ampy.
@Googchai : file exists @martinnedopil : you are right
The plugin does not work on Windows 10. I assume it was never tested on Windows.