add new toolchain and fix get.py bad chars

This commit is contained in:
me-no-dev 2017-01-16 14:34:28 +02:00
parent 151f275ed1
commit 49a476c5f0
2 changed files with 17 additions and 17 deletions

View File

@ -33,7 +33,7 @@
{ {
"packager": "esp32", "packager": "esp32",
"name": "xtensa-esp32-elf-gcc", "name": "xtensa-esp32-elf-gcc",
"version": "1.22.0-59" "version": "1.22.0-61-gab8375a-5.2.0"
} }
] ]
} }
@ -41,33 +41,33 @@
"tools": [ "tools": [
{ {
"name": "xtensa-esp32-elf-gcc", "name": "xtensa-esp32-elf-gcc",
"version": "1.22.0-59", "version": "1.22.0-61-gab8375a-5.2.0",
"systems": [ "systems": [
{ {
"host": "i686-mingw32", "host": "i686-mingw32",
"url": "https://dl.espressif.com/dl/xtensa-esp32-elf-win32-1.22.0-59.zip", "url": "https://dl.espressif.com/dl/xtensa-esp32-elf-win32-1.22.0-61-gab8375a-5.2.0.zip",
"archiveFileName": "xtensa-esp32-elf-win32-1.22.0-59.zip", "archiveFileName": "xtensa-esp32-elf-win32-1.22.0-61-gab8375a-5.2.0.zip",
"checksum": "SHA-256:10476b9c11a7a90f40883413ddfb409f505b20692e316c4e597c4c175b4be09c", "checksum": "SHA-256:d3f726fec691cf3c36593dd4dd8dfad196b989b5f2b462ac30e284ef61df3960",
"size": "153527527" "size": "76220698"
}, },
{ {
"host": "x86_64-apple-darwin", "host": "x86_64-apple-darwin",
"url": "https://dl.espressif.com/dl/xtensa-esp32-elf-osx-1.22.0-59.tar.gz", "url": "https://dl.espressif.com/dl/xtensa-esp32-elf-osx-1.22.0-61-gab8375a-5.2.0.tar.gz",
"archiveFileName": "xtensa-esp32-elf-osx-1.22.0-59.tar.gz", "archiveFileName": "xtensa-esp32-elf-osx-1.22.0-61-gab8375a-5.2.0.tar.gz",
"checksum": "SHA-256:0cf150193997bd1355e0f49d3d49711730035257bc1aee1eaaad619e56b9e4e6", "checksum": "SHA-256:89a9a6084ec032ddcd4bdae37b428e533ed5fd0c0ab6b66ddf703e4b3f83d6e4",
"size": "35385382" "size": "40481812"
}, },
{ {
"host": "x86_64-pc-linux-gnu", "host": "x86_64-pc-linux-gnu",
"url": "https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-59.tar.gz", "url": "https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-61-gab8375a-5.2.0.tar.gz",
"archiveFileName": "xtensa-esp32-elf-linux64-1.22.0-59.tar.gz", "archiveFileName": "xtensa-esp32-elf-linux64-1.22.0-61-gab8375a-5.2.0.tar.gz",
"checksum": "SHA-256:46f057fbd8b320889a26167daf325038912096d09940b2a95489db92431473b7", "checksum": "SHA-256:b74333fd7f622f035fee7c4e0ca57c3e2ccb2515de5d901f33e87e79cdf0d4f9",
"size": "30262903" "size": "37674568"
}, },
{ {
"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:b24817819f0078fb05895a640e806e0aca9aa96b47b80d2390ac8e2d9ddc955a",
"size": "32734156" "size": "32734156"
} }

View File

@ -84,7 +84,7 @@ def get_tool(tool):
try: try:
urlretrieve(url, local_path, report_progress) urlretrieve(url, local_path, report_progress)
except Exception,e: except Exception,e:
                r = requests.get(url) r = requests.get(url)
f = open(local_path, 'wb') f = open(local_path, 'wb')
f.write(r.content) f.write(r.content)
f.close() f.close()