Commit Graph

21578 Commits

Author SHA1 Message Date
Jiang Jiang Jian
eca249f41a Merge branch 'bugfix/ble_mesh_deinit_reinit_v5.1' into 'release/v5.1'
feat: ble mesh: improve ble mesh deinit when nimble enable(backport v5.1)

See merge request espressif/esp-idf!28925
2024-02-28 11:12:53 +08:00
Jiang Jiang Jian
0cc6903e15 Merge branch 'feature/spi_eth_no_int_v5.1' into 'release/v5.1'
feat(esp_eth): added SPI Ethernet module polling mode (v5.1)

See merge request espressif/esp-idf!29045
2024-02-28 11:11:01 +08:00
Jiang Jiang Jian
ab894a1086 Merge branch 'bugfix/spi_eth_recv_alloc_v5.1' into 'release/v5.1'
fix(esp_eth): improved SPI Ethernet _alloc_recv_buf error handling (v5.1)

See merge request espressif/esp-idf!29082
2024-02-28 11:10:38 +08:00
Jiang Jiang Jian
c404e951e3 Merge branch 'docs/rf_coexistence_api_guides_support_esp32c2_v5.1' into 'release/v5.1'
Docs: RF coexistence api guides support esp32c2 (v5.1)

See merge request espressif/esp-idf!29214
2024-02-28 11:09:29 +08:00
Mahavir Jain
8b7bd28549 Merge branch 'feat/flash_enc_encrypt_app_image_of_size_image_length_v5.1' into 'release/v5.1'
feat(bootloader_support): Encrypt only the app image instead of the whole partition (v5.1)

See merge request espressif/esp-idf!28266
2024-02-28 10:57:45 +08:00
Jiang Jiang Jian
76152c80a2 Merge branch 'c6_auto_dbias_master_hsq_v5.1' into 'release/v5.1'
ESP32C6: Active & sleep dbg and dbias get from efuse to fix the voltage (v5.1)

See merge request espressif/esp-idf!28722
2024-02-28 10:49:13 +08:00
Jiang Jiang Jian
2f6c902be8 Merge branch 'ci/enable_ip101_jobs_v5.1' into 'release/v5.1'
ci(esp_eth): enabled Ethernet ip101 jobs (v5.1)

See merge request espressif/esp-idf!28611
2024-02-28 10:45:11 +08:00
Jiang Jiang Jian
956797efbd Merge branch 'feature/gatt_caching_support_v5.1' into 'release/v5.1'
feat(nimble): Gatt caching support (v5.1)

See merge request espressif/esp-idf!28512
2024-02-28 10:44:38 +08:00
Jiang Jiang Jian
96f44688aa Merge branch 'bugfix/fix_wrong_dcache_0_size_issue_on_s2_v5.1' into 'release/v5.1'
fix(cache): fix wrong dcache size 0 configuration issue on s2 (v5.1)

See merge request espressif/esp-idf!28288
2024-02-28 10:43:55 +08:00
Jiang Jiang Jian
1553b5b1d1 Merge branch 'feature/case_for_ot_sleepy_ci' into 'release/v5.1'
ci(openthread): add a test case for openthread sleepy device

See merge request espressif/esp-idf!28280
2024-02-28 10:41:10 +08:00
Jiang Jiang Jian
88b8f533cd Merge branch 'bugfix/BLEQABR23-577' into 'release/v5.1'
Resolve BLEQABR23-577 "Bugfix/" Prevent the generation of link ID as 0.

See merge request espressif/esp-idf!28185
2024-02-28 10:40:26 +08:00
Mahavir Jain
1b5d4f8d3e Merge branch 'fix/build_failure_when_hardware_gcm_is_disabled_v5.1' into 'release/v5.1'
fix(mbedtls/gcm): Fix build failure when config `MBEDTLS_HARDWARE_GCM` is disabled (v5.1)

See merge request espressif/esp-idf!29068
2024-02-28 10:34:51 +08:00
gongyantao
82a36ee753 change(bt/bluedroid): Redirect app functions in controller based on the bluetooth mode 2024-02-28 09:40:15 +08:00
Roland Dobai
d8e82c3890 Merge branch 'register_gcov_tick_hook_once_v5.1' into 'release/v5.1'
fix(gcov): avoid multiple tick hook registration (v5.1)

See merge request espressif/esp-idf!29273
2024-02-27 22:16:55 +08:00
Jiang Jiang Jian
cfc893f125 Merge branch 'bugfix/fix_coex_lib_circular_dependency_v5.1' into 'release/v5.1'
fix(esp_coex): fix circular dependency issue on esp32 (v5.1)

See merge request espressif/esp-idf!29156
2024-02-27 20:01:45 +08:00
Jiang Jiang Jian
f9db462a46 Merge branch 'bugfix/fix_dangling_pointer_in_remove_bond_list_section_v5.1' into 'release/v5.1'
fix(bt/bluedroid): fix dangling pointer issue when logging removed section (backport v5.1)

See merge request espressif/esp-idf!28962
2024-02-27 20:01:11 +08:00
Jiang Jiang Jian
44da2b9fbd Merge branch 'bugfix/bootloader_custom_rtc_data_crc_v5.1' into 'release/v5.1'
fix(bootloader): add legacy retained memory CRC calculation (backport v5.1)

See merge request espressif/esp-idf!28936
2024-02-27 20:00:55 +08:00
Jiang Jiang Jian
69900de25d Merge branch 'bugfix/ble_bug_backport_20240205_v5.1' into 'release/v5.1'
Bugfix/ble bug backport 20240205 v5.1 (backport v5.1)

See merge request espressif/esp-idf!28900
2024-02-27 20:00:24 +08:00
Jiang Jiang Jian
6481fdf05e Merge branch 'bugfix/esp32c2_eap_auth_v5.1' into 'release/v5.1'
fix(wifi): Added low heap usage Kconfig option for eap enterprise (v5.1)

See merge request espressif/esp-idf!28825
2024-02-27 19:59:52 +08:00
Jiang Jiang Jian
f8a1cf930e Merge branch 'feature/supplicant_bss_extmem_v5.1' into 'release/v5.1'
WiFi: Add support to move supplicant BSS to external memory (v5.1)

See merge request espressif/esp-idf!28744
2024-02-27 19:59:38 +08:00
Jiang Jiang Jian
c8d47c167a Merge branch 'bugfix/no_wakeup_sleep_v5.1' into 'release/v5.1'
fix(ble): Fixed Bluetooth not waking up due to clock drift(v5.1)

See merge request espressif/esp-idf!28721
2024-02-27 19:59:26 +08:00
Jiang Jiang Jian
ffd34ba04a Merge branch 'bugfix/bod_threshold_v5.1' into 'release/v5.1'
fix(bod): Fix BOD threshold value on ESP32H2(backport v5.1)

See merge request espressif/esp-idf!28624
2024-02-27 19:58:51 +08:00
Jiang Jiang Jian
69695c23da Merge branch 'bugfix/spp_disc_connect_btqabr2023_156_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fixed SPP connection failure(v5.1)

See merge request espressif/esp-idf!28536
2024-02-27 19:57:55 +08:00
Island
00db642b52 Merge branch 'bugfix/fix_dtm_tx_count_v5.1' into 'release/v5.1'
Update bt lib for ESP32-C3 and ESP32-S3(30b57c45)(backport v5.1)

See merge request espressif/esp-idf!28879
2024-02-27 19:09:08 +08:00
Mahavir Jain
13e7052bd2 Merge branch 'bugfix/fix_http_auth_without_qop_v5.1' into 'release/v5.1'
fix(esp_http_client): Fix http digest auth without qop (v5.1)

See merge request espressif/esp-idf!28758
2024-02-27 18:49:40 +08:00
Mahavir Jain
35713b9e25 Merge branch 'bugfix/encrypted_flash_write_safe_addr_v5.1' into 'release/v5.1'
fix(spi_flash): check for safe write address in encrypted flash API (v5.1)

See merge request espressif/esp-idf!29205
2024-02-27 18:27:47 +08:00
harshal.patil
a24715d822 feat(bootloader_support): Encrypt only the app image instead of the whole partition
Currently, when flash encryption is enabled, the whole partition gets encrypted.
This can be optimised by encrypting only the app image instead of encrypting the whole partition.

Closes https://github.com/espressif/esp-idf/issues/12576
2024-02-27 18:27:04 +08:00
harshal.patil
633b63d6fd fix(bootloader_support): Fix image_length calculation when secure boot v1 is enabled
Fixed the value of the image_length field of the image metadata populated by esp_image_verfiy()
to include the size of the signature sector when Secure Boot V1 is enabled.
2024-02-27 18:27:04 +08:00
Mahavir Jain
dcf187ff76 Merge branch 'feature/update_mbedtls_v5.1' into 'release/v5.1'
feat(mbedtls): updated mbedtls version from 3.5.0 to 3.5.2 (v5.1)

See merge request espressif/esp-idf!28893
2024-02-27 18:26:27 +08:00
Mahavir Jain
7003f1ef0d Merge branch 'bugfix/ota_anti_rollback_checks_2_v5.1' into 'release/v5.1'
feat(bootloader_support): Read secure_version under sha256 protection (v5.1)

See merge request espressif/esp-idf!29060
2024-02-27 18:26:03 +08:00
Mahavir Jain
fe5ccaf2cb Merge branch 'feature/conservative_key_revocation_in_secure_boot_v5.1' into 'release/v5.1'
feat: Add API to verify the bootloader and application image before revoking... (v5.1)

See merge request espressif/esp-idf!28489
2024-02-27 18:25:32 +08:00
Marius Vikhammer
b80a694abe Merge branch 'bugfix/rtc_i2c_not_in_od_mode_v5.1' into 'release/v5.1'
fix(ulp_riscv): Updated RTC I2C to use open-drain IOs (v5.1)

See merge request espressif/esp-idf!28932
2024-02-27 18:16:08 +08:00
Darian Leung
507880fa32
change(usb/host): Remove some handler function event flags
This commit removes internal event flags in the USB Host Library event handling
functions (i.e., usb_host_lib_handle_events() and usb_host_client_handle_events()).

Previously, these flags were added to reduce the number of times semaphores
were given. However, these flags were removed as the performance gain is
negligible and made the logic more complicated.

For usb_host_client_handle_events(), the following flags were removed:

- Remove 'events_pending' flag. The semaphore is now always given
- Remove 'blocked' flag. The 'handling_events' flag is already sufficient
- Critical sections are now shortened due to simplication of semaphore usage.

For usb_host_lib_handle_events(), the following flags were removed:

- Remove 'process_pending' flag. The semaphore is now always given
- Renamed 'blocked' flag to 'handling_events'
2024-02-27 18:16:00 +08:00
Darian Leung
bfc8c3a154
change(usb/host): Remove data buffer headers from URBs
This commit removes the ability to reserve a header in the data buffer of an
allocated URB. The header was required for a now defunct implementation of a
synchronous USB Host library API. Thus, headers are no longer required in
URB data buffers.
2024-02-27 18:15:59 +08:00
Simon H
ece4e4ec6d
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-27 18:15:04 +08:00
Marius Vikhammer
51b461e6b4 Merge branch 'bugfix_lp_i2c_not_in_od_mode_v5.1' into 'release/v5.1'
fix(lp_i2c): Fixed an issue where the LP_I2C IO lines were not in open-drain mode (v5.1)

See merge request espressif/esp-idf!28771
2024-02-27 17:51:37 +08:00
Marius Vikhammer
51c263bd8f Merge branch 'bugfix/linenoise_calculates_negative_prompt_len_v5.1' into 'release/v5.1'
fix(console): Fixed linenoise prompt length calculation (v5.1)

See merge request espressif/esp-idf!28527
2024-02-27 17:51:08 +08:00
Marius Vikhammer
ba155b0ebd Merge branch 'fix/esp_hw_support_remove_unused_include_dirs_v5.1' into 'release/v5.1'
fix(esp_hw_support): Removed nonexistent include directories from cmake (v5.1)

See merge request espressif/esp-idf!27608
2024-02-27 17:50:51 +08:00
Marius Vikhammer
c2274f9ef3 Merge branch 'bugfix/reset_reasons_v5.1' into 'release/v5.1'
Update reset reasons for C6, H2, P4 and C5 (v5.1)

See merge request espressif/esp-idf!29181
2024-02-27 17:47:00 +08:00
Erhan Kurubas
4f26dcfdff fix(gcov): avoid multiple tick hook registration 2024-02-26 14:05:03 +01:00
KonstantinKondrashov
f185ac42e2 fix(esp_hw_support): Fix esp_intr_free when taks has no core affinity
Closes https://github.com/espressif/esp-idf/issues/12608
2024-02-26 12:05:32 +02:00
Omar Chebib
8176a00282 fix(bootloader): add legacy retained memory CRC calculation
* Closes https://github.com/espressif/esp-idf/issues/12849

In former versions of ESP-IDF, the user custom memory data in the retained memory
was taken into account during the CRC calculation. This was changed in a later
commit, the custom memory was ignored, therefore this can seen as a breaking change.
This commit gives the possibility to choose between the former (legacy) or
new way of calculating the CRC.
2024-02-26 17:35:57 +08:00
wuzhenghui
54a15b81f9
feat: support cache safe assertion check in sleep process
- Add support for cache safe assertion check to ensure that code expected to be in RAM is in IRAM
2024-02-26 17:24:04 +08:00
wuzhenghui
12dca8d086
fix(hal): fix esp32c6 clock bug workaround access flash in wakeup process 2024-02-26 11:42:38 +08:00
Marius Vikhammer
9765dd05d6 fix(heap): fixed missing include in esp_heap_task_info.h
Would fail to compile if esp_heap_task_info.h was included without/before freertos includes
2024-02-26 11:26:49 +08:00
Marius Vikhammer
e7771c75bd versions: Update version to 5.1.3 2024-02-26 11:09:16 +08:00
wuzhenghui
40a869935b
feat(esp_hw_support): support gdma register context sleep retention
Closes https://github.com/espressif/esp-idf/issues/12528
2024-02-23 18:30:17 +08:00
zwl
95a2ad919f bugfix(ble) : fixed some ble issues on ESP32-C2 2024-02-23 18:03:24 +08:00
linruihao
89881c7c59 fix(esp_coex): add support_coexistence soc_caps for esp32c2 and esp32h2 2024-02-23 16:26:10 +08:00
zhanghaipeng
12131f4b8a fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration 2024-02-23 15:51:05 +08:00
zwl
82b34e3431 ble(update):
Update c2 lib to 79be7ec9
Update h2 lib to c6f7cb08
Update c6 lib to c6f7cb08
2024-02-23 14:07:54 +08:00
Mahavir Jain
f1ced5357f fix(spi_flash): check for safe write address in encrypted flash API 2024-02-23 12:42:37 +08:00
Omar Chebib
e7d5fee856 change(espcoredump): save RAM space by placing constants in flash
All the log messages of espcoredump component used to be in DRAM, which would
lower the available RAM space for the user application. Since the cache is always
enabled after an exception, constants can be put in flash.
2024-02-22 18:49:49 +08:00
hongshuqing
80378b809e feat(pmu): set fix voltage to different mode for esp32c6 2024-02-22 15:01:14 +08:00
Marius Vikhammer
d9a6158700 fix(system): update reset reasons for C6 and H2 2024-02-22 12:36:09 +08:00
linruihao
905a0d3d01 fix(esp_coex): fix circular dependency issue on esp32
Closes https://github.com/espressif/esp-idf/issues/13113
2024-02-21 19:15:10 +08:00
KonstantinKondrashov
24f6995fb5 feat(efuse): Add flash&psram efuses for S3 2024-02-21 09:36:49 +02:00
Jakob Hasse
a66234b6de fix(esp_hw_support): Removed unused include directories from cmake
* Closes https://github.com/espressif/esp-idf/issues/12700
2024-02-21 11:41:11 +08:00
Mahavir Jain
f047237aa5 fix(bootloader_support): check the secure version only for app image
Secure version in the image header is only available for the application
image. However, for certain security workflows, bootloader verifies
itself (own image) and hence the secure version check during that must be
avoided.

Regression introduced in recent commit-id: 3305cb4d

Tested that both secure boot and flash-enc workflows work correctly
with the anti-rollback scenario.
2024-02-20 11:16:56 +02:00
ShenWeilong
f05aef3ddf fix(ble): Fixed the free_all crash on esp32c6 and esp32h2 2024-02-19 20:17:17 +08:00
Ondrej Kosta
41b67e1031 fix(esp_eth): improved SPI Ethernet _alloc_recv_buf error handling 2024-02-16 16:03:59 +01:00
harshal.patil
85e18aa755
fix(mbedtls/gcm): Avoid using GCM hardware when config MBEDTLS_HARDWARE_GCM is disabled 2024-02-16 11:55:02 +05:30
harshal.patil
7e4d273e45
fix(mbedtls/gcm): Fix build failure when config MBEDTLS_HARDWARE_GCM is disabled 2024-02-16 11:55:01 +05:30
Ondrej Kosta
8d8fd2b765 feat(esp_eth): added SPI Ethernet module polling mode
Closes https://github.com/espressif/esp-idf/issues/12682
2024-02-15 14:27:45 +00:00
Mahavir Jain
83ec466b26 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:10:28 +02:00
Bogdan Kolendovskyy
5b9b27ff75 esp_eth: Add functions to access PHY using MDIO
Specifically:
  - Set/get address
  - Read/write data at address with specified MDIO access function
  - Read/write both address and data with a single call
2024-02-13 12:47:46 +01:00
Bogdan Kolendovskyy
7cb91c19cd fix(esp_eth): ip101-specific reset_hw to match reset timings from datasheet
IP101 requires 10ms reset assertion time and 10ms post-reset delay to properly initialize.
2024-02-09 15:04:12 +01:00
luomanruo
f5a0d5d0bc ble(update):
Update h2 lib to eb112893
Update c6 lib to eb112893
2024-02-07 17:29:32 +08:00
gongyantao
aad082a795 fix(bt/bluedroid): fix dangling pointer issue when logging remove section 2024-02-07 14:58:08 +08:00
InfiniteYuan
88fc51f107 ble_mesh: stack: fix the structure init order to meet C++ requirements 2024-02-07 10:21:31 +08:00
Sudeep Mohanty
746b8bf98f fix(ulp_riscv): Updated RTC I2C to use open-drain IOs
This commit updates the RTC I2C driver in the ULP RISC-V to initialize
all I2C IOs in open-drain mode.
2024-02-06 08:42:12 +01:00
InfiniteYuan
4a2290fce0 feat: ble mesh: improve ble mesh deinit when nimble enable 2024-02-06 14:44:32 +08:00
InfiniteYuan
31ca7c9a8c ble_mesh: update ble mesh ble adv type 2024-02-06 14:15:53 +08:00
morris
4ae845cd3e fix(rgb_lcd): relax the check for the data line GPIO
There are a bunch of cases you might want some pins not exposed.

Eg.

  * Reading say 8 bit data and outputting the top 5 bits, discarding the rest by not mapping those data pins to output pins

 * Not using hsync/vsync because sync data is embedded within the data bits for more timing flexibility (eg. interlacing).

 * Using the LCD module as a high speed parallel data output bus, with no need for sync/control pins.

Removing this validation makes these cases work.

Merges https://github.com/espressif/esp-idf/pull/13103
2024-02-06 10:35:11 +08:00
zhiweijian
add7c68104 feat(ble/controller): Add API to get BLE controller status on ESP32 2024-02-05 16:07:19 +08:00
zhiweijian
fd8bfba10a Fixed xQueueSemaphoreTask assert when deinit host during scan 2024-02-05 16:06:37 +08:00
nilesh.kale
fee1e43f09 feat(mbedtls): updated mbedtls version from 3.5.0 to 3.5.2
This updates the submodule mbedtls to its latest version 3.5.2.
2024-02-05 12:50:43 +05:30
Jiang Jiang Jian
7380f96017 Merge branch 'bugfix/bugfix_for_radio_spinel' into 'release/v5.1'
fix(openthread): fix openthread configurations for radio spinle on 5.1

See merge request espressif/esp-idf!28872
2024-02-05 14:15:15 +08:00
chenjianhua
4e4f494ca7 feat(bt/bluedroid): Support get status of bluedroid host 2024-02-04 16:50:36 +08:00
chenjianhua
ad7a2831b2 feat(bt/bluedroid): Make the max number of bond device to be configurable 2024-02-04 16:50:18 +08:00
zhanghaipeng
a95d480780 fix(ble/controller): Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- fixed modem sleep enter failed sometimes
2024-02-04 14:30:19 +08:00
chenjianhua
f86a5ffb2a fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(91980c2)
- Fixed scheduling when modem sleep wakeup delayed
- Fixed IRQ FIFO overflow when enter critical
- Fixed clock sync timeout for modem sleep
- Fixed directed adv with RPA when privacy disabled
- Fixed instant passed for connection update and PHY update
2024-02-04 14:30:10 +08:00
Xu Si Yu
3c6ee5a957 fix(openthread): fix openthread configurations for radio spinle on 5.1 2024-02-04 11:50:41 +08:00
morris
8ab2edda00 fix(mcpwm): reset GPIO used by generator after delete
Closes https://github.com/espressif/esp-idf/issues/12980
2024-02-01 17:49:18 +08:00
zwx
5c74483fb6 feat(openthread): disable the rx on when idle in coex scenario 2024-02-01 14:53:57 +08:00
zwx
d117ae0d21 fix(openthread): fix RCP handle timeout crashing issue
* update openthread upstream
2024-02-01 14:17:04 +08:00
zwx
ff1fd81e2f fix(openthread): support uart ISR in IRAM 2024-02-01 14:16:00 +08:00
zwx
1cc34e69d7 fix(802154): fix pending tx will be delayed issue 2024-02-01 14:16:00 +08:00
Kapil Gupta
8a01702d65 fix(wifi): add low memory options for eap enterprise 2024-02-01 10:05:06 +05:30
Brian Whitman
6319f9ab2c fix(rgb_lcd): don't assume 16 bit width on panels for restart logic
Merges https://github.com/espressif/esp-idf/pull/13020
2024-01-31 18:56:14 +08:00
morris
dcf0d5b67c feat(rmt): added a help function for allocating encoder memory
The encoder memory location should respect the RMT_MEM_ALLOC_CAPS,
which is affected by some Kconfig options, like ISR_IRAM_SAFE

Closes https://github.com/espressif/esp-idf/issues/13032
2024-01-30 17:03:54 +08:00
xiongweichao
05d196938d fix(bt/bluedroid): Fixed SPP connection failure
The connection failure is caused by the BTU and application layer status being out of sync.
2024-01-30 15:42:39 +08:00
xiongweichao
2c9dccc64e fix(ble): Fixed macro definition error for 136K clock drift 2024-01-30 15:37:01 +08:00
xiongweichao
75dcda2750 fix(ble): Fixed Bluetooth not waking up due to clock drift 2024-01-30 15:36:53 +08:00
Sudeep Mohanty
300cd0c34f fix(lp_i2c): Fixed an issue where the LP_I2C IO lines were not in open-drain mode
This commit fixes an issue where in the LP I2C IO lines were not
initialized in open-drain mode.

Closes https://github.com/espressif/esp-idf/issues/12969
2024-01-29 09:48:39 +01:00
Jiang Jiang Jian
7cbee80fb9 Merge branch 'bugfix/fix_ble_tx_2m_problem_causing_by_phy_wifi_enable_set_v5.1' into 'release/v5.1'
fix(esp_phy): Fixed BLE TX 2M problem causing by phy_wifi_enable_set() (backport v5.1)

See merge request espressif/esp-idf!28679
2024-01-29 14:46:58 +08:00
Shu Chen
0b28bdb8f0 Merge branch 'backport/154_receive_handle_done_v5.1' into 'release/v5.1'
Backport/154 receive handle done v5.1

See merge request espressif/esp-idf!28718
2024-01-29 14:30:16 +08:00
Harshit Malpani
3cfbbbd978
fix(esp_http_client): Fix http digest auth without qop
Closes https://github.com/espressif/esp-idf/issues/12962
2024-01-29 11:11:02 +05:30
morris
1daeac210b feat(rmt): support update bytes encoder configurations at runtime
Closes https://github.com/espressif/esp-idf/issues/12775
2024-01-29 13:28:53 +08:00
Michael (XIAO Xufeng)
7f39afb373 Merge branch 'h2_auto_dbias_master_hsq_v5.1' into 'release/v5.1'
ESP32H2: Active & sleep dbias get from efuse to fix the voltage (v5.1)

See merge request espressif/esp-idf!28715
2024-01-29 11:21:06 +08:00
Island
71dfc32a98 Merge branch 'bugfix/ble_update_lib_20240125_v5.1' into 'release/v5.1'
Bugfix/ble update lib 20240125 v5.1

See merge request espressif/esp-idf!28709
2024-01-29 10:40:21 +08:00
Kapil Gupta
0cd6a05fdf fix(wifi): Add support to move supplicant BSS to external memory 2024-01-27 10:54:26 +05:30
Jiang Jiang Jian
a5e3e0b90e Merge branch 'bugfix/fix_dynamic_mbedtls_crash_v5.1' into 'release/v5.1'
mbedtls: Fix enable dynamic mbedtls will occur heap corruption when server support TLS renegotiation(backport v5.1)

See merge request espressif/esp-idf!28325
2024-01-26 22:25:24 +08:00
Shu Chen
81ee463f54 feat(ieee802154): make the receive done handler feature mandatory 2024-01-26 17:00:38 +08:00
Shu Chen
fa544a6dff feat(ieee802154): remove the ieee802154 lib submodule 2024-01-26 17:00:38 +08:00
Shu Chen
15a392cfd9 Merge branch 'backport5.1/openthread_backport' into 'release/v5.1'
some openthread changes backport to release/v5.1

See merge request espressif/esp-idf!28638
2024-01-26 13:37:02 +08:00
hongshuqing
9f5cd217a0 feat(pmu): set fix voltage to different mode for esp32h2
h2 remove include
2024-01-26 11:39:16 +08:00
KonstantinKondrashov
cce3c4a1d5 feat(efuse): Adds new efuses for esp32c6 2024-01-26 11:39:16 +08:00
KonstantinKondrashov
f7a920685a feat(efuse): Adds new efuse for esp32h2 2024-01-26 11:39:16 +08:00
luomanruo
9f405f2174 fix failure of pre-commit 2024-01-26 10:38:16 +08:00
zwl
39ef366eed Update ble lib to eb473dda on ESP32-C6 and ESP32-H2 2024-01-25 20:37:28 +08:00
zwl
0b3649aa0e feat(ble): add ble controller version output on ESP32-C6 and ESP32-H2 2024-01-25 20:37:22 +08:00
zwl
d1e16cea67 feat(ble): add ble controller status check api on ESP32-C6 and ESP32-H2 2024-01-25 20:37:15 +08:00
zwl
b13a4e2d9c fix(ble): fixed build error when disable sm feature 2024-01-25 20:37:08 +08:00
luomanruo
e8f0906c11 Update C6 H2 lib to bb9d578e 2024-01-25 20:36:55 +08:00
zwx
e2e54312da feat(openthread): support openthread radio caps rx on when idle 2024-01-25 14:14:51 +08:00
xiaqilin
738145a65e fix(ieee802154): add next operation in ieee802154 test when rx abort by tx ack coex 2024-01-25 14:14:51 +08:00
zwx
2f988d08de feat(802.15.4): introduce pending tx while rx feature 2024-01-25 14:14:51 +08:00
zwx
08f462dc0e feat(openthread): integrate console command with ot command 2024-01-25 14:14:51 +08:00
Xu Si Yu
dd0eeaf7f3 feat(openthread): add menuconfig for openthread address query 2024-01-25 14:14:51 +08:00
Xu Si Yu
f86a39ad87 fix(openthread): set spinel frame buffer to member variables 2024-01-25 14:14:51 +08:00
Xu Si Yu
d339120bed feat(openthread): support esp openthread radio spinel 2024-01-25 14:14:51 +08:00
Roshan Bangar
30f01c33e1 feat(nimble): Gatt caching support 2024-01-25 09:59:03 +05:30
zhiweijian
4529a6ab6e fix(esp_phy): Fixed BLE TX 2M problem causing by phy_wifi_enable_set()
1. Fixed BLE 2M phy TX problem causing by phy_wifi_enable_set() on ESP32-C3 and ESP32-S3
2. Fixed BLE CCA bug on ESP32-C2
3. Fixed wifi boot bug at low temp on ESP32-C6
4. Fixed BLE and WIFI could not receive packets after entering light sleep for a long time on ESP32-C3, ESP32-S3, ESP32-C2 and ESP32-C6
2024-01-25 12:26:25 +08:00
Island
e4ae078224 Merge branch 'bugfix/ble_check_adv_data_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow(backport v5.1)

See merge request espressif/esp-idf!28406
2024-01-25 12:06:02 +08:00
Island
7d45bbef63 Merge branch 'bugfix/fix_ble_memory_leak_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fix ble memory leak when gattc config off(backport v5.1)

See merge request espressif/esp-idf!28496
2024-01-25 11:59:13 +08:00
Island
4fd3de1ce8 Merge branch 'bugfix/fix_some_ble_issue_v5.1' into 'release/v5.1'
Bugfix/fix some ble issue v5.1(backport v5.1)

See merge request espressif/esp-idf!28616
2024-01-25 11:59:02 +08:00
Island
9a85bb8426 Merge branch 'bugfix/address_resolution_v5.1' into 'release/v5.1'
fix(nimble): Added support for address resolution during inquiry (v5.1)

See merge request espressif/esp-idf!28519
2024-01-25 11:58:47 +08:00
Jiang Jiang Jian
26bbec86f2 Merge branch 'bugfix/fix_pmk_invalid_wpa_or_wpa2_connect_fail_issue_v5.1' into 'release/v5.1'
fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue(Backport v5.1)

See merge request espressif/esp-idf!28668
2024-01-25 09:57:44 +08:00
jim
35b4151fee mbedtls: Fix enable dynamic mbedtls will occur heap corruption when server support TLS renegotiation 2024-01-24 17:53:09 +08:00
Mahavir Jain
614ad494f6
fix(soc): change debug addr range to CPU subsystem range
For C6/H2/P4/C5, there is no SoC specific debug range. Instead the same
address range is part of CPU Subsystem range which contains debug mode
specific code and interrupt config registers (CLINT, PLIC etc.).

For now the PMP entry is provided with RWX permission for both machine
and user mode but we can save this entry and allow the access to only
machine mode for this range.

For P4/C5 case, this PMP entry can have RW permission as the debug mode
specific code is not present in this memory range.
2024-01-24 12:52:27 +05:30
Mahavir Jain
5dec348666 Merge branch 'feat/update_cjson_v1_7_17_v5.1' into 'release/v5.1'
feat(cJSON): update submodule to v1.7.17 (v5.1)

See merge request espressif/esp-idf!28349
2024-01-24 15:05:10 +08:00
Mahavir Jain
da47d4d632 Merge branch 'bugfix/update_jtag_disabling_api_v5.1' into 'release/v5.1'
fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG (v5.1)

See merge request espressif/esp-idf!28493
2024-01-24 15:04:33 +08:00
muhaidong
3fa5a76a00 fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue 2024-01-24 12:03:14 +08:00
xueyunfei
8b16d9b8bc Fix(lwip):bugfix for change default value for ip ttl 2024-01-24 10:48:57 +08:00
Xu Si Yu
abaa9f2bfe ci(openthread): Add a test case for openthread sleepy device 2024-01-23 16:11:29 +08:00
wuzhenghui
9a246bcbf1 feat: support dump last time sleep context 2024-01-23 16:11:29 +08:00
nilesh.kale
fa02eeeb97 fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG
After ets_hmac_disable(), invalidating JTAG register process is ineffective.
So, added call to enable hmac begore invalidating JTAG REG.
And similarly disabled it after invalidation.
2024-01-23 12:20:06 +05:30
laokaiyao
d7b6ebe7df fix(i2s): fixed incorrect reg base name on C3
Closes https://github.com/espressif/esp-idf/issues/12643
2024-01-23 12:05:45 +08:00
Cao Sen Miao
bba56bc016 fix(bod): Fix BOD threshold value on ESP32H2 2024-01-23 10:13:33 +08:00
zhanghaipeng
2874c5e281 feat(bt/bluedroid): Support ext adv aux option 2024-01-22 20:56:26 +08:00
zhanghaipeng
d6d6963fea fix(bt/bluedroid): Fix BLE malloc internal wrapper fail 2024-01-22 20:56:14 +08:00
Zeke Gustafson
5fa653771f feat(ble/bluedroid): Add getter for BLE GAP callback 2024-01-22 20:56:03 +08:00
Zeke Gustafson
8dbfff100e feat(ble/bluedroid): Add getter for BLE GATTS callback 2024-01-22 20:55:56 +08:00
zhanghaipeng
77ca6c58c1 feat(ble/bluedroid): Add getter for BLE GATTC calllback 2024-01-22 20:55:49 +08:00
zhanghaipeng
cc78bb61b5 docs(ble/bluedroid): Optimize documentation for BLE duplicate scan 2024-01-22 20:55:42 +08:00
zhanghaipeng
9c93c54d81 fix(ble/bluedroid): Fix dangling pointer issue in deletion of bonded devices 2024-01-22 20:55:31 +08:00
zhanghaipeng
22bdd07668 fix(ble/bluedroid): Fix BLE background connection log level 2024-01-22 20:55:23 +08:00
sonika.rathi
dbc3a2a80b feat(example/storage/littlefs): add LittleFS demo example 2024-01-22 20:23:28 +08:00
Ondrej Kosta
e9db535290 ci(esp_eth): enabled Ethernet ip101 jobs 2024-01-22 12:46:33 +01:00