Jiang Jiang Jian
d34b0242ba
Merge branch 'fix/rd_stored_link_key_error_v5.2' into 'release/v5.2'
...
fix(bt): fix some issues in bt controller(backport v5.2)
See merge request espressif/esp-idf!29978
2024-04-03 10:29:47 +08:00
Shreyas Sheth
c3f819289d
fix(esp_wifi): Fix crash when assoc req comes before confirm is processed
2024-04-02 23:03:29 +05:30
Jiang Jiang Jian
2152112ff8
Merge branch 'bugfix/fix_coex_ld_issue_v5.2' into 'release/v5.2'
...
fix(wifi): fix coex ld issue (v5.2)
See merge request espressif/esp-idf!29915
2024-04-02 14:29:40 +08:00
Rahul Tank
8599ec33d5
Merge branch 'bugfix/revamp_reconn_scheme_v5.2' into 'release/v5.2'
...
fix(nimble): Cleanup code in connection reconnection implementation (v5.2)
See merge request espressif/esp-idf!29964
2024-04-02 14:26:39 +08:00
cjin
510ae698e2
feat(ble): add cca related config in c6, h2 and c2
2024-04-02 12:16:56 +08:00
cjin
27d360127d
change(ble): support ble light sleep using ext 32k xtal on C2
2024-04-02 12:16:56 +08:00
zwl
2ce39a857f
ble: update esp32c2 lib to 7a428d35
2024-04-02 12:16:56 +08:00
zwl
b0b6d190ff
ble: update esp32h2 and esp32c6 lib to 39c6e050
2024-04-02 12:16:56 +08:00
zhaoweiliang
d4327c47a1
ble : adjust the log initialization sequence of ESP32C6 and ESP32H2
2024-04-02 12:16:56 +08:00
gongyantao
c08a831f17
fix(bt): fix some issues in bt controller
...
1: fixed the incorrect timeing in reporting HCI_Link_Key_Type_Changed.
2: fixed the incorrect iv value during resuming encryption.
3: fixed the incorrect return with hci command rd_stored_link_key.
2024-04-02 09:33:51 +08:00
Jiang Jiang Jian
2c64d8d302
Merge branch 'bugfix/fix_call_to_header_event_callback_v5.2' into 'release/v5.2'
...
fix: Fix call to event_handler on on_header state of HTTP Client (v5.2)
See merge request espressif/esp-idf!29954
2024-04-01 19:50:34 +08:00
Rahul Tank
06d18ca0d6
fix(nimble): Change reconnection scheme
2024-04-01 16:06:55 +05:30
Harshit Malpani
8d494a8d03
Revert "fix(esp_http_client): Call event_handler after header value is received"
...
This reverts commit 04ac8e43db
.
Fixes https://github.com/espressif/esp-idf/issues/13497
Fixes https://github.com/espressif/esp-idf/issues/13097
2024-04-01 13:18:56 +05:30
Jiang Jiang Jian
a70bb45c48
Merge branch 'bugfix/sdp_remove_record_no_evt_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): Fixed the crash caused by using illegal pointers during SDP deinit(v5.2)
See merge request espressif/esp-idf!29942
2024-04-01 14:53:09 +08:00
Jiang Jiang Jian
77920038f6
Merge branch 'change/add_convt_from_hci_state_to_esp_state_v5.2' into 'release/v5.2'
...
change(bt/bluedroid): Use BTC util to convert HCI status to ESP status (v5.2)
See merge request espressif/esp-idf!29921
2024-04-01 14:39:31 +08:00
Jiang Jiang Jian
c920d2ed64
Merge branch 'bugfix/esp_timer_test_fail_v5.2' into 'release/v5.2'
...
fix(esp_timer): Force test to go light sleep ignoring ESP_ERR_SLEEP_REJECT (v5.2)
See merge request espressif/esp-idf!29871
2024-04-01 14:39:10 +08:00
liuning
cc13237746
fix(wifi): fix coex ld issue
2024-04-01 14:23:08 +08:00
Marius Vikhammer
016b27c132
Merge branch 'bugfix/coredump_switch_stack_v5.2' into 'release/v5.2'
...
fix(espcoredump): Reconfigure the stack guard when using custom coredump stack (backport v5.2)
See merge request espressif/esp-idf!29525
2024-04-01 12:05:21 +08:00
xiongweichao
dfeeaf386e
fix(bt/bluedorid): Fixed crash caused by using illegal pointer
2024-04-01 11:33:23 +08:00
xiongweichao
2da016575f
fix(bt/bluedorid): Fixed no event when removing an invalid SDP record
2024-04-01 11:33:17 +08:00
Cao Sen Miao
ae94c0134b
fix(i2c_master): Fix issue that i2c clock got wrong after reset,
...
Closes https://github.com/espressif/esp-idf/issues/13397
2024-04-01 10:55:39 +08:00
Omar Chebib
0f852fcd5f
fix(espcoredump): Reconfigure the stack guard when using custom coredump stack
2024-04-01 10:53:13 +08:00
Cao Sen Miao
2291ded9a1
fix(i2c): Use hardware fsm reset on esp32c6/h2/p4
2024-04-01 10:15:50 +08:00
Cao Sen Miao
90afc33cd8
fix(i2c_master): Fix issue that initialize esp32 and using i2c_master_probe issue,
...
and probe might failed.
Fixed I2C cannot return err code when nack detected
Closes https://github.com/espressif/esp-idf/issues/13213 ,
Closes https://github.com/espressif/esp-idf/issues/12929 ,
Closes https://github.com/espressif/esp-idf/issues/13398 ,
2024-04-01 10:15:47 +08:00
Cao Sen Miao
8567102be4
fix(i2c_master): Fix issue that use callback may cause memory leak,
...
Closes https://github.com/espressif/esp-idf/issues/12878
2024-04-01 10:15:45 +08:00
Cao Sen Miao
f93ebedcb6
fix(i2c): Fix I2C synchronous transaction cost so much CPU source,
...
Closes https://github.com/espressif/esp-idf/issues/13137 ,
Closes https://github.com/espressif/esp-idf/pull/13322
2024-04-01 10:15:42 +08:00
Eric Wheeler
27690e0990
fix(i2c_master): fix deadlock on s_i2c_transaction_start failure
...
As pointed out in PR #13134 by @MatthiasKunnen, there is a deadlock in
`s_i2c_synchronous_transaction()` if `s_i2c_transaction_start()` should fail
because, on error, s_i2c_synchronous_transaction() returns before releasing the
lock.
This commit fixes the deadlock without any other changes.
Closes : #13387
Signed-off-by: Eric Wheeler <esp-idf@z.ewheeler.org>
2024-04-01 10:15:39 +08:00
Darian Leung
31883c9a64
feat(freertos): Add application task tag support
...
This commit enables support for application task tag.
- Added CONFIG_FREERTOS_USE_APPLICATION_TASK_TAG option
- Added basic unit test
2024-03-30 17:44:38 +08:00
Konstantin Kondrashov
8efe72379d
fix(log): Fix wrap-around of cache generation counter
...
Closes https://github.com/espressif/esp-idf/issues/6516
2024-03-29 17:31:47 +03:00
jgujarathi
2417ffe69e
fix(rsnxe): Expands maximum size of RSNXE IE to 255
...
- Allows for RSNXE IE to be processed as a variable length upto
255 bytes, changing the earlier max of 20.
2024-03-29 18:22:19 +05:30
Jiang Jiang Jian
afa39b0d02
Merge branch 'feature/sae_pk_transition_disable_v5.2' into 'release/v5.2'
...
feat(esp_wifi): Add support for WPA3 transition disable and more updates (Backport v5.2)
See merge request espressif/esp-idf!29885
2024-03-29 17:50:32 +08:00
Rahul Tank
064df2a1fa
Merge branch 'bugfix/add_peer_addr_field_for_ext_v5.2' into 'release/v5.2'
...
fix(nimble): Correctly handle auto connection flag for extended connect (v5.2)
See merge request espressif/esp-idf!29785
2024-03-28 16:41:10 +08:00
Sarvesh Bodakhe
8e694cddcc
feat(esp_wifi): Add support for WPA3 transition disable and more updates
...
1. Add support for SAE-PK and WPA3-Enterprise transition disable
2. Add support to handle OWE transition disable indication from AP
2. Update Wi-Fi WPA3 authmodes as per WPA Specification v3.3:
- Merge 'WIFI_AUTH_WPA3_EXT_PSK' and 'WIFI_AUTH_WPA3_EXT_PSK_MIXED_MODE'
into 'WIFI_AUTH_WPA3_PSK' as per specification.
4. refactor: Backport common changes in scan/connect path from 90cc6158
- 90cc6158
adds support for Network Introduction Protocl in DPP
2024-03-28 11:38:45 +05:30
linruihao
b86dd75df5
fix(bt): fixed cmakelist error on c2
...
Closes https://github.com/espressif/esp-idf/issues/13451
2024-03-28 12:06:26 +08:00
Jin Cheng
7c15d88e75
change(bt/bluedroid): Use BTC util to convert HCI status to ESP status
2024-03-28 10:18:11 +08:00
Konstantin Kondrashov
b531376a62
fix(esp_timer): Force to go light sleep ignoring ESP_ERR_SLEEP_REJECT
2024-03-27 18:22:48 +02:00
Ondrej Kosta
2ffeffddc6
ci(esp_eth): increased L2 test wait for connection timeout
2024-03-27 12:59:41 +01:00
Jiang Jiang Jian
9da552c409
Merge branch 'feature/refactor_ftm_code_v5.2' into 'release/v5.2'
...
Refactor and improve FTM code (Backport v5.2)
See merge request espressif/esp-idf!29843
2024-03-27 10:34:13 +08:00
Jiang Jiang Jian
ac44663186
Merge branch 'bugfix/dpp_auth_deinit_crash_v52' into 'release/v5.2'
...
Ensure dpp auth structure is deinited in dpp task context(v5.2)
See merge request espressif/esp-idf!29838
2024-03-27 10:20:17 +08:00
Nachiket Kukade
413bcd8fcd
feat(esp_wifi): Refactor and improve FTM code
...
Enable FTM Responder mode for ESP32C6. Update wifi libs with below -
1. Break FTM State Machine code into separate functions
2. Use dynamic allocation for FTM session to save memory
3. Add API to get FTM report instead of event based mechanism
4. Add FTM Request retry and comeback support
2024-03-26 18:00:10 +05:30
Aditya Patwardhan
fcb76f0671
Merge branch 'bugfix/update_disabling_hmac_jtag_method_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): update hmac toggle method due to discrepency in ROM code (v5.2)
See merge request espressif/esp-idf!29529
2024-03-26 17:29:07 +08:00
nilesh.kale
120cb89c56
fix(esp_hw_support): update hmac toggle method due to discrepency in ROM code
...
Need to update the HMAC enable/disable method due to discrepancy in ROM code
across different targets for the esp_hmac_disable() API.
2024-03-26 13:22:22 +05:30
jgujarathi
6115e2500a
fix(wpa_supplicant): Cancel offchannel listen operations before sending dpp fail
...
- Ensure that offchannel listening operations are cancelled before sending dpp
fail events
2024-03-26 10:04:13 +05:30
jgujarathi
1830bc4d29
fix(wpa_supplicant): Ensure dpp auth structure is deinited in dpp task context
...
- Ensure that the dpp auth data gets deinited only in DPP task context to ensure
that there are no concurrency issues in usage of DPP auth data.
2024-03-26 10:04:06 +05:30
Jiang Guang Ming
1be59d080a
fix(esp_rom): Update esp32p4lp rom ld files
2024-03-26 11:19:36 +08:00
Jiang Jiang Jian
93f7ae7f7f
Merge branch 'bugfix/wps_crash_issue_v5.2' into 'release/v5.2'
...
fix(wpa_supplicant): Avoid dereferencing a dangling function pointer in WPS (Backport v5.2)
See merge request espressif/esp-idf!29735
2024-03-26 10:51:58 +08:00
Jiang Jiang Jian
fc56156013
Merge branch 'bugfix/fixed_some_wifi_bugs_240325_v5.2' into 'release/v5.2'
...
fix(wifi): fix some wifi bugs 230325(Backport v5.2)
See merge request espressif/esp-idf!29826
2024-03-26 10:37:50 +08:00
Marius Vikhammer
b3a1ec3ac0
Merge branch 'bugfix/add_unaligned_check_to_mysnc_api_v5.2' into 'release/v5.2'
...
cache: add unaligned check to mysnc api (v5.2)
See merge request espressif/esp-idf!29817
2024-03-26 09:28:20 +08:00
Marius Vikhammer
8c5ccece57
Merge branch 'fix/freertos_task_c_add_coverity_fix_v5.2' into 'release/v5.2'
...
fix(freertos): Fixed an issue where accessing task lists could overrun memory (v5.2)
See merge request espressif/esp-idf!29757
2024-03-25 20:57:56 +08:00
muhaidong
5f32741958
fix(wifi): fix some wifi bugs 230325
...
1. limit the number of sub amsdu
2. fix recycle cache sub amsdu eb issue
3. update api esp_wifi_sta_get_rssi docs
2024-03-25 20:36:50 +08:00
Jiang Jiang Jian
ed57048579
Merge branch 'bugfix/fix_some_wifi_coexist_issue_v5.2' into 'release/v5.2'
...
bugfix/fix some wifi coexist issue v5.2
See merge request espressif/esp-idf!29750
2024-03-25 17:53:24 +08:00
Armando
b4a8bd2040
bugfix(cache): don't allow M2C direction ESP_CACHE_MSYNC_FLAG_UNALIGNED
2024-03-25 16:06:44 +08:00
Island
358c9ad946
Merge branch 'bugfix/BT-3491_v5.2' into 'release/v5.2'
...
bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have...(v5.2)
See merge request espressif/esp-idf!28049
2024-03-25 12:12:38 +08:00
Island
d411856956
Merge branch 'bugfix/IDFGH-11775_v5.2' into 'release/v5.2'
...
bugfix(ble_mesh): fix NRF mesh(android) provisioning node failed(v5.2)
See merge request espressif/esp-idf!29739
2024-03-25 12:11:57 +08:00
liuning
f0e97da81e
feat(coex): support to scan long time on channel, fix coexist sync issue
2024-03-25 11:52:50 +08:00
luoxu
c710a583bb
fix(ble_mesh): Free segment tx buffers on tx reset for SAR enhancement
...
Closes: https://github.com/espressif/esp-idf/issues/13384
2024-03-24 17:35:24 +08:00
luoxu
54a38a87e2
fix(ble_mesh): fix NRF mesh(android) provisioning node failed
...
Closes: https://github.com/espressif/esp-idf/issues/12871
2024-03-22 12:22:13 +08:00
Rahul Tank
7310ab3589
fix(nimble): Handle auto connection flag for extended connect
2024-03-21 14:50:39 +05:30
Jakob Hasse
4652a99e92
fix(log): Fixed incorrect argument type in hexdump log functions
...
Closes https://github.com/espressif/esp-idf/issues/13347
Thanks @matthew-8925
2024-03-21 15:10:53 +08:00
Mahavir Jain
3c8b37087b
Merge branch 'bugfix/esp_app_format_missing' into 'release/v5.2'
...
fix(esp_system): Fix build when ANTI_ROLLBACK=y and PANIC_SILENT_REBOOT=y
See merge request espressif/esp-idf!29770
2024-03-21 13:51:16 +08:00
Darshan Dobariya
c1c41a30ea
fix(nimble): Added support for deleting the oldest bonded device across reboot (v5.2)
2024-03-21 09:37:35 +05:30
wangjialiang
436e3d3345
update invalid links in the ble mesh example documentation
2024-03-21 11:07:02 +08:00
luoxu
f5777749dc
bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have already left the network.
2024-03-21 11:07:02 +08:00
morris
4fe7b96e76
Merge branch 'feature/parlio_tx_nonblock_queue_v5.2' into 'release/v5.2'
...
feat(parlio_tx): support non-blocking transaction queue (v5.2)
See merge request espressif/esp-idf!29720
2024-03-21 10:06:59 +08:00
Konstantin Kondrashov
00f2e33008
fix(esp_system): Fix build when ANTI_ROLLBACK=y and PANIC_SILENT_REBOOT=y
...
Fix a case when two options are set as
CONFIG_BOOTLOADER_APP_ANTI_ROLLBACK=y
CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT=y
Closes https://github.com/espressif/esp-idf/issues/13417
2024-03-20 22:08:47 +02:00
Roshan Bangar
24e0a124a8
fix(nimble): Fix compilation issues and Minor enhancements to esp_hid
2024-03-20 13:34:19 +05:30
Rahul Tank
ec7e307a18
Merge branch 'bugfix/compilation_issue_on_disabling_security_v5.2' into 'release/v5.2'
...
fix(nimble): Fixed compilation issues on disabling security (v5.2)
See merge request espressif/esp-idf!29697
2024-03-20 16:00:48 +08:00
Sudeep Mohanty
b32d47ab98
fix(freertos): Fixed an issue where accessing task lists could overrun memory
...
This commit fixes a potential issue of illegal memory access when
accessing the various task lists in FreeRTOS while fetching tasks using
the xTaskGetNext() function.
2024-03-20 08:57:02 +01:00
Martin Vychodil
4005c24ce1
Merge branch 'fix/wl_fatfsgen_safe_mode_v5.2' into 'release/v5.2'
...
fix(storage/fatfs): make wl_fatfsgen.py safe mode aware (v5.2)
See merge request espressif/esp-idf!29728
2024-03-20 15:16:27 +08:00
Sarvesh Bodakhe
691997af91
fix(wpa_supplicant): Improve execution flow for WPS registrar public APIs
...
Make sure that WPS registrar public APIs do not modify supplicant
data in application task context. Execute API functionlity in eloop
context to prevent protential race conditions.
2024-03-20 11:07:43 +05:30
liuning
58dffd9b3c
feat(coex): improve Wi-Fi connecting compatibility at coexistence
2024-03-19 21:20:29 +08:00
Roshan Bangar
d23ef4c6bd
fix(nimble): Fixed compilation issues on disabling security
2024-03-19 15:20:19 +05:30
Sarvesh Bodakhe
34a26ed632
fix(wifi): Avoid dereferencing a dangling function pointer in WPS supplicant
...
Avoid dereferencing a dangling function pointer in 'eap_server_sm_deinit()'.
This issue arises when hostap unregisteres EAP methods before it removes
the server state machine for station.
2024-03-19 14:51:14 +05:30
Tomáš Rohlínek
c51b2fb75f
fix(storage/fatfs): make wl_fatfsgen.py safe mode aware
2024-03-19 09:29:10 +01:00
Shreyas Sheth
dd1265845f
fix(wifi): Fix wpa3 crash for station added without sta lock
2024-03-19 14:37:32 +08:00
morris
1008091a74
feat(parlio_tx): support non-blocking transaction queue
2024-03-19 12:06:44 +08:00
Jiang Jiang Jian
e759833c44
Merge branch 'bugfix/cve-2023-52160_v5.2' into 'release/v5.2'
...
fix(wpa_supplicant): (PEAP client) Update Phase 2 auth requirements (v5.2)
See merge request espressif/esp-idf!29675
2024-03-18 11:29:31 +08:00
Jiang Jiang Jian
f2e1c06b0c
Merge branch 'bugfix/make_coexist_callback_safe_v5.2' into 'release/v5.2'
...
fix(bt/controller): Fixed some bugs in esp32 bt controller (v5.2)
See merge request espressif/esp-idf!29682
2024-03-18 11:29:15 +08:00
linruihao
e416552e46
fix(bt/controller): Fixed some bugs in esp32 bt controller
...
1. fixed crash issue in coexist callback
2. fixed wrong LMP message send when expect peer device increase tx power to max
2024-03-15 19:08:45 +08:00
Sudeep Mohanty
bc310e088b
fix(freertos): Updated dependency list for CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER option
...
This commit updates the dependency for
CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER to be dependent explicitly on
CONFIG_ESP_SYSTEM_PANIC_GDBSTUB or CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME
instead of CONFIG_ESP_GDBSTUB_ENABLED which caused FreeRTOS Task
Function Wrappers to be enabled even if the esp_gdbstub component was
part of the build.
2024-03-15 10:54:25 +01:00
Kapil Gupta
b761052e6b
fix(wpa_supplicant): (PEAP client) Update Phase 2 auth requirements
...
The previous PEAP client behavior allowed the server to skip Phase 2
authentication with the expectation that the server was authenticated
during Phase 1 through TLS server certificate validation. Various PEAP
specifications are not exactly clear on what the behavior on this front
is supposed to be and as such, this ended up being more flexible than
the TTLS/FAST/TEAP cases. However, this is not really ideal when
unfortunately common misconfiguration of PEAP is used in deployed
devices where the server trust root (ca_cert) is not configured or the
user has an easy option for allowing this validation step to be skipped.
Change the default PEAP client behavior to be to require Phase 2
authentication to be successfully completed for cases where TLS session
resumption is not used and the client certificate has not been
configured. Those two exceptions are the main cases where a deployed
authentication server might skip Phase 2 and as such, where a more
strict default behavior could result in undesired interoperability
issues. Requiring Phase 2 authentication will end up disabling TLS
session resumption automatically to avoid interoperability issues.
Allow Phase 2 authentication behavior to be configured with a new phase1
configuration parameter option:
'phase2_auth' option can be used to control Phase 2 (i.e., within TLS
tunnel) behavior for PEAP:
* 0 = do not require Phase 2 authentication
* 1 = require Phase 2 authentication when client certificate
(private_key/client_cert) is no used and TLS session resumption was
not used (default)
* 2 = require Phase 2 authentication in all cases
2024-03-15 13:21:59 +05:30
Jiang Jiang Jian
08299f5f9b
Merge branch 'bugfix/fix_maximum_value_of_config_rtc_clk_cal_cycles_bug_v5.2' into 'release/v5.2'
...
ESP All Chip: fixed the maximum value of config RTC_CLK_CAL_SYCLES bug (v5.2)
See merge request espressif/esp-idf!29648
2024-03-15 11:10:38 +08:00
Jiang Jiang Jian
9beb67dedf
Merge branch 'bugfix/fix_s3_bbpll_cali_fail_bug_v5.2' into 'release/v5.2'
...
fix: fix s3 bbpll calibration fail bug (v5.2)
See merge request espressif/esp-idf!29644
2024-03-15 11:10:11 +08:00
Jiang Jiang Jian
80cfe30b29
Merge branch 'bugfix/fix_fastmem_slowmem_lost_data_bug_v5.2' into 'release/v5.2'
...
[C3/S3]Fix sleep fast_mem & slow_mem may lost bug (v5.2)
See merge request espressif/esp-idf!29640
2024-03-15 11:09:38 +08:00
Marius Vikhammer
85ac17e5ba
Merge branch 'bugfix/rom_systimer_config_v5.2' into 'release/v5.2'
...
fix(rom): fixed systimer always using ROM implementation (v5.2)
See merge request espressif/esp-idf!29605
2024-03-15 10:09:52 +08:00
Xu Si Yu
698a7705b8
fix(vfs): fix eventfd select
2024-03-14 17:20:31 +08:00
zwx
298682913c
fix(openthread): using atomic variable for buffer count
2024-03-14 17:20:26 +08:00
Jiang Jiang Jian
22c682b52e
Merge branch 'feat/move_ag_cb_malloc_to_btc_v5.2' into 'release/v5.2'
...
feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module (v5.2)
See merge request espressif/esp-idf!29631
2024-03-14 17:02:20 +08:00
hongshuqing
7771d72d7c
fix: fix_maximum_value_of_config_rtc_clk_cal_cycle_bug
2024-03-14 16:11:20 +08:00
hongshuqing
4200246df3
fix: fix s3 bbpll cali fail bug
2024-03-14 15:45:31 +08:00
chaijie@espressif.com
c7660fe26d
fix: fix sleep fast_mem & slow_mem may lost bug
2024-03-14 15:03:41 +08:00
Jiang Jiang Jian
bc26c82f01
Merge branch 'bugfix/fix_phy_pll_track_corner_case_backport_52' into 'release/v5.2'
...
fix(phy): fix pll track when enabling and disabling PHY frequently(Backport v5.2)
See merge request espressif/esp-idf!29388
2024-03-14 14:15:01 +08:00
Jiang Jiang Jian
bd55386769
Merge branch 'bugfix/fix_the_spiram_malloc_issue_in_wifi_mesh_v5.2' into 'release/v5.2'
...
fix(wifi): fixed the spiram malloc issue in wifi mesh (v5.2)
See merge request espressif/esp-idf!29629
2024-03-14 13:55:42 +08:00
Jin Cheng
85403d2e5e
feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module
2024-03-14 10:52:27 +08:00
morris
48944645f1
Merge branch 'bugfix/flash_mxic_chip_v5.2' into 'release/v5.2'
...
fix(spi_flash): Fix MXIC chip flash size detected wrong (backport v5.2)
See merge request espressif/esp-idf!29610
2024-03-14 10:45:13 +08:00
zhangyanjiao
1a4234c0e1
fix(wifi): fixed the spiram malloc issue in wifi mesh
...
Closes https://github.com/espressif/esp-idf/issues/13285
2024-03-14 10:28:32 +08:00
Mahavir Jain
9c49c40daa
Merge branch 'fix/aes_gcm_coverity_reports_v5.2' into 'release/v5.2'
...
fix(mbedtls/aes-gcm): Fix null pointer derefernce coverity reports (v5.2)
See merge request espressif/esp-idf!29577
2024-03-13 21:17:48 +08:00
Cao Sen Miao
ac2d88912d
fix(spi_flash): Fix MXIC chip flash size detected wrong,
...
Closes https://github.com/espressif/esp-idf/issues/12222
2024-03-13 18:44:24 +08:00
Marius Vikhammer
387f48aa9a
fix(rom): fixed systimer always using ROM implementation
2024-03-13 17:25:39 +08:00
harshal.patil
c97d3aed45
fix(mbedtls/aes-gcm): Fix null pointer derefernce coverity reports
...
- Also fixed a tcp_transport report
2024-03-13 11:42:03 +05:30
Island
1097ed0fcf
Merge branch 'bugfix/ble_update_lib_20240306_v5.2' into 'release/v5.2'
...
update lib on release/v5.2
See merge request espressif/esp-idf!29437
2024-03-13 14:02:33 +08:00
Rahul Tank
69dc6f386c
Merge branch 'bugfix/reconnect_host_based_v5.2' into 'release/v5.2'
...
fix(nimble): Added ble_host_rpa_enabled flag for address resoultion for esp32 (v5.2)
See merge request espressif/esp-idf!29569
2024-03-13 12:25:29 +08:00
Marius Vikhammer
2456b833b5
Merge branch 'docs/esp_event_doc_fix_v5.2' into 'release/v5.2'
...
docs(esp_event): Fixed mistake in API docs (v5.2)
See merge request espressif/esp-idf!29563
2024-03-13 11:21:30 +08:00
zwl
a72d10a4e2
ble(update):
...
Update h2 lib to d0218de8
Update c6 lib to d0218de8
2024-03-13 10:33:23 +08:00
Darshan Dobariya
4d4d86be51
fix(nimble): Added ble_host_rpa_enabled flag for address resoultion for esp32
2024-03-12 16:33:46 +05:30
Rahul Tank
464a62b516
Merge branch 'bugfix/fix_strict_prototype_hid_v5.2' into 'release/v5.2'
...
fix(nimble): Address compilation errors when strict-prototype is enabled (v5.2)
See merge request espressif/esp-idf!29540
2024-03-12 18:50:57 +08:00
Jiang Jiang Jian
1d526b4d10
Merge branch 'coredump_refactoring_v5.2' into 'release/v5.2'
...
Coredump refactoring (v5.2)
See merge request espressif/esp-idf!29501
2024-03-12 10:58:07 +08:00
Jiang Jiang Jian
daa6a0d5c2
Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.2' into 'release/v5.2'
...
Fixed some BLE bugs 2403 (backport v5.2)
See merge request espressif/esp-idf!29465
2024-03-12 10:53:56 +08:00
Jakob Hasse
8cc9921651
docs(esp_event): Fixed mistake in API docs
...
Closes https://github.com/espressif/esp-idf/issues/13346
2024-03-12 10:33:04 +08:00
Rahul Tank
74e4fbba06
fix(nimble): Address compilation errors when strict-prototype is enabled
2024-03-11 13:50:25 +05:30
Jiang Jiang Jian
2d818bbfe5
Merge branch 'docs/rf_coexistence_api_guides_support_esp32c2_v5.2' into 'release/v5.2'
...
Docs: RF coexistence api guides support esp32c2 (v5.2)
See merge request espressif/esp-idf!29213
2024-03-11 10:40:40 +08:00
Jiang Jiang Jian
20762c4524
Merge branch 'pytest/support_io_wakeup_test_v5.2' into 'release/v5.2'
...
Pytest/support io wakeup test (backport v5.2)
See merge request espressif/esp-idf!28657
2024-03-11 10:39:22 +08:00
Jiang Jiang Jian
78d9e6390d
Merge branch 'bugfix/fix_sleep_cache_safe_assertion_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): fix cache safe check function (v5.2)
See merge request espressif/esp-idf!29247
2024-03-11 10:38:26 +08:00
Jiang Jiang Jian
4024dce2b4
Merge branch 'bugfix/ip101_reset_timing_v5.2' into 'release/v5.2'
...
fix(esp_eth): ip101-specific reset_hw to match reset timings from datasheet (v5.2)
See merge request espressif/esp-idf!29011
2024-03-11 10:37:03 +08:00
Jiang Jiang Jian
54ca68e79f
Merge branch 'feature/mmd_access_v5.2' into 'release/v5.2'
...
esp_eth: Add functions to access PHY using MDIO (v5.2)
See merge request espressif/esp-idf!28839
2024-03-11 10:36:51 +08:00
Jiang Jiang Jian
afe0e318c1
Merge branch 'bugfix/nvs_lock_initi_and_multipage_blob_v5.2' into 'release/v5.2'
...
Bugfix/nvs Improved handling of BLOB during unreliable power environment and concurrent data access scenarios (v5.2)
See merge request espressif/esp-idf!29320
2024-03-11 10:32:21 +08:00
Jiang Jiang Jian
f2da2e8b77
Merge branch 'bugfix/eth_link_reset_v5.2' into 'release/v5.2'
...
fix(esp_eth): Fixed Ethernet link reset when Ethernet is stopped (v5.2)
See merge request espressif/esp-idf!29328
2024-03-11 10:31:09 +08:00
Jiang Jiang Jian
0a83a253ca
Merge branch 'bugfix/sdspi_acmd41_arg_v5.2' into 'release/v5.2'
...
fix(sdmmc): fixes for card initialization (ACMD41) (v5.2)
See merge request espressif/esp-idf!29376
2024-03-11 10:30:52 +08:00
zwx
9da4043cba
fix(phy): fix pll track when enabling and disabling PHY frequently
2024-03-11 10:30:22 +08:00
Jiang Jiang Jian
2ac4df6e47
Merge branch 'feat/newlib-add-aligned-alloc_v5.2' into 'release/v5.2'
...
feat(newlib): Add definition of aligned_alloc to heap.c (backport v5.2)
See merge request espressif/esp-idf!29470
2024-03-11 10:23:23 +08:00
Jiang Jiang Jian
a15fd9846b
Merge branch 'fix/bbpll_usb_link_error_backport5.2' into 'release/v5.2'
...
fix(esp_phy): Allow WiFi/USB interference workaround option only on supported targets (backport v5.2)
See merge request espressif/esp-idf!29481
2024-03-11 10:22:26 +08:00
zhanghaipeng
c2b4a872cb
fix(ble/bluedroid): Fixed BLE crash when repeatedly initialize and deinitialize host
2024-03-10 20:01:04 +08:00
zhanghaipeng
8bab1037bb
fix(ble/bluedroid): Fixed BLE BLE periodic advertising parameter check
2024-03-10 20:00:49 +08:00
Mahavir Jain
bf17be96b4
Merge branch 'fix/support_gcm_soft_fallback_for_non_aes_ciphers_v5.2' into 'release/v5.2'
...
fix(mbedtls/gcm): Add support for software fallback for non-AES ciphers in a GCM operation (v5.2)
See merge request espressif/esp-idf!29250
2024-03-08 22:51:58 +08:00
Rahul Tank
259e2ba975
Merge branch 'bugfix/expose_baud_rate_in_menu_v5.2' into 'release/v5.2'
...
fix(nimble): Exposed the baud rate for hci uart in menuconfig (v5.2)
See merge request espressif/esp-idf!29488
2024-03-08 22:51:30 +08:00
Rahul Tank
1f8e365608
Merge branch 'bugfix/gap_connect_failed_with_0x0d_v5.2' into 'release/v5.2'
...
fix(nimble): Revise the help section for the Kconfig macro BLE_RPA_TIMEOUT (v5.2)
See merge request espressif/esp-idf!29492
2024-03-08 22:43:42 +08:00
radek.tandler
36092067a0
fix(nvs): Fixed Page::findItem performance degradation caused by wrong condition before hash map use
...
The condition enabling use of hash map when page is searched for Item was modified
to correct the bug introduced by commit addressing delete of any BLOB_INDEX Items.
This correction returns the performance of findItem to the state before previous change.
2024-03-08 12:57:58 +01:00
Rahul Tank
61f8f1905f
Merge branch 'feat/read_multiple_variable_length_v5.2' into 'release/v5.2'
...
feat(nimble): read multiple variable length characteristics (v5.2)
See merge request espressif/esp-idf!29128
2024-03-08 19:40:21 +08:00
Island
35630f5e52
Merge branch 'bugfix/fix_ble_max_reconnect_v5.2' into 'release/v5.2'
...
fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration(backport v5.2)
See merge request espressif/esp-idf!29224
2024-03-08 16:48:22 +08:00
Erhan Kurubas
ba28b5a599
refactor(espcoredump): simplify uart/flash write flow
2024-03-08 09:28:07 +01:00
Erhan Kurubas
4544d37078
refactor(espcoredump): replace uart and flash callbacks with aliases
2024-03-08 09:16:11 +01:00
Erhan Kurubas
0077c1234f
refactor(espcoredump): keep checksum context in coredump stack
2024-03-08 09:12:09 +01:00
Guillaume Souchere
2fe12978a0
feat(newlib): Add definition of aligned_alloc to heap.c
...
Add the definition of aligned_alloc to the list of
definitions provided by heap.c.
Note that memalign (strictly equivalent) to aligned_alloc
is already defined in heap.c.
2024-03-08 07:48:34 +01:00
Abhinav Kudnar
756efd4829
fix(nimble): Revise the help section for the Kconfig macro BLE_RPA_TIMEOUT
2024-03-08 11:35:34 +05:30
Roshan Bangar
d1ee48208f
fix(nimble): Exposed the baud rate for hci uart in menuconfig
2024-03-08 10:26:45 +05:30
Marius Vikhammer
9e5c30baff
Merge branch 'bugfix/reset_reasons_v5.2' into 'release/v5.2'
...
Update reset reasons for C6, H2, P4 and C5 (v5.2)
See merge request espressif/esp-idf!29180
2024-03-08 09:42:36 +08:00
Marius Vikhammer
028093efe6
Merge branch 'fix/esp_system_requires_esp_gdbstub_v5.2' into 'release/v5.2'
...
fix(esp_system): Updated the CMakeLists.txt to add requirement for esp_gdbstub component (v5.2)
See merge request espressif/esp-idf!29473
2024-03-08 09:18:52 +08:00
Sumeet Singh
e5665a198a
feat(nimble): read multiple variable length characteristics (v5.2)
2024-03-07 19:48:21 +05:30
Rahul Tank
deacd79736
Merge branch 'bugfix/handle_callout_free_in_deinit_v5.2' into 'release/v5.2'
...
fix(nimble): Handle memory leak in callout deinit (v5.2)
See merge request espressif/esp-idf!29459
2024-03-07 22:02:25 +08:00
Rahul Tank
d9be451649
Merge branch 'bugfix/add_esp_timer_get_expiry_time_v5.2' into 'release/v5.2'
...
fix(nimble): Add support for esp_timer_get_expiry_time to nimble porting layer (v5.2)
See merge request espressif/esp-idf!29462
2024-03-07 21:49:00 +08:00
Tomas Rezucha
bbb549c830
fix(esp_phy): Allow WiFi/USB interference workaround option only on supported targets
...
"Enable USB when phy init" Kconfig option would call esp_phy function
`phy_bbpll_en_usb()` that is not implemented for all targets.
Selecting this option for unsupported target results in linking error.
The necessity of this workaround is now defined soc_caps.h rather than
in the Kconfig.
Closes https://github.com/espressif/esp-idf/issues/12185
2024-03-07 12:47:39 +01:00
Sudeep Mohanty
33271be13b
fix(esp_system): Updated the conditions for the GDBStub on Panic Kconfig option
...
This commit updates the Panic handler behavior Kconfig setting to make
the GDBStub on Panic (CONFIG_ESP_SYSTEM_PANIC_GDBSTUB) option to be only
available when esp_gdbstub is part of the component list of the build.
Closes https://github.com/espressif/esp-idf/issues/13218
2024-03-07 09:29:28 +01:00
Shu Chen
6c1542e151
Merge branch 'fix/openthread_alarm_timer_overflow_v5.2' into 'release/v5.2'
...
fix(openthread): fix openthread_alarm_timer_overflow (backport v5.2)
See merge request espressif/esp-idf!29390
2024-03-07 15:09:03 +08:00
Rahul Tank
9682d3b355
fix(nimble): Add support for esp_timer_get_expiry_time to nimble porting layer
2024-03-07 11:23:22 +05:30
Rahul Tank
2476315a3b
fix(nimble): Handle memory leak in callout deinit
2024-03-07 11:14:40 +05:30
chenjianhua
4ff5528a23
feat(bt/bluedroid): Add ext adv and privacy status check
2024-03-07 12:31:42 +08:00
thekurtovic
d406bf02b5
fix(bt/bluedroid): Fixed "reprot" typo in esp_ble_gap_ext_adv_reprot_t
2024-03-07 12:31:36 +08:00
Joshua
cb8a1eb219
fix(bt/blufi): Fixed BluFi module link error(C++ hybrid compilation)
2024-03-07 12:31:25 +08:00
chenjianhua
94c0684fdb
fix(bt/bluedroid): Fixed crash when calculating GATTS database hash
2024-03-07 12:31:19 +08:00
chenjianhua
9cc713cd06
fix(bt): Update bt lib for ESP32(5ea2fca)
...
- Fixed HCI command status event sending for disconnect command
- Fixed LE transmitter test command param check
2024-03-07 12:30:57 +08:00
Jin Cheng
e852e0a106
fix(bt/controller): Fixed 3 esp32 bt controller bugs
...
update esp32 bt-lib (952debf4)
1. Increased the length of queue for coexist requestions
2. fix(bt/controller): Cleared BT SNIFF when no connections exists
3. fix(bt/controller): Corrected a typo in coex module
2024-03-07 12:30:41 +08:00
chenjianhua
15fe8086ee
fix(bt): Update bt lib for ESP32(2de69f3)
...
- Fixed HCI command status event send when LLCP busy
2024-03-07 12:29:41 +08:00
Rahul Tank
391c3a1ce9
Merge branch 'bugfix/addr_resol_for_esp32_v5.2' into 'release/v5.2'
...
fix(nimble): Added the check to prevent address resolution in case of identity addr for esp32(v5.2)
See merge request espressif/esp-idf!29333
2024-03-07 11:52:39 +08:00
Wang Meng Yang
dd70bf2f0a
Merge branch 'change/reduce_usage_of_iram_when_bt_in_single_mode_v5.2' into 'release/v5.2'
...
change(bt/bluedroid): Redirect app functions in controller based on the bluetooth mode(backport v5.2)
See merge request espressif/esp-idf!29225
2024-03-07 11:24:14 +08:00
morris
8bf27c103c
Merge branch 'bugfix/fix_flash_encryption_rom_c3_v5.2' into 'release/v5.2'
...
fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled(backport v5.2)
See merge request espressif/esp-idf!29350
2024-03-07 10:07:25 +08:00
morris
344db9a7e7
Merge branch 'feature/usb_hs_periodic_scheduler_v5.2' into 'release/v5.2'
...
feat(usb/host): Update ISOC scheduler for HS endpoints (backport 5.2)
See merge request espressif/esp-idf!29399
2024-03-07 10:03:20 +08:00
morris
8b99b2deb0
Merge branch 'contrib/github_pr_13025_v5.2' into 'release/v5.2'
...
Missing include for rom/uart.h (GitHub PR) (v5.2)
See merge request espressif/esp-idf!29360
2024-03-07 10:02:45 +08:00
morris
78637971e5
Merge branch 'contrib/github_pr_13294_v5.2' into 'release/v5.2'
...
Flush rgb lcd PSRAM framebuffers after allocation (GitHub PR) (v5.2)
See merge request espressif/esp-idf!29393
2024-03-07 10:02:04 +08:00
morris
6fe8a34ff8
Merge branch 'bugfix/usb_host_usbh_callback_misses_action_v5.2' into 'release/v5.2'
...
fix(usb): Fix bug where usbh_process() misses an event (v5.2)
See merge request espressif/esp-idf!29364
2024-03-07 10:01:51 +08:00
Island
c630c0493a
Merge branch 'bugfix/ble_update_lib_20240223_v5.2' into 'release/v5.2'
...
update lib on release/v5.2
See merge request espressif/esp-idf!29210
2024-03-07 09:42:14 +08:00
Roland Dobai
335b970868
Merge branch 'enable_flash_elf_sha_tests_v5.2' into 'release/v5.2'
...
Enable SHA256 coredump flash integrity verification for all targets (v5.2)
See merge request espressif/esp-idf!29038
2024-03-07 02:51:07 +08:00
Rahul Tank
94bec845ea
Merge branch 'bugfix/increase_reattempt_conn_count_v5.2' into 'release/v5.2'
...
fix(nimble): Increase range of reattempt connection count (v5.2)
See merge request espressif/esp-idf!29340
2024-03-06 22:54:03 +08:00
Abhinav Kudnar
a92b18c37e
fix(nimble): Added check to prevent addr resolution for identity addr
2024-03-06 20:22:15 +05:30
Roland Dobai
c36c0c34a1
Merge branch 'register_gcov_tick_hook_once_v5.2' into 'release/v5.2'
...
fix(gcov): avoid multiple tick hook registration (v5.2)
See merge request espressif/esp-idf!29272
2024-03-06 22:49:33 +08:00
Rahul Tank
c0faa8fa94
Merge branch 'bugfix/move_countv5.2' into 'release/v5.2'
...
fix(nimble): Fix compilation issue in nimble for -O2 flag (v5.2)
See merge request espressif/esp-idf!29072
2024-03-06 22:49:03 +08:00
Marius Vikhammer
9fe886edcd
Merge branch 'bugfix/freertos_tick_hook_build_issue_v5.2' into 'release/v5.2'
...
fix(freertos/idf): Fix build error when CONFIG_FREERTOS_USE_TICK_HOOK is enabled (v5.2)
See merge request espressif/esp-idf!29434
2024-03-06 20:16:22 +08:00
Erhan Kurubas
5ba3b99f2b
feat(coredump): use SHA ROM functions for all targets except ESP32
...
For ESP32, continue using mbedtls due to a required ROM patch for the SHA implementation.
For other targets, we can now leverage the ROM functions.
2024-03-06 13:08:09 +01:00
Marius Vikhammer
57249447a7
Merge branch 'bugfix/esp_intr_free_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): Fix esp_intr_free when task has no core affinity (v5.2)
See merge request espressif/esp-idf!29193
2024-03-06 19:58:30 +08:00
Mahavir Jain
8c6ce09982
Merge branch 'fix/pmp_idcache_reg_prot_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): Fix the I/DCACHE region PMP protection (v5.2)
See merge request espressif/esp-idf!29356
2024-03-06 19:55:11 +08:00
Mahavir Jain
c83dc69938
Merge branch 'refactor/protocomm_public_hdr_v5.2' into 'release/v5.2'
...
refactor(protocomm): Make the protocomm `proto-c` headers public (v5.2)
See merge request espressif/esp-idf!29358
2024-03-06 19:54:25 +08:00
Mahavir Jain
00f130621f
Merge branch 'bugfix/encrypted_flash_write_safe_addr_v5.2' into 'release/v5.2'
...
fix(spi_flash): check for safe write address in encrypted flash API (v5.2)
See merge request espressif/esp-idf!29204
2024-03-06 19:53:53 +08:00
Marius Vikhammer
93ec3acfce
Merge branch 'fix/console_none_build_issues_v5.2' into 'release/v5.2'
...
fix(console): Fix build issues when CONFIG_ESP_CONSOLE_NONE is enabled (v5.2)
See merge request espressif/esp-idf!29338
2024-03-06 19:52:20 +08:00
Marius Vikhammer
eb8e894147
Merge branch 'staging/espcoredump_move_strings_flash_v5.2' into 'release/v5.2'
...
change(espcoredump): save RAM space by placing constants in flash (backport v5.2)
See merge request espressif/esp-idf!29190
2024-03-06 19:51:21 +08:00
Darian Leung
c15484ec58
change(freertos): Test tick and idle hooks in options test
...
Add CONFIG_FREERTOS_USE_TICK_HOOK and CONFIG_FREERTOS_USE_IDLE_HOOK to
sdkconfig.ci.freertos_options to ensure those options are tested.
2024-03-06 13:52:51 +08:00
Darian Leung
e4eaa28b82
fix(freertos/idf): Fix build error when CONFIG_FREERTOS_USE_TICK_HOOK is enabled
...
Closes https://github.com/espressif/esp-idf/issues/13297
2024-03-06 13:52:13 +08:00
Roland Dobai
a322e6bdad
change(version): Update version to 5.2.1
2024-03-05 16:58:26 +01:00
Tomas Rezucha
e3f811b5b8
feat(usb/host): Update ISOC scheduler for HS endpoints
...
USB-OTG uses 'sched_info' field of HCTSIZ register to schedule transactions
in USB microframes.
2024-03-04 10:00:35 +01:00
Markus Ebner
05ff8169f7
fix(esp_lcd): Flush rgb lcd PSRAM framebuffers after allocation
...
Flush PSRAM framebuffers after allocation to avoid visual corruption.
Merges https://github.com/espressif/esp-idf/pull/13294
Closes https://github.com/espressif/esp-idf/issues/13293
2024-03-04 15:55:04 +08:00
xiaqilin
b98b548f01
fix(openthread): fix openthread alarm timer calculation remaining_us overflow issue
2024-03-04 15:14:08 +08:00
Cao Sen Miao
194b616c36
fix(usb_serial_jtag): Fix issue that boot failed on esp32c3,
...
Closes https://github.com/espressif/esp-idf/issues/13197
2024-03-04 10:19:47 +08:00
Ivan Grokhotkov
f8dde8cebf
fix(sdmmc): extend the maximum number of retries of ACMD41
...
According to the application note in SD Card Physical Specification:
> The host shall set ACMD41 timeout more than 1 second to abort repeat
of issuing ACMD41 when the card does not indicate ready. The timeout
count starts from the first ACMD41 which is set voltage window
in the argument.
Previously, the timeout was exactly one second, and this caused
certain larger-capacity cards to "time out", because they couldn't
finish initialization process in time.
2024-03-01 10:49:44 +01:00
Ivan Grokhotkov
516a4ba28d
fix(sdmmc): use correct argument for ACMD41 in SPI mode
...
ACMD41 argument is different between SD mode and SPI mode.
In SPI mode, the only non-zero bit may be the HCS bit. Unlike the SD
mode, the bits reflecting the host's OCR should be zero.
Previously, we used to set these bits the same way as for the SD mode.
This has caused certain cards to fail initializing, apparently their
controllers have checked the ACMD41 argument more strictly and refused
to finish initialization, resulting in an error such as
sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
(Note that this error may have other causes than the one fixed in
this commit. For example, if the card doesn't have a sufficient and
stable power supply, it may also fail to complete the internal
initialization process, and will never clear the busy flag in R1
response.)
Closes https://github.com/espressif/esp-idf/issues/6686
Closes https://github.com/espressif/esp-idf/issues/10542
2024-03-01 10:49:43 +01:00
Ricardo Quesada
206f843e82
fix(uart): add missing include for rom/uart.h
...
Without this include it fails to compile with this error:
```
esp/esp-idf-v5.2/components/esp_rom/include/esp32/rom/uart.h:262:32: error: implicit declaration of function 'UART_STATUS_REG' [-Werror=implicit-function-declaration]
262 | status = READ_PERI_REG(UART_STATUS_REG(uart_no));
```
Merges https://github.com/espressif/esp-idf/pull/13025
2024-03-01 14:36:43 +08:00
Laukik Hase
8582b27f1d
refactor(protocomm): Make the protocomm proto-c
headers public
2024-03-01 10:26:23 +05:30
Laukik Hase
68442ecaa0
refactor(esp_hw_support): Remove redundant PMP entry for ROM region
...
- The ROM text and data sections share the address range
(see SOC_I/DROM_MASK_LOW - SOC_I/DROM_MASK_HIGH).
- Initially, we had two PMP entries for this address range - one marking the
region as RX and the other as R.
- However, the latter entry is redundant as the former locks the PMP settings.
- We can divide the ROM region into text and data sections later when we
define boundaries marking these regions from the ROM.
2024-03-01 10:25:07 +05:30
Laukik Hase
a56fc41215
fix(esp_hw_support): Fix the I/DCACHE region PMP protection
2024-03-01 10:25:07 +05:30
Cao Sen Miao
355df44822
fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled
...
The issue is `esp_flash_write_encryped` function in ROM on ESP32C3, ESP32S3
calls legacy implementation, which uses old configuration. And this causes
write fails.
The solution in this commit is to compile and link this function(and related)
in IRAM instead of the ROM one.
The IRAM cost increases around 1.2KB after the fix
2024-03-01 10:38:27 +08:00
muhaidong
d005e71acd
fix(wifi): fix esp32c2 disconnect reason code wrong issue
2024-02-29 19:21:18 +08:00
Rahul Tank
c410322070
fix(nimble): Increase range of reattempt connection count
2024-02-29 15:57:28 +05:30
Darian Leung
1f73689c50
fix(console): Fix build issues when CONFIG_ESP_CONSOLE_NONE is enabled
...
This commit fixes the following build issues when CONFIG_ESP_CONSOLE_NONE is
enabled:
- esp_console_repl.c will have 'defined but unused' warnings on various console
functions.
- esp_console_repl.c does not use "TAG" when CONFIG_ESP_CONSOLE_NONE is
enabled, leading to a "defined by not used" warning.
Closes https://github.com/espressif/esp-idf/issues/12984
2024-02-29 17:36:41 +08:00
Darian Leung
50282f1e7a
fix(usb): Fix bug where usbh_process() misses an event
...
This commit fixes a bug where if multiple concurrent USBH API calls trigger
multiple events on the same device, some events will be lost. As a result,
those lost events don't get processed by the subsequent usbh_process() call.
2024-02-29 16:02:30 +08:00
Ondrej Kosta
ed304d5173
fix(esp_eth): Fixed Ethernet link reset when Ethernet is stopped
2024-02-28 15:47:56 +01:00
radek.tandler
c4eaf86516
fix(nvs): Improved lockig mechanism for initialization phase
2024-02-28 12:37:21 +01:00
radek.tandler
e51277fbc7
fix(nvs): eraseMultiPageBlob to robustly delete all related BLOB_DATA records and respect VER_ANY
2024-02-28 12:37:21 +01:00
radek.tandler
7938bbf3c0
fix(nvs): corrected findItem to return BLOB_DATA when chunkIndex = CHUNK_ANY
2024-02-28 12:37:21 +01:00
radek.tandler
2fc1fabcee
fix(nvs): added check and erase of mismatched BLOB_DATA on init
2024-02-28 12:37:21 +01:00
Ivan Grokhotkov
4746554954
fix(nvs): prevent out of bounds write if blob data is inconsistent
2024-02-28 12:37:21 +01:00
Erhan Kurubas
1bebd2d8d2
fix(gcov): avoid multiple tick hook registration
2024-02-26 13:56:33 +01:00
wuzhenghui
df6a32f305
fix(esp_hw_support): fix cache safe check function
2024-02-26 17:42:14 +08:00
harshal.patil
0f7c9a29a2
ci(mbedtls/gcm): Added test to verify software fallback for non-AES cipher GCM operations
2024-02-26 14:29:20 +05:30
harshal.patil
ca4f560f2b
fix(mbedtls/gcm): Add support for software fallback for non-AES ciphers in a GCM operation
...
- Even if the config MBEDTLS_HARDWARE_AES is enabled, we now support fallback
to software implementation of GCM operations when non-AES ciphers are used.
2024-02-26 14:29:18 +05:30
gongyantao
c365c5db2a
change(bt/bluedroid): Redirect app functions in controller based on the bluetooth mode
2024-02-23 18:57:53 +08:00
zwl
a055ee6da6
bugfix(ble) : fixed some ble issues on ESP32-C2
2024-02-23 18:02:57 +08:00
linruihao
3d5852131b
fix(esp_coex): add support_coexistence soc_caps for esp32c2 and esp32h2
2024-02-23 16:15:45 +08:00
zhanghaipeng
4521a50db5
fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration
2024-02-23 15:57:45 +08:00
zwl
f04e4f99e6
ble(update):
...
Update c2 lib to 79be7ec9
Update h2 lib to c6f7cb08
Update c6 lib to c6f7cb08
2024-02-23 14:08:03 +08:00
Mahavir Jain
72ba89f191
fix(spi_flash): check for safe write address in encrypted flash API
2024-02-23 12:42:31 +08:00
Jiang Jiang Jian
a328e1a08f
Merge branch 'bugfix/fixed_some_wifi_bugs_240222_v5.2' into 'release/v5.2'
...
fix(wifi): fixed some wifi bugs 240222 v5.2 (Backport v5.2)
See merge request espressif/esp-idf!29185
2024-02-23 00:18:45 +08:00
Darshan Dobariya
80a1f5e18c
fix(nimble): Fix compilation issue in nimble for -O2 flag (v5.2)
2024-02-22 21:36:12 +05:30
Rahul Tank
e573b7cee1
Merge branch 'bugfix/remove_namespace_variable_name_v5.2' into 'release/v5.2'
...
fix(nimble): update variable name to avoid using keyword (v5.2)
See merge request espressif/esp-idf!28973
2024-02-22 23:58:10 +08:00
Lou Tianhao
f0ae83d056
change(pm): use old ext1 api for pytest
2024-02-22 20:06:28 +08:00
Jiang Jiang Jian
8e1cd38970
Merge branch 'c6_auto_dbias_master_hsq_v5.2' into 'release/v5.2'
...
ESP32C6: Active & sleep dbg and dbias get from efuse to fix the voltage (v5.2)
See merge request espressif/esp-idf!28729
2024-02-22 20:04:08 +08:00
KonstantinKondrashov
2f707291eb
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-22 13:00:34 +02:00
Omar Chebib
f10d734f30
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:45:52 +08:00
Jiang Jiang Jian
2fc023ef95
Merge branch 'bugfix/cannot_jump_range_v5.2' into 'release/v5.2'
...
fix(temperature_sensor): Cannot switch the range smmothly on esp32h2(backport v5.2)
See merge request espressif/esp-idf!29152
2024-02-22 16:53:41 +08:00
muhaidong
20a3c78034
fix(wifi): fixed some wifi issues
...
1. fix(wifi/mesh): wait for child disconnect when mesh deinit
2. fix(wifi): fix wifi stop cost too much time
3. fix(clk): clear all lpclk source at clk init
4. fix(wifi): fixed scan and home channel change issues
5. fix(wifi):fix issues that in mplen clear and esp_wifi_set_mode
6. fix(wifi): fix qos encapsulated eapol issue
7. fix(wifi): fixed dhcp offer and dhcp ack data rates
8. fix(wifi): fix lmac_stop_hw_txq issue
2024-02-22 15:36:14 +08:00
Jiang Jiang Jian
3f730f2453
Merge branch 'feature/add_fall_back_dns_config_in_menuconfig_v5.2' into 'release/v5.2'
...
feat(lwip): add fall back dns config in menuconfig (v5.2)
See merge request espressif/esp-idf!29154
2024-02-22 15:21:51 +08:00
muhaidong
1aca617c33
fix(wifi): fix some wifi issues
...
1. fix qos encapsulated eapol issue
2. fixed dhcp offer and dhcp ack data rates
2024-02-22 15:11:10 +08:00
zhangyanjiao
8a6c2fe68f
fix(wifi): fixed scan and home channel change issues
...
1. update scan ap number when clear scan ap records
2. fixed the old_snd filed error in WIFI_EVENT_HOME_CHANNEL_CHANGE event
Closes https://github.com/espressif/esp-idf/issues/13051
2024-02-22 15:09:09 +08:00
liuning
27e3d41026
fix(clk): clear all lpclk source at clk init
2024-02-22 15:07:59 +08:00
hongshuqing
b3a73d5b63
feat(pmu): set fix voltage to different mode for esp32c6
2024-02-22 14:49:01 +08:00
Marius Vikhammer
e930ff0b1f
fix(system): update reset reasons for C6 and H2
2024-02-22 12:37:49 +08:00
Jiang Jiang Jian
77f5391037
Merge branch 'feat/add_test_api_for_sec_v5.2' into 'release/v5.2'
...
Feat/add test api for sec v5.2
See merge request espressif/esp-idf!29169
2024-02-22 12:20:47 +08:00
Jiang Jiang Jian
9dcc8c9e7d
Merge branch 'bugfix/update_spp_doc_v5.2' into 'release/v5.2'
...
docs(bt/bluedroid): update API documents of SPP (v5.2)
See merge request espressif/esp-idf!29170
2024-02-22 12:20:12 +08:00
Jiang Jiang Jian
12ae1c19d2
Merge branch 'bugfix/fix_coex_lib_circular_dependency_v5.2' into 'release/v5.2'
...
fix(esp_coex): fix circular dependency issue on esp32 (v5.2)
See merge request espressif/esp-idf!29155
2024-02-22 11:45:50 +08:00
Island
95b5f1290e
Merge branch 'bugfix/ble_mesh_pb_adv_compile_error_v5.2' into 'release/v5.2'
...
fix(ble_mesh): Fix compiling error when PB-ADV is disabled (v5.2)
See merge request espressif/esp-idf!29151
2024-02-22 11:34:02 +08:00
Jiang Jiang Jian
b0fc0210df
Merge branch 'bugfix/fix_ble_free_all_crash_issue_5.2' into 'release/v5.2'
...
fix(ble): Fixed the free_all crash on esp32c6 and esp32h2
See merge request espressif/esp-idf!29161
2024-02-22 11:33:22 +08:00
Abhik Roy
2d03df48b0
fix(lwip): Fixed debug format, added ci test config
...
Detailed description of the changes:
- lwip_debug: Fixed string format error in ip6 and napt (espressif/esp-lwip@f5c43549 )
- dns: fix init with only ipv4 enabled (espressif/esp-lwip@5aab73d7 )
2024-02-22 11:30:39 +08:00
morris
56c7df9fbd
Merge branch 'feat/usb_host_set_device_config_v5.2' into 'release/v5.2'
...
USB Host: Add enumeration callback filter (backport v5.2)
See merge request espressif/esp-idf!28550
2024-02-22 11:07:43 +08:00
Jiang Jiang Jian
1cd164b8fa
Merge branch 'bugfix/fix_some_wifi_bugs_240221_v5.2' into 'release/v5.2'
...
fix(lwip): fixed some wifi bugs(Backport v5.2)
See merge request espressif/esp-idf!29147
2024-02-22 11:06:56 +08:00
Jiang Jiang Jian
527ce5eb3b
Merge branch 'bugfix/spi_eth_recv_alloc_v5.2' into 'release/v5.2'
...
fix(esp_eth): improved SPI Ethernet _alloc_recv_buf error handling (v5.2)
See merge request espressif/esp-idf!29081
2024-02-22 11:05:26 +08:00
Jiang Jiang Jian
4bf00b2ce2
Merge branch 'bugfix/one_byte_receive_v5.2' into 'release/v5.2'
...
fix(i2c_master): Fix bug on esp32 that read one byte data fails(backport v5.2)
See merge request espressif/esp-idf!28634
2024-02-22 10:57:52 +08:00
Jin Cheng
5b6fbea041
docs(bt/bluedroid): update API documents of SPP
2024-02-22 09:52:53 +08:00
Jin Cheng
7560b70244
feat(bt/bluedroid): Added an event to notify the encryption mode to applicaiton layer
2024-02-22 09:51:48 +08:00
Jin Cheng
fdd1f41836
feat(bt/bluedroid): Added report for the type of link key in ESP_BT_GAP_AUTH_CMPL_EVT
2024-02-22 09:51:48 +08:00
Roland Dobai
61db22a55a
Merge branch 'feature/esp32p4_coredump_support_v5.2' into 'release/v5.2'
...
feat(coredump): add esp32p4 chip support and doc update (v5.2)
See merge request espressif/esp-idf!28391
2024-02-22 02:41:58 +08:00
Rahul Tank
e6d7705a67
fix(nimble): update variable name to avoid using keyword (v5.2)
2024-02-21 23:40:18 +05:30
Rahul Tank
a707ab946f
Merge branch 'bugfix/missing_controller_disabled_guard_v5.2' into 'release/v5.2'
...
fix(nimble): Fixes related to nimble host only (v5.2)
See merge request espressif/esp-idf!29138
2024-02-22 02:08:42 +08:00
Erhan Kurubas
fdc6099961
feat(esp-coredump): add esp32p4 chip support and doc update
2024-02-21 21:26:39 +08:00
Jiang Jiang Jian
34ec96ef23
Merge branch 'feature/spi_eth_no_int_v5.2' into 'release/v5.2'
...
feat(esp_eth): added SPI Ethernet module polling mode (v5.2)
See merge request espressif/esp-idf!29044
2024-02-21 20:43:46 +08:00
Jiang Jiang Jian
6e7029016f
Merge branch 'bugfix/bunch_tsens_v5.2' into 'release/v5.2'
...
fix(temperature_sensor): Fix the value is incorrect if disable and enable again (backport v5.2)
See merge request espressif/esp-idf!28626
2024-02-21 20:33:38 +08:00
Jiang Jiang Jian
001b8ff92d
Merge branch 'fix/fatfs_sdmmc_triming_v5.2' into 'release/v5.2'
...
fix(storage/fatfs): check whether sdcard supports trimming (v5.2)
See merge request espressif/esp-idf!28335
2024-02-21 20:26:22 +08:00
Michael (XIAO Xufeng)
db3aa57a9b
Merge branch 'bugfix/workaround_reset_eof_counter_c3_v5.2' into 'release/v5.2'
...
fix(adc): workaround to fix adc continuous get less results on c3 (v5.2)
See merge request espressif/esp-idf!29136
2024-02-21 20:08:57 +08:00
ShenWeilong
03da41e7d7
fix(ble): Fixed the free_all crash on esp32c6 and esp32h2
2024-02-21 20:05:48 +08:00
Peter Marcisovsky
d786f187e9
feat(us/host): set device cfg during enumeration
...
- user callback funciton to set device configuration
as a part of usb_host_install
- callback provides device descriptor of a device being enumerated
- user can set which cfg descriptor the USB device will be set with
- user can filter device enumeration
- Kconfig menu to enable callback function
- usb_host_lib example demonstration
2024-02-21 12:34:04 +01:00
Roshan Bangar
821185d6ec
fix(nimble): fixed missing controller disabled guard in esp_nimble_deinit
2024-02-21 16:59:58 +05:30
Rahul Tank
9feab17051
Merge branch 'bugfix/signed_write_fix_v5.2' into 'release/v5.2'
...
fix(nimble): message to be signed is corrected in signed write (v5.2)
See merge request espressif/esp-idf!29121
2024-02-21 19:22:00 +08:00
linruihao
b5a2054070
fix(esp_coex): fix circular dependency issue on esp32
...
Closes https://github.com/espressif/esp-idf/issues/13113
2024-02-21 19:14:53 +08:00
xueyunfei
aa21e87cd9
feat(lwip): add fall back dns config in menuconfig
2024-02-21 19:07:01 +08:00
Cao Sen Miao
4df78f9cff
fix(temperature_sensor): Cannot switch the range smmothly on esp32h2
2024-02-21 18:51:29 +08:00
Liu Linyan
63ba58e9a8
fix(ble_mesh): Fix compiling error when PB-ADV is disabled
...
Closes https://github.com/espressif/esp-idf/issues/13203
2024-02-21 18:46:49 +08:00
Cao Sen Miao
715ee3576e
fix(i2c_master): Fix bug on esp32 that read one byte data fails
2024-02-21 18:42:21 +08:00
Ondrej Kosta
4df9fa5b50
fix(esp_eth): improved SPI Ethernet _alloc_recv_buf error handling
2024-02-21 10:07:12 +01:00
muhaidong
d0afffe8c9
fix(wifi): fix esp_wifi_scan_start memory leakage issue
...
Closes https://github.com/espressif/esp-idf/issues/10693
2024-02-21 16:32:31 +08:00
muhaidong
ffd01bf73b
fix(lwip): fix log format resulting in compilation failue issue
...
Closes https://github.com/espressif/esp-idf/issues/12982
2024-02-21 16:32:14 +08:00
Jiang Jiang Jian
4a3f224fe1
Merge branch 'bugfix/esp32c2_eap_auth_v5.2' into 'release/v5.2'
...
fix(wifi): Added low heap usage Kconfig option for eap enterprise (v5.2)
See merge request espressif/esp-idf!28824
2024-02-21 14:31:32 +08:00
Sumeet Singh
2e1e17524e
fix(nimble): message to be signed is corrected in signed write (v5.2)
2024-02-21 11:45:55 +05:30
gaoxu
94ef39472b
fix(adc): workaround to fix adc continuous get less results on c3
2024-02-21 13:38:46 +08:00
Cao Sen Miao
c5759b6d2b
fix(tsens): 300us delay in phy cause extra power consumption
2024-02-21 11:58:30 +08:00
Cao Sen Miao
b69ac0fb27
fix(tsens,adc): Fix issue that disable adc will make temperature sensor crash,
...
Closes https://github.com/espressif/esp-idf/issues/12921
2024-02-21 11:58:26 +08:00
Cao Sen Miao
84e44e230b
fix(temperature_sensor): Fix the value is incorrect if disable and enable again
...
Closes https://github.com/espressif/esp-idf/issues/12864
2024-02-21 11:58:22 +08:00
Mahavir Jain
c05940a0fb
Merge branch 'ci/test_limit_main_cleanup_v5.2' into 'release/v5.2'
...
ci(test_apps): limit dependencies for misc test_apps (v5.2)
See merge request espressif/esp-idf!29135
2024-02-21 11:44:05 +08:00
Jiang Jiang Jian
7e9a9b35ea
Merge branch 'bugfix/mbo_api_flag_v5.2' into 'release/v5.2'
...
fix(wpa_supplicant):Add MBO config flag for mbo apis(v5.2)
See merge request espressif/esp-idf!28698
2024-02-21 11:08:09 +08:00
Jiang Jiang Jian
8a0132aacf
Merge branch 'bugfix/ble_mesh_ble_advtype_v5.2' into 'release/v5.2'
...
ble_mesh: update ble mesh ble adv type(backport v5.2)
See merge request espressif/esp-idf!28916
2024-02-21 11:05:21 +08:00
Jiang Jiang Jian
62dbf69c0a
Merge branch 'bugfix/ble_mesh_deinit_reinit_v5.2' into 'release/v5.2'
...
feat: ble mesh: improve ble mesh deinit when nimble enable(backport v5.2)
See merge request espressif/esp-idf!28926
2024-02-21 11:04:04 +08:00
Jiang Jiang Jian
7a9b686174
Merge branch 'bugfix/struct_init_order_blemesh_v5.2' into 'release/v5.2'
...
ble_mesh: example: fix the structure init order to meet C++ requirements(backport v5.2)
See merge request espressif/esp-idf!28928
2024-02-21 11:01:01 +08:00
Marius Vikhammer
f1561c6bc9
Merge branch 'contrib/github_pr_12867_v5.2' into 'release/v5.2'
...
fix(esp32): Removed rogue semicolon in #define in esp_smartconfig.h (GitHub PR) (v5.2)
See merge request espressif/esp-idf!29111
2024-02-21 11:00:38 +08:00
Jiang Jiang Jian
3c7c5829b7
Merge branch 'h2_auto_dbias_master_hsq_v5.2' into 'release/v5.2'
...
ESP32H2: Active & sleep dbias get from efuse to fix the voltage (v5.2)
See merge request espressif/esp-idf!28714
2024-02-21 10:49:16 +08:00
Marius Vikhammer
da6412b216
Merge branch 'bugfix/bootloader_custom_rtc_data_crc_v5.2' into 'release/v5.2'
...
fix(bootloader): add legacy retained memory CRC calculation (backport v5.2)
See merge request espressif/esp-idf!28937
2024-02-21 10:43:50 +08:00
Lou Tianhao
901c5624d3
change(pm): change CMakeLists for wakeup pytest
2024-02-21 10:42:39 +08:00
Lou Tianhao
229a974252
change(pm): change test_io_wakeup
2024-02-21 10:42:39 +08:00
Lou Tianhao
0cdaf0008d
feat(pm): add test_io_wakeup
2024-02-21 10:42:39 +08:00
Marius Vikhammer
bab0fa8a03
ci(test_apps): limit dependencies for misc test_apps
...
Only pull in direct dependencies for the test apps, reducing build time
as well making it possible for CI to determine if the test should run or not
when dependencies are changed.
2024-02-21 09:34:29 +08:00
Aditya Patwardhan
546e9e0b6e
Merge branch 'bugfix/anti_rollback_check_regression_v5.2' into 'release/v5.2'
...
fix(bootloader_support): check the secure version only for app image (v5.2)
See merge request espressif/esp-idf!29127
2024-02-20 23:30:04 +08:00
Simon H
7e9fdf598e
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-20 19:43:12 +08:00
morris
7fafe4a9f4
Merge branch 'feature/usb_host_collective_backport_v5.2' into 'release/v5.2'
...
USB Host: Collective backport to v5.2
See merge request espressif/esp-idf!28095
2024-02-20 18:51:26 +08:00
Marius Vikhammer
08a50af080
Merge branch 'bugfix/heap_task_includes_v5.2' into 'release/v5.2'
...
fix(heap): fixed missing include in esp_heap_task_info.h (v5.2)
See merge request espressif/esp-idf!29116
2024-02-20 18:24:30 +08:00
Mahavir Jain
b2cdc06789
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 14:45:27 +05:30
Shu Chen
dbbe2cf173
Merge branch 'backport5.2/openthread_backport' into 'release/v5.2'
...
some openthread changes backport to release/v5.2
See merge request espressif/esp-idf!28637
2024-02-20 17:01:36 +08:00
Marius Vikhammer
cb270eebd6
Merge branch 'bugfix/remove_o0_bootloader_v5.2' into 'release/v5.2'
...
fix(build): remove CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE option from c6, h2 and p4 (v5.2)
See merge request espressif/esp-idf!28752
2024-02-20 16:52:33 +08:00
Jiang Jiang Jian
5cb1e9f6f4
Merge branch 'feat/support_get_bluedroid_status_v5.2' into 'release/v5.2'
...
Support get status of bluedroid host (backport v5.2)
See merge request espressif/esp-idf!28881
2024-02-20 14:33:46 +08:00
aditi_lonkar
a3ba6b299d
fix(wpa_supplicant):Add MBO config flag for mbo apis
2024-02-20 13:54:20 +08:00
Rahul Tank
768bd4750d
Merge branch 'feat/ble_gap_dev_auth_v5.2' into 'release/v5.2'
...
feat(nimble): Authorize or deauthorize a BLE device for a connection (v5.2)
See merge request espressif/esp-idf!29079
2024-02-20 12:38:35 +08:00
Marius Vikhammer
6b1413c3e9
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-20 12:04:45 +08:00
morris
1156370c00
Merge branch 'bugfix/fix_adc_reset_issue_on_legacy_v5.2' into 'release/v5.2'
...
fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy) (v5.2)
See merge request espressif/esp-idf!28332
2024-02-20 11:25:00 +08:00
zwx
fff9980a5b
feat(openthread): disable the rx on when idle in coex scenario
2024-02-20 10:41:10 +08:00
zwx
cb04df5ddf
fix(openthread): fix RCP handle timeout crashing issue
...
* update openthread upstream
2024-02-20 10:41:00 +08:00
zwx
a64744883d
fix(openthread): support uart ISR in IRAM
2024-02-20 10:32:10 +08:00
zwx
3a9bf62ed6
fix(802154): fix pending tx will be delayed issue
2024-02-20 10:32:00 +08:00
Shu Chen
c923dd4df4
feat(ieee802154): make the receive done handler feature mandatory
2024-02-20 10:31:29 +08:00
Shu Chen
1085fece61
feat(ieee802154): remove the ieee802154 lib submodule
2024-02-20 10:31:29 +08:00
zwx
51bc01b557
feat(openthread): support openthread radio caps rx on when idle
2024-02-20 10:31:29 +08:00
xiaqilin
dfb75ff2ac
fix(ieee802154): add next operation in ieee802154 test when rx abort by tx ack coex
2024-02-20 10:31:29 +08:00
zwx
f978fc10c0
feat(802.15.4): introduce pending tx while rx feature
2024-02-20 10:31:29 +08:00
zwx
4184b48aa8
feat(openthread): integrate console command with ot command
2024-02-20 10:31:29 +08:00
Xu Si Yu
06cca86017
feat(openthread): add menuconfig for openthread address query
2024-02-20 10:31:29 +08:00
Xu Si Yu
4ddb253788
fix(openthread): set spinel frame buffer to member variables
2024-02-20 10:31:29 +08:00
Xu Si Yu
936bba8073
feat(openthread): support esp openthread radio spinel
2024-02-20 10:31:29 +08:00
Darshan Dobariya
d9de786520
feat(nimble): Authorize or deauthorize a BLE device for a connection (v5.2)
2024-02-19 16:27:45 +05:30
Rahul Tank
e0944287f3
Merge branch 'bugfix/backport_ble_nimble_fixes_5.2' into 'release/v5.2'
...
fix(nimble) : Bugfix/backport ble nimble fixes 5.2
See merge request espressif/esp-idf!29098
2024-02-19 18:04:35 +08:00
Darian Leung
471fe41828
refactor(soc): Remove soc/usb_types.h
...
This header has been removed for the following reasons:
- Header is misplaced. 'xxx_types.h' headers should be placed in the 'hal'
component.
- The 'usb_xxx_endpoint_t' should be placed in the 'xxx_struct.h' header.
2024-02-19 15:45:04 +08:00
Darian Leung
b07a43e630
refactor(soc): Rename usb_otg_periph to usb_dwc_periph
...
- Renamed usb_otg_periph.h/c to usb_dwc_periph.h/c to match naming convention
of other DWC OTG related files
- Added compatibility header for usb_otg_periph.h
2024-02-19 15:45:04 +08:00
Darian Leung
50b3a35c52
refactor(soc): Deprecate usb pin mappings
...
usb_pins.h and usb_periph.h/c lists mappings of USB DWC signals to GPIOs used
to connect to external FSLS PHYs. However, those signals can be routed to any
GPIOs via the GPIO matrix. Thus, these mapping are meaningless and have been
deprecated.
2024-02-19 15:45:03 +08:00
Darian Leung
86fb02efa4
refactor(hal): Remove usb_hal and usb_ll
...
This commit removes some legacy USB related HAL and LL files that are no longer
used.
2024-02-19 15:45:03 +08:00
Tomas Rezucha
f57ef07e14
feat(usb/host): Calculate FIFO sizes based on USB configuration
2024-02-19 15:45:02 +08:00
Darian Leung
2f6e45c79b
refactor(usb): Deprecate CONFIG_USB_OTG_SUPPORTED, use SOC_USB_OTG_SUPPORTED instead
...
Previously, USB build dependencies used the CONFIG_USB_OTG_SUPPORTED. However,
they could depend on `soc_caps.h` instead.
2024-02-19 15:45:02 +08:00
Darian Leung
f0219b73f9
refactor(hal/usb): Rename usb_fsls_phy API to match header/source names
...
Note: Also fixed some formatting issues in usb_wrap_struct.h
2024-02-19 15:45:02 +08:00
Darian Leung
f2ede42191
refactor(hal/usb): Rename usb_phy files to usb_fsls_phy
...
This commit renames USB PHY related HAL files from "usb_phy_xxx" to
"usb_fsls_phy_xxx" since they are only designed to support Full-Speed/Low-Speed
Serial USB PHYs. This renmaing is done to accommodate future USB PHYs that use
other PHY interfaces (e.g., UTMI, ULPI etc).
2024-02-19 15:45:01 +08:00
Darian Leung
c1f0823795
refactor(hal/usb): Remove usage of old USB OTG config macros
2024-02-19 15:45:01 +08:00
Darian Leung
d08b90c5cc
refactor(soc/host): Update USB OTG struct fields
...
This commit updates the "*_struct.h" files for the USB OTG peripheral:
- Added/removed some missing/non-existing register fields
- Added "reserved" place holders for registers that are missing due to IP
configuration.
- Added "usb_dwc_cfg.h" listing the USB OTG IP configuration for each target.
- Updated LL/HAL according to register field updates. Also tidied up the include
directives in those headers.
2024-02-19 15:45:00 +08:00
Darian Leung
bf9706dc31
refactor(hal/usb): Fix USB OTG compilation dependency
...
Update "hal/CMakeLists.txt" so that USB OTG related HAL files depend on
the "SOC_USB_OTG_SUPPORTED" capability.
2024-02-19 15:45:00 +08:00
Darian Leung
3964fb2d04
refactor(usb/host): reformat code with astyle_py
2024-02-19 15:45:00 +08:00
Tomas Rezucha
1e2c271bd0
fix(usb/host): Correctly parse bInterval field in HighSpeed EP descriptors
...
For LS and FS interrupt endpoint: interval = bInterval
For isochronous and HS interrupt endpoint: interval = 2^(bInterval-1)
2024-02-19 15:44:59 +08:00
Tomas Rezucha
0ce4aa114e
fix(usb/host): Correctly parse MPS fields in HighSpeed EP descriptors
...
Bits [11,12] in HighSpeed periodic endpoints specify
the number of additional transaction opportunities per microframe
2024-02-19 15:44:59 +08:00
Island
1c2a6712e3
Merge branch 'bugfix/ble_update_lib_20240125_v5.2' into 'release/v5.2'
...
Bugfix/ble update lib 20240125 v5.2
See merge request espressif/esp-idf!28710
2024-02-19 15:29:25 +08:00
Island
d4dd0d4201
Merge branch 'bugfix/fix_some_ble_issue_v5.2' into 'release/v5.2'
...
Bugfix/fix some ble issue v5.2(backport v5.2)
See merge request espressif/esp-idf!28617
2024-02-19 15:19:24 +08:00
gaoxu
7ab43c0fbd
fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy)
2024-02-19 15:02:30 +08:00
Kapil Gupta
3d8fd79a10
fix(wifi): add low memory options for eap enterprise
2024-02-19 14:33:55 +08:00
Sumeet Singh
d9561b8fc7
fix(nimble): Out of order messages during SMP causing DOS vulerability (v5.2)
2024-02-19 09:27:55 +05:30
Rahul Tank
bc3dcdfc0d
fix(nimble): Merge hci_common.h file for all chips
2024-02-19 09:27:09 +05:30
Roshan Bangar
012506114e
feat(nimble): Nimble Host only mode over uart
2024-02-19 09:26:34 +05:30
SumeetSingh19
e23a61a47a
feat(nimble): client presentation and aggregate format descriptor support
2024-02-19 09:24:34 +05:30
SumeetSingh19
c0f48a19fc
feat(nimble): signed write support
2024-02-19 09:24:30 +05:30
SumeetSingh19
7d6f5fa71d
feat(nimble): additional AD types for advertisements
2024-02-19 09:24:26 +05:30
SumeetSingh19
16acdf1bbb
feat(nimble): authorization permission on gatt read and write
2024-02-19 09:24:21 +05:30
SumeetSingh19
e16882f0cd
fix(nimble): allow auto connection and observer role
2024-02-19 09:24:14 +05:30
Jiang Jiang Jian
7e6e769aed
Merge branch 'bugfix/ble_bug_backport_20240205' into 'release/v5.2'
...
Bugfix/ble bug backport 20240205 (backport v5.2)
See merge request espressif/esp-idf!28901
2024-02-19 11:07:29 +08:00
Jiang Jiang Jian
8ab1027fee
Merge branch 'bugfix/fix_ble_tx_2m_problem_causing_by_phy_wifi_enable_set_v5.2' into 'release/v5.2'
...
fix(esp_phy): Fixed BLE TX 2M problem causing by phy_wifi_enable_set() (backport v5.2)
See merge request espressif/esp-idf!28762
2024-02-19 11:04:45 +08:00
Jiang Jiang Jian
65d127da88
Merge branch 'feature/supplicant_bss_extmem_v5.2' into 'release/v5.2'
...
WiFi: Add support to move supplicant BSS to external memory (v5.2)
See merge request espressif/esp-idf!28743
2024-02-19 11:04:24 +08:00
Jiang Jiang Jian
e8548e7a1a
Merge branch 'bugfix/fix_pmk_invalid_wpa_or_wpa2_connect_fail_issue_v5.2' into 'release/v5.2'
...
fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue(Backport v5.2)
See merge request espressif/esp-idf!28666
2024-02-19 11:03:52 +08:00
Jiang Jiang Jian
6bfe219bb1
Merge branch 'ci/enable_ip101_jobs_v5.2' into 'release/v5.2'
...
ci(esp_eth): enabled Ethernet ip101 jobs (v5.2)
See merge request espressif/esp-idf!28613
2024-02-19 11:02:42 +08:00
Jiang Jiang Jian
4f5c87a294
Merge branch 'fix/ble_mesh_reject_node_reset_v5.2' into 'release/v5.2'
...
fix(ble_mesh): reject node-reseting when provision link is active (v5.2)
See merge request espressif/esp-idf!28235
2024-02-19 11:00:18 +08:00
Jiang Jiang Jian
5a557bb595
Merge branch 'bugfix/lan8720_ci_speed_v5.2' into 'release/v5.2'
...
feat(esp_eth): added ioctl option to read/write PHY registers - v5.2
See merge request espressif/esp-idf!27098
2024-02-19 10:59:46 +08:00
Jiang Jiang Jian
2b084b1f6b
Merge branch 'feature/support_gdma_retention_v5.2' into 'release/v5.2'
...
feature: support gdma retention in pd_top lightsleep (v5.2)
See merge request espressif/esp-idf!29090
2024-02-19 10:56:16 +08:00
Darian Leung
b7c3f01ac8
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-19 06:57:31 +08:00
Darian Leung
d9de61cbad
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-19 06:57:30 +08:00
morris
8d2c1a6265
Merge branch 'bugfix/fix_integral_div_calc_in_hal_util_v5.2' into 'release/v5.2'
...
fix(hal_utils): add division range check in integral algorithm (v5.2)
See merge request espressif/esp-idf!28628
2024-02-18 16:08:17 +08:00
wuzhenghui
2cd8335818
feat(esp_hw_support): support gdma register context sleep retention
2024-02-18 15:57:15 +08:00
Roland Dobai
202c60bf6b
Merge branch 'bugfix/kconcheck_file_checks_v5.2' into 'release/v5.2'
...
Bugfix/kconcheck file checks v5.2
See merge request espressif/esp-idf!28976
2024-02-18 15:33:12 +08:00
Roland Dobai
04ce3affe9
Merge branch 'coredump_traverse_state_lists_v5.2' into 'release/v5.2'
...
Improve the probability of accessing healthy TCBs (v5.2)
See merge request espressif/esp-idf!28662
2024-02-18 15:32:18 +08:00
InfiniteYuan
e8d7ecaec8
feat: ble mesh: improve ble mesh deinit when nimble enable
2024-02-18 11:35:47 +08:00
morris
81dc597d1f
Merge branch 'bugfix/fix_incorrect_regbase_name_of_i2s_v5.2' into 'release/v5.2'
...
fix(i2s): fixed incorrect reg base name on C3 (v5.2)
See merge request espressif/esp-idf!28629
2024-02-18 11:29:42 +08:00
morris
a65db35c13
Merge branch 'bugfix/bod_threshold_v5.2' into 'release/v5.2'
...
fix(bod): Fix BOD threshold value on ESP32H2(backport v5.2)
See merge request espressif/esp-idf!28622
2024-02-18 11:00:47 +08:00
morris
9875bee9d8
Merge branch 'bugfix/fix_wrong_dcache_0_size_issue_on_s2_v5.2' into 'release/v5.2'
...
fix(cache): fix wrong dcache size 0 configuration issue on s2 (v5.2)
See merge request espressif/esp-idf!28289
2024-02-18 10:58:20 +08:00
morris
eae7bba46f
Merge branch 'feature/usb_hs_support_v5.2' into 'release/v5.2'
...
feat(usb/host): Add High Speed enumeration types (backport v5.2)
See merge request espressif/esp-idf!28058
2024-02-18 10:57:33 +08:00
morris
df558f4f39
Merge branch 'feature/bytes_encoder_config_update_v5.2' into 'release/v5.2'
...
feat(rmt): support update bytes encoder configurations at runtime (v5.2)
See merge request espressif/esp-idf!28381
2024-02-18 10:54:54 +08:00
morris
715df99f8c
Merge branch 'contrib/github_pr_12908_v5.2' into 'release/v5.2'
...
spi_lcd: add flag to control the DC level in cmd/param/data phase separately (GitHub PR) (v5.2)
See merge request espressif/esp-idf!28240
2024-02-18 10:53:28 +08:00
morris
9961629d58
Merge branch 'feature/rmt_encoder_memory_allocator_v5.2' into 'release/v5.2'
...
feat(rmt): added a help function for allocating encoder memory (v5.2)
See merge request espressif/esp-idf!28790
2024-02-18 10:52:39 +08:00
morris
de6aecf2ab
Merge branch 'contrib/github_pr_13020_v5.2' into 'release/v5.2'
...
fix (esp_lcd): Don't assume panels are 16bit in VSYNC restart logic (GitHub PR) (v5.2)
See merge request espressif/esp-idf!28810
2024-02-18 10:52:27 +08:00
morris
48e3103c8c
Merge branch 'bugfix/mcpwm_reset_generator_gpio_v5.2' into 'release/v5.2'
...
fix(mcpwm): reset GPIO used by generator after delete (v5.2)
See merge request espressif/esp-idf!28831
2024-02-18 10:51:52 +08:00
Marius Vikhammer
2c0d846eaf
Merge branch 'bugfix/rtc_i2c_not_in_od_mode_v5.2' into 'release/v5.2'
...
fix(ulp_riscv): Updated RTC I2C to use open-drain IOs (v5.2)
See merge request espressif/esp-idf!28931
2024-02-18 10:47:55 +08:00
Marius Vikhammer
709d8ef685
Merge branch 'fix/heap-trace-hash-map-remove_v5.2' into 'release/v5.2'
...
fix(heap): prevent double traversal of hashmap in map_find_and_remove (backport v5.2)
See merge request espressif/esp-idf!28062
2024-02-18 10:47:04 +08:00
Marius Vikhammer
47b7e61dc3
Merge branch 'contrib/github_pr_12785_v5.2' into 'release/v5.2'
...
Provide ulp_adc_deinit() API to fix ADC1 handle leakage (GitHub PR) (v5.2)
See merge request espressif/esp-idf!28455
2024-02-18 10:41:30 +08:00
Marius Vikhammer
6b6ca2d1ca
Merge branch 'bugfix/linenoise_calculates_negative_prompt_len_v5.2' into 'release/v5.2'
...
fix(console): Fixed linenoise prompt length calculation (v5.2)
See merge request espressif/esp-idf!28526
2024-02-18 10:40:37 +08:00
Marius Vikhammer
0d48a7cda4
fix(build): remove CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE option from c6, h2 and p4
...
CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE doesnt really have many use cases, but it will
force us to keep increasing bootloader segment sizes just to allow for building this options.
Deprecate this config for new chips.
2024-02-18 10:40:27 +08:00
Marius Vikhammer
228c9a7538
Merge branch 'bugfix_lp_i2c_not_in_od_mode_v5.2' into 'release/v5.2'
...
fix(lp_i2c): Fixed an issue where the LP_I2C IO lines were not in open-drain mode (v5.2)
See merge request espressif/esp-idf!28770
2024-02-18 10:39:56 +08:00
Wang Meng Yang
9e984cd49e
Merge branch 'bugfix/no_wakeup_sleep_v5.2' into 'release/v5.2'
...
fix(ble): Fixed Bluetooth not waking up due to clock drift(v5.2)
See merge request espressif/esp-idf!28720
2024-02-18 09:53:01 +08:00
Wang Meng Yang
ee4fdf8447
Merge branch 'bugfix/spp_disc_connect_btqabr2023_156_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): Fixed SPP connection failure(v5.2)
See merge request espressif/esp-idf!28524
2024-02-18 09:50:25 +08:00
Wang Meng Yang
406e11bea2
Merge branch 'bugfix/fix_dangling_pointer_in_remove_bond_list_section_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): fix dangling pointer issue when logging removed section (backport v5.2)
See merge request espressif/esp-idf!28961
2024-02-18 09:45:39 +08:00
Darshan Dobariya
6ce28ee59b
fix(nimble): Added support for address resolution during inquiry.
2024-02-16 20:51:24 +05:30
Roshan Bangar
c1efc55584
feat(nimble): Gatt caching support
2024-02-16 18:15:56 +05:30
Rahul Tank
99552ebd15
Merge branch 'bugfix/handle_task_lock_v5.2' into 'release/v5.2'
...
fix(nimble): Remove unwanted task lock check when HS_DEBUG is enabled (v5.2)
See merge request espressif/esp-idf!28417
2024-02-16 20:41:19 +08:00
Mahavir Jain
b43aa0404a
Merge branch 'fix/build_failure_when_hardware_gcm_is_disabled_v5.2' into 'release/v5.2'
...
fix(mbedtls/gcm): Fix build failure when config `MBEDTLS_HARDWARE_GCM` is disabled (v5.2)
See merge request espressif/esp-idf!29067
2024-02-16 18:22:01 +08:00
Rahul Tank
600bd44c72
fix(nimble): Remove unwanted task lock check when HS_DEBUG is enabled
2024-02-16 15:33:24 +05:30
Rahul Tank
8b1c532754
Merge branch 'bugfix/reattempt_conn_feat_extended_v5.2' into 'release/v5.2'
...
fix(nimble): Support for reattempt connection in ext connect (v5.2)
See merge request espressif/esp-idf!28305
2024-02-16 17:58:17 +08:00
Mahavir Jain
1181f59158
Merge branch 'fix/packed-attribute-definition' into 'release/v5.2'
...
fix(esp_attr): Remove semiclon from PACKED attribute
See merge request espressif/esp-idf!29021
2024-02-16 15:06:07 +08:00
harshal.patil
5862b981ed
fix(mbedtls/gcm): Avoid using GCM hardware when config MBEDTLS_HARDWARE_GCM is disabled
2024-02-16 11:54:39 +05:30
harshal.patil
38f13b15d3
fix(mbedtls/gcm): Fix build failure when config MBEDTLS_HARDWARE_GCM is disabled
2024-02-16 11:54:37 +05:30
Rahul Tank
71932c99fc
fix(nimble): Support for reattempt connection in ext connect
2024-02-16 11:32:15 +05:30
Rahul Tank
2d36710ca1
Merge branch 'bugfix/enable_addr_resol_across_reboot_v5.2' into 'release/v5.2'
...
fix(nimble): Enable address resolution across reboot (v5.2)
See merge request espressif/esp-idf!28214
2024-02-16 14:01:14 +08:00
Mahavir Jain
d7f19c4a37
Merge branch 'bugfix/ota_anti_rollback_checks_2_v5.2' into 'release/v5.2'
...
feat(bootloader_support): Read secure_version under sha256 protection (v5.2)
See merge request espressif/esp-idf!29059
2024-02-16 13:55:13 +08:00
Mahavir Jain
3549a154b0
Merge branch 'bugfix/fix_http_auth_without_qop_v5.2' into 'release/v5.2'
...
fix(esp_http_client): Fix http digest auth without qop (v5.2)
See merge request espressif/esp-idf!28757
2024-02-16 13:50:46 +08:00
Mahavir Jain
4beadd4c57
Merge branch 'feat/flash_enc_encrypt_app_image_of_size_image_length_v5.2' into 'release/v5.2'
...
feat(bootloader_support): Encrypt only the app image instead of the whole partition (v5.2)
See merge request espressif/esp-idf!28265
2024-02-16 13:49:01 +08:00
Mahavir Jain
51d2f67f02
Merge branch 'bugfix/fix_http_client_error_v5.2' into 'release/v5.2'
...
esp_http_client: Fix reset errno to 0 before call esp_transport_read(backport v5.2)
See merge request espressif/esp-idf!28329
2024-02-16 13:48:43 +08:00
Mahavir Jain
1bd76ee0da
Merge branch 'bugfix/update_jtag_disabling_api_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG (v5.2)
See merge request espressif/esp-idf!28492
2024-02-16 13:48:36 +08:00
Mahavir Jain
360ecf5613
Merge branch 'feature/update_mbedtls_v5.2' into 'release/v5.2'
...
feat(mbedtls): updated mbedtls version from 3.5.0 to 3.5.2 (v5.2)
See merge request espressif/esp-idf!28892
2024-02-16 13:48:28 +08:00
Mahavir Jain
cc2db3d190
Merge branch 'bugfix/soc_cpu_subsys_region_v5.2' into 'release/v5.2'
...
fix(soc): change debug addr range to CPU subsystem range (v5.2)
See merge request espressif/esp-idf!28671
2024-02-16 13:47:49 +08:00
Bogdan Kolendovskyy
0c20e3bda8
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-15 15:38:42 +01:00
Mahavir Jain
4c95aa445d
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:08:26 +02:00
Ondrej Kosta
79d34bf5d5
feat(esp_eth): added SPI Ethernet module polling mode
...
Closes https://github.com/espressif/esp-idf/issues/12682
2024-02-14 10:05:22 +01:00
Bogdan Kolendovskyy
8c9657063a
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:49:08 +01:00
Guillaume Souchere
8fbc34a356
fix(esp_attr): Remove semiclon from PACKED attribute
...
When the macro was introduced, a semicolon was added at the end
of the definition and merged like that in v5.2 release. The semicolon
was then removed in master but the change was never backported in v5.2.
This commit removes the semicolon to the definition of the PATCKED_ATTR
macro in v5.2.
Closes https://github.com/espressif/esp-idf/issues/13149
2024-02-12 09:51:10 +01:00
Jakub Kocka
8a6fe49314
fix: Fixed KConfig files that were not succesfully checked
2024-02-07 15:09:35 +01:00
gongyantao
72a8b4e6e8
fix(bt/bluedroid): fix dangling pointer issue when logging remove section
2024-02-07 14:57:28 +08:00
InfiniteYuan
b2dcd46063
ble_mesh: stack: fix the structure init order to meet C++ requirements
2024-02-07 10:09:20 +08:00
morris
cc649ea869
Merge branch 'contrib/github_pr_12998_v5.2' into 'release/v5.2'
...
fix(twai): TWAI_GENERAL_CONFIG_DEFAULT initialize controller_id (GitHub PR) (v5.2)
See merge request espressif/esp-idf!28572
2024-02-06 21:30:26 +08:00
Omar Chebib
e10cbd108b
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-06 16:15:24 +08:00
Sudeep Mohanty
b8139a609b
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:41:55 +01:00
InfiniteYuan
af72c4b94f
ble_mesh: update ble mesh ble adv type
2024-02-06 14:14:57 +08:00
morris
5c30cc24fd
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:31:33 +08:00
zhiweijian
c924e0cfe4
feat(ble/controller): Add API to get BLE controller status on ESP32
2024-02-05 16:02:07 +08:00
zhiweijian
68d2915377
Fixed xQueueSemaphoreTask assert when deinit host during scan
2024-02-05 16:01:29 +08:00
nilesh.kale
7d358754a2
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:27 +05:30
chenjianhua
024bccbc58
feat(bt/bluedroid): Support get status of bluedroid host
2024-02-04 16:30:15 +08:00
chenjianhua
7af929f825
feat(bt/bluedroid): Make the max number of bond device to be configurable
2024-02-04 16:28:57 +08:00
zhanghaipeng
d0e94733f0
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:43:05 +08:00
chenjianhua
861318b138
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:42:57 +08:00
morris
d4db16058d
fix(mcpwm): reset GPIO used by generator after delete
...
Closes https://github.com/espressif/esp-idf/issues/12980
2024-02-01 17:47:55 +08:00
Brian Whitman
ab8ab03537
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:52:27 +08:00
laokaiyao
03fb722ca5
fix(hal_utils): add division range check in integral algorithm
2024-01-31 12:06:43 +08:00
morris
5ad9e6b87f
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:41 +08:00
xiongweichao
0a0aaa23e0
fix(ble): Fixed macro definition error for 136K clock drift
2024-01-30 15:37:59 +08:00
xiongweichao
028f174467
fix(ble): Fixed Bluetooth not waking up due to clock drift
2024-01-30 15:37:44 +08:00
Wu Meng Shi
ed4bf92b8e
fix(ble_mesh): Reject node reset when provisioning link is active
2024-01-30 10:44:13 +08:00
Sudeep Mohanty
a05e40bfe3
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:16 +01:00
zhiweijian
49eab1da5c
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-29 14:08:46 +08:00
Mahavir Jain
e173895618
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-29 13:57:04 +08:00
Harshit Malpani
302661ed5f
fix(esp_http_client): Fix http digest auth without qop
...
Closes https://github.com/espressif/esp-idf/issues/12962
2024-01-29 11:00:58 +05:30
Kapil Gupta
d900eed440
fix(wifi): Add support to move supplicant BSS to external memory
2024-01-27 10:40:54 +05:30
Erhan Kurubas
054f33b386
feat(coredump): improve the probability of accessing healthy TCBs
2024-01-26 22:55:16 +08:00
laokaiyao
66d7410051
fix(i2s): fixed incorrect reg base name on C3
...
Closes https://github.com/espressif/esp-idf/issues/12643
2024-01-26 18:44:38 +08:00
zhanghaipeng
cc254d8ff3
feat(bt/bluedroid): Support ext adv aux option
2024-01-26 16:21:27 +08:00
zhanghaipeng
62b84e3169
fix(bt/bluedroid): Fix BLE malloc internal wrapper fail
2024-01-26 16:21:27 +08:00
Zeke Gustafson
29e1ca5ddd
feat(ble/bluedroid): Add getter for BLE GAP callback
2024-01-26 16:21:27 +08:00
Zeke Gustafson
5ed6abc5e2
feat(ble/bluedroid): Add getter for BLE GATTS callback
2024-01-26 16:21:27 +08:00
zhanghaipeng
9b2e0a2a01
feat(ble/bluedroid): Add getter for BLE GATTC calllback
2024-01-26 16:21:27 +08:00
zhanghaipeng
217ed6c1bf
docs(ble/bluedroid): Optimize documentation for BLE duplicate scan
2024-01-26 16:21:27 +08:00
zhanghaipeng
48abf362c0
fix(ble/bluedroid): Fix dangling pointer issue in deletion of bonded devices
2024-01-26 16:21:27 +08:00
zhanghaipeng
14bb24c3ab
fix(ble/bluedroid): Fix BLE background connection log level
2024-01-26 16:21:27 +08:00
hongshuqing
9373d53ce7
feat(pmu): set fix voltage to different mode for esp32h2
...
h2 remove include
2024-01-26 11:36:57 +08:00
KonstantinKondrashov
64b1bd6cb2
feat(efuse): Adds new efuses for esp32c6
2024-01-26 11:36:57 +08:00
KonstantinKondrashov
bc6072c754
feat(efuse): Adds new efuse for esp32h2
2024-01-26 11:36:56 +08:00
zwl
fdcd6783d7
Update ble lib to eb473dda on ESP32-C6 and ESP32-H2
2024-01-25 20:38:49 +08:00
zwl
410db7f812
feat(ble): add ble controller version output on ESP32-C6 and ESP32-H2
2024-01-25 20:38:43 +08:00
zwl
de5644f88c
feat(ble): add ble controller status check api on ESP32-C6 and ESP32-H2
2024-01-25 20:38:34 +08:00
zwl
f096b66d71
fix(ble): fixed build error when disable sm feature
2024-01-25 20:38:28 +08:00
luomanruo
7503cf2176
Update C6 H2 lib to bb9d578e
2024-01-25 20:38:19 +08:00
wanlei
59d25c4d62
fix(i2s): multi_dev test update to use non_boot_ctrl gpio
2024-01-25 16:44:58 +08:00
muhaidong
afe5afd1ba
fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue
2024-01-24 10:48:19 +08:00
Cao Sen Miao
6e31efce7f
fix(bod): Fix BOD threshold value on ESP32H2
2024-01-23 09:57:59 +08:00
Ondrej Kosta
9048372138
ci(esp_eth): enabled Ethernet ip101 jobs
2024-01-22 13:52:24 +01:00
Jiang Jiang Jian
11eaf41b37
Merge branch 'bugfix/fix_scan_request_ifs_error_v5.2' into 'release/v5.2'
...
Fixed BLE scan request ifs time error in coexistence scenarios on ESP32(backport v5.2)
See merge request espressif/esp-idf!28574
2024-01-22 11:01:08 +08:00
Island
c54555bb01
Merge branch 'bugfix/ble_update_lib_20231229_v5.2' into 'release/v5.2'
...
update lib on release/v5.2
See merge request espressif/esp-idf!28189
2024-01-22 10:37:49 +08:00
Island
2710c37d51
Merge branch 'bugfix/fix_ble_robost_cashing_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): Fix BLE robost cashing config(backport v5.2)
See merge request espressif/esp-idf!28201
2024-01-22 10:33:25 +08:00
Island
9156cb085f
Merge branch 'bugfix/fix_ble_memory_leak_v5.2' into 'release/v5.2'
...
fix(ble/bluedroid): Fix ble memory leak when gattc config off(backport v5.2)
See merge request espressif/esp-idf!28495
2024-01-22 10:33:16 +08:00
Island
0c5d2c261d
Merge branch 'bugfix/ble_check_adv_data_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow(backport v5.2)
See merge request espressif/esp-idf!28405
2024-01-22 10:33:00 +08:00
Jiang Jiang Jian
15341d51c2
Merge branch 'bugfix/change_default_value_for_ip_ttl_5.2' into 'release/v5.2'
...
Fix(lwip):bugfix for change default value for ip ttl 5.2
See merge request espressif/esp-idf!28401
2024-01-19 16:38:39 +08:00
luomanruo
86d6781f68
change(ble): npl count is zero if nimble host is not used
...
change(ble): added npl eventq put to front
change(ble): added cache safe check in ble power save example
ble(update):
Update c2 lib to 91b81332
Update h2 lib to 620fbe79
Update c6 lib to 620fbe79
fix(ble): fix stack overflow disable at sleep
Revert "change(ble): added ble cca en and thresh option"
This reverts commit 71901499b9
.
2024-01-19 16:14:55 +08:00
Jiang Jiang Jian
f4e96ada37
Merge branch 'bugfix/fix_systick_lost_in_esp32_dfs_v5.2' into 'release/v5.2'
...
fix(esp_pm): safely check ccompare validity in DFS update_ccompare (v5.2)
See merge request espressif/esp-idf!28561
2024-01-19 15:10:55 +08:00
Mahavir Jain
35e025f8e3
Merge branch 'bugfix/fix_dynamic_mbedtls_crash_v5.2' into 'release/v5.2'
...
mbedtls: Fix enable dynamic mbedtls will occur heap corruption when server support TLS renegotiation(backport v5.2)
See merge request espressif/esp-idf!28326
2024-01-19 11:42:35 +08:00
Mahavir Jain
9699f27723
Merge branch 'feat/update_cjson_v1_7_17_v5.2' into 'release/v5.2'
...
feat(cJSON): update submodule to v1.7.17 (v5.2)
See merge request espressif/esp-idf!28348
2024-01-19 11:42:11 +08:00
Jiang Jiang Jian
5408580c41
Merge branch 'bugfix/esp32h2_wakeup_i2c_fail_v5.2' into 'release/v5.2'
...
fix(esp_phy): fix esp32h2 wakeup i2c fail (backport v5.2)
See merge request espressif/esp-idf!28539
2024-01-19 11:16:16 +08:00
wuzhenghui
3f75f037c0
fix(esp_pm): safely check ccompare validity in DFS update_ccompare
2024-01-19 11:12:22 +08:00
linruihao
df1bf06665
fix(esp_coex): Fixed potential BLE scan request ifs timer error bug
2024-01-18 22:36:59 +08:00
zhiweijian
3a429b0310
Fixed BLE scan request ifs timer error in coexistence scenarios
2024-01-18 22:36:48 +08:00
Nebojša Cvetković
24b3a4ee45
fix(twai): TWAI_GENERAL_CONFIG_DEFAULT initialize controller_id
...
Fix for C++ warning `-Wmissing-field-initializers`
Closes https://github.com/espressif/esp-idf/pull/12998
2024-01-18 20:06:30 +08:00
Jiang Jiang Jian
b8bb11402a
Merge branch 'bugfix/fix_mac_bb_pd_iwdt_timeout_v5.2' into 'release/v5.2'
...
fix(ble): fixed interrupt timeout in MAC_BB_PD callback (v5.2)
See merge request espressif/esp-idf!28464
2024-01-18 19:41:19 +08:00
Jiang Jiang Jian
1eb6d90278
Merge branch 'bugfix/fix_crash_issue_when_mesh_deinit_v5.2' into 'release/v5.2'
...
fix(wifi): fix the crash and malloc fail issue (v5.2)
See merge request espressif/esp-idf!28531
2024-01-18 11:14:52 +08:00
Michael (XIAO Xufeng)
e1dfdf26bc
Merge branch 'bugfix/recalib_bbpll_before_tuning_v5.2' into 'release/v5.2'
...
fix(bbpll): fix bbpll may not lock or not stable bug for stop early (ESP32C2/S3/C6/H2) (v5.2)
See merge request espressif/esp-idf!28284
2024-01-17 21:30:10 +08:00
xiaqilin
5a64cdecce
fix(esp_phy): fix esp32h2 wakeup i2c fail
2024-01-17 18:48:48 +08:00
zhangyanjiao
69aeebb986
fix(wifi): fix the crash and malloc fail issue
...
1. fix(wifi/mesh): fix the crash issue when mesh deinit
2. fix(wifi):fix when ap recv auth in sa query porcess will memset psq issue
2024-01-17 16:57:44 +08:00
Sudeep Mohanty
47cd6cd23c
fix(console): Fixed linenoise prompt length calculation
...
This commit fixes a potential issue where in the prompt length used
for the linenoise based console could be calculated as a negative
integer, leading to a console hang.
Closes https://github.com/espressif/esp-idf/issues/4924
2024-01-17 09:42:01 +01:00
xueyunfei
9b555497ca
Fix(lwip):bugfix for change default value for ip ttl
2024-01-17 16:37:57 +08:00
zhanghaipeng
b1dee3e510
fix(ble/bluedroid): Fix ble memory leak when gattc config off
2024-01-17 15:20:21 +08:00
xiongweichao
773845be66
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-17 15:13:00 +08:00
Jiang Jiang Jian
676917955e
Merge branch 'bugfix/some_wifi_fixes_v5.2' into 'release/v5.2'
...
fix(wifi): backport some wifi changes to v5.2
See merge request espressif/esp-idf!28367
2024-01-16 18:43:38 +08:00
harshal.patil
eebdd3f391
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-01-16 14:12:14 +05:30
harshal.patil
4573271d2b
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-01-16 14:12:13 +05:30
morris
414306bd37
feat(rmt): support update bytes encoder configurations at runtime
...
Closes https://github.com/espressif/esp-idf/issues/12775
2024-01-16 15:59:11 +08:00
nilesh.kale
8e5347abd5
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-16 12:24:21 +05:30
wanlei
af966596d4
fix(i2c): test app change gpio
2024-01-16 11:10:36 +08:00
linruihao
0b6c7e6aad
fix(ble): fixed interrupt timeout in MAC_BB_PD callback
2024-01-15 16:16:41 +08:00
Marius Vikhammer
0a2199d81b
change(ulp): added test for ulp adc init/deinit
2024-01-15 11:10:28 +08:00
paul
58dd50120f
fix(ulp_adc): Provide ulp_adc_deinit() API to fix ADC1 handle leakage
2024-01-15 11:10:28 +08:00
Sarvesh Bodakhe
aa2451eb88
fix(esp_wifi): Add support for WPA3 + WPA3_EXT_PSK mixed mode and minor bugfixes
...
- Add support for WPA3 + WPA3_EXT_PSK mixed mode
- Improvements in scan and connect path as per specifications along with
minor bugfixes
- When AP advertises all PSK modes (WPA, WPA2 and WPA3), make sure that
station treats it as WPA2_WPA3_PSK mixed mode.
Closes https://github.com/espressif/esp-idf/issues/12517
2024-01-11 16:51:06 +08:00
liuning
f759073049
fix(pm): fix no sleep null after data sent (33290e79)
2024-01-11 16:51:06 +08:00
jgujarathi
7c05e2f291
fix(esp_wifi): Report authmode incompatible WPA AP scanned and we require PMF
...
- Report the authmode incompatible if the scanned AP is in WPA mode and we require PMF
according to sta config
2024-01-11 16:51:06 +08:00
zhanghaipeng
09475c744f
fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow
2024-01-11 16:33:35 +08:00
Jiang Jiang Jian
e8a5fdcff3
Merge branch 'feat/max_ver_c3_199_v5.2' into 'release/v5.2'
...
feat(soc): Increase max supported version of C3 to 1.99 (v5.2)
See merge request espressif/esp-idf!26822
2024-01-11 14:15:49 +08:00
Jiang Jiang Jian
ffe6458c30
Merge branch 'backport5.2/fix_ot_br_pcb_ttl' into 'release/v5.2'
...
fix(openthread): update lib to set raw pcb ttl value (backport v5.2)
See merge request espressif/esp-idf!28220
2024-01-11 14:15:01 +08:00
Jiang Jiang Jian
be39aabe00
Merge branch 'fix/esp32h2_rssi_positive_issue_5.2' into 'release/v5.2'
...
Fix/esp32h2 rssi positive issue 5.2
See merge request espressif/esp-idf!28271
2024-01-11 14:14:29 +08:00
Jiang Jiang Jian
eae8973711
Merge branch 'bugfix/increase_btu_task_stack_size_v5.2' into 'release/v5.2'
...
fix(bt/bludroid): Increase BTU task stack size(backport v5.2)
See merge request espressif/esp-idf!28323
2024-01-11 14:13:30 +08:00
Harshit Malpani
49fd283364
feat(cjson): update submodule to v1.7.17
...
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.17
2024-01-09 12:12:39 +05:30
Lou Tianhao
745a1f492e
feat(pm): support PMU trigger regdma when PU TOP
2024-01-08 21:23:28 +08:00
Tomáš Rohlínek
871476ad8a
fix(storage/fatfs): check whether sdcard supports triming
...
Closes https://github.com/espressif/esp-idf/issues/12912
2024-01-08 09:34:40 +01:00
jim
38499caa35
esp_http_client: Fix reset errno to 0 before call esp_transport_read
...
Closes https://github.com/espressif/esp-idf/issues/9020
2024-01-08 15:39:07 +08:00
jim
5a234cf642
mbedtls: Fix enable dynamic mbedtls will occur heap corruption when server support TLS renegotiation
2024-01-08 14:23:32 +08:00
linruihao
07f9c7664d
fix(bt/bludroid): Increase BTU task stack size
2024-01-08 11:35:24 +08:00
xiaqilin
2d66984b09
fix(sleep): fix the issue of asymmetry in suspend/resume cache when skipping sleep.
2024-01-05 19:26:46 +08:00
xiaqilin
dea2d77712
fix(esp_phy): fix esp32h2 sleep wakeup issue
2024-01-05 17:22:59 +08:00
Armando
60a9527a71
fix(cache): fix wrong dcache size 0 configuration issue on s2
...
Closes https://github.com/espressif/esp-idf/issues/12711
2024-01-05 10:38:41 +08:00
Xiao Xufeng
ea45c22a5c
fix(rtc): fixed bbpll not calibrated from bootloader issue
2024-01-05 10:24:49 +08:00
chaijie@espressif.com
016b63dacf
fix(bbpll): fix bbpll calibration may stop early bug(ESP32C2/S3/C6/H2)
2024-01-05 03:22:44 +08:00
zwl
53921e8104
fix(ble): fixed rssi inaccuracy issue on ESP32-H2
2024-01-04 15:14:05 +08:00
xiaqilin
c9ead16682
fix(ieee802154): fix the issue of not receiving packets when RSSI is positive in esp32h2
2024-01-04 15:13:49 +08:00
Michael (XIAO Xufeng)
39dd85639a
feat(soc): Increase max supported version of C3 to 1.99
2024-01-04 15:08:31 +08:00
Marius Vikhammer
b5785b41eb
docs(esp32p4): update misc docs for esp32p4
2024-01-03 18:26:55 +08:00
Kit Sczudlo
65bc495632
feat(spi_lcd): control DC level for cmd, param, color phase separately
...
Closes https://github.com/espressif/esp-idf/issues/10635
Merges https://github.com/espressif/esp-idf/pull/12908
2024-01-03 17:24:47 +08:00
Xu Si Yu
baf258e3e6
fix(openthread): update lib to set raw pcb ttl value
2024-01-02 17:05:16 +08:00
Rahul Tank
586862e9b2
fix(nimble): Enable address resolution across reboot
2024-01-02 14:03:29 +05:30
zhanghaipeng
f4c6faa943
fix(bt/bluedroid): Fix BLE robost cashing config
2023-12-30 20:13:26 +08:00
Jiang Jiang Jian
bd18b8ba6a
Merge branch 'bugfix/fix_ble_app_unregister_no_event_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): Fix ble app unregister no event(backport v5.2)
See merge request espressif/esp-idf!28167
2023-12-29 11:08:20 +08:00
Jiang Jiang Jian
086294e3b3
Merge branch 'bugfix/fix_ble_recorrect_enable_bug_v5.2' into 'release/v5.2'
...
fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default (backport v5.2)
See merge request espressif/esp-idf!28121
2023-12-29 10:57:47 +08:00
Jiang Jiang Jian
b85b15a3c4
Merge branch 'bugfix/fix_gatts_stop_race_condition_v5.2' into 'release/v5.2'
...
fix(nimble): Handled race condition for conn variables being set to NULL (v5.2)
See merge request espressif/esp-idf!28168
2023-12-29 10:57:29 +08:00
zhiweijian
8477ec19f5
fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default
2023-12-29 02:00:22 +08:00
muhaidong
fd9a55a775
fix(wifi): fix beacon was unexpectedly freed issue
2023-12-29 00:05:39 +08:00
jgujarathi
239a6da000
fix(esp_wifi): Cover additional situations for reporting new reason codes
...
- WIFI_REASON_NO_AP_FOUND_W_COMPATIBLE_SECURITY will be reported for the following
reasons
-- AP has PMF required but station is not configured for pmf capable/required.
-- Station has PMF required but AP is not configured for pmf capable/required.
-- The AP is using unsupported group management/pairwise ciphers
-- OWE not enabled by station for found OWE AP
-- AP RSNXE parsing failed in supplicant
-- AP is in Independent BSS mode
2023-12-29 00:03:50 +08:00
Jiang Jiang Jian
9694fe3c2a
Merge branch 'bugfix/nan_crash_sched_bcn_v5.2' into 'release/v5.2'
...
Fix crash while stopping NAN (Backport v5.2)
See merge request espressif/esp-idf!28178
2023-12-28 23:52:57 +08:00
Jiang Jiang Jian
36a7c4ca66
Merge branch 'backport/add_dynamic_iram_check_for_ot_sleep_v52' into 'release/v5.2'
...
fix(pm): fix extra retention function to iram(Backportv5.2)
See merge request espressif/esp-idf!28135
2023-12-28 22:55:08 +08:00
Jiang Jiang Jian
0e03d101e2
Merge branch 'backport/ieee802154_receive_done_handler_v52' into 'release/v5.2'
...
fix(ieee802154): introduce a receive done handler feature(backportV5.2)
See merge request espressif/esp-idf!28132
2023-12-28 22:54:58 +08:00
Jiang Jiang Jian
50cb3a4435
Merge branch 'backport/fix_ble_prepare_write_v5.2' into 'release/v5.2'
...
Backport/fix ble prepare write v5.2
See merge request espressif/esp-idf!27910
2023-12-28 22:54:18 +08:00
Shyamal Khachane
06086d3a36
fix(esp_wifi): Fix crash while stopping NAN
...
Also fix inconsistent NAN macro values
2023-12-28 18:43:13 +05:30
zwx
61379f09cd
fix(pm): fix extra retention function to iram
...
* Also remove unused function on H2
2023-12-28 17:47:30 +08:00
Rahul Tank
9b50d7d60f
fix(nimble): Handled race condition for conn variables being set to NULL
2023-12-28 15:11:56 +05:30
Guillaume Souchere
490df3a348
fix(heap): prevent double traversal of hashmap in map_find_and_remove
...
Remove the use of SLIST_REMOVE in map_find_and_remove to prevent the hashmap
list to be traversed twice in the function.
Closes https://github.com/espressif/esp-idf/issues/12820
2023-12-28 17:38:12 +08:00
Jiang Jiang Jian
796065f6fb
Merge branch 'contrib/github_pr_12813_v5.2' into 'release/v5.2'
...
fix(esp32): Fixed declaration issue (GitHub PR) (v5.2)
See merge request espressif/esp-idf!28081
2023-12-28 17:37:20 +08:00
zwx
e86e0f3dc8
fix(ieee802154): introduce a receive done handler feature
2023-12-28 17:34:51 +08:00
zhanghaipeng
915cb63bb1
fix(bt/bluedroid): Fix ble app unregister no event
2023-12-28 17:32:45 +08:00
Jiang Jiang Jian
33756fd210
Merge branch 'bugfix/fix_ble_phy_tx_ifs_v5.2' into 'release/v5.2'
...
Bugfix/fix ble phy tx ifs v5.2
See merge request espressif/esp-idf!28151
2023-12-28 16:59:49 +08:00
Jiang Jiang Jian
194343e056
Merge branch 'bugfix/clear_lp_sw_trigger_int_before_sleep_v5.2' into 'release/v5.2'
...
feat(ulp): add api to get lp_cpu wakeup cause and clear wakeup source at startup(v5.2)
See merge request espressif/esp-idf!28146
2023-12-28 14:49:14 +08:00
zhanghaipeng
c4d3d74e39
fix(phy): Fix ble tx ifs time for ESP32
2023-12-28 14:08:01 +08:00
zhanghaipeng
f18d887a6d
fix(bt/bluedroid): Fix BLE prepare write
2023-12-27 22:03:48 +08:00
Jiang Jiang Jian
c30d9829d3
Merge branch 'bugfix/wait_tvsl_after_non_pd_top_lightsleep_v5.2' into 'release/v5.2'
...
fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6 (v5.2)
See merge request espressif/esp-idf!28144
2023-12-27 19:34:37 +08:00
wuzhenghui
6d238cdba2
feat(ulp): add api to get lp_cpu wakeup cause and clear wakeup source at startup
...
Closes https://github.com/espressif/esp-idf/issues/12651
2023-12-27 19:12:16 +08:00
Island
5c24c70ed8
Merge branch 'feat/ble_mesh_miscellaneous_update_v5.2' into 'release/v5.2'
...
feat(ble_mesh): Miscellaneous updates for mesh kconfig, relay related(v5.2)
See merge request espressif/esp-idf!28030
2023-12-27 17:50:12 +08:00
wuzhenghui
fcb9cf8b93
change(esp_hw_support/sleep): rename ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY
...
1. Rename ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY to ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY
2. Set ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY visible for all targets
2023-12-27 15:35:00 +08:00
wuzhenghui
83b6c79f93
fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6
2023-12-27 15:34:55 +08:00
Jiang Jiang Jian
14d88e5e5e
Merge branch 'bugfix/add_ble_fixes' into 'release/v5.2'
...
fix(nimble): Add ble fixes in nimble (v5.2)
See merge request espressif/esp-idf!28112
2023-12-27 10:30:46 +08:00
Jiang Jiang Jian
7823f6c996
Merge branch 'bugfix/crash_in_btc_hf_init_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): Avoided crash of LoadProhibited during HFP AG deinitialization (v5.2)
See merge request espressif/esp-idf!28115
2023-12-27 10:26:19 +08:00
Jiang Jiang Jian
bdce46f1e3
Merge branch 'fix/add_malloc_cap_8bit_for_vfs_select' into 'release/v5.2'
...
fix(vfs): add MALLOC_CAP_8BIT for vfs select(Backport v5.2)
See merge request espressif/esp-idf!27720
2023-12-26 19:03:26 +08:00
Roshan Bangar
962b105be5
fix(nimble): Added periodic_adv_enh soc_caps for c2, h2
2023-12-26 10:09:12 +05:30
Rahul Tank
ce6b508c4f
fix(nimble): Add VSC support for setting chan select algo
2023-12-26 10:08:52 +05:30
Jin Cheng
f30d282d66
fix(bt/bluedroid): Disabled Sniff Subrating temporarily as it did not work well
2023-12-26 11:48:04 +08:00
Jin Cheng
daed0d9f3a
fix(bt/bluedroid): Changed the default air mode to invalid value
2023-12-26 11:48:04 +08:00
Jin Cheng
09db8a96f0
fix(bt/bluedroid): Removed redundant operation of SCO clean up
2023-12-26 11:48:04 +08:00
Jin Cheng
fe277d5b13
fix(bt/bluedroid): Corrected the definitions of HF Client callback events
2023-12-26 11:48:04 +08:00
Jin Cheng
659ae0ce9e
fix(bt/bluedroid): Avoided crash of LoadProhibited during HFP AG deinitialization
...
Move the release of the control blocks from the start
of deinitialization to the profile disabled event.
2023-12-26 11:48:04 +08:00
Jin Cheng
77430f3e2d
fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks
2023-12-26 11:48:04 +08:00
linruihao
125a784983
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(9129dec)
2023-12-26 10:58:58 +08:00
Jiang Jiang Jian
21f33f6e2a
Merge branch 'feature/hogp_example_support_v5.2' into 'release/v5.2'
...
feat(nimble): Added HID over Gatt Profile Support (v5.2)
See merge request espressif/esp-idf!28024
2023-12-26 10:49:36 +08:00
Jiang Jiang Jian
a80717fbd5
Merge branch 'feature/support_suspend_on_120m_v5.2' into 'release/v5.2'
...
feat(spi_flash): Enable auto suspend on when flash works under 120M (backport v5.2)
See merge request espressif/esp-idf!27951
2023-12-26 10:42:32 +08:00
Jiang Jiang Jian
690d1a032e
Merge branch 'bugfix/u32_reg_tsens_v5.2' into 'release/v5.2'
...
fix(tempertuer_sensor): Fix regs on temperature sensor is not volatile due to GCC bug(backport v5.2)
See merge request espressif/esp-idf!27947
2023-12-26 10:41:45 +08:00
Jiang Jiang Jian
c3b7aa76d9
Merge branch 'change/add_scl_check_v5.2' into 'release/v5.2'
...
change(i2c): Add check for scl frequency for master_bus_add_device(backport v5.2)
See merge request espressif/esp-idf!27662
2023-12-26 10:34:00 +08:00
Jiang Jiang Jian
c70dde1420
Merge branch 'bugfix/connect_after_scan_v5.2' into 'release/v5.2'
...
fix(conn): Change second connect delay time to 730 (v5.2)
See merge request espressif/esp-idf!27836
2023-12-26 10:30:48 +08:00
Island
90e21c4404
Merge branch 'bugfix/fix_ble_clear_white_list_v5.2' into 'release/v5.2'
...
Fixed add(remove) RPA to(from) white list on ESP32C3(backport v5.2)
See merge request espressif/esp-idf!27797
2023-12-26 10:28:32 +08:00
Jiang Jiang Jian
9d2d1e2d39
Merge branch 'bugfix/ieee802154_deinit_v5.2' into 'release/v5.2'
...
Bugfix/ieee802154 deinit (Backport v5.2)
See merge request espressif/esp-idf!27974
2023-12-25 20:39:20 +08:00
Jiang Jiang Jian
99d10ca3d2
Merge branch 'change/change_regdma_power_issue_macro_v5.2' into 'release/v5.2'
...
change(pm): change macro SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG (backport v5.2)
See merge request espressif/esp-idf!27992
2023-12-25 20:38:48 +08:00
Jiang Jiang Jian
3139ae0f0e
Merge branch 'backport/openthread_related_feature_v52' into 'release/v5.2'
...
Backport some openthread related features (backport v5.2)
See merge request espressif/esp-idf!28053
2023-12-25 20:37:03 +08:00
Jiang Jiang Jian
0b9b16cb77
Merge branch 'bugfix/put_extra_link_retention_in_iram_5.2' into 'release/v5.2'
...
fix(pm): place extra link opt in iram(backport v5.2)
See merge request espressif/esp-idf!27899
2023-12-25 20:36:34 +08:00
Jiang Jiang Jian
40f7adaf3b
Merge branch 'bugfix/doc_changes_v52' into 'release/v5.2'
...
Use `@file` for file documentation and resolved few doc build warnings(v5.2)
See merge request espressif/esp-idf!28002
2023-12-25 20:35:34 +08:00
Jiang Jiang Jian
0af120ae17
Merge branch 'fix/btc_config_lock_error_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): fixed btc_config_lock error (backport v5.2)
See merge request espressif/esp-idf!28069
2023-12-25 20:34:34 +08:00
Jiang Jiang Jian
4efa9ca1db
Merge branch 'bugfix/fix_establish_two_sco_fail_v5.2' into 'release/v5.2'
...
fix(bt/controller): Fixed establish two sco connections failed (Backport v5.2)
See merge request espressif/esp-idf!28100
2023-12-25 20:34:09 +08:00
Jiang Jiang Jian
ede660ce4b
Merge branch 'optimize/When_psram_is_enable_the_number_of_ooseq_is_not_limited_5.2' into 'release/v5.2'
...
optimize(lwip):when psram is enable the number of ooseq is not limited 5.2
See merge request espressif/esp-idf!27944
2023-12-25 20:32:13 +08:00
Jiang Jiang Jian
1fb7a2ca58
Merge branch 'fix/build_error_in_compiler_performance_mode_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): fixed build error when compiler in performace mode (backport v5.2)
See merge request espressif/esp-idf!27863
2023-12-25 20:31:50 +08:00
Island
c8b5789267
Merge branch 'bugfix/ble_stack_disable_v5.2' into 'release/v5.2'
...
Bugfix/ble stack disable v5.2(backport v5.2)
See merge request espressif/esp-idf!27651
2023-12-25 18:33:25 +08:00
zwx
d5076b5749
feat(ieee802154): rf enable and disable refactor
2023-12-25 10:56:11 +08:00
xiaqilin
f183419d94
fix(ieee802154): fix ieee802154 mac deinit and config ieee802154_enable
2023-12-25 10:56:11 +08:00
linruihao
4a6a10044d
fix(bt/controller): Fixed establish two sco connections failed
2023-12-25 10:41:01 +08:00
zwl
1ff3eaafe9
fixed(ble): fixed an assertion issue when stopping periodic adv on ESP32C6 and ESP32H2
2023-12-22 15:31:29 +08:00
schottj
7b32ba0763
fix(app_update): fixed undeclared variable 'ret' in esp_ota_ops.c
2023-12-22 12:30:57 +05:30
cjin
82d53440a4
change(ble): added ble cca en and thresh option
2023-12-22 14:34:30 +08:00
luomanruo
f75b4b1636
ble: support for selecting CSA#2 by menuconfig
...
ble(fix): fixed event receiving on host side without returning event buffer to pool
2023-12-22 14:34:30 +08:00
luomanruo
ae21032e9d
ble(update):
...
Update c2 lib to 7c6c9d53
Update h2 lib to 0ecb36f0
Update c6 lib to 0ecb36f0
2023-12-22 14:33:32 +08:00
Island
4e09c6e346
Merge branch 'bugfix/ble_update_lib_20231201_v5.2' into 'release/v5.2'
...
update lib on release/v5.2
See merge request espressif/esp-idf!27588
2023-12-22 14:11:06 +08:00
morris
0056ab449e
Merge branch 'bugfix/gdma_legacy_macro_back_again_v5.2' into 'release/v5.2'
...
fix(gdma): reserve the SOC_GDMA_PAIRS_PER_GROUP (v5.2)
See merge request espressif/esp-idf!28054
2023-12-22 13:44:36 +08:00
gongyantao
5515c890ed
fix(bt/bluedroid): fixed btc_config_lock error
2023-12-22 11:30:26 +08:00
Laukik Hase
6a216ca839
fix(nvs_flash): Remove the forceful selection of NVS_ENCRYPTION with flash encryption
...
- This change will introduce a breaking change for SoCs with the HMAC
peripheral. Turning on flash encryption will no longer enable NVS
encryption automatically.
Closes https://github.com/espressif/esp-idf/issues/12549
2023-12-21 19:22:56 +05:30
Tomas Rezucha
9b40d39120
refactor(usb/host): Move FIFO size configuration to HAL layer
...
The logic of calculating FIFO sizes is DWC OTG specific.
We move it to the HAL layer to provide better abstraction in the HDC layer.
2023-12-21 10:34:56 +01:00
Tomas Rezucha
71cd4df75a
refactor(usb/host): Make private hal types USB_DWC specific
2023-12-21 10:34:46 +01:00
Tomas Rezucha
42277ac868
feat(usb/host): Add High Speed enumeration types
2023-12-21 10:33:49 +01:00
morris
b893744fd1
fix(gdma): reserve the SOC_GDMA_PAIRS_PER_GROUP
...
Closes https://github.com/espressif/esp-idf/issues/12798
2023-12-21 15:17:54 +08:00
Xu Si Yu
f29d324691
fix(openthread): allow setting netif_idx of udp pcb to no_index
2023-12-21 15:02:06 +08:00
Xu Si Yu
dd83f65e5c
fix(coex): 802.15.4 coex break notification
2023-12-21 15:01:55 +08:00
Xu Si Yu
6b8740ae8d
feat(ieee802154): add tx/rx report for IEEE802.15.4 debug
2023-12-21 15:01:44 +08:00
Xu Si Yu
01808d0cfb
feat(openthread): modification of uart and spi spinel based on openthread 41ef807
2023-12-21 15:01:31 +08:00
zwx
9ae095fc20
fix(openthread): fix openthread SPI tx timeout issue
2023-12-21 15:00:45 +08:00
zwx
d1f8299726
fix(openthread): add netif check when call udp api for ot
2023-12-21 15:00:09 +08:00
Mahavir Jain
692d15abbe
Merge branch 'fix/wrong_order_of_includes_in_esp_tls_v5.2' into 'release/v5.2'
...
fix(esp-tls): Fix missing header files in esp_tls_errors.h header file (v5.2)
See merge request espressif/esp-idf!27703
2023-12-20 20:44:31 +08:00
Jiang Jiang Jian
b4a612345b
Merge branch 'bugfix/fix_beacon_eb_memory_leak_issue_v5.2' into 'release/v5.2'
...
fix(wifi): fix beacon eb memory leak issue(Backport v5.2)
See merge request espressif/esp-idf!27924
2023-12-20 16:53:44 +08:00
luoxu
fb98bb40f3
feat(ble_mesh): Miscellaneous updates for mesh kconfig, relay related
2023-12-20 15:16:57 +08:00
Roshan Bangar
a58af467fc
feat(nimble): added HID over Gatt profile support
2023-12-20 09:58:26 +05:30
luomanruo
5c729436d6
ble(fix): Fixed crash issue when reset event queue
2023-12-19 17:35:34 +08:00
luomanruo
96a3926e22
ble(fix): clear event queue when init event queue
...
ble: update log module on ESP32C2, ESP32H2 and ESP32C6
2023-12-19 17:35:34 +08:00
luomanruo
c4444d1385
ble(update):
...
Update c2 lib to 47a787f0
Update h2 lib to 73452eac
Update c6 lib to 73452eac
2023-12-19 17:35:34 +08:00
Vikram Dattu
504c6a09e1
fix(docs): fixed doxygen warnings in few headers
...
- non-matching arguments in `i2c_types.h` and `esp_wifi_crypto_types.h`
- Fixed unended `@cond` macro in `esp_err.h`
2023-12-19 13:12:28 +05:30
Vikram Dattu
2b475022c5
fix(esp_srp): Use @file
for file documentation and missing doc
...
Using @brief for file description wrongly associates the documentation to an API.
Correct way to add file description is to use `@file` and then `@brief`. Corrected the same.
- Also added missing doc for esp_srp_handle_t
2023-12-19 13:12:11 +05:30
jgujarathi
13c548cefa
fix(esp_wifi): Correct wifi lib docs for esp_wifi_crypto_types.h
...
- Wifi lib changes for docs of some APIs in esp_wifi_crypto_types.h
2023-12-19 13:11:49 +05:30
zhangyanjiao
1427e14b72
feat(wifi): add wifi channel change event
...
Closes https://github.com/espressif/esp-idf/issues/12538
2023-12-19 13:11:01 +05:30
alanmaxwell
424bf120a3
feat(wifi): support dump 802.11 ACK frame for CSI
2023-12-19 13:10:49 +05:30
zhanghaipeng
90c51d25e0
fix(bt/bluedroid): Fix ble gattc deregister
2023-12-19 12:02:07 +08:00
zhanghaipeng
81bc017ff6
fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid
2023-12-19 12:02:07 +08:00
Lou Tianhao
7b5799830c
change(pm): change macro SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG
2023-12-19 11:52:25 +08:00
Cao Sen Miao
e3a854769a
feat(spi_flash): Enable auto suspend on when flash works under 120M
2023-12-15 16:57:53 +08:00
Cao Sen Miao
3d42ac21fa
fix(tempertuer_sensor): Fix regs on temperature sensor is not volatile due to GCC bug
2023-12-15 16:36:43 +08:00
Aditya Patwardhan
ff8a6a5bf9
Merge branch 'fix/esp32s3_soc_drom_high_addr_v5.2' into 'release/v5.2'
...
fix(soc): esp32s3/Fix the DROM_HIGH_ADDR (v5.2)
See merge request espressif/esp-idf!27821
2023-12-15 15:48:17 +08:00
Xue yun fei
cf4c2ea576
optimize(lwip):when psram is enable the number of ooseq is not limited
2023-12-15 14:10:54 +08:00
muhaidong
608d575172
fix(wifi): fix beacon eb memory leak issue
2023-12-14 18:10:30 +08:00
cjin
bff4001473
fix(pm): place extra link opt in iram
2023-12-14 11:19:05 +08:00
gongyantao
9edbb98a2c
fix(bt/bluedroid): fixed build error when compiler in performace mode
...
Closes https://github.com/espressif/esp-idf/issues/12751
2023-12-12 19:04:19 +08:00
Jiang Jiang Jian
41ca90905e
Merge branch 'bugfix/fix_esp32h2_system_retention_restore_backup_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): fix esp32h2 system link restore override cpu clk configuration(v5.2)
See merge request espressif/esp-idf!27810
2023-12-11 20:40:53 +08:00
ding huan
129bc8b7ff
fix(conn): Change second connect delay time to 730
2023-12-11 16:35:24 +08:00
Jiang Jiang Jian
6a34106488
Merge branch 'contrib/github_pr_12559_v5.2' into 'release/v5.2'
...
fix(spi): correct macro REG_SPI_BASE(i) for all targets (GitHub PR) (v5.2)
See merge request espressif/esp-idf!27708
2023-12-11 16:01:48 +08:00
Jiang Jiang Jian
ff14e382a4
Merge branch 'bugfix/some_wifi_fixes_v5.2' into 'release/v5.2'
...
fix(wifi): fix some wifi issues
See merge request espressif/esp-idf!27736
2023-12-11 16:00:29 +08:00
Jiang Jiang Jian
499625be33
Merge branch 'save_twdt_to_coredump_v5.2' into 'release/v5.2'
...
feat(coredump): save twdt panic output to coredump elf file (v5.2)
See merge request espressif/esp-idf!27756
2023-12-11 14:51:33 +08:00
Aditya Patwardhan
ebcb490aa9
fix(soc): esp32s3/Fix the DROM_DROM_HIGH limit
...
Previously the DROM_HIGH_ADDR for esp32s3 was 0x3D000000, which
convers only 16 MB of address range. But esp32s3 supports 32 MB
external memory. So this address should be 0x3E000000
2023-12-11 12:17:12 +05:30
wuzhenghui
613c17bc2f
fix(esp_hw_support): fix esp32h2 system link restore override cpu clk configuration
2023-12-11 11:24:00 +08:00
Jiang Jiang Jian
a2b96227ac
Merge branch 'bugfix/fix_rtc_us_to_cycle_div_zero_in_deepsleep_v5.2' into 'release/v5.2'
...
fix(esp_hw_support/sleep): fix rtc_time_us_to_slowclk div zero in deepsleep process (backport v5.2)
See merge request espressif/esp-idf!27763
2023-12-11 10:57:19 +08:00
Jiang Jiang Jian
1ef5c02c37
Merge branch 'feature/reinitialize_icg_map_in_modem_module_enable_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable (backport v5.2)
See merge request espressif/esp-idf!27765
2023-12-11 10:56:45 +08:00
radek.tandler
6949092234
feat(nvs_flash): Added function nvs_find_key
...
Closes https://github.com/espressif/esp-idf/issues/12155
2023-12-09 09:12:31 +01:00
liuning
3fdbfb2069
fix(wifi): fix disconnected abnormal sleep
2023-12-08 13:08:55 +00:00
muhaidong
87cc516338
fix(wifi): fix psram enabled but initialized fail issue
...
Closes https://github.com/espressif/esp-idf/issues/11971
2023-12-08 13:08:55 +00:00
zhangyanjiao
c26660e504
fix(wifi/mesh): fix connection and opmoode error in mesh
...
1. fix the bug that station can't found AP when the authmode is WPA
2. fix wifi mode error when mesh start after station has connected to router
Closes https://github.com/espressif/esp-idf/issues/12646
2023-12-08 13:08:55 +00:00
Jiang Jiang Jian
da169340f9
Merge branch 'bugfix/fix_dhcp_server_can_not_restore_address_pool_issue_5.2' into 'release/v5.2'
...
fix(dhcp server):dhcp server can not restore address pool 5.2
See merge request espressif/esp-idf!27740
2023-12-08 21:05:00 +08:00
chenjianhua
f727b7b25d
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(65db61f)
...
- Fixed remove and clear white list
2023-12-08 19:49:57 +08:00
wuzhenghui
debcb50fd2
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable
2023-12-08 14:18:45 +08:00
wuzhenghui
7b3c08e37a
fix(esp_hw_support/sleep): fix rtc_time_us_to_slowclk div zero in deepsleep process
...
Closes https://github.com/espressif/esp-idf/issues/12695
2023-12-08 13:59:52 +08:00
Jiang Jiang Jian
db15c0e183
Merge branch 'fix/coexist_reg_esp32c6_set_default_value_v5.2' into 'release/v5.2'
...
fix(esp_coex): fix esp32c6 coex reg reset issue (backport v5.2)
See merge request espressif/esp-idf!27739
2023-12-08 11:14:58 +08:00
Marius Vikhammer
a5dc34f416
Merge branch 'refactor/soc_caps_multiple_cores_v5.2' into 'release/v5.2'
...
change(docs): Update multicore tags to SOC_CPU_HAS_MULTIPLE_CORES (v5.2)
See merge request espressif/esp-idf!27743
2023-12-08 10:56:26 +08:00
Erhan Kurubas
d9d388dae7
feat(coredump): save twdt panic output to coredump elf file
2023-12-07 15:21:24 +01:00
Jiang Jiang Jian
97594d2076
Merge branch 'backport/add_config_to_set_custom_mac_as_base_mac_v5_2' into 'release/v5.2'
...
feat(mac): Add a configuration to set custom MAC as base MAC(Backport V5.2)
See merge request espressif/esp-idf!27738
2023-12-07 21:03:51 +08:00
Jiang Jiang Jian
0a1e5846c7
Merge branch 'bugfix/fix_sm_inject_return_value_v5.2' into 'release/v5.2'
...
fix(nimble): Added change to return success for API execution (v5.2)
See merge request espressif/esp-idf!27725
2023-12-07 21:03:34 +08:00
Darian Leung
a7e2ea76d8
change(soc): Add SOC_HP_CPU_HAS_MULTIPLE_CORES
...
This commit adds a the SOC_HP_CPU_HAS_MULTIPLE_CORES convenience macro to
soc_caps.h. This is a convenience boolean cap to represent whether or not the
target has multiple cores, and is intended to be used when writing docs for
multiple targets.
2023-12-07 17:53:18 +08:00
Marius Vikhammer
8005821b09
Merge branch 'change/deprecate_legacy_xtensa_include_path_v5.2' into 'release/v5.2'
...
change(xtensa): Deprecate legacy include paths (v5.2)
See merge request espressif/esp-idf!27673
2023-12-07 17:27:38 +08:00
Island
1f2d548fbb
Merge branch 'backport/fix_ble_menuconfig_v5.2' into 'release/v5.2'
...
Backport/fix ble menuconfig v5.2(backport v5.2)
See merge request espressif/esp-idf!27498
2023-12-07 16:25:30 +08:00
xueyunfei
841339c012
fix(dhcp server):dhcp server can not restore address pool
2023-12-07 15:18:45 +08:00
morris
1fb97c1718
Merge branch 'bugfix/fix_adc_continuous_do_not_rst_apb_clk_v5.2' into 'release/v5.2'
...
fix(adc): fix adc continuous get less results beacuse do not reset apb clk (v5.2)
See merge request espressif/esp-idf!27600
2023-12-07 15:11:26 +08:00
xiaqilin
39a383981d
fix(esp_coex): fix esp32c6 coex reg reset issue
2023-12-07 15:07:06 +08:00
morris
61bd19b446
Merge branch 'bugfix/fix_adc_cali_error_after_light_sleep_wake_on_h2_v5.2' into 'release/v5.2'
...
adc: fix calibration error when waking up from light sleep on H2 and enable test (v5.2)
See merge request espressif/esp-idf!27602
2023-12-07 14:29:55 +08:00
morris
4e5757f1ab
Merge branch 'refactor/uart_read_bytes_from_ringbuf_v5.2' into 'release/v5.2'
...
change(uart): improved the internal logic of uart_read_bytes (v5.2)
See merge request espressif/esp-idf!27701
2023-12-07 14:23:05 +08:00
zwx
0d4d3c103f
feat(mac): Add a configuration to set custom MAC as base MAC
2023-12-07 14:14:55 +08:00
Rahul Tank
f8736aed36
fix(nimble): Added change to return success for API execution
2023-12-07 09:40:12 +05:30
Mahavir Jain
37bf8dff6b
Merge branch 'fix/esp32p4-memory-layout_v5.2' into 'release/v5.2'
...
fix(heap): Update the heap memory layout on esp32p4 target (backport v5.2)
See merge request espressif/esp-idf!27097
2023-12-07 11:52:14 +08:00
Jiang Jiang Jian
90d69b38b2
Merge branch 'bugfix/bod_reset_c6_h2_v5.2' into 'release/v5.2'
...
fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again(backport v5.2)
See merge request espressif/esp-idf!27722
2023-12-07 10:51:29 +08:00
Jiang Jiang Jian
f32321e6a5
Merge branch 'bugfix/authcomplete_failure_v5.2' into 'release/v5.2'
...
fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value (v5.2)
See merge request espressif/esp-idf!27619
2023-12-07 10:47:52 +08:00
Jiang Jiang Jian
968b15d380
Merge branch 'fix/rng_register_prefix_discrepency_newer_targets_v5.2' into 'release/v5.2'
...
Fix: RNG register prefix discrepancy for ESP32C6 and ESP32H2 (v5.2)
See merge request espressif/esp-idf!27683
2023-12-07 10:46:15 +08:00
zwx
e951cebfa2
fix(vfs): add MALLOC_CAP_8BIT for vfs select
2023-12-07 10:46:01 +08:00
Jiang Jiang Jian
fdd8d4284f
Merge branch 'bugfix/fix_uart_disabled_in_driver_cause_restart_stuck_v5.2' into 'release/v5.2'
...
fix(esp_system): fix uart clock disabled in driver cause esp_restart stuck (backport v5.2)
See merge request espressif/esp-idf!27693
2023-12-07 10:35:07 +08:00
Cao Sen Miao
191466d824
fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again
2023-12-06 19:46:44 +08:00
Island
56563f7092
Merge branch 'bugfix/fix_some_ble_bugs_v5.2' into 'release/v5.2'
...
Fixed some BLE bugs (backport v5.2)
See merge request espressif/esp-idf!27694
2023-12-06 19:21:22 +08:00
wanlei
572a66b62e
fix(spi): correct some signals and dummy bits docs
2023-12-06 16:05:36 +08:00
TD-er
a4bfa19ebd
fix(spi): Correct REG_SPI_BASE(i) macro for all targets
...
The existing formula can never match these registers.
Closes https://github.com/espressif/esp-idf/pull/12559
Closes https://github.com/espressif/esp-idf/pull/12562
2023-12-06 14:44:26 +08:00
Alexey Gerenkov
a3cee541d3
Merge branch 'save_isr_ctx_to_coredump_v5.2' into 'release/v5.2'
...
feat(coredump): save isr context to coredump elf file (v5.2)
See merge request espressif/esp-idf!27453
2023-12-06 13:57:05 +08:00
Jiang Jiang Jian
bdb0756cdb
Merge branch 'bugfix/dpp_deinit_memleak_v52' into 'release/v5.2'
...
Fix a memory leak in dpp deinit path(v5.2)
See merge request espressif/esp-idf!27680
2023-12-06 13:22:28 +08:00
Harshit Malpani
6595897d2d
fix(esp-tls): Add headers in esp_tls_errors.h header file
...
Closes https://github.com/espressif/esp-idf/issues/12541
2023-12-06 10:19:41 +05:30
Guillaume Souchere
66759438a9
fix(heap): Update the heap memory layout on esp32p4 target
...
- fix the value of SOC_ROM_STACK_START in soc.h
- Update the memory usage of ROM bootloader appendix in bootloader.ld
- Update the soc_memory_regions table to minimize the number of regions
created after the startup stack is added back as a heap.
2023-12-06 04:48:00 +00:00
Marius Vikhammer
56a6cad52c
Merge branch 'fix/esp_hw_support_remove_unused_include_dirs_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): Removed nonexistent include directories from cmake (v5.2)
See merge request espressif/esp-idf!27606
2023-12-06 12:09:03 +08:00
Song Ruo Jing
be27966ce9
change(uart): improved the internal logic of uart_read_bytes
...
Ringbuffer usage becomes more efficient with the use of xRingbufferReceiveUpTo
Closes https://github.com/espressif/esp-idf/issues/12386
2023-12-06 11:39:31 +08:00
Island
e2b18f2c2c
Merge branch 'bugfix/BLEQABR23-35_v5.2' into 'release/v5.2'
...
fix(ble_mesh): avoid ble_mesh packet collision by using random adv interval(v5.2)
See merge request espressif/esp-idf!27486
2023-12-06 11:06:47 +08:00
Jiang Jiang Jian
e19be79e4f
Merge branch 'fix/usb_host_soc_caps_backport_v5.2' into 'release/v5.2'
...
USB host soc caps (backport v5.2)
See merge request espressif/esp-idf!27401
2023-12-06 10:55:49 +08:00
Jiang Jiang Jian
a5b9169a7e
Merge branch 'contrib/github_pr_12460_v5.2' into 'release/v5.2'
...
fixing OTA write up to SPI_FLASH_SEC_SIZE margins (GitHub PR) (v5.2)
See merge request espressif/esp-idf!27643
2023-12-06 10:52:24 +08:00
Jiang Jiang Jian
2d8fb1604f
Merge branch 'bugfix/IDFGH-11398_v5.2' into 'release/v5.2'
...
bugfix(ble_mesh): Fixed incorrect RPR Client unicast address was obtained(154b4fcc)(v5.2)
See merge request espressif/esp-idf!27565
2023-12-06 10:51:12 +08:00
wuzhenghui
d07bd19ba6
fix(esp_system): fix uart clock disabled in driver cause esp_restart stuck
2023-12-06 10:36:48 +08:00
chenjianhua
6139b362a0
fix(bt): Update bt lib for ESP32(fa43201)
...
- Fixed assert for instant passed workaround
- Fixed scan evt timeout
- Fixed random address setting when scanning
2023-12-06 10:35:55 +08:00
shangke
6a08a13e70
fix(bt/controller): Fixed some HCI commands parameter
2023-12-06 10:35:32 +08:00
chenjianhua
70c7f3725f
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b8f0db9)
...
- Fixed assert when llcp instant passed
2023-12-06 10:35:21 +08:00
chenjianhua
b586575970
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(70ab55f)
...
- Fixed assert for instant passed workaround
- Fixed add RPA to white list
- Fixed AES encryption for RPA resolution
2023-12-06 10:35:11 +08:00
chenjianhua
7c3a604e27
fix(bt/bluedroid): Fixed add RPA to white list
2023-12-06 10:34:57 +08:00
Roman Leonov
bc2ef597a4
fix(usb/host): remove bInterval verification during pipe opening for INTR and ISOC EPs
2023-12-05 16:44:53 +01:00
Tomas Rezucha
4cf3acb594
fix(usb/host): Do not abort on string descriptor overflow
...
Some devices return full LANGID table, even if short LANGID table was requested.
No memory overflow occurs, because we have allocated enough memory for transfers to the
default pipe. So we can ignore the error and continue with string desc fetching.
2023-12-05 16:44:53 +01:00
Darian Leung
af4991fb39
refactor(hal/usb_dwc): Add DWC OTG configuration values
...
This commit adds a subset of the DWC OTG configuration values to the
'usb_dwc_ll.h' file. Only relevant configuration values have been added.
Some DWC OTG releated constants have also been moved from 'usb_dwc_hal.h'
to 'usb_dwc_ll.h' and renamed.
2023-12-05 16:44:53 +01:00
Darian Leung
e9c617fa19
refactor(soc): SOC_USB_PERIPH_NUM option
...
This commit refactors SOC_USB_PERIPH_NUM as follows:
- Renamed to SOC_USB_OTG_PERIPH_NUM to avoid confusion with USB Serial JTAG
- Updated to unsigned integer "1U"
- Updated some build rules to depend on SOC_USB_OTG_SUPPORTED instead
2023-12-05 16:44:46 +01:00
harshal.patil
a168fde297
fix(soc/esp32h2): Fix llperi_rng_data field discrepancy
2023-12-05 21:08:33 +05:30
harshal.patil
8558aa4414
fix(soc/esp32c6): Fix llperi_rng_data field discrepancy
2023-12-05 21:08:32 +05:30
jgujarathi
72176eee5d
fix(wpa_supplicant): Move concurrent wps and dpp check to before creating task
...
- Move the check for checking concurrent wps and dpp check to before creating
task rather than after.
2023-12-05 18:57:33 +05:30
jgujarathi
3da789bae6
fix(wpa_supplicant): Fix a crash in esp_wifi_wps_disable
...
- Fixes a crash observed in esp_wifi_wps_disable when wps process
is ongoing, caused due to concurrency issues in cancelling timers.
2023-12-05 18:57:25 +05:30
jgujarathi
34795220d2
fix(wpa_supplicant): Add support for a dpp authentication timeout
...
- Adds support for a 1 second dpp authentication timeout.
2023-12-05 18:57:17 +05:30
jgujarathi
357e0e144b
fix(wpa_supplicant): Restructuring DPP init method to ensure cleanup
...
- Restructuring DPP init function to ensure cleanup of variables in case of
init failure
2023-12-05 18:57:09 +05:30
jgujarathi
58f1bde9ef
fix(wpa_supplicant): Fix location of clearing up dpp global variables
...
- Fix location of cleaing up dpp global variables to ensure that there are
no concurrency issues.
2023-12-05 18:57:02 +05:30
jgujarathi
f9c8db8f94
fix(wpa_supplicant): Fix a memory leak in dpp deinit path
...
- Ensures that the auth information of dpp gets freed when there is
dpp gets deinited.
2023-12-05 18:56:52 +05:30
aditi_lonkar
6a92a3582e
fix(esp_wifi):Fix WDT when esp_supp_dpp_start_listen called multiple times
2023-12-05 18:56:30 +05:30
zhangyanjiao
609d25482b
fix(wifi): fix the crash issue when clear scan ap list
2023-12-05 18:54:15 +05:30
zhangyanjiao
36cbbdcf65
feat(wifi): add new api to get one scan ap record
2023-12-05 18:54:06 +05:30
Darian Leung
b85e6d3dd8
change(xtensa): Deprecate ".../xtensa_timer.h" include path
...
This commit deprecates the "freertos/xtensa_timer.h" and "xtensa/xtensa_timer.h"
include paths. Users should use "xtensa_timer.h" instead.
- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_timer.h"
- Add warning to compatibility header
2023-12-05 18:04:52 +08:00
Darian Leung
555bd367e1
change(xtensa): Deprecate ".../xtensa_context.h" include path
...
This commit deprecates the "freertos/xtensa_context.h" and "xtensa/xtensa_context.h"
include paths. Users should use "xtensa_context.h" instead.
- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Add warning to compatibility header
2023-12-05 18:04:52 +08:00
Darian Leung
c2e134b775
change(xtensa): Deprecate ".../xtensa_api.h" include path
...
This commit deprecates the "freertos/xtensa_api.h" and "xtensa/xtensa_api.h"
include paths. Users should use "xtensa_api.h" instead.
- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Replaced some calls with "esp_cpu_..." equivalents
- Add warning to compatibility header
2023-12-05 18:04:52 +08:00
Darshan Dobariya
7cdddd47aa
fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value (v5.2)
2023-12-05 14:22:42 +05:30
Cao Sen Miao
1625943486
change(i2c): Add check for scl frequency for master_bus_add_device
...
Closes https://github.com/espressif/esp-idf/issues/12598
2023-12-05 13:36:39 +08:00
Jiang Jiang Jian
ffbbf0cebf
Merge branch 'feature/add_fatfs_sbom_v5.2' into 'release/v5.2'
...
feat(storage/fatfs): add sbom file manifest for FatFs (v5.2)
See merge request espressif/esp-idf!27479
2023-12-05 12:03:17 +08:00
Tomas Rohlinek
a635d11b4a
feat(storage/fatfs): add sbom file manifest for FatFs (v5.2)
2023-12-05 12:03:17 +08:00
Jiang Jiang Jian
df43d670a1
Merge branch 'change/freertos_remove_xcoreid_for_single_core_v5.2' into 'release/v5.2'
...
change(freertos/idf): Remove xCoreID from TCB in single-core builds (v5.2)
See merge request espressif/esp-idf!27617
2023-12-05 12:01:09 +08:00
Jiang Jiang Jian
7a3efab6a7
Merge branch 'backport/router_forwarding_flag_set_v52' into 'release/v5.2'
...
feat(lwip): support NA router farwording flag set(Backport v5.2)
See merge request espressif/esp-idf!27631
2023-12-05 11:59:54 +08:00
Jiang Jiang Jian
6388f3f13c
Merge branch 'bugfix/nan_sd_dp_timer_fixes_v5.2' into 'release/v5.2'
...
Fix NAN service discovery, datapath and timer bugs (Backport v5.2)
See merge request espressif/esp-idf!27530
2023-12-05 11:29:16 +08:00
Jiang Jiang Jian
eb848eaa6b
Merge branch 'bugfix/remove_rpa_rec_v5.2' into 'release/v5.2'
...
fix(nimble): Handled the deletion of RPA mapping.(v5.2)
See merge request espressif/esp-idf!27320
2023-12-05 11:16:12 +08:00
Jiang Jiang Jian
c7b527bd27
Merge branch 'bugfix/alarm_args_double_free_v5.2' into 'release/v5.2'
...
Bugfix/alarm args double free v5.2
See merge request espressif/esp-idf!27537
2023-12-05 11:14:13 +08:00
Roland Dobai
fc95a892ab
fix(tools): Fix fatfsgen construct exception type and dependency
...
construct=2.10.70 fixed an issue
(c3866e9492
)
and StringError is raised instead of UnicodeDecodeError.
2023-12-04 17:21:10 +01:00
kohait00
4c1c9373e9
fix(app_update): avoid erasing an extra sector than the actual required size
...
OTA update used to fail if `firmware_size == partition_size`, because the code was trying to
erase one additional sector beyond the space reserved for the firmware partition.
This commit fixes the problem and OTA update can work if the firmware
size exactly matches the allocated partition size.
Closes https://github.com/espressif/esp-idf/pull/12460
2023-12-04 18:42:44 +05:30
Island
3081c8b5ea
Merge branch 'bugfix/BLEQABR23-811_v5.2' into 'release/v5.2'
...
bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate...(v5.2)
See merge request espressif/esp-idf!27567
2023-12-04 19:48:29 +08:00
zwx
afbbaaf417
feat(lwip): support NA router farwording flag set
...
* Update submodule: git log --oneline
4a8286ab8bcf983f22421e3d4be650837b5eb277..542ba2997f6cc14fe9c3d781bf9b0d890cd70bb1
- fix router forwarding flag set (espressif/esp-lwip@542ba299 )
2023-12-04 16:22:24 +08:00
Darian Leung
913550f62c
fix(freertos/idf): Fix invalid xCoreID arguments in single-core
...
IDF FreeRTOS v10.5.1 no longer accepts out of range xCoreID arguments in
"PinnedToCore" task creation functions when building for single-core. This
commit fixes those violations through ESP-IDF.
2023-12-04 15:03:58 +08:00
Darian Leung
ee0ee4887f
change(freertos/idf): Remove xCoreID TCB member for single-core
...
This commit does the following:
- removes the xCoreID member from the TCB when building for single-core
- xCoreID is no longer hard set to 0 when calling "PinnedToCore" task creation
functions in single-core
- Tidy up or add missing xCoreID asserts for functions that take xCoreID as an
argument:
- Functions that set/query a variable of a particular core will call
taskVALID_CORE_ID() to ensure ) 0 <= xCoreID < configNUMBER_OF_CORES
- Task creation functions that accept xCoreID also call taskVALID_CORE_ID()
but also allow tskNO_AFFINITY.
- Fix TaskStatus_t
- Remove xCoreID from TaskStatus_t if configTASKLIST_INCLUDE_COREID is not
defined.
- Set xCoreID to 0 when calling vTaskGetInfo() in single-core builds
2023-12-04 15:03:55 +08:00
Darian Leung
63fee6c23a
refactor(freertos/idf): Refactor yield and affinity macros
...
This commit refactors the following macros so that calling them no longer
requires referencing pxTCB->xCoreID.
- taskIS_YIELD_REQUIRED()
- taskIS_YIELD_REQUIRED_USING_PRIORITY()
- taskIS_AFFINITY_COMPATIBLE()
2023-12-04 14:59:37 +08:00
zhanghaipeng
633dd89d4a
feat(bt/bluedroid): Support ble create sync report disable and filter duplicate
2023-12-04 14:40:58 +08:00
Mahavir Jain
c9f1d3e8be
Merge branch 'fix/aes_mpi_interrupt_allocation_workflow_for_aes_gcm_v5.2' into 'release/v5.2'
...
fix(mbedtls/aes): fix AES interrupt allocation for AES-GCM operations (v5.2)
See merge request espressif/esp-idf!27578
2023-12-04 14:09:43 +08:00
Jakob Hasse
e3653aaa98
fix(esp_hw_support): Removed unused include directories from cmake
...
* Closes https://github.com/espressif/esp-idf/issues/12700
2023-12-04 12:59:51 +08:00
Marius Vikhammer
0818b1fca1
Merge branch 'feature/misc_core_build_tests_p4_v5.2' into 'release/v5.2'
...
ci(system): fixed and enabled misc system build tests (v5.2)
See merge request espressif/esp-idf!27476
2023-12-04 12:16:58 +08:00
gaoxu
44f266693a
fix(adc): restore cali registers after light sleep wake up on H2 and enable test
2023-12-04 12:03:49 +08:00
gaoxu
35844b3d09
ci(adc): add a test that adc continuous read after restarting
2023-12-04 11:56:24 +08:00
gaoxu
ca3bcb18b0
fix(adc): fix adc continuous get less results beacuse do not reset apb clk
2023-12-04 11:56:24 +08:00
Jiang Jiang Jian
7ee2470603
Merge branch 'fix/esp_vfs_fat_sdcard_format_workbuf_leak_v5.2' into 'release/v5.2'
...
fix: esp_vfs_fat_sdcard_format workbuf memory leak (v5.2)
See merge request espressif/esp-idf!27503
2023-12-04 11:03:21 +08:00
Jiang Jiang Jian
821d82f04e
Merge branch 'support/add_srp_salt_ver_gen_api_v5.2' into 'release/v5.2'
...
Generate Salt and verifier pair for given username and password (v5.2)
See merge request espressif/esp-idf!27360
2023-12-04 11:00:50 +08:00
Jiang Jiang Jian
4e0459f112
Merge branch 'feature/refactor_some_coexist_sections_v5.2' into 'release/v5.2'
...
Feature/refactor some coexist sections v5.2
See merge request espressif/esp-idf!27365
2023-12-04 10:46:16 +08:00
Abhinav Kudnar
fb4e56e9a3
fix(nimble): Handled the deletion of RPA mapping.
2023-12-01 17:54:11 +05:30
harshal.patil
b94656115e
fix(mbedtls/aes): fix AES interrupt allocation for AES-GCM operations
2023-12-01 16:34:49 +05:30
zhanghaipeng
068a364a6b
fix(bt/bluedroid): Fix BLE SMP register log level
2023-12-01 17:05:23 +08:00
luoxu
134fd6b8d8
bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate scan feature on the NimBLE host.
2023-12-01 16:48:31 +08:00
luoxu
d3a78fef1b
bugfix(ble_mesh): Fixed incorrect RPR Client unicast address was obtained(154b4fcc)
2023-12-01 16:04:09 +08:00
Mahavir Jain
3ca40da386
Merge branch 'bugfix/fix_http_client_async_mode_v5.2' into 'release/v5.2'
...
fix(esp_http_client): Fix esp_http_client async mode (v5.2)
See merge request espressif/esp-idf!27513
2023-12-01 15:38:16 +08:00
Island
2110f6b037
Merge branch 'update/ble_mesh_put_lib_in_submodule_v5.2' into 'release/v5.2'
...
fix(ble_mesh): Put Mesh 1.1 lib files in submodule (v5.2)
See merge request espressif/esp-idf!27549
2023-12-01 15:17:17 +08:00
Rahul Tank
dc835a0918
Merge branch 'bugfix/add_legacy_adv_clear_vsc_v5.2' into 'release/v5.2'
...
fix(nimble): Add support for VSC to clear legacy adv memory (v5.2)
See merge request espressif/esp-idf!27470
2023-12-01 15:03:45 +08:00
liuning
2482c4a025
feat(coex): apply struct for coex version
2023-12-01 06:00:34 +00:00
liuning
0d0265f6f3
feat(coex): rename coexist sections
2023-12-01 06:00:34 +00:00
Island
eba1baa63d
Merge branch 'bugfix/ble_update_lib_20231124_v5.2' into 'release/v5.2'
...
ble(update):Update c2 lib to 79ed4e8a,Update h2 lib to 9a237426,Update c6 lib to 9a237426
See merge request espressif/esp-idf!27394
2023-12-01 13:58:27 +08:00
Liu Linyan
ba7b323c3e
fix(ble_mesh): Use submodule for mesh 1.1 lib files
2023-12-01 10:00:37 +08:00
Liu Linyan
e58ed21fbf
fix(ble_mesh): Remove the orginal mesh 1.1 lib files
2023-12-01 10:00:30 +08:00
morris
587b4b32f8
Merge branch 'bugfix/uart_custom_console_v5.2' into 'release/v5.2'
...
fix(console): enable to select UART1 port for console output (v5.2)
See merge request espressif/esp-idf!27506
2023-11-30 21:46:22 +08:00
Jin Cheng
d28751ee7f
fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in L2CAP layer
2023-11-30 19:58:38 +08:00
Jin Cheng
7a335421e1
fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in BTC layer
2023-11-30 19:58:02 +08:00
Shyamal Khachane
9f65fa31e2
fix(esp_wifi): Fix NAN service discovery, datapath and timer bugs
...
1. Fix crash while cancelling NAN service
2. Avoid possible crash scenarios while forming datapath
3. Modify peer records structure thus fixing issues in datapath establishment
4. Fix timer out of bound issue causing "No timer handle" warning
5. Fix miscellaneous service discovery and datapath issues
2023-11-30 16:34:19 +05:30
Mu Hai Dong
dd295049a9
fix(wifi): free beacon eb when softap destroy
2023-11-30 16:28:37 +05:30
Ondrej Kosta
b5cfc9400c
ci(esp_eth): addressed LAN8720 errata in CI test
2023-11-30 09:29:37 +00:00
Ondrej Kosta
a82879367a
feat(esp_eth): added ioctl option to read/write PHY registers
...
LAN87xx: Added extra delay after setting PHY speed
2023-11-30 09:29:37 +00:00
Ondrej
d554768528
ci(esp_eth): make additional Ethernet chips test as nightly run
2023-11-30 09:29:37 +00:00
Shu Chen
b807b6ebf3
Merge branch 'fix/ieee802154_sleep_config_v5.2' into 'release/v5.2'
...
fix(ieee802154): fix ieeee802154 sleep enable configuration dependency issue (backport v5.2)
See merge request espressif/esp-idf!27467
2023-11-30 16:53:12 +08:00
Harshit Malpani
e4ecfc2133
fix(esp_http_client): Fix esp_http_client async mode
...
Closes https://github.com/espressif/esp-idf/issues/12358
2023-11-30 12:04:31 +05:30
Rahul Tank
99a923fa0f
fix(nimble): Add support for VSC to clear legacy adv memory
...
Legacy adv does not have an API for clear adv memory in controller.
Added VSC for same.
2023-11-30 09:10:06 +05:30
Rahul Tank
40d48108b1
Merge branch 'bugfix/cts_handle_invalid_year_val_v5.2' into 'release/v5.2'
...
fix(nimble): Handled invalid write on year value in Current Time Service (v5.2)
See merge request espressif/esp-idf!27461
2023-11-30 11:38:36 +08:00
Song Ruo Jing
55ed548cc6
fix(console): enable to select UART1 port for console output
...
This feature was only enabled for esp32, esp32s2, esp32s3 previously.
Now, enabling this feature for all targets.
2023-11-30 11:26:09 +08:00
zhanghaipeng
3d2daa08cc
fix(bt/bluedroid): Fix bluedroid menuconfig
2023-11-30 10:42:04 +08:00
Adam Múdry
d465ed93f6
fix: esp_vfs_fat_sdcard_format workbuf memory leak
2023-11-29 16:16:58 +01:00
Aditya Patwardhan
c90d14c979
Merge branch 'fix/cleanup_deleted_menuconfig_option_entries_v5.2' into 'release/v5.2'
...
fix(mbedtls): Fix menuconfig option entries (v5.2)
See merge request espressif/esp-idf!27463
2023-11-29 21:20:55 +08:00
luoxu
afab071f51
bugfix(ble_mesh): Supplementary configuration options that should be enabled.
2023-11-29 19:19:18 +08:00
Liu Linyan
d680a3949b
fix(ble_mesh): Support using random adv interval for mesh packets
2023-11-29 19:19:18 +08:00
Marius Vikhammer
faf6bc933e
ci(system): fixed and enabled misc system build tests
2023-11-29 16:59:15 +08:00
Martin Vychodil
6fcfe379bc
Merge branch 'feature/expose_unload_partitions_v5.2' into 'release/v5.2'
...
refactor(esp_partition): Expose function for unloading partitions (v5.2)
See merge request espressif/esp-idf!27425
2023-11-29 16:34:26 +08:00
Martin Vychodil
e089cb3d4d
Merge branch 'fix/fatfs_formatting_wrong_volume_v5.2' into 'release/v5.2'
...
Fix: FATFS formatting wrong partition (v5.2)
See merge request espressif/esp-idf!27372
2023-11-29 16:32:24 +08:00
xiaqilin
2555d5cb12
fix(ieee802154): fix ieeee802154 sleep enable configuration dependency issue
2023-11-29 13:44:59 +08:00
Aditya Patwardhan
c1779ff8b7
fix(mbedtls): Removed redundant menuconfig entry
2023-11-29 09:50:12 +05:30
Roshan Bangar
1437d00487
fix(nimble): Handled invalid write on year value in Current Time Service
2023-11-29 09:49:53 +05:30
Jiang Jiang Jian
1a9f3b22f4
Merge branch 'bugfix/fix_wifi_deinit_s_wifi_modem_sleep_lock_v5.2' into 'release/v5.2'
...
fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock
See merge request espressif/esp-idf!27451
2023-11-29 12:15:59 +08:00
Erhan Kurubas
567bc462f0
feat(coredump): save isr context to coredump elf file
2023-11-28 18:19:03 +01:00
liuning
a9b1a27c9a
fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock
2023-11-28 20:57:02 +08:00
morris
bc38841c11
Merge branch 'bugfix/i80_lcd_tx_param_check_enhancement_v5.2' into 'release/v5.2'
...
fix(i80_lcd): enhance the check of a valid data phase (v5.2)
See merge request espressif/esp-idf!27427
2023-11-28 18:33:19 +08:00
Rahul Tank
f40318c6c7
Merge branch 'bugfix/fix_duplicate_exception_vsc_5.2' into 'release/v5.2'
...
fix(nimble): Fix the parameters in duplicate exception list vsc command(v5.2)
See merge request espressif/esp-idf!27405
2023-11-28 15:49:51 +08:00
Rahul Tank
4122499997
Merge branch 'feature/current_time_service_v5.2' into 'release/v5.2'
...
feat(nimble): Added Example support for Current Time Service (v5.2)
See merge request espressif/esp-idf!26975
2023-11-28 14:00:21 +08:00
morris
1f79b5045d
fix(i80_lcd): enhance the check of a valid data phase
...
in case the user passes a (uint8_t){0x00} parameter with the perameter size
set to zero
2023-11-28 09:57:02 +08:00
Adam Múdry
74c0234f72
refactor(esp_partition): Expose function for unloading partitions
...
Closes https://github.com/espressif/esp-idf/issues/12625
2023-11-27 19:49:59 +01:00
harshal.patil
330f3edf11
fix(nvs_flash): Fix the memory leak in the nvs_flash test app
...
The leak is now reduced by allocating the AES interrupt and
loading the partitions in the test setup instead of in the tests itself.
2023-11-27 17:25:14 +05:30
Rahul Tank
8150abfb67
fix(nimble): Fix the parameters in duplicate exception list vsc command
2023-11-27 08:52:27 +05:30
Rahul Tank
4bedb8372b
feat(nimble): Added example support for Current Time Service
2023-11-27 08:43:00 +05:30
Rahul Tank
634ce1e425
fix(nimble): Fix dangling pointer error during compilation
2023-11-26 12:36:26 +05:30
luomanruo
8a64c4c404
ble: update rom.ld file
2023-11-24 20:33:49 +08:00
luomanruo
c6c42d0b5c
ble: update sdkconfig_version on ESP32C2, ESP32H2 and ESP32C6
2023-11-24 20:20:20 +08:00
luomanruo
9ead485ffd
ble(fix): fix RX issue on ESP32-C2
2023-11-24 19:41:35 +08:00
luomanruo
6abe369115
ble:
...
Update c2 lib to 79ed4e8a
Update h2 lib to 9a237426
Update c6 lib to 9a237426
2023-11-24 19:21:13 +08:00
zwx
be96274ea3
fix(vfs): fix uart malloc when locates ISR context in IRAM
2023-11-24 16:09:14 +08:00
Jiang Jiang Jian
a9f7ea3566
Merge branch 'bugfix/ble_gap_unpair_oldest_peer_fix_v5.2' into 'release/v5.2'
...
fix(nimble): Fixed ble_gap_unpair_oldest_peer to prevent writing to invalid memory (v5.2)
See merge request espressif/esp-idf!27315
2023-11-24 12:24:43 +08:00
Jiang Jiang Jian
f0e1a1f35f
Merge branch 'bugfix/ble_update_lib_1110_5.2' into 'release/v5.2'
...
Bugfix/ble update lib 1110 5.2
See merge request espressif/esp-idf!27062
2023-11-24 10:13:30 +08:00
Adam Múdry
c77b2fcd5d
fix(storage): FATFS WL function formatting wrong partition
...
Closes https://github.com/espressif/esp-idf/issues/12542
Co-authored-by: Tony Stuart <anthonyfstuart@gmail.com>
2023-11-23 22:45:36 +01:00
Jiang Jiang Jian
8cc8a1108d
Merge branch 'bugfix/authmode_incompatible_reason_code_v52' into 'release/v5.2'
...
Expand situations for REASON_NO_AP_FOUND_WITH_COMPATIBLE_SECURITY(v5.2)
See merge request espressif/esp-idf!27341
2023-11-23 19:40:25 +08:00
Vikram Dattu
541b665b9f
feat(provisioning): Generate Salt and verifier pair for given username and password
...
This commit adds a new feature to generate a salt and verifier pair for a given username and
password during the provisioning process. This is useful in scenarios where the pairing pin is
randomly generated and shown via some interface such as a display or console.
- Uses the provided username and password to generate a salt and verifier pair
- Adds support for dev mode where the pin/password can still be read from flash
2023-11-23 14:25:53 +05:30
Vikram Dattu
ee65ea9fb7
refactor(esp_srp): Expose esp_srp.h and add API docs
...
- Also added missing `protocomm_security2` reference in `protocomm.rst`
2023-11-23 14:25:53 +05:30
Mahavir Jain
7add372f37
Merge branch 'bugfix/return_code_of_ota_finish_api_v5.2' into 'release/v5.2'
...
fix(esp_https_ota): fix return code of esp_https_ota_finish API (v5.2)
See merge request espressif/esp-idf!27334
2023-11-23 16:30:16 +08:00
Jiang Jiang Jian
263d186a5f
Merge branch 'bugfix/fix_wifi_init_reentrant_issue_v5.2' into 'release/v5.2'
...
fix(wifi): fix wifi init reentrant issue
See merge request espressif/esp-idf!27176
2023-11-23 15:28:26 +08:00
darshan
80f3916f0f
fix(nimble): Fixed ble_gap_unpair_oldest_peer to prevent writing to invalid memory
2023-11-23 10:54:31 +05:30
liuning
7faa087670
fix(wifi): fix wifi init reentrant issue
2023-11-23 10:37:16 +08:00
Shu Chen
d0dab67955
Merge branch 'fix/esp32c6_sleep_pll_issue_v5.2' into 'release/v5.2'
...
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue (backport v5.2)
See merge request espressif/esp-idf!27313
2023-11-23 02:31:14 +08:00
Martin Vychodil
004e93764f
Merge branch 'bugfix/uart_vfs_select_in_iram_v5.2' into 'release/v5.2'
...
fix: add UART VFS select callback in IRAM when CONFIG_UART_ISR_IN_IRAM is enabled (v5.2)
See merge request espressif/esp-idf!27297
2023-11-22 22:43:24 +08:00
Roland Dobai
f41d1b09f8
Merge branch 'contrib/github_pr_12558_v5.2' into 'release/v5.2'
...
Fix: esptool_py incorrectly assumed target name equals binary name (GitHub PR) (v5.2)
See merge request espressif/esp-idf!27268
2023-11-22 22:41:20 +08:00
jgujarathi
83d9e81789
fix(esp_wifi): Expand situations for REASON_NO_AP_FOUND_WITH_COMPATIBLE_SECURITY
...
- Fixes issue with connecting and discovering WEP APs
- Expands the reasons for trigerring a disconnect using
REASON_NO_AP_FOUND_WITH_COMPATIBLE_SECURITY
-- SAE-PK configured as compulsory in sta config but disabled for the AP
-- SAE-H2e configured as compulsory in sta config but disabled for an AP
that has authmode as WPA3-PSK or WPA3-WPA2-PSK.
-- Open AP found but we have set password or enabled enterprise mode.
-- SAE HnP set in config and AP supports H2E only
-- WPA3-EXT-PSK AP but H2E disabled in config
2023-11-22 19:10:29 +05:30
Harshit Malpani
e202aa3b9f
fix(esp_https_ota): fix return code of esp_https_ota_finish API
...
Closes https://github.com/espressif/esp-idf/issues/12635
2023-11-22 17:09:47 +05:30
Jiang Jiang Jian
c23973dfa7
Merge branch 'test/ctrl_acl_u_pkt_type_v5.2' into 'release/v5.2'
...
feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic (v5.2)
See merge request espressif/esp-idf!27128
2023-11-22 17:17:22 +08:00
xiaqilin
6ffc6a40a7
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue
...
* switch root clk src to PLL for modem reg opt and added callback
* register power_down/power_up callback in ieee802154 driver for esp32c6
* remove software regdma opt in bt
2023-11-22 11:58:02 +08:00
Jiang Jiang Jian
c7a270f83d
Merge branch 'feature/support_ext1_clear_spec_pins_v5.2' into 'release/v5.2'
...
fix(pm/ext1): fix c6 h2 lp_aon_ll_ext1_set_wakeup_pins func
See merge request espressif/esp-idf!27285
2023-11-22 11:35:02 +08:00
Jiang Jiang Jian
93b2c4640b
Merge branch 'bugfix/coex_deprecate_config_rename_v5.2' into 'release/v5.2'
...
fix(esp_coex): Fix deprecated configuration options not rename to new one (Backport v5.2)
See merge request espressif/esp-idf!27091
2023-11-22 11:33:20 +08:00
Rahul Tank
ecd894a4bd
Merge branch 'feature/get_whitelist_size_v5.2' into 'release/v5.2'
...
feat(nimble): Added API to retrieve the size of the controller's white list (v5.2)
See merge request espressif/esp-idf!26953
2023-11-22 11:15:19 +08:00
sonika.rathi
45d801d815
fix(vfs/uart): add UART VFS select callback in IRAM
...
UART VFS select callback is placed in IRAM when CONFIG_UART_ISR_IN_IRAM is enabled
2023-11-21 10:26:25 +01:00
Jin Cheng
15b27b1749
feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic
2023-11-21 08:09:24 +00:00
Jiang Jiang Jian
26aa680b5b
Merge branch 'bugfix/add_par_check_in_ag_cind_res_v5.2' into 'release/v5.2'
...
Bugfix/add par check in ag cind res v5.2
See merge request espressif/esp-idf!27256
2023-11-21 16:08:09 +08:00
luomanruo
b7b042f45d
ble(fix): deinit crash issue
2023-11-21 15:07:37 +08:00
zwl
8f44bee739
fix(ble): fixed ble occasional rx exception issue
2023-11-21 15:06:23 +08:00
luomanruo
533b82aae1
ble: update controller log module
2023-11-21 15:06:23 +08:00
luomanruo
17c72d85e4
ble: update c6 h2 lib to 5b1dfd2b, c2 lib to db4e1fb2
2023-11-21 15:06:23 +08:00
luomanruo
564e5c9429
ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
...
ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
2023-11-21 15:06:23 +08:00
darshan
fb6ba3f337
feat(nimble): Added API to retrieve the size of the controller's white list (v5.2)
2023-11-21 12:34:55 +05:30
Lou Tianhao
d7ae1665f1
fix(pm/ext1): fix c6 h2 lp_aon_ll_ext1_set_wakeup_pins func
2023-11-21 11:31:53 +08:00
Jiang Jiang Jian
ba8afdbf81
Merge branch 'bugfix/fix_incorrect_irk_set_v5.2' into 'release/v5.2'
...
fix(nimble): Fixed issue of incorrect IRK being set (v5.2)
See merge request espressif/esp-idf!27249
2023-11-21 11:16:45 +08:00
Jiang Jiang Jian
feda32be06
Merge branch 'bugfix/newlib_test_correct_assertions_v5.2' into 'release/v5.2'
...
fix(newlib,ci): wrong floating point number handling in tests (v5.2)
See merge request espressif/esp-idf!27089
2023-11-21 11:15:50 +08:00
Jiang Jiang Jian
df7ba090f3
Merge branch 'bugfix/esp32h2_ecdsa_hardware_k_v5.2' into 'release/v5.2'
...
fix(esp32h2): program use_hardware_k efuse bit for ECDSA key purpose (v5.2)
See merge request espressif/esp-idf!27234
2023-11-21 11:13:37 +08:00
Jiang Jiang Jian
c73141a9c2
Merge branch 'bugfix/rmt_tx_check_owner_v5.2' into 'release/v5.2'
...
fix(rmt): reenable dma owner check (v5.2)
See merge request espressif/esp-idf!27260
2023-11-21 11:12:06 +08:00
Wang Meng Yang
b1bba5fdd3
Merge branch 'bugfix/spp_deinit_crash_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): Fix the crash of invalid access to released resources (v5.2)
See merge request espressif/esp-idf!27250
2023-11-21 09:59:01 +08:00
Arno Moonen
aaf398617c
fix(build): fix build failure if CMAKE_EXECUTABLE_SUFFIX is set
...
From: Arno Moonen <arno.moonen@airios.eu>
Follows original message from Arno Moonen <arno.moonen@airios.eu>
While integrating the ESP-IDF into our existing CMake structure,
I've come across quite some hurdles. Most I've been able to fix
in our CMake files, however this one I could not.
Most of the targets created by the esptool_py component assume
that the EXECUTABLE IDF build property (which contains the name
of the CMake executable target) always equals the name of the
created binary.
This is however not always true. For instance, in our setup we use
CMAKE_EXECUTABLE_SUFFIX_C and CMAKE_EXECUTABLE_SUFFIX_CXX in our
toolchain file (both set to .elf). If we do add_executable(my_app),
the target binary file would actually be my_app.elf.
In order to fix this, I've updated it to use the TARGET_FILE generated
expression. That way we also no longer need the EXECUTABLE_DIR IDF build
property here.
I've fixed this on v5.0.1 (as that's the ESP-IDF version I'm currently
trying to integrate), but I assume it should be easy to apply the same
fix to newer versions and the master branch as well.
Note that this problem might exist in multiple places where EXECUTABLE
is being used. While going through the ESP-IDF code base, I even noticed
that a few places actually already seem to use the TARGET_FILE expression.
To be honest the property name might be somewhat confusing as well, as it
is actually the executable target.
Closes https://github.com/espressif/esp-idf/pull/12558
2023-11-20 10:48:47 +01:00
Jiang Jiang Jian
d4b4fe85af
Merge branch 'feature/support_for_32_and_128_bit_custom_uuids_v5.2' into 'release/v5.2'
...
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs (backport v5.2)
See merge request espressif/esp-idf!27229
2023-11-20 17:00:47 +08:00
morris
40093b34eb
fix(rmt): enable dma owner check
...
Closes https://github.com/espressif/esp-idf/issues/12564
2023-11-20 14:55:34 +08:00
Jin Cheng
78a3ecb7ff
fix(bt/bluedroid): corrected the API documents of profile HFP and A2DP
2023-11-20 11:58:13 +08:00
Jin Cheng
135987b339
fix(bt/bluedroid): Added some argument check in APIs of HFP AG
2023-11-20 11:57:58 +08:00
Mahavir Jain
e67e9cca57
Merge branch 'fix/aes_mpi_interrupt_allocation_workflow_v5.2' into 'release/v5.2'
...
fix(mbedtls): move interrupt allocation during initialization phase (v5.2)
See merge request espressif/esp-idf!27203
2023-11-20 10:54:20 +08:00
Rahul Tank
600c7c8828
fix(nimble): Fixed issue of incorrect IRK being set
2023-11-20 08:21:50 +05:30
morris
8abcc07d1f
fix(mcpwm): fault trigger test forget connect timer and operator
2023-11-17 16:34:40 +08:00
Mahavir Jain
f207ce15df
fix(api-docs): include in the ECDSA APIs for doxygen build
2023-11-17 07:13:53 +00:00
Mahavir Jain
2882b6f68b
docs: add ECDSA peripheral chapter for H2/P4
...
- Add ECDSA peripheral chapter and instructions to program efuse key block
- Update security guide for ECDSA peripheral mention for device identity
- Link with ESP-TLS guide about using ECDSA peripheral in TLS connection
2023-11-17 07:13:53 +00:00
Mahavir Jain
f434d21f4a
fix(ecdsa): remove unused k_mode from the ECDSA HAL/LL API
...
For ESP32-H2 case, the hardware k mode is always enforced through
efuse settings (done in startup code).
For ESP32-P4 case, the software k mode is not supported in the peripheral
itself and code was redundant.
2023-11-17 07:13:53 +00:00
Mahavir Jain
d3b4acf7a0
fix(esp32h2): program use_hardware_k efuse bit for ECDSA key purpose
...
In ESP32-H2, the ECDSA peripheral by default uses the TRNG (hardware)
generated k value but it can be overridden to software supplied k.
This can happen through by overriding the `ECDSA_SOFTWARE_SET_K` bit
in the configuration register. Even though the HAL API is not exposed
for this but still it could be achieved by direct register
programming. And for this scenario, if sufficiently random k is not
supplied by the software then it could posses a security risk.
In this change, we are unconditionally programming the efuse
`ESP_EFUSE_ECDSA_FORCE_USE_HARDWARE_K` bit during startup security
checks itself. Additionally, same is ensured in the `esp_efuse_write_key`
API as well. This always enforces the hardware k mode in the ECDSA
peripheral and ensures strongest possible security.
2023-11-17 07:13:53 +00:00
Jiang Jiang Jian
35013d90a3
Merge branch 'bugfix/fix_onebyte_watchpoint_setting_v5.2' into 'release/v5.2'
...
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting (v5.2)
See merge request espressif/esp-idf!27214
2023-11-17 13:49:30 +08:00
Jiang Jiang Jian
57bbfd423a
Merge branch 'fix/heap-task-tracking_v5.2' into 'release/v5.2'
...
fix(heap): Fix bugs in heap task tracking (backport v5.2)
See merge request espressif/esp-idf!27042
2023-11-17 12:47:52 +08:00
Marius Vikhammer
3d591c57c0
Merge branch 'feature/add_run_time_counter_type_option_v5.2' into 'release/v5.2'
...
feat(freertos/idf): Add configRUN_TIME_COUNTER_TYPE option (v5.2)
See merge request espressif/esp-idf!26848
2023-11-17 11:25:37 +08:00
Jiang Jiang Jian
9d694e40ed
Merge branch 'bugfix/clear_ulp_wake_intr_in_wake_source_enable_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable (backport v5.2)
See merge request espressif/esp-idf!27187
2023-11-17 11:04:23 +08:00
Jiang Jiang Jian
1cdca25776
Merge branch 'bugfix/fix_lightsleep_current_leakage_on_usj_pad_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): fix lightsleep current leakage on usb pad (backport v5.2)
See merge request espressif/esp-idf!27199
2023-11-17 10:47:31 +08:00
Jin Cheng
0e61201243
fix(bt/bluedroid): Fix the crash of invalid access to released resources
...
It is caused by the delayed timer is alarmed after esp_spp_deinit.
2023-11-17 10:37:28 +08:00
Jiang Jiang Jian
7f0f299e66
Merge branch 'bugfix/fix_dhcp_subnet_option_api_dos_not_work_issue_5.2' into 'release/v5.2'
...
Fix(dhcps):fix dhcp subnet option api dos not work issue 5.2
See merge request espressif/esp-idf!27210
2023-11-17 10:33:51 +08:00
Jiang Jiang Jian
7f8fe9569c
Merge branch 'bugfix/fix_some_ble_bugs_v5.2' into 'release/v5.2'
...
Fixed some BLE bugs (backport v5.2)
See merge request espressif/esp-idf!27195
2023-11-17 10:30:27 +08:00