Commit Graph

34202 Commits

Author SHA1 Message Date
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
Chen Yudong
02f91d4f25 ci: fix pytest components ethernet rules 2023-10-13 21:33:25 +08: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
Fu Hanxi
79bc66b323
ci: upload to minio server instead of gitlab artifacts for pytest jobs 2023-10-13 13:01:23 +02:00
Fu Hanxi
9bef0db402
ci: remove SETUP_TOOLS since now we run install.sh for all jobs 2023-10-13 13:01:23 +02:00
Fu Hanxi
dfdb9f9261
ci: reduce gitlab api calls by using lazy calls 2023-10-13 13:01:23 +02:00
Fu Hanxi
6be05d415b
ci: remove unit-test-app ci jobs 2023-10-13 13:01:16 +02:00
Fu Hanxi
7311710e2c
ci: support p4 in unit-test-app 2023-10-13 12:55:52 +02:00
Fu Hanxi
a3a8c2acb9
ci: move default variables, before(after)_script into a single file
could help reuse the default settings on main pipeline and child
pipeline

renamed:
- .before_script_minimal -> .before_script:minimal
- .before_script_macos -> .before_script:build:macos
- .before_script_build_jobs -> .before_script:build
2023-10-13 12:55:51 +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
Ren Pei Ying
3620037de2 Merge branch 'docs/add_CN_trans_for_api-reference/system/freertos_additions.rst' into 'master'
docs: Provide Chinese translation for api-reference/system/freertos_additions.rst

Closes DOC-6308

See merge request espressif/esp-idf!25981
2023-10-13 16:41:43 +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
Ren Pei Ying
260cfa75ff Merge branch 'docs/add_cn_trans_for_ipc.rst_in_api-reference_system' into 'master'
docs: Provide Chinese translation for api-reference/system/ipc.rst

See merge request espressif/esp-idf!26122
2023-10-13 14:40:20 +08:00
Ren Pei Ying
3a16224d1d docs: Provide Chinese translation for api-reference/system/ipc.rst 2023-10-13 14:40:20 +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
Armando (Dou Yiwen)
f57dd0a815 Merge branch 'doc/esp32p4_psram_programming_guide' into 'master'
psram: updated psram programming guide to esp32p4

Closes IDF-7711

See merge request espressif/esp-idf!26434
2023-10-13 14:20:52 +08:00
xueyunfei
fcc1569de4 Fix(tcp):optimize tcp connection 2023-10-13 14:14:55 +08:00
Rocha Euripedes
1a91a85e17 Merge branch 'example/mqtt_custom_outbox' into 'master'
Custom outbox for esp_mqtt

See merge request espressif/esp-idf!24233
2023-10-13 13:09:48 +08:00
Ren Pei Ying
9ea6f0f4ff Merge branch 'docs/add_cn_trans_for_mm.rst_in_api-reference_system' into 'master'
docs: Provide Chinese translation for api-reference/system/mm.rst

Closes DOC-6336

See merge request espressif/esp-idf!26110
2023-10-13 12:52:52 +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
renpeiying
b589c75be6 docs: Provide Chinese translation for api-reference/system/freertos_additions.rst 2023-10-13 12:38:09 +08:00
Mahavir Jain
d7632db058 Merge branch 'docs/secure_boot_v1_add_missing_byte_swap_info' into 'master'
docs(secure_boot_v1): add missing digest byte swap information

Closes DOC-6441

See merge request espressif/esp-idf!26445
2023-10-13 12:25:27 +08:00
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
Mo Fei Fei
9711e9a812 Merge branch 'docs/add_cn_translation_for_api-reference/system/freertos_idf.rst' into 'master'
docs: provide CN translation for api-reference/system/freertos_idf.rst

Closes DOC-6250

See merge request espressif/esp-idf!26100
2023-10-13 11:46:03 +08:00
Cai Xin Ying
e16134570c docs: provide CN translation for api-reference/system/freertos_idf.rst 2023-10-13 11:46:02 +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
Xu Si Yu
082cf73602 fix(ot sleep): Add a timer to print ot sleepy device status 2023-10-13 10:47:18 +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
harshal.patil
6cf9cc2c9b
docs(secure_boot_v1): add missing digest byte swap information
- In the secure bootloader digest algorithm section, the final
four byte word byte-swap information was not mentioned.
2023-10-12 17:35:10 +05:30
Rocha Euripedes
ade6384954 Merge branch 'ci/publish_connect_refactor' into 'master'
Publish connect test refactor

See merge request espressif/esp-idf!25311
2023-10-12 20:03:28 +08:00
harshal.patil
5e7672a21d
docs(build): enable docs build of DS and HMAC for esp32p4 2023-10-12 17:25:12 +05:30