esp8266: Mention git submodule in build instructions for esp8266 port.

This commit is contained in:
Christopher Arndt 2016-03-08 08:22:00 +01:00 committed by Damien George
parent 932f07ccf5
commit 3d0e3a3d3e

View File

@ -32,8 +32,16 @@ found at <https://github.com/pfalcon/esp-open-sdk>. Clone this repository and
run `make` in its directory to build and install the SDK locally. Make sure run `make` in its directory to build and install the SDK locally. Make sure
to add toolchain bin directory to your PATH. to add toolchain bin directory to your PATH.
Add the external dependencies to the MicroPython repository checkout:
```bash
$ git submodule update --init
```
See the README in the repository root for more information about external
dependencies.
Then, to build MicroPython for the ESP8266, just run: Then, to build MicroPython for the ESP8266, just run:
```bash ```bash
$ cd esp8266
$ make $ make
``` ```
This should produce binary images in the `build/` subdirectory. To flash them This should produce binary images in the `build/` subdirectory. To flash them