Commit graph

8260 commits

Author SHA1 Message Date
chenjianqiang 04bf2db720 flash: fix spi flash clock config error
Closes https://github.com/espressif/esp-idf/issues/5099
2020-04-27 17:44:57 +08:00
Simon Brélivet 7a9d02a18b esp_mqtt: add option to configure mqtt task priority.
Merges https://github.com/espressif/esp-idf/pull/4947
2020-04-24 16:37:25 +02:00
Angus Gratton 43175f22e9 Merge branch 'fix/ci_example_test_prov_v3.2' into 'release/v3.2'
CI: Fix prov example test exception handle (v3.2)

See merge request espressif/esp-idf!8442
2020-04-24 16:13:31 +08:00
Shivani Tipnis fc067fda94 CI: Fix prov example test cryptography package version exception handling 2020-04-23 00:48:18 +05:30
zhangyanjiao f8ddcc7d74 wifi: fix the bug that ESP32 can't get IP address from China Mobile router 2020-04-20 20:05:36 +08:00
Jiang Jiang Jian acfee765f7 Merge branch 'bugfix/btdm_backports_v3.2_0328' into 'release/v3.2'
Bugfix/btdm backports v3.2 0328

See merge request espressif/esp-idf!8154
2020-04-16 20:53:05 +08:00
Jiang Jiang Jian 2c21b0b2b3 Merge branch 'bugfix/psram_single_bit_error_v3.2' into 'release/v3.2'
psram: support psram 2T mode to fix single bit error (backport v3.2)

See merge request espressif/esp-idf!7111
2020-04-15 13:43:36 +08:00
Jiang Jiang Jian 0c7abb8978 Merge branch 'bugfix/backport_some_wifi_bugs_0326_v3.2' into 'release/v3.2'
esp32: backport some WiFi fixes (backport v3.2)

See merge request espressif/esp-idf!8307
2020-04-13 22:38:48 +08:00
chenjianqiang bc4b78459a psram: support psram 2T mode to fix single bit error
1. add enable PSRAM 2T mode function
2. abort when himem and 2T mode are enabled meanwhile
3. set SPIRAM_2T_MODE as "n" by default, enable it when needed
2020-04-13 15:53:27 +08:00
Jiang Jiang Jian db38a4e068 Merge branch 'bugfix/backport_some_lwip_bugs_0327_v3.2' into 'release/v3.2'
lw-ip:backport some  lw-ip bugfix 0327 for v3.2

See merge request espressif/esp-idf!8133
2020-04-10 21:05:46 +08:00
liu zhifu 795e9136c1 esp32: backport some WiFi fixes to v3.2
Backport following Wifi fixes:

1. Fix esp_wifi_stop() crash
   esp_wifi_stop() crashes if it's called when WiFi is not initialized.

2. Fix memory leak caused by esp_wifi_stop()

3. Fix WiFi log print level

4. esp_wifi_sta_get_ap_info() returns actual values of group ciphers
2020-04-10 10:54:56 +08:00
Angus Gratton 58197e9345 Merge branch 'feature/idf_version_header_v3.2' into 'release/v3.2'
esp_common: add version definitions in code and build system (backport v3.2)

See merge request espressif/esp-idf!8234
2020-04-08 15:07:48 +08:00
Ivan Grokhotkov 5f9003aa0a esp_common: add version definitions in code and build system 2020-04-03 01:27:15 +02:00
Jiang Jiang Jian caacfd87fa Merge branch 'bugfix/btdm_dont_dequeue_the_command_queue_v3.2' into 'release/v3.2'
component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v3.2)

See merge request espressif/esp-idf!8184
2020-04-01 17:56:15 +08:00
Angus Gratton c1163e29ee Merge branch 'backport/malloc_zero_return_null_v3.2' into 'release/v3.2'
backport/malloc_zero_return_null_v3.2

See merge request espressif/esp-idf!8143
2020-04-01 14:43:00 +08:00
xueyunfei 49202b7f03 backport bugfix lwip for v3.2 2020-03-31 17:44:33 +08:00
xiewenxiang 3b54469bec component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v3.2) 2020-03-31 16:48:14 +08:00
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