How can I use micropython on the Seeedstudio XIAO-RP2040? #11300
Replies: 6 comments 14 replies
-
Mpremote should just work, as a range of other tools. |
Beta Was this translation helpful? Give feedback.
-
They suggest Thonny as it is a simple IDE tailored for the newbie. You have all the tools at hand editor, and file management. I am using for years mpfshell with ESP8266, ESP32 and Raspberry Pi Pico. It would probably works with a XIAO as it is using the REPL commands. |
Beta Was this translation helpful? Give feedback.
-
@Josverl @fdufnews thank you for the suggestions. They indeed look preferable to thonny. But why would I need an extra application at all to just copy files to the device and let it run them when I restart it in non-drive mode? My system already sees a drive which it can mount. Is that not the drive which scripts go into? |
Beta Was this translation helpful? Give feedback.
-
Contrary to CircuitPython, MicroPython does not appear as a mass storage when plugged-in in a computer. |
Beta Was this translation helpful? Give feedback.
-
@robert-hh ok, thanks for patiently explaining this :)
:( Might be that my mpremote installation is broken, hard to check without a test suite. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your help. I think that almost wraps it up. Just one last issue now that I'm able to ~use it: So I can transfer files to it with:
and edit them with
And re-start the device scripts with
But how can I get stdout from the device? debugging is really difficult without stdout :( |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I got one of these devices hoping to replace pyboards which are increasingly hard to get.
Their wiki, linked above, seems to be pretty fixated on a specific IDE. But since I can just mount the drive of the device I assume I should be able to copy micropython files over to it and have it run them.
I tried a really simple set-up for controlling the LEDs (
boot.py
andmain.py
), but nothing happens.Further, after I unmount the drive whatever files I added to it just disappear.
Any ideas how I might just transfer micropython scripts for it to run?
Beta Was this translation helpful? Give feedback.
All reactions