9259 Commits

Author SHA1 Message Date
David Čermák
e83df0aa20 Merge branch 'bugfix/config_data_interface_early_v4.1' into 'release/v4.1'
initialize data interface early (v4.1)

See merge request espressif/esp-idf!15091
2021-09-24 07:33:28 +00:00
Jiang Jiang Jian
d0525dcf03 Merge branch 'bugfix/stack_init_check_v4.1' into 'release/v4.1'
NimBLE: Check stack status before executing stack command

See merge request espressif/esp-idf!14985
2021-09-23 07:55:34 +00:00
zhiweijian
ffc6072f80 component/bt: add clear white list API 2021-09-22 16:01:51 +08:00
morris
1c75ad9416
uart: support alloc driver object in SRAM
If CONFIG_UART_ISR_IN_IRAM is on, which means user hope the uart
interrupt can still be serviced even when cache is diabled (e.g.
writing to flash). In that case, the driver should make sure to
put the all related objects into SRAM, avoid putting them in the PSRAM.

Closes https://github.com/espressif/esp-idf/issues/7044
Closes https://github.com/espressif/esp-idf/pull/7355
2021-09-22 11:57:28 +08:00
morris
89990bcbf5
uart: format driver code by astyle 2021-09-22 11:57:28 +08:00
Vikram Dattu
112cfe8f57 esp_http_client: Fixed handling of EAGAIN return
For https connection `ESP_TLS_ERR_SSL_WANT_READ` of esp_transport_read was getting treated as error.
Treated this as a timeout to fix connection abort issue!

Also handled http connection EAGAIN with `errno == EAGAIN` check.

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-09-20 18:22:21 +05:30
Aditya Patwardhan
fc931ff193 Fix esp_mbedtls_write API
Fix esp_wolfssl_write API
Closes https://github.com/espressif/esp-idf/issues/7461
2021-09-16 09:07:48 +05:30
Alex Lisitsyn
05d647a04a Merge branch 'bugfix/modbus_fix_invalid_error_handling_for_duplicate_param_key_v41' into 'release/v4.1'
freemodbus: fix invalid error handling for duplicate param key (backport v4.1)

See merge request espressif/esp-idf!14786
2021-09-09 05:56:33 +00:00
Wang Meng Yang
01a11b2d0e Merge branch 'bugfix/hf_disc_acl_no_disc_v4.1' into 'release/v4.1'
bugfix/acl can't disconnect when hfp_client disconnect [release/v4.1]

See merge request espressif/esp-idf!15058
2021-09-07 23:30:20 +00:00
morris
530b2b0f81 eth: dont warn nego timeout if link is down 2021-09-06 19:10:46 +08:00
morris
a5057f7202 emac: configure data interface early 2021-09-06 19:10:46 +08:00
Wang Meng Yang
c358ca07d4 Merge branch 'bugfix/bt_spp_timer_collision_v4.1' into 'release/v4.1'
Fix timer collision in role switch(v4.1)

See merge request espressif/esp-idf!14820
2021-09-06 08:24:04 +00:00
Mahavir Jain
659de924da Merge branch 'feature/update_cjson_submodule_v4.1' into 'release/v4.1'
cJSON: Update submodule to v1.7.15 (v4.1)

See merge request espressif/esp-idf!15076
2021-09-06 06:39:01 +00:00
jincheng
f5e1d1c2bf fix timer collision in role switch
Closes https://github.com/espressif/esp-idf/issues/7203
2021-09-06 10:35:25 +08:00
Shubham Kulkarni
b9643ee59c cJSON: Update submodule to latest release.
This update fixes NULL pointer dereference issues in previous release

Closes https://github.com/espressif/esp-idf/issues/7317
2021-09-06 07:44:42 +05:30
Liu Han
895dbb90c2 expat: Update library from 2.2.9 to 2.4.1 2021-09-03 16:32:39 +08:00
jincheng
ba8f1e4b5c fix acl can not disconnect when hf_client disconnect 2021-09-03 11:29:14 +08:00
Wang Meng Yang
907205a13a Merge branch 'bugfix/btdm_fix_some_Document_Description_Error_v4.1' into 'release/v4.1'
component/bt: fix some ble document description error(backport v4.1)

See merge request espressif/esp-idf!14825
2021-09-03 01:40:26 +00:00
XieWenxiang
3ba43f4991 component/bt: fix some ble document description error 2021-09-01 20:46:14 +08:00
Kapil Gupta
789a7e5e5a Merge branch 'bugfix/eap_client_windows' into 'master'
wpa_supplicant: clean tls client state machine

Closes IDFGH-5702, IDFGH-5662, and IDFGH-119

Closes https://github.com/espressif/esp-idf/issues/7422
Closes https://github.com/espressif/esp-idf/issues/1297

See merge request espressif/esp-idf!14968

(cherry picked from commit e8360fe0756ec592cbd5f4ff4d36946a22561d8f)

d3a42d78 wpa_supplicant: clean tls client state machine
2021-09-01 19:15:02 +08:00
Alberto García Hierro
f1a024e374 Enable IO20 on ESP32
Some newer ESP32 variants (like ESP32-PICO-V3 and ESP32-PICO-MINI-02)
do implement this pin and it can be used as a normal GPIO.

Fixes #6016
Fixes #6837

Closes https://github.com/espressif/esp-idf/pull/6918

(cherry picked from commit 6deaefde69c3f068d39b76d628b05b21fd142b79)
2021-08-31 20:45:17 +08:00
Rahul Tank
12b50729ed NimBLE: Check stack status before executing stack command 2021-08-27 20:53:19 +05:30
Alex Lisitsyn
1e309a3885 Merge branch 'bugfix/freemodbus_fix_mbm_event_processing_v41' into 'release/v4.1'
freemodbuss: fix event processing after merge (backport v4.1)

See merge request espressif/esp-idf!12824
2021-08-25 15:12:49 +00:00
Wang Meng Yang
47cc42f662 Merge branch 'component_bt/add_spp_faq_v4.1' into 'release/v4.1'
Component_bt/Add FAQ in SPP Demo README[backport v4.1]

See merge request espressif/esp-idf!14798
2021-08-23 05:15:26 +00:00
xiongweichao
367675be4e components/bt: fix spp memory leak
Closes https://github.com/espressif/esp-idf/issues/7238
2021-08-19 14:41:06 +08:00
Mahavir Jain
f7563fffbe Merge branch 'fix/warning_in_wifi_prov_mgr_v4.1' into 'release/v4.1'
provisioning: fix wifi warning in wifi_prov_mgr application (v4.1)

See merge request espressif/esp-idf!14765
2021-08-19 04:11:05 +00:00
Island
b7bc49e942 Merge branch 'bugfix/ble_mesh_cve_recommendation_v4.1' into 'release/v4.1'
ble_mesh: Update the SIG recommendations for CVE issues (v4.1)

See merge request espressif/esp-idf!14843
2021-08-18 12:41:33 +00:00
Harshit Malpani
1169a42e71 provisioning: fix wifi warning in wifi_prov_mgr application
Scan configuration parameters should not modify in co-existence mode.
2021-08-18 18:35:14 +08:00
lly
d272f830b2 ble_mesh: Update the SIG recommendations for CVE issues 2021-08-18 10:58:56 +08:00
Chinmay Chhajed
3675409ee8 bt: Remove unused function esp_bt_get_mac. 2021-08-17 18:55:21 +05:30
liqigan
69b2100a13 add FAQ in SPP demo README 2021-08-17 15:19:31 +08:00
Wang Meng Yang
e589fdd18c Merge branch 'bugfix/btdm_auto_update_PPCP_attribute_value_v4.1' into 'release/v4.1'
component/bt: fix bluedroid host auto update PPCP attribute value(backport  v4.1)

See merge request espressif/esp-idf!14750
2021-08-16 07:36:29 +00:00
Anton Maklakov
7c06467277 Merge branch 'ci/change_perf_key_v4.1' into 'release/v4.1'
ci: update performance test key to db compatible format (v4.1)

See merge request espressif/esp-idf!14656
2021-08-16 06:13:13 +00:00
Zim Kalinowski
e3081a08fa Merge branch 'bugfix/add_critical_section_in_uart_driver_v4.1' into 'release/v4.1'
UART: add missing critical section wrappers around rx_buffered_len (backport v4.1)

See merge request espressif/esp-idf!14777
2021-08-14 02:55:31 +00:00
Omar Chebib
c10c604af9 uart: Add missing critical section wrappers around rx_buffered_len
The missing barriers caused uart_get_buffered_data_len() to (very rarely)
return a garbage value. When used in MicroPython, though, this caused
select() to return and a subsequent read() to stall indefinitely until
a char was actually available.

Signed-off-by: Chen Yi Qun <chenyiqun@espressif.com>

Closes https://github.com/espressif/esp-idf/issues/6397
Merges https://github.com/espressif/esp-idf/pull/6396
2021-08-14 10:55:26 +08:00
Wang Meng Yang
52875ff2b2 Merge branch 'bugfix/fix_deep_sleep_miss_bug_mr_v4.1' into 'release/v4.1'
Fix controller may miss the sleep time

See merge request espressif/esp-idf!14739
2021-08-13 09:17:44 +00:00
aleks
dfc509d3e4 freemodbus: fix invalid error handling for duplicate param_key 2021-08-13 10:40:25 +02:00
Zim Kalinowski
88340e04cd Merge branch 'bugfix/freertos_ut_suspend_v4.1' into 'release/v4.1'
freertos: Increases delta for UT - Test suspend-resume CPU. The number of... (v4.1)

See merge request espressif/esp-idf!14632
2021-08-12 21:32:46 +00:00
Zim Kalinowski
2720bf0455 Merge branch 'bugfix/newlib_FD_ISSET_v4.1' into 'release/v4.1'
newlib: Fix a case in FD_ISSET macro when n==-1 (v4.1)

See merge request espressif/esp-idf!13692
2021-08-12 21:28:07 +00:00
Zim Kalinowski
b48b5e1829 Merge branch 'bugfix/otatool_imported_as_lib_v4.1' into 'release/v4.1'
otatool: Fix a crash when imported as external python lib (v4.1)

See merge request espressif/esp-idf!13668
2021-08-12 21:26:16 +00:00
XieWenxiang
cd671be627 component/bt: fix bluedroid host auto update PPCP attribute value 2021-08-11 18:06:44 +08:00
Yang Zhao
bca844c2f5 The controller may miss the sleep time caculated before. So it will stuck
in the loop to get the deep sleep HW flag. Then the watchdog issue happen.
2021-08-11 14:28:24 +08:00
Zim Kalinowski
52b36b0ef9 Merge branch 'bugfix/esp_event_any_id_unregister_4.1' into 'release/v4.1'
ESP Event: fix unregister documentation (backport 4.1)

See merge request espressif/esp-idf!14432
2021-08-10 03:37:19 +00:00
Zim Kalinowski
c809c33caa Merge branch 'bugfix/setjmp_longjmp_4.1' into 'release/v4.1'
[system]: Made longjmp save for context switch (backport v4.1)

See merge request espressif/esp-idf!13502
2021-08-10 03:35:12 +00:00
Wang Meng Yang
c4a519de29 Merge branch 'bugfix/spp_connect_20_fail_v4.1' into 'release/v4.1'
component_bt: fix spp acceptor deadlock

See merge request espressif/esp-idf!14107
2021-08-10 03:03:48 +00:00
Zim Kalinowski
05ed8331bc Merge branch 'feature/twdt_prints_backtrace_v4.1' into 'release/v4.1'
Add Task Watchdog backtrace printing (v4.1)

See merge request espressif/esp-idf!12617
2021-08-10 02:42:43 +00:00
Zim Kalinowski
79566e087b Merge branch 'feature/prevent_unwind_code_linking_4.1' into 'release/v4.1'
[C++]: wrapper functions around unwind code (backport 4.1)

See merge request espressif/esp-idf!13805
2021-08-09 21:39:47 +00:00
Zim Kalinowski
b5dc49fa3b Merge branch 'docs/spi_max_transfer_sz_limit_v4.1' into 'release/v4.1'
spi_docs: Fixed the default value of max_transfer_sz_limit (backport v4.1)

See merge request espressif/esp-idf!14254
2021-08-09 21:34:33 +00:00
Zim Kalinowski
80727f739a Merge branch 'bugfix/prefetch_invalid_v4.1' into 'release/v4.1'
soc: add dummy bytes to ensure instr prefetch always valid (v4.1)

See merge request espressif/esp-idf!12995
2021-08-09 21:18:21 +00:00
Zim Kalinowski
9a0ae975c6 Merge branch 'bugfix/uart_sw_sw_flow_error_typo_v4.1' into 'release/v4.1'
uart: fix typo in error message (v4.1)

See merge request espressif/esp-idf!14615
2021-08-09 21:16:27 +00:00