Commit Graph

80 Commits

Author SHA1 Message Date
Anton Maklakov
bf43076c04 tools: Update 2022r1 toolchain, GCC 11.2.0, Newlib 4.1.0
Closes https://github.com/espressif/esp-idf/issues/7282
    Closes https://github.com/espressif/esp-idf/issues/7857
    Closes https://github.com/espressif/esp-idf/issues/6885
    Closes https://github.com/espressif/esp-idf/issues/6214
2022-06-02 10:15:23 +07:00
Djordje Nedic
facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Alexey Lapshin
587949b3a5 tools: update gdb version to '11.2_20220529' 2022-05-28 15:16:20 +04:00
Alexey Lapshin
0afd70c362 Tools: fix architecture armhf/armel detection 2022-05-18 15:18:09 +04:00
Roland Dobai
37b641608a Merge branch 'fix/gdb-version-check' into 'master'
tools: Fix gdb version check

Closes IDFGH-7385

See merge request espressif/esp-idf!18129
2022-05-17 18:59:25 +08:00
Alexey Lapshin
41bbdcc26b tools: Fix gdb version check
Closes https://github.com/espressif/esp-idf/issues/8965
2022-05-17 12:17:03 +04:00
Djordje Nedic
2ee43cf6c4 tools: Update CMake
This updates CMake to the latest version (3.23).
There are no deprecations and feature removals that affect us going from the previous version:

https://cmake.org/cmake/help/latest/release/3.21.html#deprecated-and-removed-features

https://cmake.org/cmake/help/latest/release/3.22.html#deprecated-and-removed-features

https://cmake.org/cmake/help/latest/release/3.23.html#deprecated-and-removed-features

Closes https://github.com/espressif/esp-idf/issues/8821
2022-05-17 05:06:35 +00:00
Alexey Lapshin
b5bafae596 tools: add GDB v11.1 as a tool
GDB now is standalone tool separated from toolchain due to frequent updates.

Added installation tests for the new tool.

Tests are changed because they were wrong, see explanation:
esp32 objdump:
    40084290 <esp_crosscore_int_send_yield>:
    ......
    /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145
    4008429c:    000090            retw

With previous GDB backtrace was:
    #0  0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:144

This commit fixes the backtrace with the right line number:
    #0  0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145

Other tests changes have the same cause of fixing.

Closes https://github.com/espressif/esp-idf/issues/6334
2022-04-25 11:21:48 +07:00
Erhan Kurubas
b36e9a5ebf tools: add distro links for macos-arm64 2022-04-15 13:37:27 +02:00
Erhan Kurubas
e87aabcfa3 tools: OpenOCD version updated to v0.11.0-esp32-20220411 2022-04-15 13:37:27 +02:00
Anton Maklakov
a5d3f2e26d tools: add RISC-V toolchain for esp32h2 and esp32c2 targets 2022-03-25 16:28:36 +07:00
Anton Maklakov
d25c5b8ba9 tools: update esp-2021r2-patch3 toolchain for fixing GDB
Closes https://github.com/espressif/esp-idf/issues/8065
    Closes https://github.com/espressif/esp-idf/issues/8342
    Closes https://github.com/espressif/openocd-esp32/issues/210
2022-02-21 10:50:38 +07:00
Anton Maklakov
d836163444 tools: Add toolchain esp-2021r2-patch2 version for Windows with --with-gnu-ld option
Closes https://github.com/espressif/esp-idf/issues/7864
2022-01-11 20:12:00 +07:00
Alexey Gerenkov
e47b5f6989 tools: Updates OpenOCD version to 'v0.11.0-esp32-20211220' 2021-12-26 04:14:44 +08:00
Ivan Grokhotkov
6d35cf0f1b tools: upgrade idf_exe to 1.0.3
https://github.com/espressif/idf_py_exe_tool/releases/tag/v1.0.3
2021-12-09 11:33:37 +01:00
Ivan Grokhotkov
11547ca56e tools: don't install binutils-esp32ulp on aarch64
Once new binutils-esp32ulp is made and aarch64 artifacts are added,
will add these tools back.

Related to https://github.com/espressif/esp-idf/issues/6432
2021-11-30 14:00:25 +01:00
Ivan Grokhotkov
b3f5d3b685 tools: add CMake for linux-arm64 (aarch64) platform
Allows installing cmake on aarch64 linux platforms. Also necessary
when building IDF docker image on macOS aarch64.

Part of https://github.com/espressif/esp-idf/issues/6432
2021-11-29 11:31:29 +01:00
Alexey Gerenkov
051133d95b tools: Updates OpenOCD version to 'v0.10.0-esp32-20211111' 2021-11-12 16:07:28 +08:00
Anton Maklakov
049ee30e40 tools: Fix missed DLLs in GDB for Windows 2021-11-10 10:21:18 +07:00
Fu Hanxi
6c7100cce0 fix(tool): export.sh cannot export xtensa-clang if installed issue 2021-11-01 14:59:11 +08:00
Anton Maklakov
414d9d6bc6 Update toolchains to esp-2021r2
Updated GDB to 9.2 version for xtensa chips
    Fixed coredump work for xtensa chips
    Fixed backtrace for xtensa chips
    Fixed multilib for riscv32 chips
    Fixed running GDB on some RaspberryPi configuration for riscv32 chip
    Fixed support of fnmatch(), iconv() and some other posix functions in stdlib

    Closes https://github.com/espressif/esp-idf/issues/6124
    Closes https://github.com/espressif/esp-idf/issues/2484
    Closes https://github.com/espressif/esp-idf/issues/3264
    Closes https://github.com/espressif/crosstool-NG/issues/13
    Closes https://github.com/espressif/crosstool-NG/pull/16
2021-10-20 22:00:39 +07:00
Ivan Grokhotkov
79f2e68bc0 tools: update idf_exe to 1.0.2 to fix path quoting issue 2021-10-14 09:45:30 +02:00
Juraj Sadel
1a88d5a736 LLVM for Xtensa (ESP32, ESP32-S2) based on clang 2021-10-13 13:45:56 +02:00
Tomas Sebestik
d22795ea56 Update Dockerfile working on both x64 / ARM
Closes https://github.com/espressif/esp-idf/issues/6730
2021-10-08 17:11:59 +08:00
Alexey Gerenkov
04fff15864 tools: Updates OpenOCD version to 'v0.10.0-esp32-20210902' 2021-09-03 00:17:30 +03:00
Alexey Gerenkov
58ca48313f tools: Updates OpenOCD version to 'v0.10.0-esp32-20210721' 2021-08-05 21:54:49 +03:00
Ivan Grokhotkov
da871e3dad Merge branch 'bugfix/tools_tests' into 'master'
tools: fix failing idf_tools tests

See merge request espressif/esp-idf!14532
2021-07-27 15:32:17 +00:00
Ivan Grokhotkov
d9f3b1fa8e tools: install esp32s2 ULP binutils for esp32s3 as well
ESP32-S3 uses same ULP coprocessor as ESP32-S2, so the same binutils
package is used.
2021-07-27 12:15:03 +02:00
Anton Maklakov
5b484835d7 tools: fix cmake url 2021-07-27 13:05:32 +07:00
Ivan Grokhotkov
b23201b6c9 Merge branch 'bugfix/tools_json_s2_ulp_toolchain' into 'master'
tools: install riscv32-esp-elf for ESP32-S2 and ESP32-S3 as well

See merge request espressif/esp-idf!14509
2021-07-27 05:46:33 +00:00
Martina
1e5a2f92c3 feature/update_cmake: Update of outdated CMake version 3.16.4->3.20.3 and CCache version 3.7->4.3 in tools.json
Closes https://github.com/espressif/esp-idf/issues/7083
2021-07-26 21:30:59 +08:00
Ivan Grokhotkov
8940f0ff2c tools: install riscv32-esp-elf for ESP32-S2 as well
riscv32-esp-elf-gcc is used for RISC-V ULP programming.
2021-07-26 09:58:48 +02:00
Marek Fiala
f6c2198a21 tools: Installing tools for given IDF_TARGET
Allow user to select specific ESP_TARGET while setting up ESD_IDF.
Only necessary tools for given target will be downloaded and installed.

Closes https://github.com/espressif/esp-idf/issues/5113
2021-07-16 15:03:19 +02:00
Anton Maklakov
2b81fce227 tools: Update ESP32-C3 toolchain for Windows - add some missed DLLs for GDB 2021-07-06 16:26:47 +07:00
Anton Maklakov
f6a91bff87 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
2021-06-07 18:46:42 +07:00
Anton Maklakov
4bb09900ab tools: fix parsing regex 2021-06-07 12:35:55 +07:00
Alexey Gerenkov
500a45fb1e tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401' 2021-05-03 09:33:51 +00:00
Juraj Michálek
7cc6e6e813 tools: remove dependency of idf-python and idf-python-wheels
Closes IDFGH-5097
Closes https://github.com/espressif/esp-idf/issues/6881
2021-04-19 07:27:40 +02:00
Juraj Michalek
70e06a46ba tools: IDF Windows installer offline mode support 2021-03-24 12:27:46 +01:00
Juraj Michálek
ae703b2bff tools: ninja: update to 1.10.2 2021-01-18 12:04:54 +01:00
Juraj Michálek
1427b3a6d8 tools: support for embedded python 2021-01-18 08:10:56 +01:00
Marius Vikhammer
7fe16bae25 tools: merge C3 changes into master 2020-12-30 07:04:12 +08:00
Ivan Grokhotkov
de798541dc tools: use riscv32-esp-elf toolchain for ESP32-S2 RISC-V ULP
riscv32-esp-elf toolchain (used for ESP32-C3) can also be used for
ESP32-S2 RISC-V ULP coprocessor.

This removes the riscv-none-embed-gcc toolchain which was originally
used for the ULP, and updates the docs and CMake files to use
riscv32-esp-elf.

Some flags are cleaned up and workarounds removed from CMake toolchain
file.
2020-12-29 19:19:18 +00:00
Angus Gratton
291af6e766 tools: Use GitHub download URLs for all files that can be downloaded from GitHub 2020-12-03 17:50:42 +11:00
morris
61f89b97c6 bringup esp32-s3 on FPGA 2020-09-22 15:15:03 +08:00
Anton Maklakov
439f4e4f70 Update toolchain to esp-2020r3
Fixup more for PSRAM issue;
    Allow GDB work correctly with Privileged Registers;
    Based on GCC 8.4.0;
    Update a fix of C++ exception crashs from the GCC mainline;
    Fixup strptime_l() and some locale in libc;

    Closes https://github.com/espressif/esp-idf/issues/5765
2020-09-03 14:09:38 +07:00
Alexey Gerenkov
f857ab85c3 tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709' 2020-07-22 06:49:27 +00:00
Felipe Neves
b6dba84323 ulp: added support to building code for riscv ULP coprocessor 2020-07-15 15:28:49 -03:00
Anton Maklakov
aa25b169f7 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
2020-05-25 10:27:05 +07:00
Roland Dobai
ab9f714248 Add build system support for programming ESP32-S2 using DFU utils 2020-04-30 07:59:18 +02:00