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
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
Cao Sen Miao
e94d95103e
spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory,
...
Closes https://github.com/espressif/esp-idf/pull/9566
2023-03-20 13:07:35 +08:00
Michael (XIAO Xufeng)
55e040b54b
Merge branch 'bugfix/wakeup_io_hold_unhold_in_sleep_v5.0' into 'release/v5.0'
...
gpio: Fix deep sleep wakeup IOs unable to unhold after wakeup (v5.0)
See merge request espressif/esp-idf!22665
2023-03-20 12:49:56 +08:00
Roland Dobai
58f24af363
Merge branch 'contrib/github_pr_10935_v5.0' into 'release/v5.0'
...
export: avoid error on unbound variable (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22820
2023-03-18 15:38:32 +08:00
Roland Dobai
1ed1d1cf64
Merge branch 'feature/export_fish_exit_code_success_v5.0' into 'release/v5.0'
...
Tools: export.fish exit with success exit code (v5.0)
See merge request espressif/esp-idf!22818
2023-03-18 15:36:55 +08:00
Marc Finet
1160e6e6b8
export: avoid error on unbound variable
...
I the shell has `set -u` (to abort on unbound variable), sourcing
export.sh currently fails when IDF_EXPORT_QUIET or IDF_PATH is not set:
> /path/to/esp-idf/export.sh:16: IDF_EXPORT_QUIET: unbound variable
This commit sets a default empty value to those variable, as done
in 16731833fb
(which forgot IDF_PATH as it's usually set, the other
variable landed later in the file).
2023-03-17 18:13:58 +01:00
Max Larsson
5a0cf6d175
Make export.fish exit with SUCCESS exit code
...
The export.fish script exits with an exit code of 4. Thus, any shell checks that make sure the source command exits successfully always failed. This was due to the last line trying to erase the __main function. In fish, you can't erase a function using the `set` command, you can only erase variables. By removing that line the script now exits with an exit code of 0 instead of 4.
Erase __main function at the end of export.fish
Closes https://github.com/espressif/esp-idf/pull/10828
2023-03-17 18:08:23 +01:00
Noah Pendleton
561e7357ac
doc: fix a small typo for check_kconfigs.py
...
The script was moved in bcc8f2628c
,
update the doc reference to match.
2023-03-17 15:22:52 +01:00
Jiang Jiang Jian
e9b2f6ddce
Merge branch 'bugfix/minor_syntax_changes_v5.0' into 'release/v5.0'
...
wpa_supplicant : Fixing a collection of issues encountered during application testing.
See merge request espressif/esp-idf!22178
2023-03-17 19:39:49 +08:00
Jiang Jiang Jian
faad05cf56
Merge branch 'bugfix/default_wpa2_causing_pmk_recal_v5.0' into 'release/v5.0'
...
esp_wifi: Fix for default wpa2 authmode casing pmk recalculation.(v5.0)
See merge request espressif/esp-idf!22427
2023-03-17 19:39:40 +08:00
Michael (XIAO Xufeng)
385ca5a041
Merge branch 'test/add_spi_slave_freq_test_v5.0' into 'release/v5.0'
...
spi_slave: fix io re-config issue (v5.0)
See merge request espressif/esp-idf!22592
2023-03-17 19:17:23 +08:00
zlq
135381943a
1.add ldo parameters in efuse table; 2.set ldo based on pvt-efuse; 3.ldo voltage is changed based on cpu freq
2023-03-17 11:14:01 +00:00
Jiang Jiang Jian
122dd1ed32
Merge branch 'bugfix/fix_potential_null_pointer_dereference_v5.0' into 'release/v5.0'
...
Fix potential null pointer dereference (backport v5.0)
See merge request espressif/esp-idf!22184
2023-03-17 17:29:17 +08:00
Michael (XIAO Xufeng)
3da8120029
Merge branch 'bugfix/gpio_ut_usj_v5.0' into 'release/v5.0'
...
gpio: add a test case to test the ability of disabling USB D+ pin pull-up (v5.0)
See merge request espressif/esp-idf!22605
2023-03-17 16:34:17 +08:00
Song Ruo Jing
27f9ee66d5
gpio: Fix IO hold function related problems
...
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API
docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3 and C2
2023-03-17 14:44:29 +08:00
Song Ruo Jing
b3b3947207
examples: system/deep_sleep
...
1. Fix EXT0 wakeup pin error on ESP32: GPIO3 is not a RTC IO, change to use GPIO25.
2. Add ESP_ERROR_CHECK to explicitly show the runtime error
3. Improve example README
2023-03-17 14:44:29 +08:00
Song Ruo Jing
a7222acf47
rtcio: Add a test case to test RTCIO's hold ability after deep sleep wakeup
2023-03-17 14:44:23 +08:00
Jiang Jiang Jian
fe743a057f
Merge branch 'bugfix/avrcp_psth_cmd_rsp_v5.0' into 'release/v5.0'
...
bt:Added a parameter to tell the user the result of the pass through command implementation(v5.0)
See merge request espressif/esp-idf!22726
2023-03-17 14:22:22 +08:00
Jiang Jiang Jian
9718c91a38
Merge branch 'bugfix/bluedroid_le_coc_compile_error_v5.0' into 'release/v5.0'
...
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs(backport v5.0)
See merge request espressif/esp-idf!22492
2023-03-17 13:56:36 +08:00
Jiang Jiang Jian
df0ec3f5e4
Merge branch 'bugfix/modify_configuration_for_ble_5_v5.0' into 'release/v5.0'
...
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips (v5.0)
See merge request espressif/esp-idf!22780
2023-03-17 13:56:22 +08:00