Commit Graph

21885 Commits

Author SHA1 Message Date
Rahul Tank
5a061ef969 Merge branch 'bugfix/remove_unused_coex_header' into 'master'
remove(nimble): Removed unused coex header inclusion

See merge request espressif/esp-idf!26061
2023-09-22 12:50:55 +08:00
Kevin (Lao Kaiyao)
7788ec0875 Merge branch 'ci/increase_all_adc_performance_test_thersh_on_c6' into 'master'
ci(adc): increase all adc performance test threshold on c6

Closes IDFCI-1803

See merge request espressif/esp-idf!26063
2023-09-22 12:31:56 +08:00
baohongde
c2cbb5d04c fix(bt/bluedroid): Triggering disconnect event of GAP correctly 2023-09-22 12:14:49 +08:00
baohongde
510ddd1cbc fix(bt/bluedroid): Fix issue of QoS configuration failure when t_poll is greater than 40 2023-09-22 12:14:32 +08:00
Island
cba5b6f2bf Merge branch 'bugfix/BLEQABR23-628' into 'master'
bugfix(mesh): remove reset link state on receiving prov_data packets

Closes BLERP-77

See merge request espressif/esp-idf!26104
2023-09-22 11:59:12 +08:00
Wu Meng Shi
4118244f59 bugfix(mesh): remove reset link state on receiving prov_data packets 2023-09-22 11:59:12 +08:00
wuzhenghui
7a0684d03f fix(sleep): fix pma cfg csr regs bad retention 2023-09-22 11:47:45 +08:00
Wang Meng Yang
92e8662a80 Merge branch 'bugfix/add_params_check_for_hci' into 'master'
fix(bt/controller): Fixed some HCI commands parameter

See merge request espressif/esp-idf!25866
2023-09-22 11:37:30 +08:00
Wang Meng Yang
fa05598da4 Merge branch 'bugfix/hfp_api_pkt_stat_nums' into 'master'
fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics

Closes BTQABR2023-111

See merge request espressif/esp-idf!26020
2023-09-22 11:37:00 +08:00
Chen Yu Dong
ac17132bb4 Merge branch 'ci/move_build_test_rules_files_folder' into 'master'
fix(ci): change build-test-rules files folder

See merge request espressif/esp-idf!26076
2023-09-22 11:28:48 +08:00
Mahavir Jain
88d5aafd0b Merge branch 'update/micro-ecc_submodule' into 'master'
feat(bootloader): Update micro-ecc version to v1.1

Closes IDF-8132

See merge request espressif/esp-idf!26066
2023-09-22 11:04:17 +08:00
Jakob Hasse
ac2515e199 refactor(lwip): Added on/off switch for LwIP stack
* This switch allows applications to replace lwip with a different
  IP stack or just make it build if it is a dependency but not
  actually needed.
2023-09-22 10:03:13 +08:00
morris
3093384045 Merge branch 'feature/pcnt_replace_periph_func_with_new_ll' into 'master'
feat(pcnt): replace periph_module func with new ll func

Closes IDF-8225

See merge request espressif/esp-idf!25935
2023-09-21 21:57:14 +08:00
Ivan Grokhotkov
3f07dc5a61
feat(espcoredump): migrate the tests from unit-test-app 2023-09-21 14:32:45 +02:00
Ivan Grokhotkov
9e20bf4f06
feat(esp_hid): migrate the tests from unit-test-app 2023-09-21 14:25:08 +02:00
Ivan Grokhotkov
9acd3b7856
feat(perfmon): migrate the tests from unit-test-app 2023-09-21 14:18:39 +02:00
Sudeep Mohanty
b8444c2234 Merge branch 'bugfix/fix_freertos_system_task_names' into 'master'
fix(freertos): Updated IDLE task names for each core to have the coreID as a suffix

Closes IDFGH-11021

See merge request espressif/esp-idf!25899
2023-09-21 18:33:24 +08:00
Rahul Tank
55767ea855 remove(nimble): Removed unused coex header inclusion 2023-09-21 15:32:06 +05:30
Alexey Lapshin
ce7848acb3 Merge branch 'fix/gdbstub-getting-freertos-tbc-pointer' into 'master'
fix(gdbstub): fix getting FreeRTOS TCB pointer

Closes IDFCI-1807

See merge request espressif/esp-idf!26079
2023-09-21 17:14:38 +08:00
Song Ruo Jing
98abcbabea Merge branch 'feature/esp32p4_lp_io_support' into 'master'
feat(lp_io): Add support for ESP32P4

Closes IDF-7815

See merge request espressif/esp-idf!25991
2023-09-21 15:20:13 +08:00
wuzhenghui
34f89091b2 fix(sleep): fix modem reject the deepsleep request 2023-09-21 15:11:55 +08:00
shangke
dcb714e796 fix(bt/controller): Fixed some HCI commands parameter
1: add param check for HCI_Recevie_Synchronization_Train.
2: add param check for HCI_Set_Connectionless_Peripheral_Broadcast.
3: fix slave cannot take a secure authentication.
2023-09-21 15:07:25 +08:00
chenqingqing
4705995b69 fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics 2023-09-21 14:43:52 +08:00
Rahul Tank
83aedb202f Merge branch 'bugfix/post_reattempt_cnt_event' into 'master'
fix(nimble): Add event for reattempt connection count information

Closes BLECRT-22 and BLEQAOPT-172

See merge request espressif/esp-idf!25445
2023-09-21 14:07:16 +08:00
Kevin (Lao Kaiyao)
9c37f83a11 Merge branch 'feature/add_hal_utils' into 'master'
feat(hal): add hal utils for clock divider calculation

Closes IDF-8218

See merge request espressif/esp-idf!25889
2023-09-21 13:55:12 +08:00
morris
eac8df1380 Merge branch 'refactor/esp_timer_etm_test' into 'master'
test(etm): refactor systimer etm test case

See merge request espressif/esp-idf!26062
2023-09-21 12:58:09 +08:00
Cao Sen Miao
3265bab95f fix(temperature_snesor): Put clock gate enable/disable in to sar_periph_ctrl together 2023-09-21 12:19:12 +08:00
cjin
40996f804a change: remove has clock bug macro for esp32h2 2023-09-21 11:31:53 +08:00
cjin
7b176501e3 feat(ble): update ble sleep logic for esp32h2 2023-09-21 11:30:49 +08:00
Liu Zhongwei
b4a173648a fix(nt35510_st7789): correct the word spelling 2023-09-21 09:19:18 +08:00
laokaiyao
dd4072a80c refactor(hal): use hal utils to calculate clock division 2023-09-20 23:33:25 +08:00
laokaiyao
9bec9ccade feat(hal): add hal utils for clock divider calculation 2023-09-20 23:32:06 +08:00
morris
8d17265bb7 Merge branch 'feature/support_rmt_esp32p4' into 'master'
RMT driver support on ESP32-P4

Closes IDF-7476 and IDF-7730

See merge request espressif/esp-idf!25680
2023-09-20 23:11:11 +08:00
morris
a71208f96d refactor(etm): systimer etm test case
previously we use the systimer event to toggling a GPIO and assert the GPIO level,
which is not stable in CI.
Now we swicth to clear the GPIO at the systimer event.
2023-09-20 22:26:35 +08:00
Lou Tianhao
34f8f1bb2c feat(PowerManagement/lightsleep): Define and export a strong symbol of rv_core_critical_regs_restore 2023-09-20 21:49:57 +08:00
xiaqilin
5e08ac606c feat(ieee802154): update ieee802154 sleep logic and support modem sleep 2023-09-20 20:12:57 +08:00
Song Ruo Jing
2d458a3f93 feat(lp_io): Add support for ESP32P4 2023-09-20 19:39:41 +08:00
Alexey Lapshin
e74193f405 fix(gdbstub): fix getting FreeRTOS TCB pointer 2023-09-20 15:28:34 +04:00
Chen Yudong
2e11919f70 fix(ci): change build-test-rules files folder 2023-09-20 19:17:06 +08:00
Mahavir Jain
46a692fd22 Merge branch 'bugfix/cleanup_hmac_ds_testapps' into 'master'
fix(esp_hw_support): fix redudancy in hmac and ds test apps

Closes IDF-7993

See merge request espressif/esp-idf!25781
2023-09-20 18:45:30 +08:00
harshal.patil
6a7caa7b8e
feat(esp_hw_support): Added locking mechanism for the ECDSA and ECC peripheral 2023-09-20 16:05:50 +05:30
harshal.patil
aa4783519a
feat(esp_hw_support): Add esp_crypto_lock layer for esp32c2 2023-09-20 16:05:49 +05:30
Zim Kalinowski
d9a9a4a17f Merge branch 'fix/test_app_trim_builds' into 'master'
fix(test_apps): Trim builds of component test apps

See merge request espressif/esp-idf!25789
2023-09-20 18:32:57 +08:00
Wang Meng Yang
7e91e901f0 Merge branch 'feature/use_vsc_to_op_coex_st' into 'master'
feat(bt/Bluedroid): Implemented esp_coex_status_set/clear using vendor HCI

Closes BTQABR2023-66

See merge request espressif/esp-idf!25938
2023-09-20 16:52:51 +08:00
Sudeep Mohanty
a76a1465b6 fix(freertos): Updated IDLE task names for each core to have the coreID as a suffix
This commit updates the IDLE task names for each core by concatenating
the respective coreIDs to the names.

Closes https://github.com/espressif/esp-idf/issues/12204
2023-09-20 10:31:08 +02:00
Abhik Roy
d057bacbd3 Merge branch 'lwip/napt_portmap_seperation' into 'master'
lwip/napt: Added option to enable or disable Port mapping in NAPT.

See merge request espressif/esp-idf!21643
2023-09-20 15:35:23 +08:00
Planck (Lu Zeyu)
59f8008e22 feat(pcnt): replace periph_module func with new ll func 2023-09-20 15:06:04 +08:00
Xu Xiao
b82a55d41b Merge branch 'bugfix/fix_some_esp32c6_wifi_bugs' into 'master'
fix(wifi): fix some esp32c6 wifi bugs

See merge request espressif/esp-idf!25968
2023-09-20 14:17:25 +08:00
Martin Vychodil
7e4904330a Merge branch 'bugfix/uart_vfs_select_threadsafe' into 'master'
fix(vfs/uart): Add support for multi-task call to uart select

See merge request espressif/esp-idf!25389
2023-09-20 14:02:45 +08:00
harshal.patil
a686c20ee5
feat(bootloader): Update micro-ecc version to v1.1
This fix ensures that https://nvd.nist.gov/vuln/detail/CVE-2020-27209 is not
reported by the ESP-IDF SBOM tool. Please note that, this CVE was anyways not
applicable for ESP32 platform, as the bootloader (user of micro-ecc library)
do not perform signing on the device, its only verification that happens in
secure-boot-v1 case.
2023-09-20 11:29:58 +05:30
laokaiyao
9811ff7be9 ci(adc): increase all adc performance test threshold on c6 2023-09-20 11:35:25 +08:00
Rahul Tank
55323ed437 fix(nimble): Add event for reattempt connection count information 2023-09-20 08:25:20 +05:30
Lou Tian Hao
925a7310ca Merge branch 'feat/add_internal_pull_up_or_pull_down_option_for_deepsleep_wakeup_prepare' into 'master'
feat(pm): add internal pull-up/downs option for gpio used for deepsleep wakeup

Closes IDFGH-10994

See merge request espressif/esp-idf!25972
2023-09-20 10:44:07 +08:00
Darian
4d85cbff6d Merge branch 'feature/freertos_v1051_smp_changes' into 'master'
feat(freertos): Add FreeRTOS v10.5.1 SMP Support (BETA release)

Closes IDF-7877, IDF-7878, IDF-5739, IDF-4142, and IDF-8182

See merge request espressif/esp-idf!24995
2023-09-19 22:18:59 +08:00
wanglai@espressif.com
afc7cf445e feat(bt/bluedroid): Add flags for BQB auto test of L2CAP
1: add sdp_bqb_disable_flag to avoid running sdpu_build_n_send_error.
2: add sdp_bqb_inact_timeout_flag to set the SDP inactivity timeout to 90 seconds.
3: add l2cap_bqb_bad_cmd_len_rej_flag to reject the C-Frame with invalid PDU length
4: add l2cap_bqb_ertm_mode_included_flag to set L2CAP_FCR_ERTM_MODE for most L2CAP cases
2023-09-19 19:53:00 +08:00
Wang Meng Yang
10c7026053 Merge branch 'change/optimize_sniff_request' into 'master'
Change(bt/bluedroid): Limit sniff request when pending mode change event

Closes BTQABR2023-99

See merge request espressif/esp-idf!25873
2023-09-19 17:42:26 +08:00
Jakob Hasse
d9e99acd76 Merge branch 'feature/wait_until_idle_task_ran' into 'master'
Unity: fixed unity_utils_task_delete

See merge request espressif/esp-idf!25796
2023-09-19 17:36:11 +08:00
sonika.rathi
d1593b82b0 fix(vfs/uart): Add support for multi-task call to uart select 2023-09-19 11:11:45 +02:00
Sudeep Mohanty
9d0b39cc56 Merge branch 'contrib/github_pr_12258' into 'master'
fix(vfs): Fix event_write may not exit critical section (GitHub PR)

Closes IDFGH-11084

See merge request espressif/esp-idf!26012
2023-09-19 14:50:40 +08:00
Wang Meng Yang
0cb0c49597 Merge branch 'bugfix/a2dp_media_ctrl' into 'master'
Bugfix/a2dp media ctrl

Closes BTQABR2023-42

See merge request espressif/esp-idf!25300
2023-09-19 14:27:06 +08:00
xuxiao
cb4b798867 fix(wifi): fix some esp32c6 wifi bugs 2023-09-19 13:27:01 +08:00
Konstantin Kondrashov
ecf4968e1c Merge branch 'feature/esp32p4_support_ipc' into 'master'
feat(esp_system): Support IPC_ISR for ESP32P4

Closes IDF-7769

See merge request espressif/esp-idf!25812
2023-09-19 13:26:52 +08:00
morris
6bb05cccdd feat(rmt): add driver support for esp32p4
including DMA feature
2023-09-19 12:54:14 +08:00
Gao Xu
80e3ece7d1 Merge branch 'bugfix/remove_wno_format_in_driver_hal_and_esp_hw_support_components' into 'master'
Remove -Wno-format in  hal and esp_hw_support components

Closes IDF-6792

See merge request espressif/esp-idf!25402
2023-09-19 12:12:56 +08:00
Lou Tianhao
88364b8b11 feat(pm): add internal pull-up/downs option for gpio used for deepsleep wakeup
stash
2023-09-19 11:00:59 +08:00
Wang Meng Yang
4db3a589e3 Merge branch 'origin/test/bqb_test_bt_classic_avdtp' into 'master'
feat(bt/bqb): Add avdt abort function for BQB test

Closes BT-3340

See merge request espressif/esp-idf!25681
2023-09-19 08:40:06 +08:00
Jiang Jiang Jian
ea8b5c28ea Merge branch 'bugfix/fix_wifi_fail_to_enter_lightsleep_when_disconnected_esp32c6' into 'master'
fix(sleep_modem): fix lightsleep failure if enable lightsleep at phy disabled

Closes WIFI-5725 and WIFI-6208

See merge request espressif/esp-idf!25902
2023-09-19 07:16:55 +08:00
Abhik Roy
4940cfaa88 feat: Added option to enable or disable Port mapping in NAPT 2023-09-18 23:53:23 +10:00
Darian Leung
b09462eae8 feat(freertos): Add beta support for FreeRTOS v10.5.1 kernel
This commit adds beta support for the FreeRTOS v10.5.1 kernel which can be
enabled by enabling the CONFIG_FREERTOS_USE_KERNEL_10_5_1 option.

The following changes have been made:

- Updated freertos/CMakeLists.txt to build v10.5.1 kernel with v10.4.3. ports
- Updated existing Xtensa and RISC-V ports to work with V10.5.1
- Modifications to other ESP-IDF components to work with v10.5.1
- Added some ESP-IDF specific tracing changes to v10.5.1 kernel
- Make CONFIG_FREERTOS_USE_KERNEL_10_5_1 a public option

Note: The beta release is missing some minor fixes, performance improvements,
and features. Using this beta release for production is not recommended.

Closes https://github.com/espressif/esp-idf/issues/7137
2023-09-18 21:32:14 +08:00
Michael (XIAO Xufeng)
efb9d9e7d4 Merge branch 'esp32_s2_s3_cpu_freq_to_pll' into 'master'
EspS2/S3: fixed the bug of insufficient voltage when the CPU switches frequency

See merge request espressif/esp-idf!25396
2023-09-18 20:01:31 +08:00
Chip Weinberger
a7436ac82c [Usb Serial JTAG] printing to console could sometimes skip bytes 2023-09-18 18:41:15 +08:00
Darian Leung
49af70506a feat(freertos): Add SMP critical section changes to FreeRTOS v10.5.1
This commit adds the SMP critical section changes to the v10.5.1 kernel. These
changes are temporarily documented in the `idf_changes.md` document. This
commit...

- Adds granular spinlocks to each data group (e.g., kernel, queues, event_groups etc.)
- Updates critical section macros to use those spinlocks
- Add missing critical sections required in SMP
2023-09-18 18:32:55 +08:00
Darian Leung
db64e51e53 feat(freertos): Add SMP kernel changes to FreeRTOS v10.5.1
This commit adds the key kernel changes to the v10.5.1 kernel to support
dual-core SMP. These changes are temporarily documented in the `idf_changes.md`
document. This commit...

- Added changes to kernel data structures to support multiple cores
- Changes to scheduling algorithm support SMP scheduling.
- Changes to each FreeRTOS function to support multiple cores and SMP
scheduling algorithm.
2023-09-18 18:32:54 +08:00
Jakob Hasse
0bea98c103 refactor(unity): improved unity task deletion function 2023-09-18 17:48:26 +08:00
Darian Leung
287bdc5e61 fix(test_apps): Trim builds of component test apps
Some component test apps do not use the "set(COMPONENTS main)" command in their
project level "CMakeLists.txt", thus leading to their builds pulling in all
ESP-IDF components.

This commit trims the build of multiple component test apps:

- Add "set(COMPONENTS main ...)" to project level "CMakeLists.txt"
- Add missing "PRIV_REQUIRES" in some "main" component "CMakeLists.txt"

Also removed repeated configuraiton options in legacy_i2c_driver/sdkconfig.ci.defaults
as they are already specified in legacy_i2c_driver/sdkconfig.defaults
2023-09-18 17:16:37 +08:00
Kevin (Lao Kaiyao)
ae80ad7ac7 Merge branch 'ci/increase_adc_performance_test_thersh_on_c6' into 'master'
ci(adc): increase adc performance test threshold on c6

Closes IDFCI-1803

See merge request espressif/esp-idf!25999
2023-09-18 17:13:00 +08:00
Kapil Gupta
3b748a6cb7 Merge branch 'feature/rename_wpa2_ent_to_eap_client' into 'master'
WiFi: Rename WPA2 enterprise APIs to EAP Client.

See merge request espressif/esp-idf!25233
2023-09-18 16:16:54 +08:00
LiPeng
b15712025c fix(vfs): Fix event_write may not exit critical section
This commit fixes the event_write() function where the critical section
was unbalanced.

Merges https://github.com/espressif/esp-idf/pull/12258
2023-09-18 10:16:34 +02:00
Island
2c51e10198 Merge branch 'bugfix/fix_bleqabr23_394' into 'master'
Fixed address resolution for directed advertising on esp32c3 and esp32s3

See merge request espressif/esp-idf!25586
2023-09-18 15:23:03 +08:00
Liu Linyan
6b5d7d103e Merge branch 'bugfix/ble_mesh_v1.1_misc_fixes' into 'master'
Bugfix/ble mesh v1.1 misc fixes

Closes BLERP-25

See merge request espressif/esp-idf!25903
2023-09-18 14:10:44 +08:00
liuning
1314a9f8cf esp_wifi: support connectionless manually pwr mgmt 2023-09-18 13:16:54 +08:00
nilesh.kale
84d91e5bf9 fix(esp_hw_support/test_apps): fix redudancy in hmac and ds test apps 2023-09-18 10:42:54 +05:30
Mahavir Jain
1c28493cee Merge branch 'feature/add_aes_and_sha_peripheral_to_crypto_testapps' into 'master'
feat(hal/testapps): add aes and sha peripheral to crypto testapps

See merge request espressif/esp-idf!25604
2023-09-18 12:51:50 +08:00
Jakob Hasse
a41247439e Merge branch 'bugfix/pthread_cond_var_link_hook' into 'master'
bugfix(pthread): fixed pthread_condvar linker hook

See merge request espressif/esp-idf!25911
2023-09-18 12:28:00 +08:00
liuning
c6db306833 sleep_modem: split esp_wifi_internal_mac_sleep_configure, add lock for pm functions 2023-09-18 11:49:52 +08:00
liuning
90698bf1f5 fix(sleep_modem): fix lightsleep failure if enable lightsleep at phy disabled 2023-09-18 11:46:32 +08:00
Jiang Jiang Jian
789569a982 Merge branch 'static_buf_for_management_and_null_data' into 'master'
feat(esp_wifi):static buf for management,control,qos null,null data rx packet

See merge request espressif/esp-idf!25085
2023-09-18 11:39:14 +08:00
gaoxu
8c6ddb776c fix: remove wno format in hal component 2023-09-18 02:43:41 +00:00
gaoxu
5b4469f973 fix: remove wno format in esp_hw_support component 2023-09-18 02:43:41 +00:00
Wang Meng Yang
a0ae1bbc61 Merge branch 'bugfix/coex_ble_scan_rate' into 'master'
fix(esp_coex): Fix esp32 ble scan not restart when wifi start stop

Closes BT-3376

See merge request espressif/esp-idf!25967
2023-09-18 10:40:34 +08:00
laokaiyao
f781bf1c5c ci(adc): increase adc performance test threshold on c6 2023-09-18 10:22:11 +08:00
wangjialiang
8eed3a2467 fix(ble_mesh): Miscellaneous update for ble mesh 2023-09-16 15:58:14 +08:00
luoxu
14ca0f3db6 fix(ble_mesh): update lib to :1469712f9 2023-09-16 08:43:52 +08:00
morris
fd26abebce Merge branch 'refactor/mcpwm_rcc_atomic' into 'master'
MCPWM: add RCC low level functions

Closes IDF-7731, IDF-7722, IDF-7716, IDF-7738, and IDF-7713

See merge request espressif/esp-idf!25959
2023-09-16 01:04:54 +08:00
KonstantinKondrashov
7a878bdc50 feat(esp_system): Support IPC_ISR for ESP32P4 2023-09-15 23:38:12 +08:00
Zhang Wen Xu
a9349f4ad4 Merge branch 'suppport/ot_message_pool_using_PSRAM' into 'master'
feat(openthread): Add support to allocate message pool from PSRAM

See merge request espressif/esp-idf!25760
2023-09-15 18:27:40 +08:00
nilesh.kale
1a18fdb83a feat(hal): Adding AES snd SHA peripheral to crypto testapps 2023-09-15 15:29:30 +05:30
chenjianhua
827a00d4d5 Update bt lib for ESP32-C3 and ESP32-S3(29996e0)
- Fixed address resolution for directed adv with RPA when scanning
- Fixed resolvable private address renew after timeout
2023-09-15 17:49:37 +08:00
Marius Vikhammer
addfc0d870 Merge branch 'feature/p4_reset_reason' into 'master'
system: support reset reason on esp32p4

Closes IDF-8072 and IDF-7791

See merge request espressif/esp-idf!25693
2023-09-15 15:25:03 +08:00
xueyunfei
f0e5434dc1 feat(esp_wifi):static buf for management,control,qos null,null data rx packet 2023-09-15 14:55:57 +08:00
morris
3234ee3f9e refactor(mcpwm): add RCC related LL functions 2023-09-15 13:33:01 +08:00
Rahul Tank
c1342d3347 Merge branch 'feat/add_sbom_manifest_file' into 'master'
feat(nimble): Update nimble submodule pointer for SPDX manifest addition for SBOM tool

Closes IDF-8230

See merge request espressif/esp-idf!25922
2023-09-15 10:57:24 +08:00
Jiang Jiang Jian
b790f0a773 Merge branch 'bugfix/check_mapping_target_conflict' into 'master'
fix(ldgen): check target conflict for entries with section aliases

Closes IDF-8192

See merge request espressif/esp-idf!25921
2023-09-15 10:32:59 +08:00
Jiang Jiang Jian
284edcc52c Merge branch 'bugfix/fix_ble_set_periodic_advertising_data_error' into 'master'
fix(bt/bluedroid): Fix set periodic advertising data error

Closes BLERP-39

See merge request espressif/esp-idf!25955
2023-09-15 10:28:43 +08:00
Lu Ze Yu
43db5fbb6e Merge branch 'contrib/github_pr_12093' into 'master'
hal: fix compile issues with cxx

Closes IDFGH-10892, IDF-8017, and IDF-8014

See merge request espressif/esp-idf!25421
2023-09-15 10:21:11 +08:00
Marius Vikhammer
e58becec0a feat(esp-system): support reset reasons on P4 2023-09-15 08:11:34 +08:00
Aditya Patwardhan
2b08aac741 Merge branch 'bugfix/usb/host/urb_check_revert' into 'master'
[USB Host] Fix transfer determination during argument checking for regular EP transfer

See merge request espressif/esp-idf!25963
2023-09-14 23:50:43 +08:00
Zim Kalinowski
5afabafc82 Merge branch 'bugfix/fix-in-esp-flash-test' into 'master'
fix(spi_flash): Fixed minor issue with esp flash test

See merge request espressif/esp-idf!25971
2023-09-14 23:32:17 +08:00
Rocha Euripedes
84ae772048 Merge branch 'feat/warn_on_unpulled_mqtt_sub' into 'master'
feat(mqtt): Stop cmake process if submodule is missing

See merge request espressif/esp-idf!25951
2023-09-14 23:14:16 +08:00
Jiang Jiang Jian
f2898bdeb5 Merge branch 'bugfix/add_ht2040_ex_caps' into 'master'
Enable 20/40 mode in extended caps ie and fix erroneous disconnect during scan.

Closes WIFI-6203

See merge request espressif/esp-idf!24101
2023-09-14 21:54:20 +08:00
Kapil Gupta
3fa88a3536 change(wifi): Add dependency of group 19 for MbedTLS crypto 2023-09-14 18:02:22 +05:30
linruihao
efacf9a73d fix(esp_coex): Fix esp32 ble scan not restart when wifi start stop 2023-09-14 17:55:55 +08:00
Armando (Dou Yiwen)
7894b21ef0 Merge branch 'bugfix/fix_120_ddr_pll_cali_issue' into 'master'
mspi: fixed bbpll calibration issue

Closes IDF-8237

See merge request espressif/esp-idf!25934
2023-09-14 15:46:54 +08:00
Zim Kalinowski
a00335ac62 fix(spi_flash): Fixed minor issue with esp flash test 2023-09-14 09:41:20 +02:00
Kapil Gupta
8037cf5517 change(wifi): Add supplicant's public API header files to doc 2023-09-14 13:11:00 +05:30
Kapil Gupta
9deb5ffccf change(esp_wifi): Rename WiFi enterprise connection APIs 2023-09-14 13:10:52 +05:30
zhangwenxu
60bb5b0d99 feat(openthread): Add support to allocate message pool from PSRAM 2023-09-14 15:14:07 +08:00
Planck (Lu Zeyu)
255d499884 fix(ll): fix cpp compile error
Merges https://github.com/espressif/esp-idf/pull/12093

fix(ll): remove FLAG_ATTR macro

Such kind of operator overload will not work because C++ thinks such overload is ambiguous and it still prefer the built-in one which accepts and returns integer. Manually force type conversion seems to be unavoidable.
2023-09-14 14:48:12 +08:00
Euripedes Rocha
8af82c87b2 feat(mqtt): Stop cmake process if submodule is missing
Closes https://github.com/espressif/esp-idf/issues/12202
2023-09-14 08:38:55 +02:00
jgujarathi
906685898d fix(esp_wifi): Fix issues with extended caps IE, scan and HT40 mode
-Merges the addition of extended caps IE for assoc req, probe resp
 and beacons in a single place. This ensures that there are no
 duplicate Extended Caps IE in the frame. Moves the capability
 indication for BTM and HT20/40 from supplicant to wifi libs.

-Fix issue with frequent disconections when scanning for only a single
 channel.

-Prints error message and returns ESP_ERR_NOT_SUPPORTED in case
 esp32c2 tries to set bandwidth to HT40.
2023-09-14 10:19:27 +05:30
Song Ruo Jing
3717963618 Merge branch 'contrib/github_pr_12179' into 'master'
Update uart_ll.h - Fixing division by zero (GitHub PR)

Closes IDFGH-10990

See merge request espressif/esp-idf!25907
2023-09-14 11:30:42 +08:00
Jiang Jiang Jian
52c10f21c1 Merge branch 'bugfix/fix_ccmp_pn_became_large_issue' into 'master'
fix(wifi): fix ccmp and gcmp PN bacame large issue

Closes WIFI-6155

See merge request espressif/esp-idf!25937
2023-09-14 11:10:17 +08:00
Jiang Jiang Jian
ca78f8b925 Merge branch 'bugfix/bugfix_for_esp32c2_esp32c6_esp32h2' into 'master'
fix(ble): fixed crash when memory is insufficient on esp32c2

Closes BLERP-9, BLERP-10, BLERP-11, BLERP-13, and BLERP-12

See merge request espressif/esp-idf!25823
2023-09-14 10:43:27 +08:00
Jiang Jiang Jian
8d48ff5818 Merge branch 'feature/extenal_coexist_slave_support' into 'master'
feat(esp_coex): add external coex slave support

See merge request espressif/esp-idf!25444
2023-09-14 10:42:28 +08:00
Jiang Jiang Jian
41ee651e82 Merge branch 'bugfix/fix_set_dhcp_server_poll_fail_issue' into 'master'
fix(dhcp server):fix set dhcp server poll fail issue

See merge request espressif/esp-idf!25626
2023-09-14 10:39:06 +08:00
Marius Vikhammer
e39e058738 Merge branch 'bugfix/ulp_i2c_fail_opt' into 'master'
fix(ulp-i2c): fixed ulp i2c not working from main cpu if compiled with 0S or O2

Closes IDFGH-11033

See merge request espressif/esp-idf!25936
2023-09-14 09:24:47 +08:00
Wang Meng Yang
90ed5a7f4b Merge branch 'bugfix/fix_four_controller_bugs' into 'master'
Bluetooth/Controller: fixed some controller bugs

Closes IDFGH-5265, IDFGH-9447, FCS-1073, AUD-4546, AUD-4561, BRQABR2023-83, and BRQABR2023-84

See merge request espressif/esp-idf!23155
2023-09-14 09:19:22 +08:00
Roman Leonov
c29db70510 bugfix(usb/host): Fix transfer direction determination during argument checking for regular EP transfer 2023-09-13 21:55:34 +02:00
Song Ruo Jing
f227cbca1b fix(uart): Add 8/16-bit register field access workaround to ESP32C2 2023-09-13 21:41:53 +08:00
Eduardo Lacerda Campos
b0bde58521 fix(uart): Fix uart_ll_set_baudrate div-by-zero crash due to uint32_t overflow
Merges https://github.com/espressif/esp-idf/pull/12179
2023-09-13 21:27:42 +08:00
Wang Meng Yang
965af359ba Merge branch 'bugfix/error_param_in_BTA_AG_WBS_EVT' into 'master'
Bugfix/error param in bta ag wbs evt

Closes BTQABR2023-102 and BTQABR2023-103

See merge request espressif/esp-idf!25913
2023-09-13 19:55:03 +08:00
Konstantin Kondrashov
82cb4d5836 Merge branch 'feature/esp32p4_efuse' into 'master'
feat(efuse): Support eFuses for ESP32P4

Closes IDF-7512 and IDF-7759

See merge request espressif/esp-idf!25923
2023-09-13 19:43:49 +08:00
Konstantin Kondrashov
054d4943c5 Merge branch 'feature/esp32p4_update_systimer' into 'master'
feat(esp_timer): Support systimer for ESP32P4

Closes IDF-7486 and IDF-7487

See merge request espressif/esp-idf!25688
2023-09-13 19:13:39 +08:00
Konstantin Kondrashov
cbdb799b6f feat(esp_timer): Support systimer for ESP32P4 2023-09-13 19:13:38 +08:00
zhanghaipeng
c7212fdef1 fix(bt/bluedroid): Fix set periodic advertising data error 2023-09-13 16:58:34 +08:00
muhaidong
4b645ef85d fix(wifi): fix ccmp and gcmp PN became large issue 2023-09-13 16:23:10 +08:00
Bao Hong De
e5739ddd45 Merge branch 'bugfix/set_eir_when_no_eir_data' into 'master'
change(bt/bluedroid): Send a name tag with zero length when there is no EIR data

Closes BTQABR2023-100

See merge request espressif/esp-idf!25805
2023-09-13 14:05:14 +08:00
Rahul Tank
54f1ad4a7f feat(nimble): Added SBOM manifest file for SPDX file generation 2023-09-13 09:59:35 +05:30
Jakob Hasse
1de2c44281 Merge branch 'refactor/esp_event_unit_tests' into 'master'
refactor(esp_event): improved esp_event unit tests

Closes IDFGH-10628

See merge request espressif/esp-idf!25217
2023-09-13 11:43:39 +08:00
Armando
d85c96209a fix(mspi): fixed bbpll calibration issue 2023-09-13 11:22:31 +08:00
Jin Cheng
d0e0928138 feat(bt/Bluedroid): Implemented esp_coex_status_set/clear using vendor HCI 2023-09-13 10:55:04 +08:00
Jiang Jiang Jian
5e818f9ea1 Merge branch 'bugfix/esp32h2_sleep_current_issue' into 'master'
fix(esp_phy): fix esp32h2 tx-power incorrect issue after wakeup

See merge request espressif/esp-idf!25697
2023-09-13 10:54:55 +08:00
Wu Zheng Hui
2319f2a59e Merge branch 'bugfix/suppress_compiler_warning_if_silent_reboot_is_enabled' into 'master'
fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled

See merge request espressif/esp-idf!25909
2023-09-13 10:45:31 +08:00
Marius Vikhammer
573404b328 Merge branch 'bugfix/use_xtal_for_c3_wdt' into 'master'
fix(wdt): changed ESP32-C3 WDT to use XTAL as clock

Closes IDF-6729

See merge request espressif/esp-idf!25867
2023-09-13 10:44:38 +08:00
xueyunfei
fff7c6a399 fix(dhcp server):fix set dhcp server poll fail issue 2023-09-13 10:20:02 +08:00
Jiang Jiang Jian
5933779f2d Merge branch 'feature/configurable_wpa2_ent' into 'master'
esp_wifi: Make enterprise support configurable to save binary size.

Closes WIFI-3597

See merge request espressif/esp-idf!24345
2023-09-13 10:17:44 +08:00
Jiang Jiang Jian
340602dae9 Merge branch 'bugfix/authmode_log_192_bit' into 'master'
WPA3 enterprise 192 bit fix and config modification

Closes WIFI-5940 and WIFI-5943

See merge request espressif/esp-idf!24059
2023-09-13 09:45:22 +08:00
Marius Vikhammer
cb3a98f9d5 fix(ulp-i2c): fixed ulp i2c not working from main cpu if compiled with 0S or O2
Compiler would optimize register write to use s8i which do not work for IO registers

Closes https://github.com/espressif/esp-idf/issues/12214
2023-09-13 09:41:00 +08:00
Xu Si Yu
170294ff5c Merge branch 'bugfix/networkname_lack_stop_character' into 'master'
fix(openthread): copy the networkname with a null terminator

See merge request espressif/esp-idf!25924
2023-09-12 21:04:22 +08:00
Jin Cheng
3fb242660d fix(bt/controller): Fixed error in sniff negotiation
fix(bt/controller): Avoided both local and peer unsniff being triggered
fix(bt/controller): Fixed the crash of mixing of master- and slave-initiated sniff requests
fix(bt/controller): Moved the TX of HW_ERR_EVT out of interrupt context to thread context
fix(bt/controller): Fixed the issue rx_irq is generated after error_irq for slave sniff mode frame
fix(bt/controller): Fixed asser error resulted from failure of role switch frame insert
fix(bt/controller): Ignored rx_irq in inquiry scan frame end
fix(bt/controller): Ignored rx_irq in page scan frame end
fix(bt/controller): Added status check before set/clear sniff coex status
fix(bt/controller): Fixed IntegerDevideByZero caused by interrupted r_ld_sco_start
2023-09-12 12:20:50 +00:00
KonstantinKondrashov
b29f6d5a40 feat(efuse): Support eFuses and doc for ESP32P4 2023-09-12 17:58:17 +08:00
Jakob Hasse
8df4625c84 refactor(esp_event): improved esp_event unit tests
* Decomposed tests into atomic unit tests
* Made tests less time-dependent, hence more robust
  on different platforms (ESP32, QEMU, Linux)
* Ported most of the tests to linux
* Removed some redundant tests
* Fixed bug the tests discovered
* Simplified parts of the tests to be more clear
* Partially used C++ to simplify setup/teardown
* Unified setup/teardown in general
2023-09-12 17:10:18 +08:00
Sudeep Mohanty
165955dec4 Merge branch 'feature/freertos_Kconfig_option_for_timer_task_name' into 'master'
feat(freertos): Added a Kconfig option for FreeRTOS Timer Service task name

See merge request espressif/esp-idf!25900
2023-09-12 16:41:48 +08:00
wuzhenghui
6fea0260a3 fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled 2023-09-12 16:30:42 +08:00
luomanruo
fa4f34e791 change(ble): update controller log print interface 2023-09-12 15:44:01 +08:00
Jin Cheng
62f6af0dd7 fix(bt/bluedroid): Fixed incorrect arrangement in type esp_hf_dial_type_t 2023-09-12 06:53:11 +00:00
Jin Cheng
024862c76f change(bt/bluedroid): Added line information printing when error occurs CHECK_HF_IDX 2023-09-12 06:53:11 +00:00
Jin Cheng
9fed90bbb4 fix(bt/bluedroid): Fixed the issue of uninitialized parameters in event BTA_AG_WBS_EVT 2023-09-12 06:53:11 +00:00
morris
ae1a9bf015 Merge branch 'feat/mcpwm_event_comparator_driver' into 'master'
feat(MCPWM): MCPWM event comparator driver

Closes IDF-7989

See merge request espressif/esp-idf!25552
2023-09-12 14:41:07 +08:00
Jiang Jiang Jian
62720ffa8c Merge branch 'feature/pbkdf2_fast_implementation' into 'master'
esp_wifi: Port fast_pbkdf2 implementation to calculate PMK

See merge request espressif/esp-idf!24287
2023-09-12 14:06:02 +08:00
Shyamal Khachane
f2905d1388 fix(esp_wifi): WPA3 enterprise 192 bit fix and config modification
1. Added SOC caps dependency for enabling 192 bit security in wifi enterprise example
2. Fixed authmode in log and connected event for WPA3 enterprise 192 bit security
2023-09-12 10:43:17 +05:30
morris
c3bd8abf63 Merge branch 'fix/vtaskdelay_caused_etm_test_failure' into 'master'
fix(test_etm): fix vTaskDelay caused ci failure

Closes IDFCI-1666

See merge request espressif/esp-idf!25910
2023-09-12 13:04:13 +08:00
Xu Si Yu
4a941b96b8 fix(openthread): copy the networkname with a null terminator 2023-09-12 11:57:01 +08:00
Jakob Hasse
ccaceec15d fix(pthread): fixed pthread_condvar linker hook 2023-09-12 11:17:31 +08:00
Armando (Dou Yiwen)
38bf2a5d2f Merge branch 'feature/updated_to_esp32p4_12_0_0_image' into 'master'
feat(rom): updated to esp32p4 image 12.0.0

See merge request espressif/esp-idf!25804
2023-09-12 10:27:59 +08:00
Marius Vikhammer
7a71454930 fix(wdt): changed WDT clock source to XTAL for C6/H2
Previously it used PLL, but PLL could potentially be powered down by power-management
when CPU frequency changed.
2023-09-12 09:41:24 +08:00
Wang Meng Yang
d7ab94eeb9 Merge branch 'test/bqb_test_bt_classic_sdp' into 'master'
feat(bt/bluedroid): Add language base attr list to SDP record for BQB test

Closes BT-3352

See merge request espressif/esp-idf!25622
2023-09-12 07:38:25 +08:00
Kapil Gupta
e6c5bd111d ci(esp_wifi): unit test for fast PBKDF2 validation 2023-09-11 19:33:54 +05:30
Kapil Gupta
c82a792bc3 change(esp_wifi): Port fast_pbkdf2 implementation for mbedlts
Add changes to use fast_pbkdf2 as default for PMK calculations.
fast_pbkdf2 is significantly faster than current implementations
for esp chips.

Also removes unnecessary code for pbkdf-sha256 and pbkdf-sha512.
2023-09-11 19:33:17 +05:30
You Wei
be88d11a81 fix(ldgen): check target conflict for entries with section alias 2023-09-11 21:24:05 +08:00
Mahavir Jain
2b3418b4a0 Merge branch 'feature/use_ecdsa_perph_while_mutual_auth' into 'master'
feat: ECDSA peripheral while performing http connection with mutual auth

Closes IDF-7390

See merge request espressif/esp-idf!25052
2023-09-11 19:41:21 +08:00
wanglai@espressif.com
6421460c0a feat(bt/bluedroid): Add avdt abort function for BQB test
1: add new AVDTP abort function for BQB test
2023-09-11 17:06:33 +08:00
morris
47e499de52 feat(mcpwm): clean up MCPWM ETM driver 2023-09-11 16:53:34 +08:00
Chen Jichang
7638235311 feat(mcpwm): MCPWM event comparator driver
In esp32p4, the MCPWM has a new feature, mainly ETM-oriented.
Each operator has two event comparators, can generate an event
when the count value of the timer that operator connects is equal
to the value of event comparator.
2023-09-11 16:53:34 +08:00
Mahavir Jain
bd0eac77b2 Merge branch 'feature/add_support_for_ds_peripheral_on_ota' into 'master'
feat(esp_http_client): Added support for OTA using ds peripheral for TLS

See merge request espressif/esp-idf!25713
2023-09-11 16:36:58 +08:00
baohongde
298e8cd7cb change(bt/bluedroid): Send a name tag with zero length when there is no EIR data 2023-09-11 08:35:32 +00:00
baohongde
c3ade2d54e change(bluedroid): Set AV is ready when suspended by remote 2023-09-11 08:25:00 +00:00
baohongde
d905993e1e remove(bluedroid): Delete media stop command and audio stopped state 2023-09-11 08:25:00 +00:00
Planck (Lu Zeyu)
2a340c5fc5 fix(test_etm): fix vTaskDelay caused ci failure 2023-09-11 16:24:24 +08:00
Rahul Tank
d0c00b1f76 Merge branch 'bugfix/ble_gap_unpair_fix' into 'master'
fix(nimble): Handled error return value while removing RPA list from controller.

Closes BT-2576

See merge request espressif/esp-idf!25452
2023-09-11 14:25:55 +08:00
Jiang Jiang Jian
1bcd94a167 Merge branch 'bugfix/fix_hidd_send_rpt_without_connection' into 'master'
Change(bt/bluedroid): Optimize HIDD sending interrupt report behavior

Closes BTQABR2023-92

See merge request espressif/esp-idf!25739
2023-09-11 14:13:15 +08:00
Kapil Gupta
fd04e98d28 change(esp_wifi): Copy fastpbkdf2 implementation
Copy pbkdf2 implementation from https://github.com/ctz/fastpbkdf2(3c56895)
2023-09-11 06:08:16 +00:00
Zhang Wen Xu
c1e464a9b6 Merge branch 'support/openthread_br_deinit' into 'master'
feat(openthread): support BR deinit

See merge request espressif/esp-idf!25623
2023-09-11 12:24:27 +08:00
hongshuqing
77a303276a esp32/esp32s2/esp32s3 cpu freq to pll
add assert for cpu_freq_to_8m

update esp32 DBIAS_XTAL_80M_160M define

delete modify of esp32

remove esp32 comment

restore esp32 modify
2023-09-11 10:40:27 +08:00
Kapil Gupta
a0b5fb4aeb Merge branch 'bugfix/wps_wpa3_passphrase' into 'master'
WiFi: get passphrase in WPS if AP support SAE

Closes WIFIBUG-54 and WIFI-6252

See merge request espressif/esp-idf!25850
2023-09-11 10:16:53 +08:00
Jiang Jiang Jian
0087f714ec Merge branch 'bugfix/pbc_overlap_in_wps_pin_method' into 'master'
wpa_supplicant: Fix for issue of wps-pbc overlap in wps-pin method

See merge request espressif/esp-idf!25694
2023-09-11 10:03:35 +08:00
Jiang Jiang Jian
5d983c3185 Merge branch 'bugfix/esp32c6_udp_bc_mc_short_time_cause_packet_loss' into 'master'
optimize the retention step of the APM and TEE modules to set only the critical parts to level 2 priority

Closes WIFIBUG-80

See merge request espressif/esp-idf!25792
2023-09-11 10:02:13 +08:00
wanglai@espressif.com
34ab5c1c89 feat(bt/bluedroid): Add language base attr list to SDP record for BQB test 2023-09-11 07:40:36 +08:00
Island
2bc1f2f574 Merge branch 'mesh_v1.1_idf' into 'master'
feat(ble_mesh): Support Bluetooth Mesh Protocol v1.1 (Preview)

See merge request espressif/esp-idf!25605
2023-09-09 13:06:11 +08:00
Aditya Patwardhan
a57c8dc938 Merge branch 'contrib/github_pr_12177' into 'master'
mbedtls: define MBEDTLS_SSL_CID_TLS1_3_PAD_GRANULARITY for CID padding (GitHub PR)

See merge request espressif/esp-idf!25826
2023-09-09 12:27:56 +08:00
morris
3e5906aa1b Merge branch 'feature/modify_mcpwm_clock_pre_scale' into 'master'
feat(mcpwm): Set group clock prescale dynamically

See merge request espressif/esp-idf!25117
2023-09-09 08:30:56 +08:00
Armando (Dou Yiwen)
ed2fa1d57e Merge branch 'change/improve_mmu_ll_code' into 'master'
mmu: improve mmu_ll_entry_id_to_paddr_base on p4

See merge request espressif/esp-idf!25864
2023-09-09 04:37:59 +08:00
Konstantin Kondrashov
2557513fb5 Merge branch 'bugfix/esp32p4_usage_clic_int_thresh_reg' into 'master'
fix(freertos): Use INTERRUPT_CURRENT_CORE_INT_THRESH_REG for esp32p4

See merge request espressif/esp-idf!25840
2023-09-08 22:43:22 +08:00
Sudeep Mohanty
371ad531ee feat(freertos): Added a Kconfig option for FreeRTOS Timer Service task name
This commit adds a Kconfig option for setting a custom name for the
FreeRTOS Timer Service task.
2023-09-08 16:39:15 +02:00
Liu Linyan
5bab168b0e feat(ble_mesh): Support Bluetooth Mesh Protocol v1.1 (Preview) 2023-09-08 21:37:33 +08:00
Liu Linyan
bf51fb965b feat(ble_mesh): Bluetooth Mesh folder and file misc updates 2023-09-08 21:37:33 +08:00
Island
c301deb351 Merge branch 'bugfix/fix_memery_free_bug_for_ble_mesh' into 'master'
fix(bt/bluedroid): Fix memory no free issue when disconneting for mesh

See merge request espressif/esp-idf!25853
2023-09-08 20:39:23 +08:00
Sudeep Mohanty
51846b497b Merge branch 'feature/freertos_add_sbom_file' into 'master'
feat(freertos): Added SBOM manifest file for SPDX file generation

Closes IDF-7979

See merge request espressif/esp-idf!25758
2023-09-08 18:21:46 +08:00
Zim Kalinowski
a0137ff682 Merge branch 'bufix/missing-linux-portable-macros' into 'master'
fix(freertos): Added missing Linux port layer macros

See merge request espressif/esp-idf!25844
2023-09-08 17:47:35 +08:00
cjin
7fc9c0ad62 ble: support esp32c2 wakeup overhead 2023-09-08 15:50:28 +08:00
C.S.M
c8f17b1b7c Merge branch 'bugfix/flash_pe_usr_interval' into 'master'
fix(spi_flash): Fix spi_flash write fail on 26M C2(including OTA fail on this chip)

See merge request espressif/esp-idf!25790
2023-09-08 15:24:25 +08:00
Marius Vikhammer
ca99f55316 fix(wdt): changed ESP32-C3 WDT to use XTAL as clock
This clock is unchanged even when CPU/APB frequency changes (e.g. due to esp_pm),
which means timeout period is correct even after such a change.
2023-09-08 15:12:21 +08:00
Harshit Malpani
692e1a9e61
feat: ECDSA peripheral while performing http connection with mutual auth 2023-09-08 12:22:41 +05:30
luomanruo
60d6b3c13e ble: update esp32h2 and esp32c6 libble to a9fa2002 2023-09-08 14:25:26 +08:00
Daniel Mangum
35c428b0ec
mbedtls: define MBEDTLS_SSL_CID_TLS1_3_PAD_GRANULARITY for CID padding
Updates config to define the new MBEDTLS_SSL_CID_TLS1_3_PAD_GRANULARITY
option, which replaced the previously used
MBEDTLS_SSL_CID_PADDING_GRANULARITY. The old option is continuing to be
used as the new one exceeds the maximum length for an option name in
esp-idf.

See https://github.com/Mbed-TLS/mbedtls/pull/4490 for more information.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
2023-09-08 11:45:55 +05:30
David Čermák
5f115cced8 Merge branch 'bugfix/http_client_tcp_config' into 'master'
http_client: Set common tcp config to both TCP and SSL transport

See merge request espressif/esp-idf!25354
2023-09-08 13:36:11 +08:00
Jiang Jiang Jian
0fd57f41ef Merge branch 'feature/add_api_to_enable_pll_track' into 'master'
Enable pll track by default on ESP32

See merge request espressif/esp-idf!25799
2023-09-08 13:22:26 +08:00
Kapil Gupta
ad62f428d2 fix(wifi): Get passphrase in WPS if AP support SAE
Also add changes to send NACK if WPS message received twice.
2023-09-08 10:48:55 +05:30
zhangwenxu
e3b23361f5 feat(openthread): support BR deinit 2023-09-08 12:23:37 +08:00
liqigan
b2b305fd5d change(bt/bluedroid): Limit sniff request when pending mode change event 2023-09-08 12:00:21 +08:00
Chen Jichang
fc80d3e568 feat(mcpwm): Set group clock prescale dynamically
MCPWM group clock pre scale was originally fixed to 2, which is
inconvenient. Set group clock prescale dynamically. Now the maximum
resolution of the MCPWM timer is up to 160MHz(when the prescale set
to 1). And add a resulotion config for MCPWM capture.
2023-09-08 11:57:29 +08:00
liqigan
bc1b01a966 change(bt/bluedroid): Optimize HIDD sending interrupt report behavior
HID device is allowed to trigger reconnection by sending an interrupt
report. When reconnection is in progress, no more interrupt report can
be sent until the procedure is accomplished.
2023-09-08 03:35:05 +00:00
Armando
956c94704b change(mmu): improve mmu_ll_entry_id_to_paddr_base on p4 2023-09-08 11:26:41 +08:00
Mahavir Jain
31e37c8313 Merge branch 'esp32p4/add_ecdsa_support' into 'master'
esp32p4: add ecdsa support

Closes IDF-7546

See merge request espressif/esp-idf!25191
2023-09-08 11:20:36 +08:00
Marius Vikhammer
11cf6f60b8 Merge branch 'feature/c6_h2_p4_lp_wdt' into 'master'
LP-WDT: add support for H2/P4

Closes IDF-5730, IDF-6402, IDF-5729, and IDF-7539

See merge request espressif/esp-idf!25782
2023-09-08 10:11:13 +08:00
Abhinav Kudnar
9a73cfc54c fix(nimble): Handled error return value while removing RPA list from controller 2023-09-07 19:48:34 +05:30
Rahul Tank
d6e0e86d0d Merge branch 'bugfix/fix_compilation_issue_enc_adv' into 'master'
fix(nimble): Fix compilation issue of unknown MYNEWT_VAL

See merge request espressif/esp-idf!25748
2023-09-07 22:05:25 +08:00
zhanghaipeng
0f17b6616e fix(bt/bluedroid): Fix memory no free issue when disconneting for mesh 2023-09-07 19:59:33 +08:00
Cao Sen Miao
f895c6d414 ci(spi_flash): Add flash test for 26MHZ XTAL on ESP32C2 2023-09-07 17:37:01 +08:00
Cao Sen Miao
c147a6d022 fix(spi_flash): Fix spi_flash write fail on 26M C2(including OTA fail on this chip) 2023-09-07 17:30:15 +08:00
aditi_lonkar
c241c9fbd6 wpa_supplicant: Fix for issue of wps-pbc overlap in wps-pin method 2023-09-07 14:12:13 +05:30
Zim Kalinowski
bee3ff952e fix(freertos): Added missing Linux port layer macros 2023-09-07 10:30:02 +02:00
zwl
4955bb3bda feat(ble): enable adv report flow control on esp32c2 2023-09-07 16:22:39 +08:00
zwl
67c8b38d20 fix(ble): fixed crash when memory is insufficient on esp32c2 2023-09-07 16:22:29 +08:00
KonstantinKondrashov
25c7a59e31 fix(freertos): Use INTERRUPT_CURRENT_CORE_INT_THRESH_REG for esp32p4 2023-09-07 15:25:35 +08:00
Armando
7dace60861 feat(rom): updated to esp32p4 image 12.0.0 2023-09-07 07:01:00 +00:00
David Cermak
7c012e3fe1 fix(http_client): Set common tcp config to both TCP and SSL transport
Foundation transport contained TCP properties for both TCP and SSL
transport, so it was enough to set the TCP connection properties
(keepalive, interface binding) to one transport only. After merging
5778a7c7 we have separate TCP properties for these transports and need
to set the same for both.
This commit also fixes unnecessary allocation of 1 more byte for if_name

Closes https://github.com/espressif/esp-protocols/issues/322
2023-09-07 08:33:44 +02:00
zhiweijian
5d8873f2d8 change: enable pll track by default on ESP32 2023-09-07 06:08:36 +00:00
Jiang Jiang Jian
02b6c1f0ca Merge branch 'bugfix/wpa_connection_in_ent_mode' into 'master'
fix(wifi): Fix sta connecting with wpa security in enterprise mode

Closes WIFIBUG-96

See merge request espressif/esp-idf!25574
2023-09-07 13:53:55 +08:00
Jiang Jiang Jian
a1c0d9c3a1 Merge branch 'feature/ble_lib_update_h2_c6' into 'master'
ble: update h2 c6 libble to 5d7af429

Closes BLERP-7

See merge request espressif/esp-idf!25691
2023-09-07 10:25:08 +08:00
morris
94d39009b4 Merge branch 'feature/esplcd_replace_periph_func_with_atomic' into 'master'
feat(esp_lcd): Replace `periph_module` function call with new ll func

Closes IDF-8167

See merge request espressif/esp-idf!25717
2023-09-07 01:59:04 +08:00
Ondrej Kosta
380b83d7a1 Merge branch 'feature/eth_iram_optimization' into 'master'
feat(esp_eth): added IRAM optimization option for internal EMAC

Closes WIFI-6226

See merge request espressif/esp-idf!25704
2023-09-07 00:35:56 +08:00
C.S.M
61920d0360 Merge branch 'bugfix/i2c_probe_continue' into 'master'
fix(i2c_master): Fix I2C new master cannot continously probe

See merge request espressif/esp-idf!25761
2023-09-06 17:23:48 +08:00
morris
2e6015b39f Merge branch 'refactor/add_namespace_intr_cpu_id' into 'master'
refactor(intr): add namespace for intr_cpu_id_t

See merge request espressif/esp-idf!25725
2023-09-06 16:41:57 +08:00
morris
01f3c93b17 Merge branch 'feature/esp_lcd_st7789_rgb_data_endian_config' into 'master'
feat(st7789): add data endian config

Closes IDFGH-10145

See merge request espressif/esp-idf!25475
2023-09-06 16:25:41 +08:00
Wang Meng Yang
cd9eeff345 Merge branch 'feature/add_hfp_api_pkt_stat_nums' into 'master'
feat(bt/bluedroid): Add new apis for hfp to get  packet status numbers

See merge request espressif/esp-idf!25446
2023-09-06 16:15:22 +08:00
Zhi Wei Jian
4f7e7ce6c9 Merge branch 'feature/add_api_to_enable_pll_track' into 'master'
feat(ble/controller): Add API to enable/disable pll track

See merge request espressif/esp-idf!25779
2023-09-06 15:29:55 +08:00
Li Shuai
0f103817bc fix(esp32c6/power save): optimize the retention step of the APM and TEE modules to set only the critical parts that affect wifi data frame receipt to level 2 priority 2023-09-06 14:57:46 +08:00
Planck (Lu Zeyu)
86d4f9993f feat(esp_lcd): replace periph_module func with new ll func
Update periph_ctrl.h
2023-09-06 14:42:01 +08:00
Shreyas Sheth
9b5bbb5bd7 fix(wifi): Fix sta connecting with wpa security in enterprise mode 2023-09-06 06:00:48 +00:00
harshal.patil
4c0dd8388b
feat(mbedtls): Integrate the ecdsa export public key feature in mbedtls 2023-09-06 11:07:40 +05:30
harshal.patil
cc32fbb302
ci(hal): add test for export public key mode of the ecdsa peripheral 2023-09-06 11:07:40 +05:30
harshal.patil
d86b320892
feat(ecdsa): add ECDSA peripheral support for esp32p4 2023-09-06 11:07:37 +05:30
Rahul Tank
57eb7858f0 fix(nimble): Fix compilation issue of unknown MYNEWT_VAL 2023-09-06 10:03:02 +05:30
Armando (Dou Yiwen)
bdfa91ab66 Merge branch 'change/delete_not_used_mmu_macros' into 'master'
mm: delete not used mmu macros and added soc_ prefix

Closes IDF-7686

See merge request espressif/esp-idf!25663
2023-09-06 11:59:03 +08:00
Marius Vikhammer
b06dc30ba2 feat(lp_wdt): add lp wdt HAL support on C6, H2 and P4 2023-09-06 11:39:27 +08:00
Marius Vikhammer
0a630831a7 Merge branch 'feature/move_wdt_defines_to_ll' into 'master'
fix(wdt): move non-auto generated wdt values to ll

See merge request espressif/esp-idf!25757
2023-09-06 10:12:43 +08:00
morris
e8847a176f refactor(intr): add namespace for intr_cpu_id_t
previously the intr_types.h doesn't have a namespace,
it has the risk of introduing conflict in user's project.
2023-09-06 09:50:41 +08:00
Darian
c60cbcee5c Merge branch 'refactor/freertos_move_idf_specific_functions' into 'master'
refactor(freertos/idf): Move IDF FreeRTOS API additions to header files

Closes IDF-7201, IDF-3873, and IDF-7907

See merge request espressif/esp-idf!25615
2023-09-06 01:13:13 +08:00
Rahul Tank
3da06e465a Merge branch 'bugfix/ext_adv_log' into 'master'
fix(nimble): added log for extended advertisement

See merge request espressif/esp-idf!25461
2023-09-06 00:34:12 +08:00
zhiweijian
2a11862118 feat(ble/controller): Add API to enable/disable pll track 2023-09-05 21:50:39 +08:00
luomanruo
a2935ba6ec change: print assert info before dump log 2023-09-05 20:40:04 +08:00
cjin
926695b000 change: changed ble msys init for controller 2023-09-05 20:40:04 +08:00
cjin
574800b50a feat: added ble wake up overhead support 2023-09-05 20:40:04 +08:00
luomanruo
7ec0ccad09 ble: update h2 c6 libble to 5d7af429 2023-09-05 20:40:04 +08:00
Zhi Wei Jian
98d9d14e87 Merge branch 'feature/add_new_mesh_adv_type_for_exception_list_c3' into 'master'
Add new mesh types for exception list on ESP32-C3 and ESP32-S3

See merge request espressif/esp-idf!25749
2023-09-05 19:18:03 +08:00
Sudeep Mohanty
2ddb47f533 feat(freertos): Added SBOM manifest file for SPDX file generation
This commit adds the SBOM manifest file for the FreeRTOS-Kernel to aid
SPDX file generation.
2023-09-05 18:30:30 +08:00
Mahavir Jain
5b001f9e53 Merge branch 'bugfix/aes_dma_descriptor_setup_issue' into 'master'
fix(aes): correct the linking of the DMA descriptors

See merge request espressif/esp-idf!25723
2023-09-05 17:19:28 +08:00
Darian Leung
035423eb37 refactor(freertos/idf): Move task creation "PinnedToCore" API to addition headers
This commit moves/merges the IDF FreeRTOS "PinnedToCore" task creation
functions from tasks.c/task.h to idf_additions.h/freertos_task_c_additions.h.

Also updated FreeRTOS Mock component to provide mocks for "idf_additions.h"
headers for our mock tests.
2023-09-05 16:20:59 +08:00
Darian Leung
e612db7d32 refactor(freertos/idf): Move weak xTimerCreateTimerTask() to IDF additions header
A weak xTimerCreateTimerTask() was added to tasks.c as a workaround in ESP-IDF
in order to prevent timers.c from being linked when unused.

This commit moves that workaround to `freertos_tasks_c_additions.h`
2023-09-05 16:20:59 +08:00
Darian Leung
a5f9a2505e refactor(freertos/idf): Remove application hook prototypes
The following application hook protoypes are defined in task.h from FreeRTOS
V10.4.0 onwwards and no longer need to be declared in tasks.c, thus have been
removed:

- vApplicationStackOverflowHook()
- vApplicationTickHook()
- vApplicationGetIdleTaskMemory()
2023-09-05 16:20:59 +08:00
Darian Leung
7b4dba4ffd refactor(freertos/idf): Move vTaskSetThreadLocalStoragePointerAndDelCallback()
This commit moves vTaskSetThreadLocalStoragePointerAndDelCallback() from
`tasks.c`/`task.h` to `freertos_tasks_c_additions.h`/`idf_additions.h`.
2023-09-05 16:20:59 +08:00
Darian Leung
5de6a9aff6 refactor(freertos/idf): Move compatibility functions
This function moves ulTaskNotifyTake()/xTaskNotifyWait() from IDF FreeRTOS
`tasks.c` to `freertos_compatibility.c`. These functions were kept for
pre-compiled library compatibilty. Move them reduces the kernel source code
difference when compared to upstream FreeRTOS.
2023-09-05 16:20:59 +08:00
Darian Leung
0db40f9e6c refactor(freertos/idf): Move IDF task utility functions to API addition headers
This commit combines various task utility API additions in IDF FreeRTOS and with
their Amazon SMP FreeRTOS addition counterparts. The folloiwng functions have
been moved to freertos_tasks_c_additions.h and idf_additions.h as these API
are considered public:

- xTaskGetCurrentTaskHandleForCPU()
- xTaskGetIdleTaskHandleForCPU()
- xTaskGetAffinity()
- pxTaskGetStackStart()

Also fixed in missing #if macros when vTaskCoreAffinityGet() is called in
Amazon SMP FreerTOS tests.
2023-09-05 16:20:59 +08:00
Darian Leung
db9d9658f9 refactor(freertos/idf): Move xTaskIncrementTickOtherCores() to IDF additition headers
This commit moves xTaskIncrementTickOtherCores() to freertos_tasks_c_additions.h
and freertos_idf_additions_priv.h (as API is private). This reduces the code
differences cmpared to upstream FreeRTOS.
2023-09-05 16:20:59 +08:00
Darian Leung
8825c8dda9 refactor(freertos/idf): Move critical section API to IDF addition headers
- The following IDF API additions are moved to freertos_tasks_c_additions.h
(implementation) and freertos_idf_additions_priv.h (declaration) as APIs are
private. This reduces the source code difference from upstream.
    - prvENTER_CRITICAL_OR_SUSPEND_ALL()
    - prvEXIT_CRITICAL_OR_RESUME_ALL()
    - prvENTER_CRITICAL_OR_MASK_ISR()
    - prvEXIT_CRITICAL_OR_UNMASK_ISR()
    - vTaskTakeKernelLock()
    - vTaskReleaseKernelLock()
- Rename vTask[Take/Release]KernelLock() to prv[Take/Release]KernelLock() to
indicate that the this API is private.
2023-09-05 16:20:59 +08:00
Darian Leung
6c66018d5b refactor(freertos/smp): Move vTaskStartSchedulerOtherCores() to API additions to headers
- Move vTaskStartSchedulerOtherCores()
    - implementation to freertos_tasks_c_additions.h
    - declaration to freertos_idf_additions_priv.h as API is private
- Rename vTaskStartSchedulerOtherCores() -> prvStartSchedulerOtherCores() to
indicate that the function is private.
2023-09-05 16:19:42 +08:00
Darian Leung
5227616e57 refactor(freertos/idf): Implicitly include idf_additions.h from FreeRTOS.h
This commit adds an implicit inclusion of `idf_additions.h` to `FreeRTOS.h` in
preparation for moving some IDf specific API to `idf_additions.h`.

This implict inclusion allows existing code to be continue using these
relocated APIs without any changes in header inclusions.

Also removed "#pragma once" directive from "freertos_tasks_c_additions.h" since
that header is included as a source file.
2023-09-05 16:19:42 +08:00
Rocha Euripedes
64d160b712 Merge branch 'mqtt/update_submodule_05b3476' into 'master'
feat(mqtt): Updates submodule to 05b3476

See merge request espressif/esp-idf!25754
2023-09-05 15:52:06 +08:00
Armando
cbe4470a1b change(soc): remove no longer used mmu.h on p4 2023-09-05 15:47:26 +08:00
Armando
de77ab3061 change(soc): added SOC_ prefix to mmu defs 2023-09-05 15:47:26 +08:00
Armando
a9e3f963c2 change(soc): remove / move rom only mmu defs 2023-09-05 15:47:26 +08:00
Ondrej Kosta
0ff10c3e06 feat(esp_eth): added IRAM optimization option for internal EMAC 2023-09-05 07:42:30 +02:00
Cao Sen Miao
c7740b4c2b fix(i2c_master): Fix I2C new master cannot continously probe 2023-09-05 12:27:18 +08:00
Shu Chen
32ad8f10e0 Merge branch 'feature/add_mesh_local_prefix_config' into 'master'
feat(openthread): add mesh local prefix configuration

See merge request espressif/esp-idf!25099
2023-09-05 12:16:19 +08:00
Planck (Lu Zeyu)
6f55f76344 feat(st7789): add data endian config
Closes https://github.com/espressif/esp-idf/issues/11416
2023-09-05 12:11:19 +08:00
Marius Vikhammer
e3861261eb fix(wdt): move non-auto generated wdt values to ll 2023-09-05 11:52:34 +08:00
Jiang Guang Ming
7d0c434e2c Merge branch 'bugfix/esp32h2_update_desc_ecdsa_workmode' into 'master'
fix(soc/esp32h2): Update the description of the ECDSA_WORK_MODE

See merge request espressif/esp-idf!25736
2023-09-05 09:20:22 +08:00
Jiang Guang Ming
89f6c6d999 fix(soc/esp32h2): Update the description of the ECDSA_WORK_MODE 2023-09-05 09:20:21 +08:00
Wang Meng Yang
efeb308bc0 Merge branch 'test/bqb_test_bt_classic_hid' into 'master'
feat(bt/bqb): Add setting local di record function for specific hid case of bqb auto test

Closes BT-3359

See merge request espressif/esp-idf!25055
2023-09-05 07:20:24 +08:00
Euripedes Rocha
8c72daafa8 feat(mqtt): Updates submodule to 05b3476
* Update submodule:
git log --oneline 301bd9e0282eb993523b84d6c56d2559346aa071..05b347643f6679cc60a50a9664b86a24ebf3ae10

Detailed description of the changes:
* Fix: Mock test should include idf_additions.h
  - See merge request espressif/esp-mqtt!191
  - fix: Mock tests include idf_additions.h (espressif/esp-mqtt@f35aaa1)
* Adds missing documentation to outbox configuration.
  - See merge request espressif/esp-mqtt!190
  - docs: Adds missing documentation to outbox configuration. (espressif/esp-mqtt@c355e0b)
2023-09-04 15:33:34 +02:00
zhiweijian
618c6f8336 Add new mesh types for exception list on ESP32-C3 and ESP32-S3 2023-09-04 20:38:36 +08:00
chenqingqing
75efaa6465 feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent 2023-09-04 20:29:03 +08:00
chenqingqing
55cdf8434b fix(bt/bluedroid): Fixed the issue of NULL address for btc_hf_ag 2023-09-04 19:30:37 +08:00
Mahavir Jain
d382eeed54 Merge branch 'esp32p4/add_hmac_ds_support' into 'master'
esp32p4/add hmac ds support

Closes IDF-7543 and IDF-6518

See merge request espressif/esp-idf!25148
2023-09-04 16:45:56 +08:00
morris
1af5e870f1 Merge branch 'refactor/esp_emac_module_control' into 'master'
refactor(emac): add LL functions for bus clock control

See merge request espressif/esp-idf!25710
2023-09-04 16:22:57 +08:00
Jiang Jiang Jian
104d50d442 Merge branch 'feature/improve_c6_iperf_performance' into 'master'
feat(wifi): optimize esp32c6 iperf performance

See merge request espressif/esp-idf!25020
2023-09-04 14:34:54 +08:00
Xu Xiao
8847eeec0c feat(wifi): optimize esp32c6 iperf performance 2023-09-04 14:34:54 +08:00
xiaqilin
d2660635aa feat(esp_coex): add external coex slave support 2023-09-04 14:21:22 +08:00
Darian
bd9d6b82ab Merge branch 'bugfix/freertos_private_critical_section_macro' into 'master'
fix(freertos): Fixed bug with prvENTER/EXIT_CRITICAL_OR_MASK_ISR() macro

See merge request espressif/esp-idf!25705
2023-09-04 14:18:11 +08:00
Zhi Wei Jian
6daba772d8 Merge branch 'feature/add_new_mesh_adv_type_for_exception_list' into 'master'
Add BLE mesh adv types for exception list

See merge request espressif/esp-idf!25652
2023-09-04 14:06:50 +08:00
Mahavir Jain
9dc4b8beeb fix(aes): correct the linking of the DMA descriptors
For certain data lengths, the last input descriptor was not getting appended
correctly and hence the EOF flag in the DMA descriptor link list was
set at incorrect location. This was resulting in the peripheral being
stalled expecting more data and eventually the code used to timeout
waiting for the AES completion interrupt.

Required configs for this issue:

CONFIG_MBEDTLS_HARDWARE_AES
CONFIG_SOC_AES_SUPPORT_DMA

This observation is similar to the issue reported in:
https://github.com/espressif/esp-idf/issues/10647

To recreate this issue, start the AES-GCM DMA operation with data length
12280 bytes and this should stall the operation forever.

In this fix, we are tracing the entire descriptor list and then appending the
extra bytes descriptor at correct position (as the last node).
2023-09-04 05:35:15 +00:00
Mahavir Jain
89584cd1d0 fix(aes-gcm): correct the DMA completion wait condition for hardware GCM case
DMA operation completion must wait until the last DMA descriptor
ownership has been changed to hardware, that is hardware is completed
the write operation for entire data. Earlier for the hardware GCM case,
the first DMA descriptor was checked and it could have resulted in some
race condition for non interrupt (MBEDTLS_AES_USE_INTERRUPT disabled) case.
2023-09-04 05:35:15 +00:00
xiaqilin
28e6014ba4 fix(esp_phy): fix esp32h2 tx-power incorrect issue after wakeup 2023-09-04 12:23:15 +08:00
darshan
50c5f09fc3 fix(nimble): added log for extended advertisement 2023-09-04 09:15:23 +05:30
Aditya Patwardhan
4be9bc4e2e feat(esp_http_client): Added support for OTA using ds peripheral for TLS 2023-09-04 09:00:03 +05:30
Wang Meng Yang
78af508654 Merge branch 'feature/add_new_bluedroid_init' into 'master'
Feat(bt/bluedroid): Add new ESP Bluedroid stack init API

Closes BTQABR2023-32

See merge request espressif/esp-idf!25248
2023-09-04 11:24:44 +08:00
Wang Meng Yang
6598c6ecd7 Merge branch 'bugfix/hf_ag_report_event_with_null_bdaddr' into 'master'
Bugfix/fixed bugs of HFP in BlueDroid

Closes BTQABR2023-71, BTQABR2023-73, BTQABR2023-74, BTQABR2023-78, BTQABR2023-81, BTQABR2023-82, and BTQABR2023-69

See merge request espressif/esp-idf!25493
2023-09-04 11:21:15 +08:00
morris
0b970a8dfe refactor(emac): add LL functions for bus clock control 2023-09-04 10:52:03 +08:00
Sudeep Mohanty
b1e85404f1 Merge branch 'task/esp32p4_int_vectors_cleanup' into 'master'
fix(interrupts): Cleanup pending tags in the code base regarding interrupt vectors

Closes IDF-7863

See merge request espressif/esp-idf!25698
2023-09-04 09:54:23 +08:00