Commit Graph

26725 Commits

Author SHA1 Message Date
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
Darian Leung
912c82fc5a freertos: Expand CONFIG_FREERTOS_SMP description
This commit adds more details to the CONFIG_FREERTOS_SMP option's description.
2023-02-15 20:16:55 +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
chenjianhua
e6862798aa examples: fix ble address type of adv and scan params 2023-02-14 11:24:11 +08:00
chenjianhua
58851cd5cd bluedroid: support ble privacy by controller 2023-02-14 11:24:02 +08:00
chenjianhua
a13b89a043 bluedroid: add params in GATT connect event 2023-02-14 11:23:50 +08:00
chenjianhua
78437f48ae update bt-lib for ESP32
fix ble disconnect due to channel map update instant passed
2023-02-14 11:23: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
Armando
dcaaadbbe1 adc: added adc filter migration guide
Closes https://github.com/espressif/esp-idf/issues/10663
2023-02-13 17:51:36 +08:00
Jin Cheng
2db423c62b Fixed build errors when sniff subrating is enabled. 2023-02-13 17:26:35 +08:00
Guillaume Souchere
6e35b1eba3 heap: Fix priority in shex() bit shift 2023-02-13 09:03:32 +01:00
Chip Weinberger
6ed2371bd1 [Logs] print size and caps when malloc fails 2023-02-13 09:02:59 +01:00
Mahavir Jain
d55b870ff2 docs: secure-boot-v2: add a section about secure padding 2023-02-13 13:16:08 +05:30
harshal.patil
3beea950b7 docs: refactored Secure Boot V2 documentation
- Added "Signing using pre-calculate signatures" section
- Refactored "Signing using an external HSM" section
2023-02-13 13:15:57 +05:30
Marius Vikhammer
55c2ac7b96 docs: fix rst external links with wrong format 2023-02-13 12:05:21 +08:00
Harshit Malpani
935661ba4a
esp_http_server: fix return values for httpd_socket_send() and httpd_socket_recv() APIs
Closes https://github.com/espressif/esp-idf/issues/10658
2023-02-10 10:57:05 +05:30
jingli
7f15980de9 sleep: fix gpio wakeup not working properly in some cases
Before this fix, when we call esp_pm_configure after gpio_wakeup_enable,
the configuration of GPIO in sleep state in gpio_wakeup_enable will be
overwritten by esp_pm_configure.
2023-02-09 17:32:13 +08:00
jingli
50feb8f75b soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
all esp chips support this feature
2023-02-09 17:29:40 +08:00
Marius Vikhammer
33afa9a14a docs: fix broken link in fatfs doc 2023-02-09 16:10:57 +08:00
Steve Jothen
60f678b736 Use correct recursive mutex for env and regular mutex for tz 2023-02-09 16:02:50 +08:00
zhangwenxu
bddbd66e13 esp_phy: fix phy init when SW restart 2023-02-09 15:11:44 +08:00
morris
de8409fa88 gptimer: acquire pm lock for xtal clock source 2023-02-09 14:10:15 +08:00
Sachin Parekh
f136f16f72 wpa_supplicant: Enable ECC test case 2023-02-08 21:35:49 +05:30
Sachin Parekh
131faba944 mbedtls/ecp: Fix incorrect ECP parameter value
- Add sanity checks in mbedtls port
- Add ECP test cases covering shorter scalar values
2023-02-08 21:35:49 +05:30
wangyuanze
5de3f74f5e touch_sensor: fix touch_sensor_v1 filter issue 2023-02-08 14:32:36 +08:00
isha.pardikar@espressif.com
42dad0c541 Bluetooth/NimBLE : Fixed clearing connection_handle[] after disconnect event 2023-02-08 10:56:16 +05:30
wangyuanze
9892fb760b touch: move unit tests to test_app 2023-02-08 12:26:27 +08:00
wangyuanze
e51845d04c touch: update touch-related code to compile without -Wno-format flag 2023-02-08 12:23:40 +08:00
Armando
173118d2b3 docs: make s3 octal flash error handling clearer 2023-02-08 12:16:10 +08:00
muhaidong
d1abf90854 wifi_mesh: Remove-Wno-format compile option for mesh examples 2023-02-07 11:50:51 +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
Shen Weilong
699dde8a38 Fixed the bluedroid hci crash due insufficient memory on ESP32C2 2023-02-03 20:41:23 +08:00
AlbertWDev
a16896af68 bt: fix SDP event status overwritten by handle 2023-02-02 20:13:52 +08:00
Rahul Tank
5b19866eb8 Nimble: Fix runtime assertion in bleprph due to two disconnect events 2023-02-02 17:38:39 +05:30
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
jgujarathi
f6e8a4ea90 wpa_supplicant : Prevent h2e config overwrite
Current esp_wifi_get_config doesn't return correct value of h2e config which will cause h2e config to be overwritten in Station connected handler.

Add one preventative condition to take care of this.
2023-02-01 12:51:12 +05:30
jgujarathi
a36991d7a9 wpa_supplicant : fix invalid de-init of last_scan_res_used
During the wifi deinit last_scan_res_used is not set to 0 which will cause it be used directly after reinit.

Added changes which will set it to 0 during init and deinit.
2023-02-01 12:39:23 +05:30
jgujarathi
0ec506961e wpa_supplicant : Correct scan results for GCMP RSN
Fixed a typo which was causing scan results for GCMP not showing correctly
2023-02-01 12:39:11 +05:30
gauri patankar
5213664cea wpa_supplicant:Fix potential null pointer dereference 2023-02-01 12:06:42 +05:30
morris
6b8d4dfe14 gdma: prevent mutli-channels connect to the same peripheral
1. add check in the gdma driver, to prevent multiple channels connecting
   to the same peripheral
2. memory copy DMA ID will occupy the peripheral's DMA ID on some ESP
   targets (e.g. esp32c3/s3). We should search for a free one when
install async memcpy driver.

Closes https://github.com/espressif/esp-idf/issues/10575
2023-02-01 11:06:48 +08:00
morris
ac05d033b9 gdma: correct the dma trigger of uart
GDMA trigger actually is not assigned to UART controller, but for UHCI
controller
2023-02-01 11:02:24 +08:00
Guillaume Souchere
41fd87fd89 heap: Modify the memory type of the memory used as startup stack when memory protection is enabled
If memory protection is enabled on esp32c3 and esp32s3, we don't want to the heap component to see
the startup stack memory as D/IRAM but as DRAM only. Introduce a new type to make this possible in
the same fashion the regular D/IRAM regions are handled.
2023-01-31 07:40:20 +01:00
wanlei
9fd62d547c spi_flash: fix flash function arg_check with spi host_id 2023-01-30 10:33:17 +08:00
wanlei
d51f4583a4 spi: fix micro SPI_HOST_MAX error
Closes https://github.com/espressif/esp-idf/issues/10349
2023-01-29 16:24:59 +08:00