Commit Graph

14644 Commits

Author SHA1 Message Date
songruojing
4bee8a84e2 gpio: fix USB D+ pin cannot disable pullup
Internally, disable usb serial jtag DP pin's pullup when calling gpio_ll_pullup_dis and rtcio_ll_pullup_disable
At usb serial jtag setup/install, re-enable DP pin's pullup

Closes https://github.com/espressif/esp-idf/issues/9495
2022-09-20 15:23:01 +08:00
Marius Vikhammer
1d9f539f22 Merge branch 'bugfix/light_sleep_deadlock_v4.4' into 'release/v4.4'
esp_hw_support: Fix light sleep deadlock (v4.4)

See merge request espressif/esp-idf!19516
2022-09-19 16:33:19 +08:00
muhaidong
5b24356ab5 wpa_supplicant: try install gtk before send 2 of 2 2022-09-17 19:02:53 +08:00
Darian Leung
baa28b54a2 esp_hw_support: Fix esp_light_sleep_start() deadlock
esp_light_sleep_start() will stall the other CPU via esp_ipc_isr_stall_other_cpu(). After stalling the other CPU,
will call esp_clk_... API which themselves take locks. If the other stalled CPU is holding those locks, this will
result in a deadlock.

This commit adds a workaround calling esp_clk_private_lock() to take the lock before stalling the other CPU.
2022-09-16 17:02:38 +08:00
Darian Leung
9ea9192efb esp_hw_support: esp_clk should use spinlock instead of mutex
esp_clk used to be protected using _lock_t (i.e., a FreeRTOS Mutex). However, esp_clk API is current called from
from critical sections, thus mutex should not be used (as they can be blocking).

This commit updates esp_clk to use spinlocks for critical sections instead.

Note: Added a small fix to exclude esp_clk.c from bootloader builds in the
      legacy build system (this is already the case in CMake).
2022-09-16 17:02:38 +08:00
Jiang Jiang Jian
e80057035a Merge branch 'bugfix/adapt_new_btc_v4.4' into 'release/v4.4'
ble_mesh: stack: Corrected parameter size when the btc_transfer_context is used (v4.4)

See merge request espressif/esp-idf!20166
2022-09-16 10:53:55 +08:00
Jiang Jiang Jian
d6522044d3 Merge branch 'bugfix/change_log_level_for_print_v4.4' into 'release/v4.4'
Nimble : updated debug level for a print to avoid unwanted console log. (v4.4)

See merge request espressif/esp-idf!20111
2022-09-16 10:52:31 +08:00
Anton Maklakov
ecf84354b2 Merge branch 'feature/ulp_binutils_multi_target_v4.4' into 'release/v4.4'
ulp: support the new multi-target ULP-FSM binutils (v4.4)

See merge request espressif/esp-idf!20147
2022-09-16 10:01:00 +08:00
Alexey Lapshin
a8e81f88f1 tools: update esp32ulp-elf to v2.35_20220830
Closes https://github.com/espressif/esp-idf/issues/6432
Closes https://github.com/espressif/binutils-esp32ulp/issues/23
2022-09-15 23:41:56 +04:00
David Čermák
4b46e85b0a Merge branch 'bugfix/transport_foundation_intialization_v4.4' into 'release/v4.4'
tcp_transport: Fix initialition of transport (v4.4)

See merge request espressif/esp-idf!20047
2022-09-16 00:13:48 +08:00
Roshan Bangar
d2b1ea9ac1 Nimble : updated debug level for a print to avoid unwanted console log. 2022-09-15 15:24:53 +05:30
wangjialiang
87921558fd ble_mesh: stack: added the judgment that the parameter is NULL but the parameter len is not zero to avoid btc_transfer_context failed 2022-09-15 09:14:39 +00:00
Jiang Jiang Jian
481d00be93 Merge branch 'bugfix/fix_memory_corruption_in_recon_code_v4.4' into 'release/v4.4'
Nimble: Fixed memory corruption introduced in reconnection attempt code (v4.4)

See merge request espressif/esp-idf!19745
2022-09-14 16:34:22 +08:00
Zim Kalinowski
6c3267e8a9 Merge branch 'feature/s2_s3_support_ext_mem_stack_v4.4' into 'release/v4.4'
soc: support placing task stacks in external memory for S2 and S3 (v4.4)

See merge request espressif/esp-idf!20001
2022-09-13 21:24:02 +08:00
Zim Kalinowski
a29f770c7a Merge branch 'feature/mem-corruption-check-when-comprehensif-poisoning-v4.4' into 'release/v4.4'
heap: Provide memory corruption check when poisoning is active (V4.4)

See merge request espressif/esp-idf!19778
2022-09-13 20:41:48 +08:00
Zim Kalinowski
5224045d17 Merge branch 'doc/nvs_max_num_namespaces_4.4' into 'release/v4.4'
doc (nvs): added note about maximum possible namespaces (backport 4.4)

See merge request espressif/esp-idf!19980
2022-09-13 17:33:19 +08:00
Armando
2488281d17 test: added adc wifi test thresh for esp32, s2, c3, s3 on v4.4
Due to unit test, we can't specify runners, for adc related tests.
Whereas adc tests are easily influenced by board hw condition, e.g.
pullup/down value.
This commit increases the thresh to 200mV.
2022-09-13 11:56:37 +08:00
Anton Maklakov
da0cfb806a system: add missing header
Because we got rid of the including core-isa.h in newlib's config.h (8a3197a2a9a42dd99605cf8cc1e0f2d3c976c58c)
2022-09-12 19:26:42 +07:00
Euripedes Rocha
faa368a612 [tcp_transport] Fix initialition of transport
- Foundation was initialized only for SSL.
- Removed base from list.
- Changed SSL and TCP initialition.
- Clean of state data structures.
2022-09-12 11:49:25 +02:00
Michael (XIAO Xufeng)
12369a5faf Merge branch 'bugfix/reserve_dma_ram_in_segments_v4.4' into 'release/v4.4'
psram: reserve dma pool in the step of heap max block (v4.4)

See merge request espressif/esp-idf!18858
2022-09-11 02:49:39 +08:00
Michael (XIAO Xufeng)
f9a630b967 Merge branch 'bugfix/calib_i2c_clk_v4.4' into 'release/v4.4'
I2C: Make I2C clock frequency accurate(backport v4.4)

See merge request espressif/esp-idf!19069
2022-09-11 02:44:26 +08:00
Wang Meng Yang
224871784b Merge branch 'bugfix/fix_ble_get_cur_pkt_num_crash_sometimes_when_bluetooth_is_disconnecting_v4.4' into 'release/v4.4'
Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting (backport v4.4)

See merge request espressif/esp-idf!20042
2022-09-09 21:05:52 +08:00
Wang Meng Yang
8e6af17ee5 Merge branch 'bugfix/fix_some_ble_bugs_on_esp32c3_and_esp32s3_v4.4' into 'release/v4.4'
Fixed some BLE controller bugs on ESP32-C3 and ESP32-S3 (backport v4.4)

See merge request espressif/esp-idf!19988
2022-09-09 19:39:57 +08:00
David Čermák
ef5a87ea20 Merge branch 'bugfix/mdns_add_service_fail_if_nohostname' into 'release/v4.4'
mdns: Fix add_service() to report error if no-hostname

See merge request espressif/esp-idf!19679
2022-09-09 18:38:31 +08:00
satish.solanke
a44071ab14 updating doc for the issue doc_3566 2022-09-09 10:40:44 +05:30
zhiweijian
c0c1485dc4 Add QA test Functions 2022-09-08 17:55:54 +08:00
zwj
4bf2eb3f48 fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting 2022-09-08 17:54:43 +08:00
morris
67ff43c2c7 Merge branch 'bugfix/wrong_bpp_for_rgb666_v4.4' into 'release/v4.4'
lcd: fix wrong bpp size of rgb666 format (v4.4)

See merge request espressif/esp-idf!20032
2022-09-08 17:34:40 +08:00
Jiang Jiang Jian
de1e58118d Merge branch 'bugfix/fix_init_memory_leak_issue_v4.4' into 'release/v4.4'
esp_wifi: done beacon monitor timer when call pm deattach.(Backport v4.4)

See merge request espressif/esp-idf!19937
2022-09-08 17:02:33 +08:00
morris
151b957238 lcd: fix wrong bpp size of rgb666 format
Closes https://github.com/espressif/esp-idf/issues/9729
2022-09-08 13:22:16 +08:00
zwj
c1e54ac0fa Update ESP32-C3 and ESP32-S3 BLE lib
- Fixed the performance issue of BLE sync scan in coexistence scenario when PLL track is enabledFixed the usage of PLL track related baseband IRQs
 - Fixed connect failed due to error sync found signal
 - Fixed BLE disconnect failed due to terminate_ind have sent but no ACK is received
 - Added ADV mode error check in ADV rx isr handler function
 - Fixed BLE RAL_UNDERRUN and TX_CRYPT_ERR assert
 - Disable scan continue
 - Fixed scan forever if scan continue is disable
2022-09-07 12:33:33 +08:00
Wang Meng Yang
6e6c8135d5 Merge branch 'bugfix/remove_bt_dft_init_semicolon_v4.4' into 'release/v4.4'
bt: Remove trailing semicolon from bt dft initializer(v4.4)

See merge request espressif/esp-idf!19914
2022-09-07 12:00:32 +08:00
Wang Meng Yang
2c8d6a4954 Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable_v4.4' into 'release/v4.4'
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()(v4.4)

See merge request espressif/esp-idf!19951
2022-09-07 11:55:15 +08:00
Marius Vikhammer
16459d0d42 soc: support placing task stacks in external memory for S2 and S3 2022-09-07 11:46:56 +08:00
Mahavir Jain
6c4400132e Merge branch 'update_expat_R_2_4_8' into 'release/v4.4'
expat: Update expat library to R_2_4_8 release

See merge request espressif/esp-idf!19962
2022-09-06 22:50:06 +08:00
morris
e3c1fde6c4 Merge branch 'bugfix/driver_rs485_fix_test_sync_issues_v44' into 'release/v4.4'
driver: uart rs485 fix test sync issues and fail threshold (backport v4.4)

See merge request espressif/esp-idf!19610
2022-09-06 17:23:46 +08:00
Alex Lisitsyn
7d8636ce0a driver: uart rs485 fix test sync issues and fail threshold (backport v4.4) 2022-09-06 17:23:46 +08:00
Harshit Malpani
bb0a13944f
expat: Update expat library to R_2_4_8 release
Detailed changelog: https://github.com/libexpat/libexpat/blob/R_2_4_8/expat/Changes
2022-09-06 14:00:01 +05:30
Jakob Hasse
87ff108235 doc (nvs): added note about maximum possible namespaces 2022-09-06 10:17:58 +02:00
Marius Vikhammer
78d7844b01 system: fix SET_STACK macro crashing in windowoverflow8 exception
If a windowoverflow8 happened after changing the SP, the exception handler would look for
the extra save area by looking at the previous frame's SP. This SP would be a garbage value
and could cause the windowoverflow exception to write to invalid memory ares.
2022-09-06 15:54:57 +08:00
Zim Kalinowski
6d7877fcb8 Merge branch 'bugfix/remove_redef_s3_cpu_macro' into 'release/v4.4'
soc: delete obsolete soc/cpu.h for S3 (v4.4)

See merge request espressif/esp-idf!19900
2022-09-05 16:26:33 +08:00
morris
55039da3e5 Merge branch 'bugfix/bootloader_assert_v4.4' into 'release/v4.4'
bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set (v4.4)

See merge request espressif/esp-idf!19943
2022-09-05 15:47:15 +08:00
xiongweichao
d0c19a0e74 Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
Closes https://github.com/espressif/esp-idf/issues/9672
2022-09-05 14:23:16 +08:00
Marius Vikhammer
518af54ded bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set
Closes https://github.com/espressif/esp-idf/pull/7518
2022-09-05 12:31:31 +08:00
Song Ruo Jing
9c7046375f gpio: Fix ESP32S3 GPIO48 does not support hold function bug
GPIO_HOLD_MASK array was missing the last item
2022-09-05 03:47:43 +00:00
muhaidong
db00e4a8c2 esp_wifi: done beacon monitor timer when call pm deattach.
1. done beacon monitor timer when call pm deattach.
2. fix pairwise cipher tkip pmf compability issue.
2022-09-03 21:10:46 +08:00
Harshit Malpani
42756f7eff
esp_https_ota: fix bug where http_client_init_cb is called after esp_http_client_perform() instead of before.
Closes https://github.com/espressif/esp-idf/issues/9581
2022-09-02 16:15:50 +05:30
Cao Sen Miao
f2ac141ebf temperature_sensor: Fix issue that value is not accurate on ESP32-S3 2022-09-02 16:03:39 +08:00
morris
d0ba3fd63e Merge branch 'bugfix/propogate_isr_allocation_failure_v4.4' into 'release/v4.4'
Fix MCPWM multiplication overflow (v4.4)

See merge request espressif/esp-idf!19891
2022-09-02 10:00:00 +08:00
Marius Vikhammer
c16eb81c5f Merge branch 'bugfix/miniz_header_doc_v4.4' into 'release/v4.4'
esp-rom: fixed error in miniz header documention for tdefl_init (v4.4)

See merge request espressif/esp-idf!19910
2022-09-02 09:54:24 +08:00