Update esptool on mac and windows and revert linux to use python

This commit is contained in:
me-no-dev 2017-04-04 02:36:55 +03:00
parent 7e5b278107
commit 2f02e27327
3 changed files with 17 additions and 27 deletions

View File

@ -47,6 +47,9 @@ Most of the framework is implemented. Most noticable is the missing analogWrite.
```bash ```bash
sudo usermod -a -G dialout $USER && \ sudo usermod -a -G dialout $USER && \
sudo apt-get install git && \ sudo apt-get install git && \
wget https://bootstrap.pypa.io/get-pip.py && \
sudo python get-pip.py && \
sudo pip install pyserial && \
mkdir -p ~/Arduino/hardware/espressif && \ mkdir -p ~/Arduino/hardware/espressif && \
cd ~/Arduino/hardware/espressif && \ cd ~/Arduino/hardware/espressif && \
git clone https://github.com/espressif/arduino-esp32.git esp32 && \ git clone https://github.com/espressif/arduino-esp32.git esp32 && \

View File

@ -71,44 +71,30 @@
}, },
{ {
"host": "i686-pc-linux-gnu", "host": "i686-pc-linux-gnu",
"url": "https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-59.tar.gz", "url": "https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-61-gab8375a-5.2.0.tar.gz",
"archiveFileName": "xtensa-esp32-elf-linux32-1.22.0-59.tar.gz", "archiveFileName": "xtensa-esp32-elf-linux32-1.22.0-61-gab8375a-5.2.0.tar.gz",
"checksum": "SHA-256:b24817819f0078fb05895a640e806e0aca9aa96b47b80d2390ac8e2d9ddc955a", "checksum": "SHA-256:dbb342b7c377a7c3a1fcccc60fa1193332d0c37e6a90c5075d3471c13c9e94ad",
"size": "32734156" "size": "41032647"
} }
] ]
}, },
{ {
"name": "esptool", "name": "esptool",
"version": "fe69994", "version": "9072736",
"systems": [ "systems": [
{ {
"host": "i686-mingw32", "host": "i686-mingw32",
"url": "https://dl.espressif.com/dl/esptool-fe69994-windows.zip", "url": "https://dl.espressif.com/dl/esptool-9072736-windows.zip",
"archiveFileName": "esptool-fe69994-windows.zip", "archiveFileName": "esptool-9072736-windows.zip",
"checksum": "SHA-256:b2702efc045f5f61f821c72495301a0f2016e87e33f49fa16e262d0522d2b021", "checksum": "SHA-256:eac14998df3fed9998943ace5c2f07114b678869f143c3316f4ff26cc851e268",
"size": "3389457" "size": "3390935"
}, },
{ {
"host": "x86_64-apple-darwin", "host": "x86_64-apple-darwin",
"url": "https://dl.espressif.com/dl/esptool-fe69994-macos.tar.gz", "url": "https://dl.espressif.com/dl/esptool-9072736-macos.tar.gz",
"archiveFileName": "esptool-fe69994-macos.tar.gz", "archiveFileName": "esptool-9072736-macos.tar.gz",
"checksum": "SHA-256:49ab32fbdf4f855925638d4b76ffd292255a47c4445b1069737f7151f66a03aa", "checksum": "SHA-256:2b88ce516719f8b54c22ae637109b1437f3ab5f81a1e6260ef14799e4dd3b355",
"size": "3886730" "size": "3805789"
},
{
"host": "x86_64-pc-linux-gnu",
"url": "https://dl.espressif.com/dl/esptool-fe69994-linux64.tar.gz",
"archiveFileName": "esptool-fe69994-linux64.tar.gz",
"checksum": "SHA-256:6ff54604bb3e1af39a7dd4f0e54b02b0f48bcd8a0b9259bc202385fdea573e05",
"size": "3937680"
},
{
"host": "i686-pc-linux-gnu",
"url": "https://dl.espressif.com/dl/esptool-fe69994-linux32.tar.gz",
"archiveFileName": "esptool-fe69994-linux32.tar.gz",
"checksum": "SHA-256:4912aa39b3b78fbe4f959c496e52968b207e66e92cf186ad583812526a455f48",
"size": "3766885"
} }
] ]
} }

View File

@ -4,6 +4,7 @@ version=0.0.1
runtime.tools.xtensa-esp32-elf-gcc.path={runtime.platform.path}/tools/xtensa-esp32-elf runtime.tools.xtensa-esp32-elf-gcc.path={runtime.platform.path}/tools/xtensa-esp32-elf
tools.esptool.cmd="{runtime.platform.path}/tools/esptool" tools.esptool.cmd="{runtime.platform.path}/tools/esptool"
tools.esptool.cmd.linux=python "{runtime.platform.path}/tools/esptool.py"
tools.esptool.cmd.windows="{runtime.platform.path}/tools/esptool.exe" tools.esptool.cmd.windows="{runtime.platform.path}/tools/esptool.exe"
tools.esptool.network_cmd=python "{runtime.platform.path}/tools/espota.py" tools.esptool.network_cmd=python "{runtime.platform.path}/tools/espota.py"