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
Gong Yan Tao
ce98ac87d4
Merge branch 'bugfix/unable_to_load_bonded_ble_devices_from_nvs' into 'master'
...
fix(bt&ble): fix BLE unable to load bonded device info after reboot.
Closes BT-3406
See merge request espressif/esp-idf!25535
2023-10-13 19:18:42 +08:00
radek.tandler
d4aa9ccb0c
change(nvs_flash): Host tests were migrated from CMock to esp_partition linux emulation
2023-10-13 13:17:28 +02:00
Michael (XIAO Xufeng)
586ab5387a
Merge branch 'bugfix/remove_spiram_kconfig_hwsupport' into 'master'
...
fix(hw_support): remove outdated source from Kconfig file
See merge request espressif/esp-idf!26391
2023-10-13 18:49:38 +08:00
Ondrej Kosta
4f6c86ebb8
Merge branch 'feature/extend_eth_test_targets' into 'master'
...
CI tests for all supported Ethernet tests
Closes IDF-5704
See merge request espressif/esp-idf!24468
2023-10-13 18:44:10 +08:00
liuning
516496b9d3
fix(pm): fix soc wakeup after wifi disconnected, station no respond after m f null, crash when connected to non_trans bssid
2023-10-13 18:14:54 +08:00
Niklas Kaaf
2d6dcee136
fix: "erro code" -> "error code" typos
...
Closes https://github.com/espressif/esp-idf/pull/12330
2023-10-13 18:13:54 +08:00
Cao Sen Miao
6137905c02
ci(spi_flash): reduce build times on ci
2023-10-13 17:54:42 +08:00
Chen Jian Xing
f67aa66067
Merge branch 'bugfix/fix_some_wifi_issue' into 'master'
...
bugfix/fix some wifi issue
Closes WIFIBUG-164, WIFIBUG-183, IDFGH-11186, FCS-1292, IDFGH-8972, and WIFI6-336
See merge request espressif/esp-idf!26412
2023-10-13 17:31:44 +08:00
Aditya Patwardhan
fa1da64dec
Merge branch 'feature/mbedtls_3_5_0_update' into 'master'
...
feat(mbedtls): update to 3.5.0 release
See merge request espressif/esp-idf!26331
2023-10-13 17:11:05 +08:00
morris
d4dbacf988
Merge branch 'feature/2nd_twai_on_c6' into 'master'
...
twai: support multiple TWAI controller
See merge request espressif/esp-idf!23713
2023-10-13 16:55:21 +08:00
C.S.M
e19324b4fa
Merge branch 'bugfix/h2_i2c1_no_signal' into 'master'
...
fix(i2c): I2C port 1 doesn't work on esp32h2
See merge request espressif/esp-idf!26416
2023-10-13 15:01:34 +08:00
morris
2bbdd35383
build: trim lcd apps build dependency
2023-10-13 14:58:15 +08:00
Wang Meng Yang
da73e48fdf
Merge branch 'bugfix/use_bt_sdp_bqb_include_macro_for_ertm_mode_flag' into 'master'
...
fix(bt/bluedroid): Add correct macro for ertm mode included flag
See merge request espressif/esp-idf!26427
2023-10-13 14:36:14 +08:00
xueyunfei
fcc1569de4
Fix(tcp):optimize tcp connection
2023-10-13 14:14:55 +08:00
Mahavir Jain
ee435132cb
Merge branch 'bugfix/preencrypted_ota_failed_with_partial_download' into 'master'
...
fix(esp_https_ota): fix preencrypted ota failed with pytest server and partial http enabled
Closes IDF-8112
See merge request espressif/esp-idf!25791
2023-10-13 12:51:33 +08:00
Laukik Hase
3f67722274
refactor(tools/test_apps): Move HAL tests for MPU to the panic
test-app
2023-10-13 10:16:57 +05:30
Cao Sen Miao
6cea72b76b
fix(ota): Fixed OTA fail on octal flash with 32MB memory,
...
Closes https://github.com/espressif/esp-idf/issues/11903
2023-10-13 12:01:26 +08:00
cjin
6503d1327b
feat(ble): added modem reset on c2 h2 and c6
2023-10-13 11:39:29 +08:00
zhanghaipeng
60354c39a9
fix(bt/bluedroid): Fix hid example stack overflow bugs when using esp32s3
2023-10-13 11:20:17 +08:00
Martin Vychodil
64befdca3a
Merge branch 'feature/partition_readonly_flag' into 'master'
...
feat(partition_table): Add read-only partition flag and functionality
Closes IDF-6421
See merge request espressif/esp-idf!24855
2023-10-13 11:11:07 +08:00
zhanghaipeng
4129addca6
fix(bt/bluedroid): Fix remove resolving list error for esp32
2023-10-13 10:54:25 +08:00
zhanghaipeng
c73d7c0b60
fix(bt/bluedroid): Fix bugs in ble service change characteristic
2023-10-13 10:54:25 +08:00
zhanghaipeng
2b551b09c8
feat(bt/bluedroid): Support scan response data length zero in BLE
2023-10-13 10:54:25 +08:00
zhanghaipeng
7492c004dd
fix(bt/bluedroid): Optimize the description of Scan Duplicate in BLE
2023-10-13 10:54:25 +08:00
alanmaxwell
16ec59907e
fix(wifi): Fix some wifi issue
...
1.fix multi antenna issue
2.fix dirty eb when rx HE rate action for C6
3.fix h/w modem state consecutive times when the modem sleep type is modified in runtime
2023-10-13 10:45:31 +08:00
morris
0717729911
fix(hal): replace assert with hal_assert
...
hal is a G0 component but assert may link in the symbols in the newlib component.
we'd better not use assert in the hal but use the alternative HAL_ASSERT
2023-10-13 10:14:47 +08:00
morris
ca1cd88e25
Merge branch 'feature/enable_hal_util_host_test' into 'master'
...
feat(hal): enable hal host test
Closes IDF-8275
See merge request espressif/esp-idf!26384
2023-10-12 22:24:38 +08:00
aditi_lonkar
236fa500c7
fix(wpa_supplicant): Fix few dpp bugs
...
1) Fix crash in dpp Listen without bootstrap
2) Fix crash on receiving dpp auth_req from hostapd with dpp akm
2023-10-12 13:51:27 +00:00
Jiang Jiang Jian
042382e87b
Merge branch 'feature/support_dump_sleep_context' into 'master'
...
feat(esp_hw_support): Supports recording key sleep parameters into user-specified structures for debug
Closes FCS-1300
See merge request espressif/esp-idf!26359
2023-10-12 19:35:47 +08:00
Erhan Kurubas
c418a39f41
fix(interrupts): reorder esp32s3 irq names to align with the respective irq numbers
2023-10-12 13:24:24 +02:00
Jiang Jiang Jian
313d642add
Merge branch 'bugfix/fix_esp_sleep_enable_ext1_wakeup_func' into 'master'
...
bugfix(pm): fix esp_sleep_enable_ext1_wakeup func
See merge request espressif/esp-idf!26386
2023-10-12 18:36:28 +08:00
Jiang Jiang Jian
59417a4049
Merge branch 'feature/free_bt_memory' into 'master'
...
feat(bt): Frees BLE memory when no longer in use
See merge request espressif/esp-idf!22795
2023-10-12 18:35:15 +08:00
Konstantin Kondrashov
e19504a9c1
Merge branch 'feature/enable_multicore_unicore_tests_for_esp32p4' into 'master'
...
feat(tools): Enables unicore_bootloader test for ESP32P4
Closes IDF-7692
See merge request espressif/esp-idf!26035
2023-10-12 17:35:26 +08:00
Song Ruo Jing
321f628ff5
feat(gpio): add a dump API to dump IO configurations
...
Closes https://github.com/espressif/esp-idf/issues/12176
2023-10-12 17:34:20 +08:00
Harshit Malpani
1df186d4e1
feat: Add API to verify the bootloader and app image
...
Added an API to verify the bootloader and app image before revoking the key in Secure Boot V2.
This will help in preventing the device to be bricked if the bootloader/application cannot be
verified by any other keys in efuse
2023-10-12 14:53:57 +05:30
Island
82f983f256
Merge branch 'feat/ble_mesh_seperate_hb_handling' into 'master'
...
feat(ble_mesh): Use a separate file for heartbeat handling
See merge request espressif/esp-idf!26278
2023-10-12 17:11:07 +08:00
Erhan Kurubas
31b3b1f455
feat(gcov): improve gcov file handling using esp_apptrace_feof()
2023-10-12 11:01:23 +02:00
Peter Dragun
95b764970e
Merge branch 'feat/uf2-to-esptool' into 'master'
...
feat(tools): move uf2 file generation to esptool
Closes IDF-7434
See merge request espressif/esp-idf!25655
2023-10-12 16:03:16 +08:00
luomanruo
229685a4b5
ble: update tx power level index of ESP32-H2 and ESP32-C2
2023-10-12 15:56:56 +08:00
luomanruo
f74338afa2
ble:update c2 libble to 6a8d1f3d, h2 c6 libble to 57ed7949
2023-10-12 15:56:56 +08:00
gongyantao
fdc35e772b
fix(bt/bluedroid): update the newest active device in bluetooth
...
1: update the newest active device when an ACL link is established and
the remote device info is not in bond list. This updates will not stored
into NVRAM until a new device is paired.
2023-10-12 07:46:34 +00:00
gongyantao
061cd29168
fix(bt/bluedroid): ble fails to load bonded device info after reboot
...
1: add a quantity check in bt when writing paired device info into nvs.
2: delete the exceeded device info from NVS when get bonded list during
bluedroid initialization.
3: unify the process of bt and ble to load bonded list during bluedroid
initialization.
2023-10-12 07:46:34 +00:00
zhiweijian
d3394003b5
Update BLE lib on ESP32-C3 and ESP32-S3
...
- modify mesh proxy solic uuid to 0x18590303
- Fixed DTM payload length cannot be 0
- Added config to enable Hw recorrect eco
- report the number of packets sent on the TX end
2023-10-12 07:42:53 +00:00
zhiweijian
43011c66d6
fix(ble/bluedroid): fixed bluedroid host DTM API
2023-10-12 07:42:53 +00:00
Zhi Wei Jian
05541a2e3e
Merge branch 'bugfix/fix_ble_c3_2M_phy_ci_failed' into 'master'
...
Fix BLE 2M phy cannot send packets on ESP32-C3
Closes CBLE50Y23-64
See merge request espressif/esp-idf!26417
2023-10-12 15:42:14 +08:00
Ondrej
3a3656ba38
ci(esp_eth): added tests of all supported Etherent chips
2023-10-12 07:23:51 +00:00
Ondrej Kosta
a93d53aadb
fix(esp_eth): various Ethernet driver fixes
...
ksz8851snl: enabled reception of multicast frames
Internal EMAC: fixed APLL CLK deinitialization
DM9051 and KSZ80xx: fixed speed configuration when not in loopback mode
phy_802_3: added multiple attempts when autodetecting PHY address
2023-10-12 07:23:51 +00:00