Wykres commitów

3082 Commity (188bb8df226abc979e1e219bb61cbd6194a1ce43)

Autor SHA1 Wiadomość Data
Alexey Lapshin a8e81f88f1 tools: update esp32ulp-elf to v2.35_20220830
Closes https://github.com/espressif/esp-idf/issues/6432
Closes https://github.com/espressif/binutils-esp32ulp/issues/23
2022-09-15 23:41:56 +04:00
Chen Yudong 4ef57caf77 CI: optimize ATS ci flow 2022-09-15 22:59:13 +08:00
Alexey Lapshin 65da9400e8 tools: fix idf_tools.py download command without --platform option 2022-09-15 12:55:41 +04:00
Ivan Grokhotkov 69da6a3c23
system: fix gdbstub panic tests after the truncated backtrace is fixed
GDB has been updated in 0007754 to fix the abort backtrace issue.
This commit updates the test case to match the new (correct) behavior.
2022-09-15 10:36:46 +02:00
Ivan Grokhotkov 1be5e5eae5
ci: fix incorrect paths in the build system test
The working directory when the test runs is not $IDF_PATH, it is
the directory of the template project.
2022-09-13 10:23:07 +02:00
Ivan Grokhotkov 0e8c7284ce
build: fix excluded components being passed to component manager
`__COMPONENT_TARGETS` is evaluated very early when components and
component directories are added to the build, which means that all
components (including the ones which are in EXCLUDE_COMPONENTS) have
a build system target defined. The component manager was given the
list of all known components (derived from the list of targets), not
the list of components after EXCLUDE_COMPONENTS were processed.
Because of that, EXCLUDE_COMPONENTS didn't effectively exclude the
component from the consideration of the component manager.
2022-09-13 10:05:59 +02:00
Ivan Grokhotkov 3301606cdf
tools: update bundled root certificate in idf_tools.py
dl.espressif.com is now using the same root certificate as github.com.
This commit replaces the previously-used ISRG X1 root certificate
with the DigiCert Root CA certificate.
As a result, even if the certificates are not installed (as it happens
on macOS with python.org installers, if the user forgets to run
'Install Certificates.command'), the download is successful.

Related to https://github.com/espressif/esp-idf/issues/4081
2022-09-12 18:09:24 +02:00
Anton Maklakov 00077545bf tools: Update GCC toolchain to esp-2021r2-patch4 version. Includes GCC 8.4.0, Newlib 3.3.0
Closes https://github.com/espressif/esp-idf/issues/7857
Closes https://github.com/espressif/esp-idf/issues/6004
Closes https://github.com/espressif/esp-idf/issues/6124
Closes https://github.com/espressif/esp-idf/issues/9396
2022-09-12 19:28:37 +07:00
Anton Maklakov 28d7eb44b9 Merge branch 'feature/update_tool_version_with_checksum_file_v4.4' into 'release/v4.4'
tools: Add tool's versions update with checksum file (v4.4)

See merge request espressif/esp-idf!19956
2022-09-09 00:34:07 +08:00
David Čermák 6ece53adaa Merge branch 'bugfix/iperf_py_script_upt_v4.4' into 'release/v4.4'
ci iperf: fixed condition for waiting to iperf server is up in DUT (v4.4)

See merge request espressif/esp-idf!19815
2022-09-08 19:56:21 +08:00
Anton Maklakov 722282e30b tools: add standard triplets for macos 2022-09-08 11:17:02 +07:00
Alexey Lapshin 1edf376060 Tools: fix architecture armhf/armel detection 2022-09-08 11:17:02 +07:00
Alexey Lapshin 7d010d36c8 tools: Add tool's versions update with checksum file
'idf_tools.py add-version' has new options:
--override            Override tool versions with new data
--checksum-file       URL or path to local file with checksum/size for artifacts

Usage e.g.:
CHECKSUM_URL=https://github.com/espressif/crosstool-NG/releases/download/esp-2021r2/crosstool-NG-esp-2021r2-checksum.sha256
idf_tools.py add-version --tool xtensa-esp32-elf --version esp-2021r2 --override --checksum-file $CHECKSUM_URL

Positional argument 'files' moved to optional argument '--artifact-file'

Add tests for add-version logic
2022-09-08 11:17:02 +07:00
Roland Dobai ec78f2546f Tools: idf_tools.py prints URL before starting the download
This helps users with poor Internet connection to be able to cancel the
download and download it in another way.

Closes https://github.com/espressif/esp-idf/issues/8625
2022-09-08 11:17:02 +07:00
Anton Maklakov a3ab8da720 tools: just extract download() method 2022-09-08 10:34:17 +07:00
Roland Dobai 194d3c665d Tools: Increase the delay before producing exception in the Monitor IDE test app 2022-09-07 12:04:39 +02:00
Ondrej Kosta 526cd8c219 ci iperf: fixed condition for waiting to iperf server is up in DUT 2022-08-26 15:58:00 +02:00
Tim Pambor 2e26fbf56c Add git-lfs to docker container 2022-08-25 08:34:59 +00:00
Omar Chebib b5d2ee7ed4 CI: idf_as_lib is now run on all suported targets 2022-08-18 12:07:19 +08:00
Jiang Jiang Jian 34fbb676c7 Merge branch 'feature/optimize_chips_memory_allocation_backport_v4.4' into 'release/v4.4'
system: Optimize chips bootloader and heap memory allocation(backport v4.4)

See merge request espressif/esp-idf!19472
2022-08-12 11:19:06 +08:00
Ivan Grokhotkov 002581806a Merge branch 'ci/fix_nightly_run_build_jobs_v4.4' into 'release/v4.4'
ci: build all when has env var NIGHTLY_RUN (v4.4)

See merge request espressif/esp-idf!18947
2022-08-11 16:55:41 +08:00
Alexey Gerenkov 46868ddbb5 tools: Updates OpenOCD version to 'v0.11.0-esp32-20220706' 2022-08-10 13:00:06 +03:00
Fu Hanxi 719f43d286 ci: build all when has env var NIGHTLY_RUN 2022-08-10 00:24:18 +00:00
wuzhenghui 9b7bed2243 Clean IRAM and DRAM address space conversion macros 2022-08-09 20:33:26 +08:00
Roland Dobai f935c17a95 Tools: Fix Python style warnings 2022-08-09 14:30:52 +02:00
Marius Vikhammer a940064748 esp_ringbuf: placement in flash is no longer controlled by CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH
esp-ringbuf funtion placement is now controlled by its own configs:
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH and CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH

Closes https://github.com/espressif/esp-idf/issues/9198
2022-08-08 07:15:00 +00:00
Jiang Jiang Jian d16797b447 Merge branch 'bugfix/further_fix_for_mspi_current_leakage_backport_v4.4' into 'release/v4.4'
system/sleep: further fix spi flash/ram current leakage(backport v4.4)

See merge request espressif/esp-idf!19212
2022-08-04 14:46:56 +08:00
Roland Dobai b2770bd18e Merge branch 'tools/mfg_fix_blank_lines_csv_v4.4' into 'release/v4.4'
tools: Introduce support for blank lines in config and value files for mfg utility (v4.4)

See merge request espressif/esp-idf!19253
2022-08-03 22:49:14 +08:00
Roland Dobai 8ed69bd03a Merge branch 'bugfix/s3_dfu_tool_v4.4' into 'release/v4.4'
dfu: add esp32s3 to supported DFU targets for idf.py (v4.4)

See merge request espressif/esp-idf!19166
2022-08-03 22:48:44 +08:00
Roland Dobai 1b16ef6cfc versions: Update version to 4.4.2 2022-08-02 14:06:15 +02:00
jingli 236bd27134 further fix spi flash/ram current leakage
Currently, we pull up cs io for spi flash/ram to reduce current leakage during
light sleep. But some kind of spi flash/ram chip need all io pull up. Otherwise,
current leakage will still exist.
2022-07-28 13:11:55 +08:00
Djordje Nedic b654c14d0e tools: Introduce support for blank lines in config and value files for mfg utility
Some users have requested this feature.

In order to avoid complete refactoring or introducing more code complexity, a design choice to create temporary files without blank lines is made.

Additionally, an extension check is added and there are multiple smaller code style and structure improvements.

Closes https://github.com/espressif/esp-idf/issues/8421
2022-07-26 23:17:33 +02:00
Marius Vikhammer fbbcf5c5bc dfu: add esp32s3 to supported DFU targets for idf.py 2022-07-21 15:58:44 +08:00
Fu Hanxi 1b0fe85245 ci: support keyword `nightly_run` in ttfw_idf decorator 2022-07-08 15:37:23 +08:00
Jiang Jiang Jian 1bd2e3f9df Merge branch 'feature/s3_ulp_support_v4.4' into 'release/v4.4'
ulp: Added ULP support for  esp32s3 (v4.4)

See merge request espressif/esp-idf!18621
2022-07-01 10:51:18 +08:00
Jiang Jiang Jian d28dc7f49b Merge branch 'bugfix/idf_as_lib_cmakelists' into 'release/v4.4'
Build: fix idf_as_lib example and toolchain CMake files (v4.4)

See merge request espressif/esp-idf!18589
2022-07-01 10:44:30 +08:00
Jiang Jiang Jian d76d3580c6 Merge branch 'wifi_prov_mgr/wpa3_psk_v4.4' into 'release/v4.4'
wifi_prov: Added support for WPA3_PSK and WPA2_WPA3_PSK APs (v4.4)

See merge request espressif/esp-idf!18601
2022-06-30 16:46:53 +08:00
Sudeep Mohanty b72f987c5c ulp: Added ULP RISC-V support for esp32s3
This commit adds support for ULP RISC-V for esp32s3.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2022-06-22 13:33:14 +08:00
Djordje Nedic ddfc699abf 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-06-21 11:26:09 +02:00
Laukik Hase 279ab23244
wifi_prov: Added support for WPA3_PSK and WPA2_WPA3_PSK APs 2022-06-21 11:17:09 +05:30
Omar Chebib d5664cd7e5 Build: Xtensa assembly files are now assembled with -mlongcalls option 2022-06-21 11:20:07 +08:00
Omar Chebib d629502586 Build: fix idf_as_lib example not building 2022-06-21 11:17:39 +08:00
Omar Chebib 8e7ee9ff26 Build: CMake compiler flags will be set, regardless of the cache status
Defining CMake variables from the command-line or from another CMake project,
such as `-DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS=`, caused a link failure as ESP
CMake was unable to set its proper compilation flags.
Additional CMake compiler flags can now be provided by another project.

* Closes https://github.com/espressif/esp-idf/issues/7507
2022-06-21 11:07:50 +08:00
Matus Fabo ac4d9888e0 add: Kconfig assert or errorcode option
add: private include header
add: macro encapsulation for assertion or error check
add: ESP_FAIL return code documentation in public headers
change: replaced all assertions by NVS_ASSERT_OR_RETURN macro
change: few internal function return values from void to esp_err_t
change: ESP_ERR_NVS_VALUE_TOO_LONG macro comment
2022-06-19 14:35:42 +00:00
Djordje Nedic 367dff055d tools: overhaul csv handling for mfg_gen and nvs_partition_gen
This fixes the issue where multiline strings and strings with delimiters inside the nvs input csv file were incorrectly parsed, and adds back the ability to add comment lines anywhere in the CSV file.

The issue stems from the move away from the python built in csv module to manual parsing, which was made after moving away from using the csv module to parse mfg data.

This reverts back to using the csv module for parsing and writing csv data in both mfg_gen and nvs_partition_gen, fixes the original issue in mfg_gen and improves code quality which makes the code more readable and maintainable.

Closes https://github.com/espressif/esp-idf/issues/7175
2022-06-17 13:50:09 +00:00
Tomas Sebestik a0b227cf85 Handle gitlab 404 error
ci: do not retry on 404 when LOCAL_GITLAB_HTTPS_HOST not set
2022-06-16 05:38:46 +00:00
Mahavir Jain 3e93a8c15f
test_apps: add build only test for !MBEDTLS_CERTIFICATE_BUNDLE 2022-06-12 09:31:37 +05:30
David Čermák e75f4e5a1a Merge branch 'bugfix/mqtt_read_neg_and_ping_v4.4' into 'release/v4.4'
mqtt: Fix incorrect reads on error (v4.4)

See merge request espressif/esp-idf!18177
2022-06-10 18:25:06 +08:00
David Cermak 7691b44ee5 ci/mqtt: Fix weekend test publish-connect on target
* Fix thread safe issue in paho-mqtt library
* Move the weekend test to ethernet runner
2022-06-10 09:12:50 +02:00
Jiang Jiang Jian c3d76d6496 Merge branch 'ci/force_based_on_commit_v4.4' into 'release/v4.4'
ci: support one pipeline must based on commmits (v4.4)

See merge request espressif/esp-idf!17920
2022-06-09 10:58:29 +08:00
Laukik Hase 9549f0026f
protobuf: Fix v4.21.0 (python) compatibility issue
- Added auto-generated protobuf files (proto-c and python to pre-commit hook ignore lists
2022-06-07 15:59:40 +05:30
Ivan Grokhotkov fa4256c885
ci: build and push Docker images in Github actions, add arm64 platform
Replaces the previously used Docker Hub autobuild infrastructure.
This allows for more flexible configuration of the build process,
at the expense of some extra maintenance of CI workflow files
required.
2022-06-01 16:23:50 +02:00
Ivan Grokhotkov 8eec6cb868
tools/docker: add IDF_CLONE_SHALLOW and IDF_INSTALL_TARGETS arguments
These two arguments can be used to reduce the size of the Docker
image:

- Setting IDF_CLONE_SHALLOW enables shallow cloning.
- Setting IDF_INSTALL_TARGETS to the comma separated list of targets
  results in toolchains being installed only for these targets.
2022-06-01 16:23:50 +02:00
Martin Gaňo 221bf746d0 Fixed comparsion of integer and string that evaluated always to False
Closes https://github.com/espressif/esp-idf/issues/9052
Closes IDFGH-7482
2022-05-31 14:07:18 +02:00
Roland Dobai 72dcce1ec2 Merge branch 'bugfix/return_idf_component_manager_build_property_v4.4' into 'release/v4.4'
build & config: Add IDF_COMPONENT_MANAGER build property (v4.4)

See merge request espressif/esp-idf!18286
2022-05-28 13:59:17 +08:00
radim.karnis f40b88e866 mkdfu.py: Support setting flash parameters 2022-05-27 16:24:13 +02:00
Sergei Silnov c3969b789e build & config: Add IDF_COMPONENT_MANAGER build property 2022-05-27 12:57:00 +02:00
Sergei Silnov 395087ff44 Tools: Make idf.py tests independent on extra extensions 2022-05-27 11:14:08 +02:00
Fu Hanxi 5c19581bfe feat(idf.py): add `idf.py clang-check` and `idf.py clang-html-report` 2022-05-24 16:08:40 +08:00
Sergei Silnov 66f60095c2 tools: Enable the component manager by default in CMake 2022-05-16 17:10:07 +02:00
Roland Dobai 7b33262d26 Tools: Don't use f-string in idf_tools.py
ESP-IDF v4.4 supports Python 3.6 or newer. F-strings are available there
but idf_tools.py can fail if run with older Pythons because the Python
version check is done later.

Closes https://github.com/espressif/esp-idf/issues/8890
2022-05-04 12:01:49 +02:00
Anton Maklakov e72017bb23 tools: print system platform 2022-04-27 08:58:32 +02:00
Erhan Kurubas 6ae22d9f3b tools: add distro links for macos-arm64 2022-04-27 08:56:33 +02:00
Erhan Kurubas 46c5be3197 tools: OpenOCD version updated to v0.11.0-esp32-20220411 2022-04-27 08:55:36 +02:00
Fu Hanxi 97c9fa7aca ci: support one pipeline must based on commmits 2022-04-27 11:05:08 +08:00
Anton Maklakov 5ad3fe66be tools: add RISC-V toolchain for esp32h2 target 2022-04-20 09:52:32 +07:00
Roland Dobai 050d6977f0 Merge branch 'bugfix/idfpy_erase_otadata_v4.4' into 'release/v4.4'
tools: set baudrate and port with otatool. (v4.4)

See merge request espressif/esp-idf!17466
2022-04-19 21:49:11 +08:00
Roland Dobai cc3e13305d Merge branch 'bugfix/fix-monitor-attribute-error-coredump_v4.4' into 'release/v4.4'
Fix missing coredump in idf_monitor.py (v4.4)

See merge request espressif/esp-idf!17678
2022-04-19 21:48:54 +08:00
Roland Dobai c00c343161 Merge branch 'bugfix/flash_from_monitor_on_windows_v4.4' into 'release/v4.4'
Tools: IDF Monitor should flash with the unmodified port (v4.4)

See merge request espressif/esp-idf!17257
2022-04-19 21:46:10 +08:00
Michael (XIAO Xufeng) 1329b19fe4 versions: Update version to 4.4.1 2022-04-16 09:43:14 +08:00
Ondrej Kosta 4d581456e4 Added bandwidth limitaion option to iperf test scripts 2022-04-06 10:44:31 +00:00
Martin Gaňo 1459ac0915 Fix coredump attribute error in idf_monitor.py
Closes https://github.com/espressif/esp-idf/issues/8651
2022-04-04 14:20:44 +02:00
Marek Fiala fdee1faf1e tools: set baudrate and port with otatool.
Bugfix: Allow setting options port -p and baudrate -b, with idf.py otatool commands.

Closes https://github.com/espressif/esp-idf/issues/8317
2022-03-11 15:30:56 +01:00
Marius Vikhammer c9ce438466 Merge branch 'bugfix/inline_intrmask_from_isr_v4.4' into 'release/v4.4'
freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR (v4.4)

See merge request espressif/esp-idf!17325
2022-03-09 09:38:36 +08:00
Roland Dobai c45dee0a7a Merge branch 'bugfix/idf_size_assertions_v4.4' into 'release/v4.4'
tools: Fix assertion messages and fix some of them in idf_size.py (v4.4)

See merge request espressif/esp-idf!17348
2022-03-08 02:58:04 +08:00
Martin Gaňo eed93ac5bb Remove line finalization when coredump is active to avoid coredump failure
Closes https://github.com/espressif/esp-idf/issues/8099
2022-03-04 11:40:32 +01:00
Marius Vikhammer 03cf81087b CI: increase IPC stack size for test_utils configs 2022-03-04 09:19:09 +08:00
Roland Dobai 524da1e4af Tools/idf_size.py: Support .noinit sections
Closes https://github.com/espressif/esp-idf/issues/8428
2022-03-03 13:55:46 +01:00
Roland Dobai 68a8a7de0d tools/idf_size.py: Identify objects without extension in MAP files 2022-03-03 13:55:46 +01:00
Marius Vikhammer 3a7ec8acfa freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR
These were called from IRAM context where the caller expect them to be inlined
and accessible when cache is disabled. This was not the case when compiled with -O0.

Closes https://github.com/espressif/esp-idf/issues/8301
2022-03-03 09:44:31 +08:00
Roland Dobai b600c5f30a Tools: IDF Monitor should flash with the unmodified port
Closes https://github.com/espressif/esp-idf/issues/8432
2022-02-23 13:35:42 +01:00
Anton Maklakov 48f8a7a26e test_apps/panic: GDB in esp-2021r2-patch3 toolchain doesn't contain the fix for interrupted backtraced
Revert "test_apps/panic: remove workaround for incorrect GDB backtrace"

This reverts commit 4548b6da63.
2022-02-23 10:52:05 +07:00
Anton Maklakov 1982883618 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-23 09:20:43 +07:00
Marius Vikhammer cdfd59cc0e docs: update copyright date for docs automatically 2022-02-18 12:59:12 +08:00
David Čermák 299b6538e4 Merge branch 'bugfix/protocols_test_on_eth_v4.4' into 'release/v4.4'
ci/mqtt: Move protocol tests to eth runners(v4.4)

See merge request espressif/esp-idf!17010
2022-02-16 18:31:54 +00:00
Michael (XIAO Xufeng) 954d52ff3a Merge branch 'flash/add_th_support_v4.4' into 'release/v4.4'
spi_flash: add support for th 1M flash(backport v4.4)

See merge request espressif/esp-idf!16714
2022-02-10 09:40:40 +00:00
David Cermak 2b62d7bfdc ci/mqtt: Move publish-connect test to ethernet runners 2022-02-08 18:15:48 +08:00
Roland Dobai 18da1180ad Tools: Use delay between rename attempts on Windows in the installer 2022-02-08 11:06:14 +01:00
Lu Ai Jun aae55512b7 Update copyright headers 2022-02-07 07:41:03 +00:00
Lu Ai Jun 371ab10bcd Revert "Merge branch 'bugfix/temp_disable_f8r8_test_v4.4' into 'release/v4.4'"
This reverts merge request !17031
2022-02-07 15:39:25 +08:00
Ivan Grokhotkov e67ecd998c
ci: temporarily disable MSPI_F8R8 test 2022-02-04 15:23:05 +01:00
Laukik Hase 51fc67f5fa ci: Fix issues for build stage
- Fixed logs expecting different format specifier
- Updated ignore list for check_public_header test
- Updated functions ported from mbedTLS
- Fix for make-system build errors
2022-02-02 15:03:48 +05:30
Mahavir Jain eb3797dc3f Merge branch 'provisioning/update_readme_v4.4' into 'release/v4.4'
provisioning: Remove legacy examples reference (v4.4)

See merge request espressif/esp-idf!16987
2022-01-29 10:46:56 +00:00
Anton Maklakov bfd3e9c54c Merge branch 'ci/split_assign_test_and_add_c3_integration_test_4.4' into 'release/v4.4'
Ci: split assign test and add c3 integration test 4.4

See merge request espressif/esp-idf!16925
2022-01-28 14:39:16 +00:00
Laukik Hase 954844a308 esp_prov.py: Replaced deprecated function for loading modules 2022-01-28 15:46:27 +05:30
morris 42abd894d4 build: fix unused tag string
Closes https://github.com/espressif/esp-idf/issues/8250
2022-01-28 11:59:45 +08:00
Roland Dobai 4649f3a46e CI: Remove unused copyright ignore list 2022-01-27 12:26:33 +01:00
Mahavir Jain d16aaae498 Merge branch 'feature/memprot_api_unified_c3_v4.4' into 'release/v4.4'
Memprot API unified - ESP32C3 (v4.4.1)

See merge request espressif/esp-idf!16489
2022-01-27 11:00:03 +00:00
Jiang Jiang Jian 4f9afec016 Merge branch 'bugfix/ci_check_blobs_v4.4' into 'release/v4.4'
ci: improve checks for Wi-Fi/PHY libraries (v4.4)

See merge request espressif/esp-idf!16659
2022-01-27 05:42:56 +00:00
Jiang Jiang Jian bfd68507d8 Merge branch 'bugfix/PRs_on_esp_hid_v4.4' into 'release/v4.4'
bugfix/handle_3_esp_hid_PRs (v4.4)

See merge request espressif/esp-idf!16590
2022-01-27 05:41:52 +00:00