diff options
author | Damien George <damien@micropython.org> | 2020-12-14 13:07:00 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-12-14 13:09:33 +1100 |
commit | ee52f89224ac7fde3794bcac7efa1ee4ee2bff81 (patch) | |
tree | 457157ae4e75af637c085f6018e34f8d1fa17b8a | |
parent | 69262a11dcaae6db7ecbd1f4b6179a2ed6195a10 (diff) |
tools/ci.sh: Use pip-install to get latest version of esptool.py.
Because the version included in xtensa-lx106-elf-standalone.tar.gz needs
Python 2 (and pyserial for Python 2).
Signed-off-by: Damien George <damien@micropython.org>
-rwxr-xr-x | tools/ci.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/ci.sh b/tools/ci.sh index 32fccf071..1a413ec99 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -111,9 +111,11 @@ function ci_esp32_idf4_build { # ports/esp8266 function ci_esp8266_setup { - sudo pip install pyserial + sudo pip install pyserial esptool wget https://github.com/jepler/esp-open-sdk/releases/download/2018-06-10/xtensa-lx106-elf-standalone.tar.gz zcat xtensa-lx106-elf-standalone.tar.gz | tar x + # Remove this esptool.py so pip version is used instead + rm xtensa-lx106-elf/bin/esptool.py } function ci_esp8266_path { |