Modifications

Sauter à la navigation Sauter à la recherche
aucun résumé de modification
Ligne 13 : Ligne 13 :  
  <nowiki>sudo pip install esptool</nowiki>
 
  <nowiki>sudo pip install esptool</nowiki>
   −
[[Fichier:FEATHER-CHARGER-MICROPYTHON-ESP8266-20.png]]
+
{{ADFImage|FEATHER-CHARGER-MICROPYTHON-ESP8266-20.png}}
    
If you receive an error that esptool.py only supports Python 2.x try running again with the '''pip2''' command instead of pip (likely your system is using Python 3 and the pip command is getting confused which version to use).
 
If you receive an error that esptool.py only supports Python 2.x try running again with the '''pip2''' command instead of pip (likely your system is using Python 3 and the pip command is getting confused which version to use).
Ligne 19 : Ligne 19 :  
Next [http://micropython.org/download/#esp8266 download the latest MicroPython ESP8266 firmware file].  These firmware files are generated daily from the latest code on Github.  If you'd like to build your own MicroPython ESP8266 firmware (like if you're customizing it or including other modules & scripts) check out [https://learn.adafruit.com/building-and-running-micropython-on-the-esp8266/overview this handy guide on compiling firmware in a special virtual machine].
 
Next [http://micropython.org/download/#esp8266 download the latest MicroPython ESP8266 firmware file].  These firmware files are generated daily from the latest code on Github.  If you'd like to build your own MicroPython ESP8266 firmware (like if you're customizing it or including other modules & scripts) check out [https://learn.adafruit.com/building-and-running-micropython-on-the-esp8266/overview this handy guide on compiling firmware in a special virtual machine].
   −
[[Fichier:FEATHER-CHARGER-MICROPYTHON-ESP8266-21.png]]
+
{{ADFImage|FEATHER-CHARGER-MICROPYTHON-ESP8266-21.png}}
    
Now you'll need to put the ESP8266 into its firmware flashing mode.  Each ESP8266 board is slightly different:
 
Now you'll need to put the ESP8266 into its firmware flashing mode.  Each ESP8266 board is slightly different:
Ligne 32 : Ligne 32 :  
Where /path/to/ESP8266 is the path or name of the serial port that is connected to the ESP8266.  The exact name of the device varies depending on the type of serial to USB converter chip so you might need to look at the serial ports with and without the device connected to find its name.
 
Where /path/to/ESP8266 is the path or name of the serial port that is connected to the ESP8266.  The exact name of the device varies depending on the type of serial to USB converter chip so you might need to look at the serial ports with and without the device connected to find its name.
   −
[[Fichier:FEATHER-CHARGER-MICROPYTHON-ESP8266-22.png]]
+
{{ADFImage|FEATHER-CHARGER-MICROPYTHON-ESP8266-22.png}}
    
Now put the ESP8266 back into firmware flashing mode and run the following command to load the downloaded firmware file:
 
Now put the ESP8266 back into firmware flashing mode and run the following command to load the downloaded firmware file:
Ligne 40 : Ligne 40 :  
Again set '''/path/to/ESP8266''' to the path or name of the serial port that is connected to the ESP8266.  In addition set '''firmware.bin''' to the name or path to the firmware file you would like to load.
 
Again set '''/path/to/ESP8266''' to the path or name of the serial port that is connected to the ESP8266.  In addition set '''firmware.bin''' to the name or path to the firmware file you would like to load.
   −
[[Fichier:FEATHER-CHARGER-MICROPYTHON-ESP8266-23.png]]
+
{{ADFImage|FEATHER-CHARGER-MICROPYTHON-ESP8266-23.png}}
    
Once the tool finishes flashing the firmware (you'll usually see a blue light on the ESP8266 module flashing during this process) press the RESET button on the ESP8266 board or disconnect and reconnect it to your computer.  You should be all set to start using the latest MicroPython firmware on the board!
 
Once the tool finishes flashing the firmware (you'll usually see a blue light on the ESP8266 module flashing during this process) press the RESET button on the ESP8266 board or disconnect and reconnect it to your computer.  You should be all set to start using the latest MicroPython firmware on the board!
29 918

modifications

Menu de navigation