Commit Graph

4492 Commits

Author SHA1 Message Date
Sudeep Mohanty fe2495a2f7 test(freertos): Added build test for function in flash with -Os optimation
This commit adds a build test for when FreeRTOS and esp_ringbuf functions
are placed in flash and the compiler optimizes for code size.
2024-08-30 09:19:24 +02:00
Sudeep Mohanty 90b92791a7 fix(freertos): Added freertos fragments to the exception list of ldgen mapping checks
This commit adds freertos and esp_ringbuf linker fragment sections
to the exception list of the ldgen mappings checker script.
2024-08-30 09:19:24 +02:00
Alexey Gerenkov 63d569de07 feat(tools): update openocd version to v0.12.0-esp32-20240821 2024-08-28 13:20:52 +03:00
Rahul Tank 91a0c33322 feat(nimble): BLE_GAP_EVENT_LINK_ESTAB event to ensure link established 2024-08-21 20:55:28 +05:30
Jiang Jiang Jian a01bd13a9f Merge branch 'bugfix/provide_random_addr_api_v5.0' into 'release/v5.0'
fix(wifi_prov): Added API to set random address (v5.0)

See merge request espressif/esp-idf!32328
2024-08-20 10:35:16 +08:00
Fu Hanxi 72d9a29a52 fix: component manager load all component dirs even set(COMPONENTS ...) 2024-08-15 20:42:12 +08:00
Jiang Jiang Jian 0c829b34b7 Merge branch 'fix/setuptools_constraint_v5.0' into 'release/v5.0'
fix: ensure the constraint file is followed also for setuptools (v5.0)

See merge request espressif/esp-idf!32551
2024-08-15 16:08:52 +08:00
Jiang Jiang Jian 6aa56f8c34 Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20240726_v5.0' into 'release/v5.0'
feat(tools): update openocd version to v0.12.0-esp32-20240726 (v5.0)

See merge request espressif/esp-idf!32607
2024-08-15 16:02:00 +08:00
Xiao Xufeng 9cd7dad6e9 change(version): Update version to 5.0.7 2024-08-08 16:04:23 +08:00
Alexey Gerenkov 3cc27da00b feat(tools): update openocd version to v0.12.0-esp32-20240726 2024-08-05 22:39:22 +02:00
Frantisek Hrbata 6197d1a256 fix: ensure the constraint file is followed also for setuptools
Currently, when the venv is installed or updated, we attempt to
automatically update pip and setuptools within the venv. Unfortunately,
the setuptools package is installed or updated without adhering to the
constraints file, which restricts the setuptools version due to
https://github.com/pypa/setuptools/issues/4480. Resolve this issue by
applying the constraints file to the installation and update of both pip
and setuptools.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-08-02 10:10:29 +02:00
Rahul Tank a644f49cf7 fix(wifi_prov): Added API to set random address 2024-07-24 21:00:54 +05:30
Aditya Patwardhan bf87512dea Merge branch 'fix/incorrect_console_input_decoding_wifi_prov_mgr_v5.0' into 'release/v5.0'
fix(tools/esp_prov): Fix incorrect input decoding when using console transport (v5.0)

See merge request espressif/esp-idf!31692
2024-06-25 14:50:04 +08:00
harshal.patil bcad36eb5a fix(tools/esp_prov): Fix incorrect input decoding when using console transport
- Closes https://github.com/espressif/esp-idf/issues/14013
2024-06-24 12:29:14 +05:30
morris 38ebd9c079 fix(lcd): build errors with deprecated lcd types in cpp
Closes https://github.com/espressif/esp-idf/issues/14029
2024-06-24 14:07:00 +08:00
Jakub Kocka 23c9181071 fix(tools): Avoid crashing when Git is used to acquire IDF version
Closes https://github.com/espressif/esp-idf/issues/13345
2024-06-12 13:33:33 +02:00
Erhan Kurubas 1ce2c81ea9 change(gdbinit): set remote timeout for the gdb connection 2024-05-13 13:54:53 +02:00
Harshit Malpani 90d0689331 fix(esp-tls): Use TLS 1.2 and TLS 1.3 simultaneously
This commit fixes the issue with TLS 1.2 connection when TLS 1.3 is
enabled in config.
2024-05-02 17:15:08 +05:30
Jiang Jiang Jian 98d17f23ef Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20240318_v5.0' into 'release/v5.0'
feat(tools): update openocd version to v0.12.0-esp32-20240318 (v5.0)

See merge request espressif/esp-idf!30047
2024-04-17 10:44:44 +08:00
Alexey Gerenkov 57bd998cda feat(tools): update openocd version to v0.12.0-esp32-20240318 2024-04-08 03:34:24 +08:00
wuzhenghui c6186be010 fix(esp_pm): update CPU frequency immediately after updating pm_config
Closes https://github.com/espressif/esp-idf/issues/13492
2024-04-07 14:50:25 +08:00
Jakub Kocka c8f8185561 refactor(idf_tools): IDF version is acquired only from version or header file
Closes https://github.com/espressif/esp-idf/issues/13385
2024-03-20 07:59:58 +01:00
Roland Dobai 914d893c5c Merge branch 'fix/fix_curses_py312_v5.0' into 'release/v5.0'
Fix Access Violation Error on Windows with Python 3.12 (v5.0)

See merge request espressif/esp-idf!29511
2024-03-15 16:19:57 +08:00
Martin Vychodil 05a45e9c96 Merge branch 'bugfix/nvs_lock_initi_and_multipage_blob_v5.0' into 'release/v5.0'
Bugfix/nvs Improved handling of BLOB during unreliable power environment and concurrent data access scenarios (v5.0)

See merge request espressif/esp-idf!29322
2024-03-13 23:06:23 +08:00
Jan Beran 5b9a0a3379 fix(menuconfig): Prevent Access violation on Windows with Python 3.12
Closes https://github.com/espressif/esp-idf/issues/13232
2024-03-08 14:25:49 +01:00
Martin Vychodil f68a7bc76b Revert "Merge branch 'update/littlefs_demo_example_v5.0' into 'release/v5.0'"
This reverts merge request !28453
2024-03-06 18:41:31 +01:00
Martin Vychodil 2809d47a80 Merge branch 'update/littlefs_demo_example_v5.0' into 'release/v5.0'
LittleFS demo example added (v5.0)

See merge request espressif/esp-idf!28453
2024-03-04 19:35:52 +08:00
Jiang Jiang Jian d409df4bfb Merge branch 'contrib/github_pr_12867_v5.0' into 'release/v5.0'
fix(esp32): Removed rogue semicolon in #define in esp_smartconfig.h (GitHub PR) (v5.0)

See merge request espressif/esp-idf!29113
2024-03-04 10:44:28 +08:00
Xiao Xufeng c32a56fe3b spi_flash: fixed issue that enabling HPM-DC by default may cause app unable to restart 2024-03-03 23:11:43 +08:00
Marius Vikhammer f00e5a042f Merge branch 'ci/new-known_failure_cases_workflow(v5.0)' into 'release/v5.0'
ci: change known_failure_cases workflow(v5.0)

See merge request espressif/esp-idf!27964
2024-03-01 15:04:04 +08:00
Simon H 515f085f70 fix(esp_wifi): Remove semicolon from SMARTCONFIG_START_CONFIG_DEFAULT
Removed rogue semicolon from SMARTCONFIG_START_CONFIG_DEFAULT() macro. This
fixes build issues when this macro is used via C++ brace initialization.

Closes https://github.com/espressif/esp-idf/pull/12867

[Darian Leung: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2024-02-29 17:59:51 +08:00
radek.tandler 56cb47be79 fix(nvs): Improved lockig mechanism for initialization phase 2024-02-28 12:43:51 +01:00
Jiang Jiang Jian 6d5f4bcda6 Merge branch 'feat/use_esp_debug_backend_pkg' into 'release/v5.0'
Replace 'debug_backend' with 'esp-debug-backend' from PyPi

See merge request espressif/esp-idf!28820
2024-02-23 10:42:38 +08:00
Roland Dobai 21abe3eda6 Merge branch 'fix/py_dep_check_v5.0' into 'release/v5.0'
fix(tools): catch more general errors in python dependency checker (v5.0)

See merge request espressif/esp-idf!29165
2024-02-23 01:10:08 +08:00
Peter Dragun 575e924d61 fix(tools): catch more general errors in python dependency checker 2024-02-22 11:33:52 +01:00
Mahavir Jain 534e3ad1fa Merge branch 'bugfix/ota_anti_rollback_checks_2_v5.0' into 'release/v5.0'
feat(bootloader_support): Read secure_version under sha256 protection (v5.0)

See merge request espressif/esp-idf!29061
2024-02-22 17:13:17 +08:00
Aditya Patwardhan bcca689866 change(version): Update version to 5.0.6 2024-02-20 10:03:13 +05:30
Mahavir Jain f2743707b8 fix(ota): additional checks for secure version in anti-rollback case
Some additional checks related to secure version of the application in
anti-rollback case have been added to avoid any attempts to boot lower
security version but valid application (e.g., passive partition image).

- Read secure_version under sha256 protection

- First check has been added in the bootloader to ensure correct secure
  version after application verification and loading stage. This check
  happens before setting up the flash cache mapping and handling over
  the final control to application. This check ensures that application
  was not swapped (e.g., to lower security version but valid image) just
  before the load stage in bootloader.

- Second check has been added in the application startup code to ensure
  that currently booting app has higher security version than the one
  programmed in the eFuse for anti-rollback scenario. This will ensure
  that only the legit application boots-up on the device for
  anti-rollback case.
2024-02-15 15:14:51 +02:00
Alexey Gerenkov 164be1cd52 tests: Replace 'debug_backend' with 'esp-debug-backend' from PyPi 2024-01-31 18:49:21 +03:00
igor.udot 8003214fd5 ci: change known_failure_cases workflow 2024-01-30 14:27:42 +08:00
Adam Múdry 43d0b27053 feat: LittleFS bump version to 1.13.0 2024-01-22 20:21:21 +08:00
Jakub Kocka cb6de0af4e fix(kconfcheck): Fixed false-positive indent errors and extended limits 2024-01-15 09:15:58 +01:00
Roland Dobai abad298532 fix(gdbgui): Fix support of gdbgui on Unix with Python 3.11
Closes https://github.com/espressif/esp-idf/issues/12764
2024-01-05 18:52:37 +01:00
xueyunfei e0cdfe3590 Fix(esp_wifi): Add the missing header file to the wifi header files 2024-01-03 10:38:31 +08:00
Roland Dobai 97acb47d2f Merge branch 'feat/manifest_check_v5.0' into 'release/v5.0'
feat: use esp-idf-sbom pre-commit plugin (v5.0)

See merge request espressif/esp-idf!27750
2023-12-20 00:10:38 +08:00
Frantisek Hrbata b20cd8ccfa feat: use esp-idf-sbom pre-commit plugin
Currently sbom manifest is checked only in .gitmodules and
this check is done in pre-commit and also in CI. Meaning it's running
three times(pre-commit before push if user has it enabled, in CI
as there is the pre-commit run again and again with test in CI). Since
esp-idf-sbom contains a full manifest validation support and pre-commit
plugin for it, let's use it. This removes all the current sbom testing
and replaces it with a signle pre-commit plugin which validates all
manifests files(sbom.yml, idf_component.yml, .gitmodules and also
referenced manifests) in repository. Note that this checks all
manifests, not only ones which were modified. The check is reasonably
fast though, so it should not cause any problem. The reason for
validating all manifest files is that we want to make sure that the sbom
information in .gitmodules is updated too and that the hash
recorded in .gitmodules is up-to-date. Meaning submodule update
would not trigger this plugin, because no manifest was changed.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-19 12:55:35 +01:00
Roland Dobai 4c5ba485cc Merge branch 'tools/use_recommended_tool_priority' into 'release/v5.0'
fix (idf_tools): Opt for the recommended tool in tools.json rather than the supported one (v5.0)

See merge request espressif/esp-idf!27794
2023-12-19 19:37:00 +08:00
Roland Dobai ed375f22e0 Merge branch 'contrib/github_pr_12683_v5.0' into 'release/v5.0'
fix(tools): fix path delimiter in gdbinit for Windows (v5.0)

See merge request espressif/esp-idf!27576
2023-12-19 19:35:30 +08:00
Roland Dobai 585c252527 Merge branch 'feature/docker_git_safe_dirs_v5.0' into 'release/v5.0'
feat(docker): allow to add dirs into git's safe.directory (v5.0)

See merge request espressif/esp-idf!27561
2023-12-19 19:34:36 +08:00
morris 6dc42296d7 Merge branch 'contrib/github_pr_12559_v5.0' into 'release/v5.0'
fix(spi): Correct REG_SPI_BASE(i) macro for all targets (GitHub PR) (v5.0)

See merge request espressif/esp-idf!27716
2023-12-19 16:50:14 +08:00