Commit Graph

26038 Commits

Author SHA1 Message Date
morris
92b1f4fa27 Merge branch 'bugfix/gptimer_pm_lock_xtal_5.0' into 'release/v5.0'
gptimer: acquire pm lock for xtal clock source (v5.0)

See merge request espressif/esp-idf!22281
2023-02-18 15:00:24 +08:00
morris
9fb838c0b5 Merge branch 'bugfix/mcpwm_config_name_v5.0' into 'release/v5.0'
mcpwm: modify wrong config name (v5.0)

See merge request espressif/esp-idf!22385
2023-02-18 14:58:00 +08:00
Konstantin Kondrashov
8a6fb6df19 Merge branch 'feature/secure_features_are_enabled_correctly_v5.0' into 'release/v5.0'
security: Adds new APIs to check that all eFuse security features are enabled correctly (v5.0)

See merge request espressif/esp-idf!22116
2023-02-17 21:40:42 +08:00
Konstantin Kondrashov
08283c213b Merge branch 'feature/mac_crc_v5.0' into 'release/v5.0'
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then INVALID_CRC instead of abort (v5.0)

See merge request espressif/esp-idf!22114
2023-02-17 21:36:59 +08:00
Saurabh Kumar Bansal
75b7202d71 Merge branch 'bugfix/usb_host_hub_enumeration_string_handling_v5.0' into 'release/v5.0'
USB Host: Fix string descriptor handling by the hub driver during enumeration (backport v5.0)

See merge request espressif/esp-idf!22324
2023-02-17 21:22:59 +08:00
Vilem Zavodny
d3b1ae10d8 Merge branch 'fix/lcd_spi_example_colors_v5.0' into 'release/v5.0'
examples/spi_lcd_touch: Fixed colors on ILI9341 (backport v5.0)

See merge request espressif/esp-idf!22049
2023-02-17 21:21:55 +08:00
Darian
6a86124ff5 Merge branch 'feature/usb_host_feature_and_refactor_backports_v5.0' into 'release/v5.0'
USB Host: Backport multiple feature and refactors to v5.0

See merge request espressif/esp-idf!21584
2023-02-17 20:49:46 +08:00
Darian
e68bc99347 Merge branch 'bugfix/esp_pm_and_sleep_build_errors_v5.0' into 'release/v5.0'
esp_system: Fix various PM and sleep build errors (v5.0)

See merge request espressif/esp-idf!21781
2023-02-17 20:49:22 +08:00
Ivan Grokhotkov
69dd34dfb6 Merge branch 'bugfix/rtc_8md256_deepsleep_time_esp32_v5.0' into 'release/v5.0'
pm: Fixed sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32 (v5.0)

See merge request espressif/esp-idf!21821
2023-02-17 19:47:58 +08:00
Roland Dobai
d7cc519221 Merge branch 'fix/idf_tools_python_dir_change_v5.0' into 'release/v5.0'
Tools: Allow custom Python installation path with IDF_PYTHON_ENV_PATH (v5.0)

See merge request espressif/esp-idf!22392
2023-02-17 19:43:39 +08:00
Roland Dobai
6b1869b42c Merge branch 'bugfix/gdbinit_target_hoookpost_v5.0' into 'release/v5.0'
tools: fix idf.py gdb memory access before remote target is connected (v5.0)

See merge request espressif/esp-idf!22123
2023-02-17 19:43:08 +08:00
Roland Dobai
db7348e973 Merge branch 'bugfix/fix_windows_path_case_sensitivity_v5.0' into 'release/v5.0'
bugfix: Fix windows path case sensitivity (v5.0)

See merge request espressif/esp-idf!22075
2023-02-17 19:42:51 +08:00
Aditya Patwardhan
b559e2ccb6 Merge branch 'fix/esp_local_ctrl_header_incl_v5.0' into 'release/v5.0'
esp_local_ctrl: Fix header inclusion (v5.0)

See merge request espressif/esp-idf!22134
2023-02-17 19:42:25 +08:00
Ivan Grokhotkov
e5f975c5cf Merge branch 'fix/revert-sdio-slave-gcc11-workaround_v5.0' into 'release/v5.0'
sdio_slave: fix strict aliasing violation for sdio_ringbuf_recv() (v5.0)

See merge request espressif/esp-idf!22404
2023-02-17 19:41:53 +08:00
Roland Dobai
ca16d12b22 Merge branch 'fix/tools_click_envvar_v5.0' into 'release/v5.0'
Tools: Improve idf.py error message when the argument value collides with the environment variable (v5.0)

See merge request espressif/esp-idf!21885
2023-02-17 19:41:39 +08:00
Ivan Grokhotkov
66f5a4a497 Merge branch 'fix/fix_incorrectly_defined_coredump_chip_ver' into 'release/v5.0'
espcoredump: fix incorrectly defined coredump chip version (v5.0)

See merge request espressif/esp-idf!21967
2023-02-17 19:41:07 +08:00
Ivan Grokhotkov
188f118c91 Merge branch 'bugfix/env_var_SDKCONFIG_DEFAULTS_fail_with_bootloader_subproject_v5.0' into 'release/v5.0'
build_system: stop looking for env var `SDKCONFIG_DEFAULTS` in bootloader subproject (v5.0)

See merge request espressif/esp-idf!21974
2023-02-17 19:39:16 +08:00
Aditya Patwardhan
78638641a7 Merge branch 'contrib/github_pr_10378_v5.0' into 'release/v5.0'
Stop WiFi provisioning in the esp_event thread instead of creating new thread (GitHub PR) (v5.0)

See merge request espressif/esp-idf!22244
2023-02-17 19:36:06 +08:00
Ivan Grokhotkov
8ae1ed57d2 Merge branch 'feature/usb/update_tusb_backport_v5.0' into 'release/v5.0'
usb: Update TinyUSB version (backport v5.0)

See merge request espressif/esp-idf!22107
2023-02-17 19:35:23 +08:00
Ivan Grokhotkov
50336c9479 Merge branch 'doc_update_esp32c2_jtag_v5.0' into 'release/v5.0'
docs: JTAG debugging update for ESP32C2 (v5.0)

See merge request espressif/esp-idf!22133
2023-02-17 19:34:20 +08:00
Ivan Grokhotkov
0033b02ce5 Merge branch 'fix/efuse-function-declaration_v5.0' into 'release/v5.0'
efuse: fix esp_efuse_utility_write_reg() declaration (v5.0)

See merge request espressif/esp-idf!22086
2023-02-17 19:33:22 +08:00
Ivan Grokhotkov
d576146984 Merge branch 'bugfix/tools_json_riscv_gdb_targets_v5.0' into 'release/v5.0'
tools: fix RISC-V GDB not being installed for C2, H2 (v5.0)

See merge request espressif/esp-idf!21771
2023-02-17 19:32:24 +08:00
Aditya Patwardhan
3e5ea5a941 Merge branch 'contrib/github_pr_10391_v5.0' into 'release/v5.0'
[Docs] specify Digital Signature byte order, and esp_ds_sign() clarification (GitHub PR) (v5.0)

See merge request espressif/esp-idf!21767
2023-02-17 19:30:58 +08:00
Aditya Patwardhan
4fc89f445c Merge branch 'fix/protocomm_kconfig_flag_v5.0' into 'release/v5.0'
protocomm: Fix Kconfig flag dependency on wifi_provisioning component (v5.0)

See merge request espressif/esp-idf!22135
2023-02-17 19:26:12 +08:00
Krzysztof Budzynski
33ba447da4 Merge branch 'docs/fix_broken_link_in_mcpwm_API_reference_v5.0' into 'release/v5.0'
docs: fix a broken link in mcpwm of API reference (v5.0)

See merge request espressif/esp-idf!22374
2023-02-17 19:08:50 +08:00
Aditya Patwardhan
38917a36b5 Merge branch 'feature/add_bootloader_sector_pad_option_v5.0' into 'release/v5.0'
esptool_py: Added a --pad-to-size flag to align the bootloader image (v5.0)

See merge request espressif/esp-idf!21916
2023-02-17 19:02:52 +08:00
Omar Chebib
886e98a2c1 Merge branch 'bugfix/support_coredump_stack_xtensa_v5.0' into 'release/v5.0'
coredump: custom core dump stack is now supported on Xtensa targets (backport v5.0)

See merge request espressif/esp-idf!21804
2023-02-17 10:35:35 +08:00
Aditya Patwardhan
05086c446e Merge branch 'update/version_5_0_1' into 'release/v5.0'
Update version to 5.0.1

See merge request espressif/esp-idf!22394
2023-02-17 10:34:43 +08:00
Alexey Lapshin
7db42d3a40 sdio_slave: fix strict aliasing violation for sdio_ringbuf_recv()
This happened because of passing sdio_slave_hal_send_desc_t** to function
sdio_ringbuf_recv() which is declared to have char** as input parameter
2023-02-16 13:48:58 +07:00
Alexey Lapshin
4005886b8a Revert "sdio_slave: workaround the sdio_slave crash issue with release config + GCC11"
This reverts commit 19add3fb05.
2023-02-16 13:48:58 +07:00
Aditya Patwardhan
a4afa44435 versions: Update version to 5.0.1 2023-02-15 12:30:03 +00:00
Mahavir Jain
9b923dfd21 Merge branch 'ci/fix/isort_incompatible_with_py37_v5.0' into 'release/v5.0'
ci: fix isort py37 incompatible issue (v5.0)

See merge request espressif/esp-idf!22225
2023-02-15 20:25:28 +08:00
Roland Dobai
1feccdc414 Tools: Allow custom Python installation path with IDF_PYTHON_ENV_PATH
IDF_PYTHON_ENV_PATH is the path where the Python environment is created
and used. By default it is inside IDF_TOOLS_PATH. IDF_PYTHON_ENV_PATH
was exported by idf_tools.py but was not imported back. This fixes the
issue and ESP-IDF will honor the value of IDF_PYTHON_ENV_PATH.

Closes https://github.com/espressif/esp-idf/issues/10489
2023-02-15 12:15:46 +01:00
Cao Sen Miao
256dd53120 mcpwm: modify wrong config name 2023-02-15 17:55:55 +08:00
Linda
1b9df395b0 docs: fix a broken link in mcpwm of API reference 2023-02-15 11:04:01 +08:00
Saurabh Kumar Bansal
2b665ee327 usb_host: Hub driver skips fetching string descriptors if their index is 0
When a USB does not support a particular string dsecriptor (e.g.,
manufacturer, product, and serial number), the string descriptors corresponding
index will be set to 0 in the device descriptor (e.g., iManufacturer, iProduct,
iString).

Previously, the Hub driver would always attempt to fetch the all three string
descriptors, thus leading an error in CHECK_SHORT_SER_STR_DESC if the device
did not support the descriptor.

This commit fixes the Hub drvier by skipping the enumeration stages of a
particular descriptor if its index is 0 (i.e., not supported by the device).
2023-02-13 17:05:11 +05:30
Darian Leung
6e9500ad13 usb_host: Fix error when fetching LANGID table
USB devices may support string descriptors in multiple languages. The supported
languages are stored in a LANGID table, which itself is a string descriptor at
index 0.

When fetching the LANGID table itself, the USB 2.0 specification does not
specify what LANGID to use, thus the Hub driver would use the default LANGID
"ENUM_LANGID". However, this would cause some devices to stall.

This commit fixes the issue by always requesting the LANGID table itself using
a LANGID of 0.
2023-02-13 17:04:46 +05:30
Tomas Rezucha
3f1cff699d usb_host: Fix interface descriptor parsing
Previously the USB host driver did not accept interface number greater or equal bNumInterfaces, even though these are valid interface numbers
2023-02-13 17:03:59 +05:30
morris
de8409fa88 gptimer: acquire pm lock for xtal clock source 2023-02-09 14:10:15 +08:00
Barabas Raffai
c9ce87a1a9
Clean up wifi provisioning in the esp_event thread
Signed-off-by: Laukik Hase <laukik.hase@espressif.com>
2023-02-06 18:31:11 +05:30
Fu Hanxi
d764b863f6 ci: fix isort py37 incompatible issue 2023-02-06 10:31:24 +08:00
Michael (XIAO Xufeng)
885e501d99 Merge branch 'feature/remove_80m_ddr_warning_v5.0' into 'release/v5.0'
mspi: remove mspi 80m ddr mode warning regarding to timing tuning (v5.0)

See merge request espressif/esp-idf!21904
2023-02-01 18:24:11 +08:00
Laukik Hase
e60d82463b
protocomm: Fix Kconfig dependency on wifi_provisioning component config
- `protocomm` depends on a config option `CONFIG_WIFI_PROV_BLE_FORCE_ENCRYPTION`
  from `wifi_provisioning`; however, a lower layer component (`protocomm`) should
  not have any `#ifdef` guard dependent on an upper layer component (`wifi_provisioning`).
- Added a new `ble_link_encryption` flag in `protocomm_ble_config_t` to manage the same

Closes https://github.com/espressif/esp-idf/issues/9443
2023-01-26 12:57:19 +05:30
Laukik Hase
09c0b58b97
esp_local_ctrl: Fix header inclusion
- Included `sdkconfig.h` and HTTP/S server based headers
  explicitly
2023-01-26 12:53:02 +05:30
Erhan Kurubas
c9af189b59 docs: JTAG debugging update for ESP32C2 2023-01-25 22:17:51 +01:00
KonstantinKondrashov
e8fcb93d0f bootloader_support(esp32c2): Fix esp_secure_boot_cfg_verify_release_mode API
When FE and SB keys are set then:
- 128 low bits are read protected
- 128 hi bits are readable
2023-01-24 18:21:37 +08:00
Frantisek Hrbata
c4fd8a9114 tools: fix idf.py gdb memory access before remote target is connected
Currently loading of esp32s3 ROM ELF symbols fails with
"Cannot access memory at address 0x3ff194ad". Let's perform
add-symbol-file after connection to the target.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-01-24 09:58:04 +01:00
KonstantinKondrashov
905f9bf25f examples(efuse): Set CONFIG_SECURE_ENABLE_SECURE_ROM_DL_MODE
For efuse example test, we set CONFIG_SECURE_ENABLE_SECURE_ROM_DL_MODE=y
by default because in the python test we expect secure boot is in RELEASE mode
2023-01-24 16:27:05 +08:00
KonstantinKondrashov
1cb0472520 bootloader_support(esp32c2): Fix WR_DIS_RD_DIS burn for secure boot key
SB key is left readable, the corresponding bit in RD_DIS is unset.
We set write-protection for RD_DIS to ensure that the SB key is always readable.
2023-01-23 21:35:31 +08:00
KonstantinKondrashov
07bf145e06 doc: Update hmac article 2023-01-23 21:03:00 +08:00