Thonny IDE magic commands for ESP32

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
jdcrunchman
Posts: 6
Joined: Wed Jun 19, 2019 8:17 pm

Thonny IDE magic commands for ESP32

Post by jdcrunchman » Tue Jul 02, 2019 8:19 pm

Hi,
I'm looking for a complete list of Thonny Super commands, used for controlling access to the files on the ESP32
For instance: %lsdevice lists the files in the ESP32.

Where can I find a complete list of magic commands available in Thonny?

https://github.com/thonny/thonny/blob/m ... _init__.py

This is the source code for Thonny - Line 105 is the line where I think the Super Commands are.
So this is a complete show stopper for me. Without the ability to go into the "www" directory,
what happens when I go to the Thonny menu "Device" --> Upload current script which transfers the file
into the ESP32. So I'm also screwed in that I cannot "move" files from the root into the ESP32's "www"
directory....

>>> %cd www
Path doesn't exist: www

I had to create the www directory, first by exiting Thonny so it releases the USB Device

ampy --port /dev/tty.SLAB_USBtoUART mkdir www
The Directory showed up when I did the %lsdevice but now I want to move some files into this directory.
But Thonny says the path doesn't exist.

Some people may wonder why I'm posting this to this forum, because I can't find a form specifically for the Thonny
IDE.

I'm just about to give up on Thonny.

Thanx

Post Reply