Commit Graph

17388 Commits

Author SHA1 Message Date
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
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
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
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
Cao Sen Miao
256dd53120 mcpwm: modify wrong config name 2023-02-15 17:55:55 +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
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
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
Steve Jothen
60f678b736 Use correct recursive mutex for env and regular mutex for tz 2023-02-09 16:02:50 +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
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
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
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
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
harshal.patil
3ca447956c mbedtls: fix null pointer dereference of variable iv_off
iv_off gets dereferenced before being check for NULL
2023-01-25 15:32:56 +05:30
harshal.patil
79fb21952e mbedtls/port: refactor sanity checks and their return values
Refactored and returned correct error codes for sanity checks
present in port layer esp_aes.c and esp_aes_gcm.c
2023-01-25 15:30:20 +05:30
harshal.patil
7e00b1f356 mbedtls/port: added stream_block parameter sanity check 2023-01-25 15:30:20 +05:30
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
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
5d37e26d35 security: Adds new APIs to check that all eFuse security features are enabled correctly 2023-01-23 21:02:55 +08:00
KonstantinKondrashov
7a23bf19be esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then esp_efuse_mac_get_default returns INVALID_CRC instead of abort
Closes https://github.com/espressif/esp-idf/issues/10401
2023-01-23 20:02:16 +08:00
Alexey Lapshin
fa46e1b491 efuse: fix esp_efuse_utility_write_reg() declaration 2023-01-19 14:29:26 +07:00
morris
c41bb46d92 Merge branch 'bugfix/ledc_glb_clk_compiler_warning_v5.0' into 'release/v5.0'
ledc: Fix -Werror=maybe-uninitialized warning on glb_clk variable on ESP32 (v5.0)

See merge request espressif/esp-idf!21941
2023-01-17 10:30:11 +08:00
morris
5aa55ffc34 mcpwm: support not reset GPIO config at exit
By default, the driver will reset the GPIO used by the MCPWM capture
channel at exit. But in some special use cases, the same gpio may also
be used by another device, which shares the same gpio configuration,
resetting the gpio is not expected.

Closes https://github.com/espressif/esp-idf/issues/10327
2023-01-16 11:22:58 +08:00
morris
1884442a80 rmt: no auto light sleep if xtal is working as the clock source 2023-01-16 10:20:40 +08:00
Shyamal Khachane
e4f5fe72d0 esp_wifi: Fix missing disconnected callback 2023-01-13 13:27:32 +05:30
Jiang Jiang Jian
fbeedbc238 Merge branch 'bugfix/prevent_open_auth_sae' into 'release/v5.0'
Fix SAE open auth and PMK issues (Backport v5.0)

See merge request espressif/esp-idf!21852
2023-01-13 15:51:56 +08:00
Jiang Jiang Jian
179a2717c0 Merge branch 'bugfix/esp_netif_ip_reconnect_v5.0' into 'release/v5.0'
esp_netif: Post IP event for PPP netifs unconditionally (v5.0)

See merge request espressif/esp-idf!21670
2023-01-12 16:21:26 +08:00
Jiang Jiang Jian
42bf734139 Merge branch 'bugfix/esp32s3_int_wdt_v5.0' into 'release/v5.0'
system: disable interrupts in esp_restart_noos_dig to fix infinite int_wdt on ESP32-S3 (v5.0)

See merge request espressif/esp-idf!21769
2023-01-12 16:19:27 +08:00
Jiang Jiang Jian
96db537020 Merge branch 'feature/apply_new_version_logic_v5.0' into 'release/v5.0'
all: Apply new version logic (major * 100 + minor) (v5.0)

See merge request espressif/esp-idf!20941
2023-01-12 16:18:23 +08:00
Mahavir Jain
6988e82430 Merge branch 'feature/esp_http_server_esp_events_v5.0' into 'release/v5.0'
esp_http_server: Added support for esp_events (v5.0)

See merge request espressif/esp-idf!21844
2023-01-12 12:40:12 +08:00
Mahavir Jain
00d5130b65 Merge branch 'fix/wifi_prov_scan_method_v5.0' into 'release/v5.0'
Changed wifi provisioning scan method (v5.0)

See merge request espressif/esp-idf!21854
2023-01-12 12:39:20 +08:00
Mahavir Jain
ef5465b3d9 Merge branch 'feature/gcm_operation_using_ctr_based_calculation_v5.0' into 'release/v5.0'
GCM operation optimisation (v5.0)

See merge request espressif/esp-idf!21856
2023-01-12 12:38:42 +08:00
Mahavir Jain
31f239c22f Merge branch 'bugfix/esp_tls_timeout_v5.0' into 'release/v5.0'
esp_tls: Fix issue when timeout is not explicitly given in esp_tls_cfg_t (v5.0)

See merge request espressif/esp-idf!21743
2023-01-12 12:37:58 +08:00
Mahavir Jain
bc918310c2 Merge branch 'esp_local_ctrl/fix_https_server_dep_v5.0' into 'release/v5.0'
esp_local_ctrl: Add support for insecure HTTP server transport (v5.0)

See merge request espressif/esp-idf!21815
2023-01-12 12:37:26 +08:00
Armando
870f4efa0d adc: make adc_channel.h macros work with ng driver
Closes https://github.com/espressif/esp-idf/issues/10508
2023-01-12 11:15:57 +08:00
Shyamal Khachane
18e6fa945e wpa_supplicant: Set PMK from PMKSA incase of caching 2023-01-11 11:17:02 +05:30
Shyamal Khachane
677c813137 esp_wifi: Fix open auth issue after commit message exchange 2023-01-11 11:16:13 +05:30
Kapil Gupta
1db1a5f17e Removed sha384 hash for certs > 2k 2023-01-10 13:14:21 +00:00
LiPeng
3c1ac62969 mbedtls: GCM implementation is replaced with CTR-based calculation
- GCM operation in mbedtls used ECB, which calculated only 16 bytes of data each time.
	- Therefore, when processing a large amount of data, it is necessary to frequently set hardware acceleration calculations,
	- which could not make good use of the AES DMA function to improve efficiency.
	- Hence, GCM implementation is replaced with CTR-based calculation which utilizes AES DMA to improve efficiency.
2023-01-09 18:37:07 +05:30
harshal.patil
f111ed2d9a mbedtls: fix esp_aes_gcm_update_ad() API implementation
Closes IDFGH-10467
2023-01-09 18:35:25 +05:30
Aleksei Apaseev
065e121451 espcoredump: fix incorrectly defined coredump chip version 2023-01-09 19:54:01 +08:00
Darian Leung
cc159dfc5b usb: Fix incorrect bmRequestType direction flag in USB Host Library
usb_host_transfer_submit_control() uses the incorrect bmRequestType direction
flag. Therefore, when doing a transfer check, all transfers were mistakenly
treated as OUT transfers (only affects transfer check and not actual transfer).
2023-01-09 17:56:06 +08:00
Darian Leung
ff4e4f4c80 hal: Fix USB DWC HAL host channel halt race condition
This commit fixes a race condtion bug with usb_dwc_hal_chan_request_halt()
where a channel the channel is halted if it has just completed a transfer
(i.e., finished processing a QTD with the "HOC" flag set) but the channel is
still pending interrupt handling. In this case...

- usb_dwc_hal_chan_request_halt() would simply read the channel's underlying
register, determine it is not active, not set the "halt_requested" flag, and
simply return true.
- The caller assumes of usb_dwc_hal_chan_request_halt() will assume that the
channel has halted, and may proceed to reconfigure the pipe/port
- When usb_dwc_hal_chan_decode_intr() comes to process the pending interrupt
it will simply return USB_DWC_HAL_CHAN_EVENT_CPLT not knowing a halt has been
requested.

This commit updates the implementation of usb_dwc_hal_chan_request_halt() so
that a halt is properly requested even if the underlying channel has already
physically halted.
2023-01-09 17:55:48 +08:00
Tomas Rezucha
05f30c1052 usb: Refactor USB Host tests
* USB tests migrated to pytest
* Error messages improved
* Configurable for different mock devices
2023-01-09 17:55:20 +08:00
Darian Leung
8d85a76a74 usb_host: Rename struct/ll/hal symbols to use "usb_dwc" prefix
Following the file renaming to use the "usb_dwc" prefix, this commit
updates the symbol names of those files to use the "usb_dwc" as well.

Some LL functions were also renamed so that the register name is
mentioned.
2023-01-09 17:48:09 +08:00
Darian Leung
da91dbccfa usb_host: Rename struct/ll/hal files to use "usb_dwc" prefix
This commit updates the DWC_OTG based struct/ll/hal file names to
use the prefix "usb_dwc". This naming scheme reduces ambiguity if
another USB controller implementation is added.

As a result, "hcd.c" has been renamed to "hcd_dwc.c"
2023-01-09 17:47:42 +08:00
morris
ae7c8de4a7 mcpwm: support non-varg version of generator functions
Closes https://github.com/espressif/esp-idf/issues/10449
2023-01-09 15:09:40 +08:00
Song Ruo Jing
e8386ed732 ledc: Fix -Werror=maybe-uninitialized warning on glb_clk variable on specific kconfig options selected
Closes https://github.com/espressif/esp-idf/pull/9025
Closes https://github.com/espressif/esp-idf/issues/10322
2023-01-07 17:29:45 +08:00
Michael (XIAO Xufeng)
ac068eed34 esp32c2: fixed chip revision of ECO2 2023-01-06 02:00:52 +08:00
KonstantinKondrashov
9538f9c5ff ci: Fix environment variable IDF_CI_BUILD is not set 2023-01-06 02:00:52 +08:00
KonstantinKondrashov
d130b5b6ba esp_hw_support: Removes esp32c2 eco2 support 2023-01-06 02:00:52 +08:00
KonstantinKondrashov
df9e24a8ca bootloader_support: Fix iram_loader_seg overflow for ESP32-S2 when -O0 2023-01-06 02:00:52 +08:00
Michael (XIAO Xufeng)
bb0c26c233 esp32c2: put v2.0 back to development stage 2023-01-06 02:00:52 +08:00
KonstantinKondrashov
823024c10c all: Apply new version logic (major * 100 + minor) 2023-01-06 02:00:52 +08:00
harshal.patil
536825dda1 esptool_py: Added a sector-pad option for bootloader image
When SECURE BOOT V2 is enabled and CONFIG_SECURE_BOOT_SIGNED_BINARIES
is not set, sector-pad the bootloader image, which is required for an
external PKCS#11 interface to generate a signature.
2023-01-05 13:39:57 +05:30
Armando
698be13236 mspi: remove mspi 80m ddr mode warning regarding to timing tuning 2023-01-05 11:50:57 +08:00
Guillaume Souchere
4175dd7a56 newlib: Update the esp32c2 config default to avoid RTC related test to not run on esp32c2
Set CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT to enable to force CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER to disable
and hence prevent the following tests from being executed:

- Timestamp after abort is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have - big error
2023-01-03 08:37:28 +01:00
Guillaume Souchere
3711a032ff esp-hw-support: fix interrupt allocation tests on esp32c2
A part of the test 'Can allocate IRAM int only with an IRAM handler' was to
allocate an intr with the handler in RTC memory which is not supported by esp32c2.
A condition was added to prevent this part of the test to execute on esp32c2 targets.
2023-01-03 07:52:07 +01:00
Sudeep Mohanty
f244a8b209 ulp-riscv: ULP RISC-V I2C example gets stuck on esp32s2
This commit fixes an issue where in the ULP RISC-V I2C example causes
a spurious wakeup of the main CPU because of a Trap signal when the ULP
core does not meet the wakeup threshold values. This was due to the fact
that the RTC_CNTL_COCPU_DONE signal was being set before the
RTC_CNTL_COCPU_SHUT_RESET_EN signal which was causing the the ULP RISC-V
core to not reset properly on each cycle.

Closes https://github.com/espressif/esp-idf/issues/10301
2023-01-02 14:21:24 +01:00
harshal.patil
40f2caa950 mbedtls: fix esp_aes_crypt_ctr writing to null stream block 2023-01-02 12:02:47 +05:30
harshal.patil
ea07ce9367 mbedtls: added SOC_AES_SUPPORT_AES_192 check in esp_aes_gcm_setkey() 2023-01-02 12:02:47 +05:30
harshal.patil
d1d273bece test_aes_gcm: fix output_size paramter in mbedtls_get_update()
mbedtls_get_update() returned MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL,
as 0 used to get passed in the output_size paramter.
2023-01-02 12:02:47 +05:30
harshal.patil
1c0e11efc0 mbedtls: populate mbedtls_gcm_update() output_length paramater 2023-01-02 12:02:47 +05:30
sanket.wadekar
9067214f33 Changed wifi provisioning scan method
Signed-off-by: sanket.wadekar <sanket.wadekar@espressif.com>
2022-12-31 18:09:45 +05:30
Harshit Malpani
1a39a17777
esp_http_server: Added support for esp_events 2022-12-29 18:08:38 +05:30
cje
524f1195bf sleep: fix sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32
Related to: https://github.com/espressif/esp-idf/issues/6687
2022-12-28 15:33:20 +08:00
Laukik Hase
7279244f8c
esp_local_ctrl: Add support for insecure HTTP server transport 2022-12-28 11:17:10 +05:30
Omar Chebib
eb66430793 coredump: custom core dump stack is now supported on Xtensa targets 2022-12-26 12:07:58 +01:00
Darian Leung
bedfc5063d esp_pm: Fix string formatting type errors
This commit fixes a string formatting error in esp_pm with CONFIG_PM_PROFILING
is enabled.

Closes https://github.com/espressif/esp-idf/issues/10347
2022-12-23 15:04:13 +08:00
Darian Leung
4be58114dc esp_pm: Fix build error when CONFIG_PM_PROFILING is enabled 2022-12-23 15:04:08 +08:00
laokaiyao
d93b7246b0 i2s: fixed rx update stuck bug 2022-12-23 10:45:51 +08:00
gauri patankar
002e21bda4 esp_wifi:Update wifi libs
1. Avoid ftm initiator mode on softap
2. Fix home channel issue in ftm for apsta mode
3. Fix int overflow for T1-T4 counter variable
2022-12-22 16:10:28 +05:30
Ivan Grokhotkov
35135d7b29
system: disable interrupts in esp_restart_noos_dig 2022-12-22 11:34:38 +01:00
Chip Weinberger
caf794ad26 [Docs] specify Digital Signature byte order, and esp_ds_sign() clarification 2022-12-22 15:41:30 +05:30
Jiang Jiang Jian
490216a2ac Merge branch 'bugfix/fix_httpd_req_cleanup_v5.0' into 'release/v5.0'
esp_http_server: fix wrong context pointer in httpd_req_cleanup function (v5.0)

See merge request espressif/esp-idf!21731
2022-12-22 10:22:06 +08:00
Jiang Jiang Jian
d64e8f5caf Merge branch 'bugfix/fix_test_failure_in_test_phy_multi_init_data_bin_issue_v5.0' into 'release/v5.0'
esp_phy: add country code 01 to country code map type table(Backport v5.0)

See merge request espressif/esp-idf!21749
2022-12-22 09:35:25 +08:00
Jiang Jiang Jian
9fa8329148 Merge branch 'feature/emac_buff_v5.0' into 'release/v5.0'
esp_eth: receive buffer allocation optimization (v5.0)

See merge request espressif/esp-idf!21547
2022-12-21 23:35:30 +08:00
Aditya Patwardhan
e6b3038cbd Merge branch 'docs/update_esp_https_ota_docs_for_esp_events_v5.0' into 'release/v5.0'
docs: Update esp_https_ota docs to have information about OTA events (v5.0)

See merge request espressif/esp-idf!21733
2022-12-21 20:59:41 +08:00
muhaidong
94d2040ba7 esp_phy: add country code 01 to country code map type table 2022-12-21 20:00:36 +08:00
Ivan Grokhotkov
205ca920bf Merge branch 'contrib/github_pr_10199_v5.0' into 'release/v5.0'
Removed the 'configASSERT( xInheritanceOccurred == pdFALSE )' assertion from xQueueSemaphoreTake (GitHub PR)(v5.0)

See merge request espressif/esp-idf!21500
2022-12-21 19:56:13 +08:00
Jiang Jiang Jian
4a0708fe61 Merge branch 'fix/clear_cur_pmksa_v5.0' into 'release/v5.0'
Clear current pmksa before generating RSN IE (Backport v5.0)

See merge request espressif/esp-idf!21690
2022-12-21 19:06:07 +08:00
Jiang Jiang Jian
c541b9082e Merge branch 'contrib/github_pr_10027_v5.0' into 'release/v5.0'
[Panic] also print to secondary USB Serial/JTAG Console (GitHub PR) (v5.0)

See merge request espressif/esp-idf!21021
2022-12-21 17:15:04 +08:00
Laukik Hase
081e2ac97e
esp_tls: Fix issue when timeout is not explicitly given in esp_tls_cfg_t
- If internet connectivity weakened or disappeared suddenly while we were
  in the TLS handshake stage, the app got stuck at that point indefinitely.
- This was because when timeout was not explicitly specified in esp_tls_cfg_t,
  the default timeout was set at the wrong place. This causes the sockets to be
  setup with zero timeout, hence the indefinite wait.
2022-12-21 14:42:33 +05:30
Ivan Grokhotkov
20d4335d60 Merge branch 'fix/sdspi_no_cs_v5.0' into 'release/v5.0'
sdspi: Allow CS line to be set to GPIO_NUM_NC (-1) (v5.0)

See merge request espressif/esp-idf!20915
2022-12-21 16:37:25 +08:00
Harshit Malpani
83896d877a
docs: Update esp_https_ota docs to have information about OTA events 2022-12-21 10:39:35 +05:30