Loading... Please wait...

Getting Started with Micropython

Getting Started with Micropython

MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimized to run on micro-controllers and in constrained environments. You can find out more here: https://micropython.org/

You can download the firmware from http://micropython.org/download

For convenience, this is a link to an ESP32 binary: esp32-20180924-v1.9.4-575-g6ea6c7cc9.bin

You will need esptool.py (available here: https://github.com/espressif/esptool). If you are putting MicroPython on for the first time then you should first erase the entire flash using:

esptool.py --chip esp32 erase_flash

Program your board using the esptool.py program, and put the firmware starting at address 0x1000. For example:

esptool.py --chip esp32 --port /dev/ttyUSB1 write_flash -z 0x1000 esp32-20180511-v1.9.4.bin

 

 

 

What's News

newsletter

Copyright 2018 oddWires. All Rights Reserved.
 Sitemap | oddWires