Update toolchains to esp-2021r1

Adds ESP32-C3 support
    Updates ESP32-S3 overlay
    GDB 9.2 for ESP32-C3 with core dump support
    Linker supports eh-frame-hdr for ESP32-C3
    Newlib 3.3.0 includes fixes for <cmath> funcs, for overflow when TZ calculating, for malloc checks
    Binutils 2.35.1

    Closes https://github.com/espressif/esp-idf/issues/6795
This commit is contained in:
Anton Maklakov
2021-06-03 12:09:52 +07:00
parent 343cc5025b
commit f6a91bff87
4 changed files with 84 additions and 79 deletions

View File

@@ -25,7 +25,7 @@ try:
except ImportError:
import contextlib
@contextlib.contextmanager
@contextlib.contextmanager # type: ignore
def redirect_stdout(target):
original = sys.stdout
sys.stdout = target
@@ -72,7 +72,7 @@ class TestUsage(unittest.TestCase):
idf_tools.main(['list'])
output = output_stream.getvalue()
xtensa_esp32_elf_version = 'esp-2020r3-8.4.0'
xtensa_esp32_elf_version = 'esp-2021r1-8.4.0'
esp32ulp_version = '2.28.51-esp-20191205'
self.assertIn('* xtensa-esp32-elf:', output)