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>
This commit is contained in:
parent
69262a11dc
commit
ee52f89224
|
@ -111,9 +111,11 @@ function ci_esp32_idf4_build {
|
||||||
# ports/esp8266
|
# ports/esp8266
|
||||||
|
|
||||||
function ci_esp8266_setup {
|
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
|
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
|
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 {
|
function ci_esp8266_path {
|
||||||
|
|
Loading…
Reference in New Issue