Commit Graph

26407 Commits

Author SHA1 Message Date
KonstantinKondrashov
76291d0095 efuse: Fix load_efuses_from_flash when FE is on
esp_efuse_utility_load_efuses_from_flash() read emul_efuse
as an encrypted partition, but that is not correct,
this partition was never encrypted.
Need to read it as not encrypted partition.

Fxed the case: If FE is already on then EFUSE VIRT mode can work with it.

Closes https://github.com/espressif/esp-idf/issues/10929
2023-03-29 14:58:50 +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
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
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
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
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
aleks
be59a273c6 modbus remove example tests 2023-03-20 13:12:30 +01:00
wanlei
20924e3a72 mspi: turn down freq to fix crash when sleep 2023-03-20 19:46:25 +08:00
laokaiyao
ec55f7fe6e i2s_pdm: fix tx frequency limitation
Closes: https://github.com/espressif/esp-idf/issues/10420
2023-03-20 19:22:40 +08:00
Jiang Jiang Jian
2ce6ddacfc Merge branch 'bufix/fix_check_kconfigs_mention_v5.0' into 'release/v5.0'
bugfix: Fix documentation reference to check_kconfigs.py (v5.0)

See merge request espressif/esp-idf!22816
2023-03-20 17:06:11 +08:00
Jiang Jiang Jian
dc172b63d3 Merge branch 'bugfix/close_rf_in_deep_sleep_backport_v5.0' into 'release/v5.0'
deep sleep: further optimize sleep current if RF is enabled (backport v5.0)

See merge request espressif/esp-idf!22738
2023-03-20 15:48:29 +08:00
laokaiyao
b02d50e33b i2s: fix some typos 2023-03-20 14:51:07 +08:00
Cao Sen Miao
8e3b4f68dc usb_serial_jtag: Fix bug of blocking TX xfer when using driver,
Merges https://github.com/espressif/esp-idf/pull/10208
2023-03-20 14:07:55 +08:00
Chip Weinberger
6f0746734f [USB Serial/JTAG Driver] use time-limited blocking for TX 2023-03-20 14:07:41 +08:00
Jiang Jiang Jian
763e369858 Merge branch 'feature/support_7.2.8_soc/pvt_dig_v5.0' into 'release/v5.0'
ESP32S3:support auto adjust LDO voltage based on pvt-dig(backport 5.0)

See merge request espressif/esp-idf!19774
2023-03-20 14:06:48 +08:00