Alternative to Thonny #12686
Replies: 11 comments 13 replies
-
Just got VSCode working with the PICO following: I don't know about connecting to multiple boards. |
Beta Was this translation helpful? Give feedback.
-
Maybe: |
Beta Was this translation helpful? Give feedback.
-
I find vscode (with @Josverl 's micropython-esp32-stubs) to be a good micropython dev environment for me (and means I have the same environment for other dev). I just use mpremote in a vscode terminal pane to flash and interact with the devices. Like you, I am frequently interacting with multiple devices and I haven't found a vscode plugin that makes that easier than using mpremote (though I haven't looked for a while). |
Beta Was this translation helpful? Give feedback.
-
I'm still using Atom with a pymakr extension for lora work. It's been abandoned now but I like the way it allows you to have a couple of cards on 2 different com ports & lets you hop back & forth between them as they exchange lora packets with each other. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggestions, I gave mpremote a go in vscode with this plugin: https://marketplace.visualstudio.com/items?itemName=DavesCodeMusings.mpremote
I don't think this is the tool for me, but I'll explore it some more. I also gave PyMakr a try, I've now got a project with my two devices and two terminal windows. I found a "workaround" in Thonny though. The most workable solution at the moment seems to be hooking the two boards up to two computers. |
Beta Was this translation helpful? Give feedback.
-
@MrTinkerman I would suggest finding a good Python editor/IDE to edit your code (e.g. VSCode is pretty popular and well-supported by the micropython stubs linked above), and use I saw your comment here: https://github.com/orgs/micropython/discussions/12657#discussioncomment-7262280 One of the key problems here is that Damien and I (the two main authors of mpremote) aren't IDE people, so we don't necessarily have a great understanding of what people want from these tools. We built mpremote to be a workflow that works well for us (within the constraints of what we know MicroPython can do), but we are also cognizant of not being the typical users! I've started some work (but still a long way to go) to try and turn |
Beta Was this translation helpful? Give feedback.
-
Inspired by this thread to set up vscode for use with mp I set up a new venv and installed the @DavesCodeMusings mpremote. That seems to work well. I then installed the mp stubs into the venv. I made the settings to the vsc workplace whilst in the venv as per stubs doc (Python language server to Pylance and Pylance Type Checking to strict. |
Beta Was this translation helpful? Give feedback.
-
Thanks to @glenn20 & @Josverl for the tips, the vscode is working splendidly and its nice to work with a good IDE for micropython. Thonny is also good, but on my older mac the latest Thonny is misbehaving where I cannot get to select text by scrolling down to highlight text not currently showing in the window. Well that maybe a good excuse to get a new computer :) but vsc is doing very nicely |
Beta Was this translation helpful? Give feedback.
-
I really really greatly greatly appreciate the input I received here. You are all Lifesavers, (the CC syntax issue was just my error in copying it to the GitHub). I have read the links and all of your comments. They’ve all been extremely helpful. I do have VS code set up and think that proceeding on that route may be my best in the long run. I have ordered another couple of Picos to see if my pico is an issue. What was curious is that I had two programs on the pico that I was switching back-and-forth on . They were Working fine and in the middle of it began the intractable recalcitrant error messages . The pico never recovered even when I used it on another computer. My next move will be to follow the random nerds tutorial on using the pico on VS code as recommended here. I’m going to try all these different recommendations since I am curious and appreciate the ammunition you have provided in helping me fight the good fight. |
Beta Was this translation helpful? Give feedback.
-
Please check out ViperIDE for Web and Mobile: Feedback is welcome |
Beta Was this translation helpful? Give feedback.
-
mueditor [https://codewith.mu/en/download] is my fav. {beginner friendly i guess} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Yeah,
I've used Thonny when getting into uP programming. It served me well, up until now.
I'm looking for an alternative. Thonny just does not handle files, uploads, saves, REPL output that well...
Just too many unknowns, is it my code or is it Thonny being buggy ??
In some cases it's my code, in some others it's Thonny f*ing up.
At the moment I'm working on a LoRa project. Two XIOA ESP32-C3 boards with RFM95's hooked up.
I have both ESP's connected to my machine for programming and debugging, Thonny just can't handle that :(
I have the boards communicating over LoRa successfully but when connecting both boards it's just one big mess of unknowns...
So my question is, how do you program your uP devices?
I have tried uPyCraft, it just does not install on my Win10 x64, a missing dll's rabbit hole
MuEditor installs but cannot find my connected boards...
Pycharm can't find my boards and is actually a no go because of file management.
Is there any stable uP IDE, free or paid, that is reliable?
Would love to hear your feedback,
Thanks
Beta Was this translation helpful? Give feedback.
All reactions