Commit Graph

26417 Commits

Author SHA1 Message Date
David Cermak
a3ca732e5d esp-netif: Fix non-lwip build using esp_netif loopback
This partially backports 8142a6f9fc633c5f3ef461af41528eb5a6794755.
allowing esp_netif build with loopback only

Closes https://github.com/espressif/esp-idf/issues/10587
2023-03-29 11:35:22 +00:00
Jiang Jiang Jian
f944418ca4 Merge branch 'bugfix/delay_report_memory_leak_v5.0' into 'release/v5.0'
bugfix: fixed memory leak in AVDT delay report (v5.0)

See merge request espressif/esp-idf!22885
2023-03-29 19:14:40 +08:00
Jiang Jiang Jian
c35de0c0c7 Merge branch 'feature/gatt_server_improvements_v5_0' into 'release/v5.0'
NimBLE: Added custom GATT server functionality and encryption (v5.0)

See merge request espressif/esp-idf!22740
2023-03-29 19:14:12 +08:00
Jiang Jiang Jian
273b1b3bc5 Merge branch 'feature/add_ext_adv_instance_check' into 'release/v5.0'
NimBLE: Added ble_gap_ext_adv_active() to check if extended advertising instance is active or not.

See merge request espressif/esp-idf!22837
2023-03-29 19:11:45 +08:00
Marius Vikhammer
ee70990288 Merge branch 'docs/ledc_datasheet_v5.0' into 'release/v5.0'
docs: update readme links to ledstrip datasheet (v5.0)

See merge request espressif/esp-idf!22958
2023-03-29 16:05:09 +08:00
Jiang Jiang Jian
fa4dccbe68 Merge branch 'bugfix/remove_Wno_format_in_esp_phy_esp_wifi_and_wpa_supplicant_components_v5.0' into 'release/v5.0'
Remove -Wno-format in esp_phy, esp_wifi, part of wpa_supplicant components(Backport v5.0)

See merge request espressif/esp-idf!22829
2023-03-29 15:49:14 +08:00
Jiang Jiang Jian
2048d1e0c0 Merge branch 'mesh/bugfix_fix_bugs_for_mesh_network_v5.0' into 'release/v5.0'
wifi_mesh: fix bugs for mesh network (backport v5.0)

See merge request espressif/esp-idf!22902
2023-03-29 10:45:49 +08:00
Marius Vikhammer
9eea794f8e docs: update readme links to ledstrip datasheet 2023-03-29 10:16:26 +08:00
Mahavir Jain
30058e3b31 Merge branch 'bugfix/enable_security_example_for_c2_v5.0' into 'release/v5.0'
examples: enable security example for ESP32-C2 (v5.0)

See merge request espressif/esp-idf!22947
2023-03-29 10:06:26 +08:00
Jiang Jiang Jian
c86f48ad80 Merge branch 'feature/ble_mesh_console_stack_update_v5.0' into 'release/v5.0'
ble_mesh: stack: Miscellaneous fixes and updates(v5.0)

See merge request espressif/esp-idf!22922
2023-03-28 15:19:22 +08:00
lly
f92ee6d70b ble_mesh: stack: Minor fix for provisioner provisioning timeout 2023-03-28 04:29:07 +00:00
wangjialiang
353eade320 ble_mesh: add BQB LOG 2023-03-28 04:29:07 +00:00
luoxu
d63bcc75a4 ble_mesh: stack: forward rfu dst for the case NODE/RLY/BV-01 2023-03-28 04:29:07 +00:00
luoxu
d63200c0b4 ble_mesh: stack: add send transaction ack befor provisioner send prov failed msg 2023-03-28 04:29:07 +00:00
luoxu
0f87363e3e ble_mesh: stack: for the case MESH/PVNR/PBADV/BV-01, add the close link reason before reset link 2023-03-28 04:29:07 +00:00
Mahavir Jain
72a20d8c7f
examples: enable security example for ESP32-C2
Tested that example could work with flash encryption enabled case

Closes IDF-6959
2023-03-28 09:52:08 +05:30
muhaidong
b6be20a95d Remove -Wno-format in esp_phy, esp_wifi and part of wpa_supplicat components 2023-03-27 17:33:32 +08:00
Zim Kalinowski
149a2cfc5e Merge branch 'docs/extra_component_dirs_v5.0' into 'release/v5.0'
docs: fixed EXTRA_COMPONENT_DIRS being mispelled as EXTRA_COMPONENTS_DIRS in build-system guide (v5.0)

See merge request espressif/esp-idf!22800
2023-03-27 17:03:57 +08:00
Island
6eb0d366a4 Merge branch 'feature/ble_mesh_add_bqb_log_test_macro_v5.0' into 'release/v5.0'
ble_mesh: stack: Add macros for BQB test to enable some internal function or log (v5.0)

See merge request espressif/esp-idf!22921
2023-03-27 16:42:55 +08:00
wangjialiang
9f36ad8ab6 ble_mesh: stack: bug fix in bqb 2023-03-24 16:21:40 +08:00
wangjialiang
f02b18b392 ble_mesh: stack: add description of internal BQB Test 2023-03-24 16:20:06 +08:00
lly
71bc754b0a ble_mesh: stack: Minor updates for BQB test log 2023-03-24 16:05:08 +08:00
wangjialiang
161e78150f ble_mesh: stack: Add a BQB macro for BQB test to enable some internal function or log 2023-03-24 16:05:01 +08:00
Marius Vikhammer
e715f0fefd Merge branch 'bugfix/increase_nmea_example_default_stack_v5.0' into 'release/v5.0'
uart: increase default stack size for nmea example (v5.0)

See merge request espressif/esp-idf!22915
2023-03-24 14:27:15 +08:00
Marius Vikhammer
b97d2ed15a uart: increase default stack size for nmea example
With the old value of 2048 bytes we are right on the stack border when running on S3.

Closes https://github.com/espressif/esp-idf/issues/11044
2023-03-24 12:21:22 +08:00
Roland Dobai
7398a9b273 Merge branch 'fix/esptool_py_wrapper_v5.0' into 'release/v5.0'
Tools: don't add the esptool directory with wrappers to the PATH (v5.0)

See merge request espressif/esp-idf!22878
2023-03-24 02:06:57 +08:00
zhangyanjiao
9801647fa5 wifi_mesh: update mesh doc 2023-03-23 17:18:23 +08:00
zhangyanjiao
348f8f9bac wifi_mesh: Fix several bugs on mesh network 2023-03-23 17:18:00 +08:00
Michael (XIAO Xufeng)
d8d6d3da5b Merge branch 'bugfix/fix_deep_sleep_crash_when_psram_high_freq_5.0' into 'release/v5.0'
mspi: turn down freq to fix crash when sleep (v5.0)

See merge request espressif/esp-idf!22841
2023-03-23 17:08:56 +08:00
Michael (XIAO Xufeng)
76c8f09856 Merge branch 'bugfix/usb_serial_driver_block_v5.0' into 'release/v5.0'
usb_serial_jtag: Fix bug of blocking TX xfer when using driver (backport v5.0)

See merge request espressif/esp-idf!22830
2023-03-23 16:58:36 +08:00
Jiang Jiang Jian
e8205de110 Merge branch 'bugfix/lwip_core_locking_v5.0' into 'release/v5.0'
esp_netif/lwip: Fix core-locking config (v5.0)

See merge request espressif/esp-idf!22443
2023-03-23 16:54:49 +08:00
Michael (XIAO Xufeng)
8f202f0ea5 Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency_v5.0' into 'release/v5.0'
uart: Fix TX side concurrency issues (v5.0)

See merge request espressif/esp-idf!22595
2023-03-23 15:29:33 +08:00
Jiang Jiang Jian
7cf3f99bfa Merge branch 'bugfix/nvs_save_for_new_config_v5.0' into 'release/v5.0'
esp_wifi: Add nvs code for new config params(backport v5.0)

See merge request espressif/esp-idf!22867
2023-03-23 12:22:07 +08:00
Jin Cheng
7d61e0bc52 Fixed memory leak in AVDT delay report 2023-03-23 11:23:43 +08:00
Jiang Jiang Jian
cf7a01cb6e Merge branch 'bugfix/hfp_ag_cannot_init_conn_v5.0' into 'release/v5.0'
bt: Fixed the index out of bounds of hfp_ag BTC control block (v5.0)

See merge request espressif/esp-idf!22872
2023-03-23 10:51:24 +08:00
Roland Dobai
c7a70b6d0e Tools: don't add the esptool directory with wrappers to the PATH
Esptool.py is available from the esptool package which is installed in
every ESP-IDF v5.0+ shells. Therefore, the path to the legacy wrapper
scripts is not needed to be in the PATH. In some cases like
https://github.com/espressif/esp-idf/issues/10926 it even cases problem
because the wrapper doesn't have a shebang line and is not executable.

Note that the wrapper is kept only for invoking esptool as "python
$IDF_PATH/..../esptool.py" which was previously used mostly in CMake
files. There should be no other use-case where the esptool wrappers are
still needed.
2023-03-22 11:36:47 +01:00
Jin Cheng
b0f6a4174a Fixed the index out of bounds of hfp_ag BTC control block 2023-03-22 15:48:32 +08:00
Kapil Gupta
8a6bc4363e esp_wifi: Add nvs code for new config params 2023-03-22 12:40:55 +05:30
morris
3050ea656f Merge branch 'bugfix/i2s_pdm_dac_wrong_clock_freq_v5.0' into 'release/v5.0'
i2s_pdm: fix tx frequency limitation (v5.0)

See merge request espressif/esp-idf!22832
2023-03-21 20:23:50 +08:00
morris
3154ad8a23 Merge branch 'feature/modbus_remove_example_tests_v5' into 'release/v5.0'
modbus remove example tests (backport v5.0)

See merge request espressif/esp-idf!22843
2023-03-21 20:20:50 +08:00
Sumeet Singh
da4c7eb7c4 Added custom gatt server functionality and encryption. 2023-03-21 17:40:41 +05:30
Jiang Jiang Jian
c575587ea4 Merge branch 'bugfix/flash_large_memory_size_v5.0' into 'release/v5.0'
spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory(backport v5.0)

See merge request espressif/esp-idf!21533
2023-03-21 18:58:33 +08:00
David Cermak
a18d019fc9 lwip: Fix lwiopts macro expansion and dhcps-test
Minor issue in lwipopts.h in macro expansion in parameters (cosmetic
change: it expands correctly but doesn't pass the expected argument)
Fix lwip thread safety issue in tests: dhcp server should be started and
stopped only in lwip context/thread. Without this fix, the test would
fail if `CONFIG_LWIP_CHECK_THREAD_SAFETY=y`
Adds CONFIG_LWIP_TCPIP_CORE_LOCKING=y to some mqtt example tests (the
same configs as used in v5.1)
2023-03-21 11:21:07 +01:00
David Cermak
285362e8d6 lwip: Add missing esp_sntp_enabled() 2023-03-21 11:09:56 +01:00
David Cermak
42594bffe4 lwip/sntp: Fix esp_sntp_ API races (v5.0)
Some of the esp_sntp_...() APIs that wrap lwip's SNTP
module use tcpip_callback() to execute the lwip functionality
in the correct state (either with locked TCP/IP core,
or within the TCP/IP thread).
tcpip_callback() however doesn't wait for completion of the callback,
which doesn't prevent from using the stack variables after destroy
if used as a parameter.
Introduced in a71fa82.
Fixed by using of tcpip_api_call() instead of the tcpip_callback().

Closes https://github.com/espressif/esp-idf/issues/10611
2023-03-21 11:09:56 +01:00
Wang Zi Yan
25cbcd6a1c docs: CN translation for system_time.rst (v5.0) 2023-03-21 11:09:56 +01:00
David Cermak
5b75693522 esp_netif/lwip: Fix core-locking config (v5.0)
* Fix thread safety issues in non-core locking
* Add option to verify thread safety issues in lwip (core-lock assertion)
* Make esp_sntp.h thread safe API
* Fix sntp examples

Closes https://github.com/espressif/esp-idf/issues/9908
Closes https://github.com/espressif/esp-idf/issues/10502
Closes https://github.com/espressif/esp-idf/issues/10466
2023-03-21 11:09:56 +01:00
Jiang Jiang Jian
f9f4a23159 Merge branch 'bugfix/set_generic_len_for_rsnxe_v5.0' into 'release/v5.0'
esp_wifi: bugfix RSNXE related changes

See merge request espressif/esp-idf!22420
2023-03-21 12:35:11 +08:00
Cao Sen Miao
4c66d7e6df esp_flash: correct veriable 'size' description 2023-03-21 12:10:38 +08:00
Shreyas Sheth
77c675db25 esp_wifi: bugfix RSNXE related changes
1. Set AP rsnxe len generic
2. Set transition_disable value in wifi get config
2023-03-20 21:55:44 +05:30