How to install MP
This commit is contained in:
13
Micropython_install.md
Normal file
13
Micropython_install.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Installation of Micropython .bin on a ESP8266
|
||||
Before we can program and use a ESP8266 with python, we need to flash the firmware
|
||||
to MP - a Mirco Python environment especially designed for these microprocessors
|
||||
|
||||
We need to dowload the latest MP binary. At the time of writing:
|
||||
|
||||
wget https://micropython.org/resources/firmware/esp8266-1m-20220618-v1.19.1.bin
|
||||
|
||||
Then, we need to flash the software to the microcontroller. A script that helps
|
||||
us with this task is called esptool.py which can be downloaded from [HERE|https://github.com/espressif/esptool]:
|
||||
|
||||
esptool.py --port /dev/ttyUSB0 erase_flash
|
||||
esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect -fm dout 0 esp8266-1m-20220618-v1.19.1.bin
|
||||
Reference in New Issue
Block a user