Update toolchain to esp-2020r2
Fixes PSRAM issues, volatile loads with -O2, std::locale, C++ exception crashs, FDE sorting switchable; Includes a 64-bit toolchain for Windows (win64); Closes https://github.com/espressif/esp-idf/issues/5090 Closes https://github.com/espressif/esp-idf/issues/5112 Closes https://github.com/espressif/esp-idf/issues/5150
This commit is contained in:
parent
faae3ceec5
commit
6182c172bf
4 changed files with 24 additions and 24 deletions
|
@ -71,7 +71,7 @@ class TestUsage(unittest.TestCase):
|
||||||
idf_tools.main(['list'])
|
idf_tools.main(['list'])
|
||||||
output = output_stream.getvalue()
|
output = output_stream.getvalue()
|
||||||
|
|
||||||
xtensa_esp32_elf_version = 'esp-2019r2-8.2.0'
|
xtensa_esp32_elf_version = 'esp-2020r2-8.2.0'
|
||||||
esp32ulp_version = '2.28.51.20170517'
|
esp32ulp_version = '2.28.51.20170517'
|
||||||
|
|
||||||
self.assertIn('* xtensa-esp32-elf:', output)
|
self.assertIn('* xtensa-esp32-elf:', output)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
SUPPORTED_TOOLCHAIN_COMMIT_DESC = esp-2019r2
|
SUPPORTED_TOOLCHAIN_COMMIT_DESC = esp-2020r2
|
||||||
SUPPORTED_TOOLCHAIN_GCC_VERSIONS = 8.2.0
|
SUPPORTED_TOOLCHAIN_GCC_VERSIONS = 8.2.0
|
||||||
|
|
||||||
CURRENT_TOOLCHAIN_COMMIT_DESC = esp-2019r2
|
CURRENT_TOOLCHAIN_COMMIT_DESC = esp-2020r2
|
||||||
CURRENT_TOOLCHAIN_COMMIT_DESC_SHORT = esp-2019r2
|
CURRENT_TOOLCHAIN_COMMIT_DESC_SHORT = esp-2020r2
|
||||||
CURRENT_TOOLCHAIN_GCC_VERSION = 8.2.0
|
CURRENT_TOOLCHAIN_GCC_VERSION = 8.2.0
|
||||||
|
|
|
@ -22,36 +22,36 @@
|
||||||
"versions": [
|
"versions": [
|
||||||
{
|
{
|
||||||
"linux-amd64": {
|
"linux-amd64": {
|
||||||
"sha256": "e6d47c1dbd8c8cbfe37271e5e2aac53ee88c9e347ae937e22bf0c73f530efbdf",
|
"sha256": "6c73b9e9d252810a63ca5e94b497c6c09fb8c903fe9c477f385bdc2ab4d2187e",
|
||||||
"size": 85459985,
|
"size": 85520229,
|
||||||
"url": "https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2019r2-linux-amd64.tar.gz"
|
"url": "https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2020r2-linux-amd64.tar.gz"
|
||||||
},
|
},
|
||||||
"linux-armel": {
|
"linux-armel": {
|
||||||
"sha256": "54a199c28f591da2466b21741911bc2ba77ddf82d3d2b66c6ce03c1a0c6835f0",
|
"sha256": "51dd318c4f2ac1fe2b206d029e1d2080c922107cc56e4a3802b1acafd7b436db",
|
||||||
"size": 83647538,
|
"size": 83672167,
|
||||||
"url": "https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2019r2-linux-armel.tar.gz"
|
"url": "https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2020r2-linux-armel.tar.gz"
|
||||||
},
|
},
|
||||||
"linux-i686": {
|
"linux-i686": {
|
||||||
"sha256": "36a9648c414dbd1c518c687ce5587d9f8eaa94324f45d92e9ec31a1433a04df8",
|
"sha256": "a003c7bc9b9f0dd82170480aadd62c0586fc6e3d69119c637c957125164f40e5",
|
||||||
"size": 87438500,
|
"size": 87467927,
|
||||||
"url": "https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2019r2-linux-i686.tar.gz"
|
"url": "https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2020r2-linux-i686.tar.gz"
|
||||||
},
|
},
|
||||||
"macos": {
|
"macos": {
|
||||||
"sha256": "dc62be8dd16c6d9d28d64e2b3f831fa208f3548c2ca73cdbcbdf68f474d59521",
|
"sha256": "48b288e3e5c60623851616bf545b8e4fc5382dc980d6b9682373f11013fe5776",
|
||||||
"size": 92150978,
|
"size": 92201363,
|
||||||
"url": "https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2019r2-macos.tar.gz"
|
"url": "https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2020r2-macos.tar.gz"
|
||||||
},
|
},
|
||||||
"name": "esp-2019r2-8.2.0",
|
"name": "esp-2020r2-8.2.0",
|
||||||
"status": "recommended",
|
"status": "recommended",
|
||||||
"win32": {
|
"win32": {
|
||||||
"sha256": "c9d5776a22516f0825a7c68d835ffacc2392f913136893b7646e1288937cc65e",
|
"sha256": "f2ba6bdb1c4b2178955e5e7a204552bb754709e02eaf9d8febe770d46629db8f",
|
||||||
"size": 103850448,
|
"size": 103885422,
|
||||||
"url": "https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2019r2-win32.zip"
|
"url": "https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2020r2-win32.zip"
|
||||||
},
|
},
|
||||||
"win64": {
|
"win64": {
|
||||||
"sha256": "c9d5776a22516f0825a7c68d835ffacc2392f913136893b7646e1288937cc65e",
|
"sha256": "036ae8c737e7a4ced7121881f10747cf7b18914648ef611c78b3d543a0f00d8f",
|
||||||
"size": 103850448,
|
"size": 106505186,
|
||||||
"url": "https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2019r2-win32.zip"
|
"url": "https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2020r2-win64.zip"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -42,7 +42,7 @@ if [ -n "$IDF_PATH" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Automatically download precompiled toolchain, unpack at /opt/xtensa-esp32-elf/
|
# Automatically download precompiled toolchain, unpack at /opt/xtensa-esp32-elf/
|
||||||
TOOLCHAIN_ZIP=xtensa-esp32-elf-gcc8_2_0-esp-2019r2-win32.zip
|
TOOLCHAIN_ZIP=xtensa-esp32-elf-gcc8_2_0-esp-2020r2-win32.zip
|
||||||
echo "Downloading precompiled toolchain ${TOOLCHAIN_ZIP}..."
|
echo "Downloading precompiled toolchain ${TOOLCHAIN_ZIP}..."
|
||||||
cd ~
|
cd ~
|
||||||
curl -LO --retry 10 https://dl.espressif.com/dl/${TOOLCHAIN_ZIP}
|
curl -LO --retry 10 https://dl.espressif.com/dl/${TOOLCHAIN_ZIP}
|
||||||
|
|
Loading…
Reference in a new issue