Commit graph

8243 commits

Author SHA1 Message Date
baohongde
ce9e4d0918 components/bt: Fix assert when create conntion cancel 2020-03-28 21:40:32 +08:00
baohongde
98e183932c Fix bugs about role switch
Jitter in FHS
Jitter in first PULL
Receive EDR packet fail after role switch
2020-03-28 21:33:12 +08:00
Felipe Neves
4a9160a72c multi_heap: ensure that malloc(0) return NULL pointer in any poisoning configuration 2020-03-27 14:39:23 -03:00
Angus Gratton
c604f980d2 Merge branch 'bugfix/cmake_bugfixes_v3.2' into 'release/v3.2'
CMake-related bugfixes (v3.2)

See merge request espressif/esp-idf!8070
2020-03-26 16:36:42 +08:00
Angus Gratton
eed03c5288 Merge branch 'bugfix/esp_event_bugfixes_v3.2' into 'release/v3.2'
esp_event-related fixes (v3.2)

See merge request espressif/esp-idf!8074
2020-03-26 16:20:00 +08:00
Jiang Jiang Jian
4a9b258d46 Merge branch 'bugfix/backport_some_wifi_bugs_0323_v3.2' into 'release/v3.2'
esp_wifi: Backport some wifi bugs 0323 (backport v3.2)

See merge request espressif/esp-idf!8089
2020-03-25 17:53:20 +08:00
Angus Gratton
6f7f5c4d01 Merge branch 'bugfix/hide_unsupported_cmake_features_v3.2' into 'release/v3.2'
security: Hide Secure Boot & Flash Encryption config items when using CMake (v3.2)

See merge request espressif/esp-idf!7908
2020-03-24 18:07:05 +08:00
xiehang
414b843755 esp_wifi: Update WiFi lib
1,Fix sniffer bug caused by mode switch
2,Reduce WiFi bin size
3,Add TX packets size check
4,Fix scan get rssi error
5,Add wifi stop check at WiFi deinit entry
6,Return fail when setting AP's channel is out of range
7,Fix the bug for setting channel when WiFi in NULL mode
2020-03-24 15:13:57 +08:00
Renz Bagaporo
0d120e0429 examples: split source files for one of the ulp examples 2020-03-23 11:52:54 +08:00
Renz Christian Bagaporo
a472052dcf esp_event: remove extra line from source file 2020-03-22 22:43:55 +08:00
Renz Christian Bagaporo
25baed5264 esp_event: test that handlers can unregister themselves 2020-03-22 22:43:47 +08:00
Rusty Eddy
3d7364f16f Added semi-colon to esp_event_loop_create(...)
Title sums it up.
2020-03-22 22:42:25 +08:00
Renz Christian Bagaporo
45120f176e cmake: fix build failure when git repo is initialized but no first commit
Closes https://github.com/espressif/esp-idf/issues/3920
2020-03-22 22:37:58 +08:00
Renz Bagaporo
1fa08d773f ci: add test for partition_table target 2020-03-22 22:37:48 +08:00
Renz Christian Bagaporo
f8a7ef99ad partition_table: output partition table info for partition_table target 2020-03-22 22:37:38 +08:00
Jiang Jiang Jian
08caf05cd7 Merge branch 'bugfix/host_and_example_bugfix_backport_to_v3.2' into 'release/v3.2'
Bugfix/host and example bugfix backport to v3.2

See merge request espressif/esp-idf!8063
2020-03-21 15:25:47 +08:00
gengyuchao
a2b063dc4e Component/bt :
Add handling of osi memory calloc failure.
Add length check for snprintf in osi config.
2020-03-21 13:16:11 +08:00
gengyuchao
81ebffc0ad example/ble_hid_device_demo fix the wrong mask value according to HID protocol 2020-03-21 11:22:32 +08:00
gengyuchao
9583c29f27 component/bt: Fix the issue with pointer type conversion in gattc. Unified att(db_sizedb_size) count pointer type in bta and btc, change pointer type in bta from int to uint16_t. 2020-03-21 11:21:55 +08:00
gengyuchao
d001c40425 Bulfi: Check if ble is connected before sending a message via ble. Fix the wrong wifi storage mode from WIFI_STORAGE_RAM to default WIFI_STORAGE_FLASH. 2020-03-21 11:18:44 +08:00
gengyuchao
4643ca6ef8 example/ble_throughput:
Fixed the throughput wasting memory and packet loss issues.
Fixed the throughput crash bug because of using the Mutex.
2020-03-21 11:18:30 +08:00
gengyuchao
da19c94976 bugfix: ble add missing gatt descriptors 2020-03-21 11:18:19 +08:00
Mahavir Jain
0037a03106 Merge branch 'bugfix/newlib_putchar_locking_v3.2' into 'release/v3.2'
newlib: don't define non-thread-safe versions of getc, putc (backport v3.2)

See merge request espressif/esp-idf!8030
2020-03-20 16:58:04 +08:00
Ivan Grokhotkov
63a544dd3c newlib: don't define non-thread-safe versions of getc, putc
getc, getchar, putc, putchar were defined both as functions and as
macros. The macro versions are not thread safe, and should not be used
in multithreaded applications.

Upstream fix: b0f271d1db
2020-03-19 12:53:12 +01:00
Jiang Jiang Jian
51adc08070 Merge branch 'bugfix/compiler_err_when_performance_optimization_enabled_v3.2' into 'release/v3.2'
Bugfix/compiler err when performance optimization enabled v3.2

See merge request espressif/esp-idf!7980
2020-03-17 13:53:33 +08:00
Jiang Jiang Jian
3dbdbb4755 Merge branch 'bugfix/fix_beacon_frame_vendor_ie_issue_v3.2' into 'release/v3.2'
bugfix: Place the Vendor Specific element at the end according to the protocol (backport v3.2)

See merge request espressif/esp-idf!7779
2020-03-17 13:44:37 +08:00
weitianhua
f222a02518 Remove (x2) varible for BCM_STRNCPY_S and BCM_STRCPY_S 2020-03-14 15:04:44 +08:00
weitianhua
dc7c244055 Initialize mem_start and mem_end 2020-03-14 15:04:33 +08:00
Jiang Jiang Jian
aeebe24196 Merge branch 'bugfix/sntp_init_can_run_before_net_connection_v3.2' into 'release/v3.2'
lw_ip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it (v3.2)

See merge request espressif/esp-idf!7759
2020-03-13 20:10:33 +08:00
KonstantinKondrashov
874b18eab8 lwip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it
Closes: https://github.com/espressif/esp-idf/issues/944
Closes: https://github.com/espressif/esp-idf/issues/3931
Closes: WIFI-1019
2020-03-11 19:26:43 +08:00
David Čermák
11995d808c Merge branch 'bugfix/transport_connection_active_v3.2' into 'release/v3.2'
fix(transport): Fix a bug of the connection whether be active (v3.2)

See merge request espressif/esp-idf!7742
2020-03-10 16:07:22 +08:00
Liu Han
f0138ffdf6 fix(transport): Fix a bug of the connection whether be active or not by timeout option when the select function return a correct value. 2020-03-09 13:51:28 +00:00
Angus Gratton
6281b910d1 security: Hide Secure Boot & Flash Encryption config items when using CMake
These features are not supported in the CMake build system preview, but previously
had to read the notice in the CMake Getting Started guide to know this.

Related to https://github.com/espressif/esp-idf/issues/4419
2020-03-09 11:14:25 +11:00
Jiang Jiang Jian
0f72e63b7a Merge branch 'bugfix/bt_interrupt_disable_timing_error_v3.2' into 'release/v3.2'
(backport v3.2) btController: events scheduling error in case of wifi and bluetooth.

See merge request espressif/esp-idf!7890
2020-03-06 11:30:22 +08:00
Chinmay Chhajed
bf9e676884 This MR is intended to fix Bluetooth event scheduling when WiFi is also enabled.
The global interrupts will be disabled before taking current
time for scheduling further bluetooth events. Earlier disabling
interrupts was taking some time because of which WiFi events were
interrupting in current bluetooth scheduling.

Also fixes ble crash issue triggered by ble event irq miss(0x20000)
2020-03-05 19:21:16 +05:30
David Čermák
42869f4912 Merge branch 'feature/websocket_client_v3.2' into 'release/v3.2'
websocket: backport of websocket client to v3.2

See merge request espressif/esp-idf!7268
2020-03-03 16:03:25 +08:00
ronghulin
e5d8ae227d bugfix: Place the Vendor Specific element at the end according to the protocol 2020-03-02 14:15:31 +08:00
Jiang Jiang Jian
dc1f72c786 Merge branch 'feature/esp32_5p0_backport_v3p2' into 'release/v3.2'
backport esp325p0 new features and code optimize to v3.2(backport v3.2)

See merge request espressif/esp-idf!7565
2020-03-02 11:43:57 +08:00
June
511c1cee22 backport esp32 5p0 new features to release/v3.2 2020-02-29 09:12:15 +00:00
Jiang Jiang Jian
69230e2e3b Merge branch 'feature/dev_security_restore_backport_v3p2' into 'release/v3.2'
feature/dev_security_restore_backport_v3p2(backport release/v3.2)

See merge request espressif/esp-idf!7741
2020-02-28 21:26:29 +08:00
June
e1086b6b6f backport mr !6031 - fix security info restore bug 2020-02-28 11:48:52 +00:00
Marius Vikhammer
15d39eded5 tcp_transport/ws_client: websockets now correctly handle messages longer than buffer
transport_ws can now be read multiple times in a row to read frames larger than the buffer.

Added reporting of total payload length and offset to the user in websocket_client.

Added local example test for long messages.

Closes IDF-1083
2020-02-27 08:56:43 +00:00
Marius Vikhammer
abe93ee7c3 websocket: backport of websocket client to v3.2
Backports the websocket client and example to ESP-IDF release 3.2.
2020-02-27 08:56:43 +00:00
Angus Gratton
ea7372d9aa Merge branch 'doc/partition_table_app_test_v3.2' into 'release/v3.2'
partition table: Update documentation about "test" partition type (v3.2)

See merge request espressif/esp-idf!7632
2020-02-27 09:13:24 +08:00
Jiang Jiang Jian
3c0ac69088 Merge branch 'bugfix/mesh_ie_issues_3.2' into 'release/v3.2'
mesh: fix mesh ie issues (backport 3.2)

See merge request espressif/esp-idf!7199
2020-02-26 22:45:55 +08:00
Anton Maklakov
ce0808c7be Merge branch 'bugfix/ci_confserver_timeout_again_v3.2' into 'release/v3.2'
ci: Adjust more 'spawn' settings in test_confserver (backport v3.2)

See merge request espressif/esp-idf!5321
2020-02-25 19:48:01 +08:00
Anton Maklakov
66790c3560 ci: Adjust more 'spawn' settings in test_confserver 2020-02-25 11:12:02 +00:00
Jiang Jiang Jian
eeeffcafbf Merge branch 'feature/wifi_redo_scan_example_v3.2' into 'release/v3.2'
esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v3.2)

See merge request espressif/esp-idf!7503
2020-02-25 14:22:48 +08:00
Hrudaynath Dhabe
254dcb755c esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v3.2) 2020-02-25 14:22:47 +08:00
Jiang Jiang Jian
5ddeab1409 Merge branch 'bugfix/btdm_allow_start_adv_again_v3.2' into 'release/v3.2'
component/bt: allow to send stop adv again and fix tx prog crash (backport v3.2)

See merge request espressif/esp-idf!6917
2020-02-24 20:17:44 +08:00