David Cermak
88d18e9a40
fix(esp_netif): Mark esp_netif_next deprecated and fix usages
...
* Uses netif_find_if() in IPv6 examples
* Fixes esp_netif_next() usage in L2TAP
2023-10-13 15:56:45 +02:00
David Cermak
606363897c
feat(esp_netif): Added new API to search in netif list
2023-10-13 15:56:30 +02:00
David Cermak
36735f4d77
fix(esp_netif): Lock netif list with TCPIP context
...
This commit removes the lock from the list manipulation code in esp_netif_objects.c,
because we already have another lock/task context for lwip.
So the list manipulation is unsafe and safety must be assured by the stack layer
(in esp_netif_lwip).
Problems with current locking:
* implementation of locking was wrong -- lazy init style of creating the mutex is not
thread safe (and destroying it if we have no interface makes the problem exhibit very frequently)
* locking only the list won't solve issues when assessing interfaces atomically
* maintaining multiple locks is problematic, as we often switch between
lwip context and user context in internal implementation of esp_netif_lwip
Closes https://github.com/espressif/esp-idf/issues/12261
2023-10-13 15:54:53 +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
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
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
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
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
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
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
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