Save the software inside ESP32

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
giants
Posts: 33
Joined: Fri Apr 26, 2019 2:07 pm

Save the software inside ESP32

Post by giants » Fri Feb 19, 2021 10:27 pm

Hi there !
I wrote a proram for my ESP32 with uPyCraft_V1.1. Everthingh work but i don't understand why if i turn off and turn on the current i need the save again the software inside the ESP 32, i need the change or write somethingh inside the boot ?

Thanks soo much

Sergio

User avatar
jimmo
Posts: 2244
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: Save the software inside ESP32

Post by jimmo » Mon Feb 22, 2021 3:50 am

giants wrote:
Fri Feb 19, 2021 10:27 pm
I wrote a proram for my ESP32 with uPyCraft_V1.1. Everthingh work but i don't understand why if i turn off and turn on the current i need the save again the software inside the ESP 32, i need the change or write somethingh inside the boot ?
To make development faster, uPyCraft is just copying your code into RAM to be executed.

If you want to copy your code to the device, you need to copy your files to the device, and then main.py will be executed automatically on boot. I don't know if uPyCraft can do this, but I would recommend taking a look at:

- pyboard.py
- rshell
- Thonny

giants
Posts: 33
Joined: Fri Apr 26, 2019 2:07 pm

Re: Save the software inside ESP32

Post by giants » Mon Feb 22, 2021 5:48 am

Thank you

Sergio

Post Reply