wangmengyang
29b009d6fd
component/bt: fix some performance issues in A2DP source data flow control
...
1. modify the limit of frames to send to avoid dropping packet on A2DP source due to TX data queue overflow
2. reduce the A2DP source data queue size in order to achieve faster control respnonse
2019-06-17 14:06:19 +08:00
Angus Gratton
b63be2e08e
Merge branch 'bugfix/remove_secure_boot_test_mode_bp3.3' into 'release/v3.3'
...
remove secure boot test mode (Backport v3.3)
See merge request idf/esp-idf!5258
2019-06-17 10:34:12 +08:00
hemal.gujarathi
6cf4e14671
remove secure boot test mode
2019-06-14 14:37:02 +05:30
Angus Gratton
39f7d1ad0b
Merge branch 'bugfix/spiflash_kconfig_v3.3' into 'release/v3.3'
...
spi_flash: Fix Kconfig indentation (v3.3)
See merge request idf/esp-idf!5232
2019-06-14 16:44:31 +08:00
He Yin Ling
d3a29c2d08
test: fix some wifi case issues:
...
* remove heap size check cases as we have bg tasks allocate memory
* fix wifi connect to open ap issue
2019-06-14 14:57:55 +08:00
He Yin Ling
86e8983499
test: fix some wifi case issues:
...
* remove heap size check cases as we have bg tasks allocate memory
* fix wifi connect to open ap issue
2019-06-14 14:55:09 +08:00
Jiang Jiang Jian
fa42f63226
Merge branch 'bugfix/dns_bug_3.2' into 'release/v3.2'
...
DNS: fix the crash under static IP address(backport3.2)
See merge request idf/esp-idf!5238
2019-06-14 11:34:50 +08:00
chenjianqiang
93c9c07e22
bugfix(psram): make sure the psram_io struct is initialized and make unknown psram package version more obvious
2019-06-14 10:34:56 +08:00
xueyunfei
b908d4325b
lwip:fix dns bug for 3.3
2019-06-13 19:36:55 +08:00
xueyunfei
2ed18dcdd7
lwip:fix dns bug for 3.2
2019-06-13 16:47:50 +08:00
chenjianqiang
cb2e328c5f
feat(psram): config SPI psram pins based on efuse value
2019-06-13 16:07:21 +08:00
Roland Dobai
60b937b5ca
spi_flash: Fix Kconfig indentation
...
Closes https://github.com/espressif/esp-idf/issues/3598
2019-06-13 07:55:40 +02:00
baohongde
2ee0f98d05
components/bt: Fix assert due to alloc LMP TX buffer failed
2019-06-12 19:49:28 +08:00
baohongde
267ce80355
components/bt: Fix assert due to alloc LMP TX buffer failed
2019-06-12 19:25:59 +08:00
Jiang Jiang Jian
f83296e448
Merge branch 'bugfix/fix_some_wps_bugs_v3.3' into 'release/v3.3'
...
wps: add overlap event (backport v3.3)
See merge request idf/esp-idf!5112
2019-06-12 14:36:02 +08:00
Angus Gratton
8b54542a88
Merge branch 'bugfix/custom_bootloader_subproject_build_v3.2' into 'release/v3.2'
...
CMake: Fix custom bootloader does not override original (v3.2)
See merge request idf/esp-idf!5082
2019-06-11 08:26:08 +08:00
Mahavir Jain
a8fe057219
Merge branch 'bugfix/https_doc_api_v3.2' into 'release/v3.2'
...
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation (backport v3.2)
See merge request idf/esp-idf!5014
2019-06-10 11:49:57 +08:00
Konstantin Kondrashov
adc5b2e08f
freertos/test: Add unit tests for xTaskIncrementTick
2019-06-07 09:54:03 +00:00
Konstantin Kondrashov
0be4deeb22
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1
...
xTaskIncrementTick have to unwind uxPendedTicks on CPU1 and CPU0.
Use case: If an erase operation was run on the CPU1 then it leads
to starving other tasks which waiting time. Waited tasks just skipped.
Closes: https://github.com/espressif/esp-idf/issues/1952
Closes: IDF-183
2019-06-07 09:54:03 +00:00
Angus Gratton
fb6f343ce5
Merge branch 'protocomm_ble_128bit_uuid_v3.3' into 'release/v3.3'
...
protocomm_ble : Fix support for custom service UUIDs (backport v3.3)
See merge request idf/esp-idf!5017
2019-06-07 07:47:19 +08:00
Angus Gratton
a219e9f819
Merge branch 'bugfix/reset_log_uart_port_v3.3' into 'release/v3.3'
...
esp32: Add reset CONSOLE_UART port (v3.3)
See merge request idf/esp-idf!5120
2019-06-06 15:47:17 +08:00
xiehang
cf3647fe40
wps: add overlap event (backport v3.3)
...
modify some header files to be consistent with vnc
2019-06-06 13:33:03 +08:00
Renz Christian Bagaporo
88eaa34075
cmake: fix custom bootloader issue
...
Issue is that when users creates a custom bootloader from
$IDF_PATH/components/bootloader. Parent project build uses the copy but
bootloader subproject build uses the original still. The issue is solved
by passing the custom bootloader as extra component directory so
bootloader build knows to use the new copy (itself) in the build.
2019-06-04 23:04:47 +08:00
Konstantin Kondrashov
b434b8f5d2
esp32: Add reset uart
...
Fixed the case when the first part of log was missed
this was happened when:
* CONFIG_CONSOLE_UART_CUSTOM option is selected (UART1)
* The selected CONSOLE_UART port is used also for the console component
* in code esp_restart() or abort() functions were called.
2019-06-04 20:16:40 +08:00
Konstantin Kondrashov
1db04ae574
esp32: Add reset uart
...
Fixed the case when the first part of log was missed
this was happened when:
* CONFIG_CONSOLE_UART_CUSTOM option is selected (UART1)
* The selected CONSOLE_UART port is used also for the console component
* in code esp_restart() or abort() functions were called.
2019-06-04 20:15:35 +08:00
liu zhifu
6d4adb46f3
esp_wifi/lwip: support TCP window scale
...
Support enable/disable TCP Window scale feature via menuconfig
2019-06-04 14:03:37 +08:00
Angus Gratton
e681f449bc
Merge branch 'bugfix/httpd_log_purge_v3.3' into 'release/v3.3'
...
esp_http_server : Logging of purged data to monitor made configurable (backport v3.3)
See merge request idf/esp-idf!5015
2019-06-04 13:28:27 +08:00
Angus Gratton
f3725a7821
Merge branch 'bugfix/https_doc_api_v3.3' into 'release/v3.3'
...
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation (backport v3.3)
See merge request idf/esp-idf!5013
2019-06-04 06:54:22 +08:00
Jiang Jiang Jian
34f6773471
Merge branch 'bugfix/wpa2_ent_vulnerability_v3.3' into 'release/v3.3'
...
esp32: fix wpa2 enterprise vulnerability issues (backport v3.3)
See merge request idf/esp-idf!5107
2019-06-03 21:58:19 +08:00
Anurag Kar
7e6d1ef4bc
esp_http_server : Logging of purged data to monitor made configurable
...
List of changes:
* Kconfig option HTTPD_LOG_PURGE_DATA enables logging of purged data
* Kconfig option HTTPD_PURGE_BUF_LEN sets purge buffer length
* Purged data is logged in hex
Closes https://github.com/espressif/esp-idf/issues/3359
2019-06-03 08:37:41 +00:00
Anurag Kar
92dc6a6dde
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation
...
Closes https://github.com/espressif/esp-idf/issues/3374
2019-06-03 08:36:24 +00:00
Anurag Kar
d0e7fd4369
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation
...
Closes https://github.com/espressif/esp-idf/issues/3374
2019-06-03 08:35:03 +00:00
Anurag Kar
bc83d470e3
protocomm_ble : Fixed custom service UUID support
...
List of changes:
* Use 128 bit characteristic UUIDs when creating GATT table entries
* Change primary service attribute value to 128 bit custom service UUID
* Use raw advertisement data to convey flags and 128 bit primary service UUID
* Use raw scan response to send device name as complete local name
* Increase maximum device name length in relation to maximum scan response length
* Set Characteristic User Description attributes for each characteristic to convey protocomm endpoint names
2019-06-03 08:26:48 +00:00
Angus Gratton
a298d32d65
Merge branch 'bugfix/custom_log_uart_rx_pin_v3.3' into 'release/v3.3'
...
bootloader_support: Fix UART RXD pin for console output (CUSTOM option) (v3.3)
See merge request idf/esp-idf!5031
2019-06-03 14:31:27 +08:00
Angus Gratton
8e51f7e236
Merge branch 'bugfix/custom_log_uart_rx_pin_v3.2' into 'release/v3.2'
...
bootloader_support: Fix UART RXD pin for console output (CUSTOM option) (v3.2)
See merge request idf/esp-idf!5032
2019-06-03 14:23:55 +08:00
Anurag Kar
172a216edb
esp_http_server : Logging of purged data to monitor made configurable
...
List of changes:
* Kconfig option HTTPD_LOG_PURGE_DATA enables logging of purged data
* Kconfig option HTTPD_PURGE_BUF_LEN sets purge buffer length
* Purged data is logged in hex
Closes https://github.com/espressif/esp-idf/issues/3359
2019-06-03 05:51:14 +00:00
liu zhifu
676a27c7cf
esp32: fix wpa2 enterprise vulnerability issues
...
Fix following wpa2 enterprise vulnerability issues:
1. The station can complete 4-way handshake after EAP-FAIL is received
2. The station crashes if EAP-SUCCESS is received before PMK is setup
2019-05-30 21:23:01 +08:00
Konstantin Kondrashov
3886be23c8
soc: Add some headers into gpio_periph.h
2019-05-29 13:46:37 +08:00
Konstantin Kondrashov
33121c3311
soc: Add some headers into gpio_periph.h
2019-05-29 13:37:22 +08:00
Konstantin Kondrashov
38509b2b95
bootloader_support: Fix UART RXD pin for console output (CUSTOM option)
...
The RXD pin is assigned as input (fix for custom uart option).
Closes: https://github.com/espressif/esp-idf/issues/2843
Closes: IDFGH-505
2019-05-28 12:44:41 +00:00
Jiang Jiang Jian
ddbce78bff
Merge branch 'bugfix/fix_smartconfig_bug' into 'release/v3.2'
...
esp32: fix a smartconfig bug (backport v3.2)
See merge request idf/esp-idf!5055
2019-05-28 10:54:51 +08:00
Renz Christian Bagaporo
8c363321db
cmake: fix custom bootloader issue
...
Issue is that when users creates a custom bootloader from
$IDF_PATH/components/bootloader. Parent project build uses the copy but
bootloader subproject build uses the original still. The issue is solved
by passing the custom bootloader as extra component directory so
bootloader build knows to use the new copy (itself) in the build.
2019-05-27 17:00:23 +08:00
Angus Gratton
4b5be79c0c
Merge branch 'feature/esp_http_client_mutual_auth_backport_v3.2' into 'release/v3.2'
...
esp_http_client: Add support for mutual authentication (backport v3.2)
See merge request idf/esp-idf!5026
2019-05-27 13:16:47 +08:00
zhangyanjiao
7200b8bf77
wifi bugfixs:
...
1. fix the bug no disconnect event when STA recv disassoc after sending auth
2. fix the bug full scan send multi events when recv deauth/disassoc
2019-05-24 11:31:24 +08:00
Jiang Jiang Jian
fa1e983028
Merge branch 'bugfix/fix_some_wifi_bugs_0508_v3.3' into 'release/v3.3'
...
esp32: fix some WiFi bugs 0508 (backport v3.3)
See merge request idf/esp-idf!4965
2019-05-23 17:55:12 +08:00
Angus Gratton
71e344da20
Merge branch 'feature/add_promiscuous_control_for_ethernet_v3.3' into 'release/v3.3'
...
add promiscuous mode control for Ethernet (v3.3)
See merge request idf/esp-idf!4975
2019-05-23 14:24:07 +08:00
Angus Gratton
ee39083d1b
Merge branch 'feature/add_promiscuous_control_for_ethernet_v3.2' into 'release/v3.2'
...
add promiscuous mode control for Ethernet (v3.2)
See merge request idf/esp-idf!4976
2019-05-23 14:23:48 +08:00
liu zhifu
620bba3a66
esp32: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Make smartconfig thread-safe
2. Fix WiFi stop/deinit memory leak
3. Refactor for WiFi init/deinit/ioctl etc
4. Add declaration for esp_wifi_internal_ioctl()
5. Fix the bug that WiFi stop leads to task watchdog
2019-05-22 22:22:21 +08:00
liu zhifu
38b4d1d70c
esp32: fix a smartconfig bug
...
Fix a smartconfig bug which leads to deadlock between WiFi task and timer task.
2019-05-22 21:47:02 +08:00
xiehang
5c42c831f5
wifi: fix softap crash when sta reset (backport v3.3)
2019-05-20 20:47:47 +08:00
xiehang
a820787414
wifi: fix softap crash when sta (backport v3.2)
2019-05-20 20:30:41 +08:00
Konstantin Kondrashov
cea6908238
bootloader_support: Fix UART RXD pin for console output (CUSTOM option)
...
The RXD pin is assigned as input (fix for custom uart option).
Closes: https://github.com/espressif/esp-idf/issues/2843
Closes: IDFGH-505
2019-05-20 18:31:13 +08:00
Anders Kalør
d81c79d79f
esp_http_client: Add support for mutual authentication
...
Closes https://github.com/espressif/esp-idf/pull/2688
Closes https://github.com/espressif/esp-idf/issues/3438
2019-05-20 11:01:04 +05:30
Angus Gratton
0d5609ba92
Merge branch 'bugfix/esp_efuse_fields_unused_variable_v3.3' into 'release/v3.3'
...
efuse: Fix unused variable warning when NDEBUG (v3.3)
See merge request idf/esp-idf!4956
2019-05-20 12:24:19 +08:00
Angus Gratton
e209307297
Merge branch 'bugfix/adjtime_ut_v3.3' into 'release/v3.3'
...
newlib: Fix adjtime (v3.3)
See merge request idf/esp-idf!4870
2019-05-15 15:44:33 +08:00
Angus Gratton
2f8508c7eb
Merge branch 'bugfix/http_server_lf_term_hdr_backport_v3d2' into 'release/v3.2'
...
HTTP Server : Fix for tolerating LF terminated headers (backport v3.2)
See merge request idf/esp-idf!4657
2019-05-13 20:29:03 +08:00
Angus Gratton
4ac347b295
Merge branch 'bugfix/select_init_sem_v3.3' into 'release/v3.3'
...
VFS: Allocate socket select semaphore outside ISR
See merge request idf/esp-idf!4660
2019-05-13 12:31:00 +08:00
Angus Gratton
31c94b25c5
Merge branch 'feature/update_cjson_lib_to_1.7.11_v3.3' into 'release/v3.3'
...
cJSON: update to v1.7.11 (v3.3)
See merge request idf/esp-idf!4971
2019-05-10 22:02:31 +08:00
suda-morris
fd281c11cc
add promiscuous mode control in emac driver
...
1. add promiscuous mode control in emac driver
2. fix minor bugs in IP101 driver
2019-05-10 12:56:35 +08:00
suda-morris
5b8d1c9da3
add promiscuous mode control in emac driver
...
1. add promiscuous mode control in emac driver
2. fix minor bugs in IP101 driver
2019-05-10 12:56:24 +08:00
Angus Gratton
532c8847c7
Merge branch 'bugifx/httpd_reuseaddr_backport_v3.3' into 'release/v3.3'
...
esp_http_server : Allow binding to same address and port upon restarting server without delay (backport v3.3)
See merge request idf/esp-idf!4939
2019-05-10 10:45:55 +08:00
suda-morris
6dc31101ce
cJSON: update to v1.7.11
...
Closes https://github.com/espressif/esp-idf/issues/3332
2019-05-10 10:26:04 +08:00
Ivan Grokhotkov
5328154a01
pm: prevent interrupt nesting during esp_pm_impl_isr_hook
...
Follows the approach proposed in https://github.com/espressif/esp-idf/pull/3110 ,
but masks the interrupts during the entire ISR hook, not only during
leave_idle. Interrupt nesting during update_ccompare may also cause
issues.
Closes https://github.com/espressif/esp-idf/issues/3057
2019-05-10 10:20:29 +08:00
Alexey Gerenkov
dd623febf5
esp32: Fixes freezing core dump process when flash write address checks are enabled
2019-05-08 13:55:31 +03:00
V.Dudnik
7d9330d1af
efuse: Fix unused variable warning when NDEBUG
...
Merges: https://github.com/espressif/esp-idf/pull/3429
Closes: https://github.com/espressif/esp-idf/issues/3432
2019-05-08 09:41:49 +08:00
Angus Gratton
106c8813ed
Merge branch 'bugfix/nvs_fix_erase_any_v3.2' into 'release/v3.2'
...
nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly (v3.2)
See merge request idf/esp-idf!4817
2019-05-08 09:37:13 +08:00
Jiang Jiang Jian
618aa6a3a4
Merge branch 'bugfix/wps_connect_fail_after_reason_code_change_v3.3' into 'release/v3.3'
...
wifi: fix the bug that WPS fails when AP is encrypted (backport v3.3)
See merge request idf/esp-idf!4910
2019-05-07 22:41:52 +08:00
negativekelvin
553725df84
nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly
...
Earlier eraseItem function in Storage class would do lazy cleanup of
multi-page blobs if called using type "ANY" instead of "BLOB". It used to
just delete BLOB data and index would remain as is. Any subsequent read
would delete index entry as well. This however would return a valid
length without error if nvs_get_blob API was just used for finding
length and not reading the complete blob. This change fixes this issue.
Closes https://github.com/espressif/esp-idf/issues/3255
2019-05-07 05:53:19 +00:00
liu zhifu
7d3733d255
esp32: backport some WiFi fixes to v3.2
...
Backport following WiFi fixes to v3.2:
1. Add support for STA HT2040 coexist management
2. Add support for WPA2 improvements
3. Disallow HT rate when unicast/mcast cipher is TKIP/WEP
4. Add support for signal test
5. Fix the bug that WPS fails when AP is encrypted
2019-05-07 10:50:09 +08:00
Roland Dobai
5988e77a3a
VFS: Allocate socket select semaphore outside ISR
2019-05-06 16:11:59 +02:00
Anurag Kar
ba2ff1876f
Enable secure boot only after encrypting flash
...
This prevents a device from being bricked in case when both secure boot & flash encryption are enabled and encryption gets interrupted during first boot. After interruption, all partitions on the device need to be reflashed (including the bootloader).
List of changes:
* Secure boot key generation and bootloader digest generation logic, implemented inside function esp_secure_boot_permanently_enable(), has been pulled out into new API esp_secure_boot_generate_digest(). The enabling of R/W protection of secure boot key on EFUSE still happens inside esp_secure_boot_permanently_enable()
* Now esp_secure_boot_permanently_enable() is called only after flash encryption process completes
* esp_secure_boot_generate_digest() is called before flash encryption process starts
2019-05-06 11:34:12 +05:30
Anurag Kar
0757e019f4
esp_http_server : Allow binding to same address and port upon restarting server without delay
...
Issue : Restarting the server without 30sec delay between httpd_stop() and httpd_start() causes EADDRINUSE error
Resolution : Use setsockopt() to enable SO_REUSEADDR on listener socket
Closes https://github.com/espressif/esp-idf/issues/3381
2019-05-06 10:52:49 +05:30
zhangyanjiao
8e3a1876cb
wifi: fix the bug that WPS fails when AP is encrypted
2019-05-06 10:50:04 +08:00
Jiang Jiang Jian
cc8652d8d2
Merge branch 'bugfix/scan_fail_when_no_ap_found_v3.3' into 'release/v3.3'
...
fix the bug when scan fail after STA failed to connect to a nonexistent AP (backport v3.3)
See merge request idf/esp-idf!4900
2019-05-06 10:37:08 +08:00
zhangyanjiao
4e78900fbf
fix the bug when scan fail after STA failed to connect to a nonexistent AP
2019-05-05 11:53:33 +08:00
Angus Gratton
3cd8538f53
Merge branch 'backport/bugfix_url_redirect_v33' into 'release/v3.3'
...
Fix url redirection issue. (backport v3.3)
See merge request idf/esp-idf!4851
2019-05-03 14:15:33 +08:00
Anurag Kar
87215ca0c3
HTTP Server : Fix for tolerating LF terminated headers
...
List of changes:
* When parsing requests, count termination from LF characters only
* Correct memcpy() length parameter in httpd_unrecv() (pointed out by jimparis in GitHub issue thread)
* Use ssize_t to store results of length subtractions during parsing
* Modify some comments to reduce ambiguity
Closes https://github.com/espressif/esp-idf/issues/3182
2019-05-02 05:56:49 +00:00
zhangyanjiao
0033b31442
fix the bug when scan fail after STA failed to connect to a nonexistent AP
2019-04-29 16:21:58 +08:00
Jiang Jiang Jian
f6bfe13eb3
Merge branch 'bugfix/erase_with_vtaskdelay_v3.2' into 'release/v3.2'
...
spi_flash: Add vTaskDelay while a long erasing (v3.2)
See merge request idf/esp-idf!4875
2019-04-28 22:14:41 +08:00
Jiang Jiang Jian
df874cd070
Merge branch 'bugfix/httpd_accept_conn_v3.2' into 'release/v3.2'
...
esp_http_server : Only accept new connections if server has capacity to handle more (backport v3.2)
See merge request idf/esp-idf!4722
2019-04-28 11:47:14 +08:00
Konstantin Kondrashov
fe0d45d549
spi_flash: Add vTaskDelay while a long erasing
...
Added Kconfig options to enable yield operation during flash erase.
By default disable.
Closes: https://github.com/espressif/esp-idf/issues/2083
Closes: IDFGH-261
2019-04-28 02:42:31 +00:00
Jiang Jiang Jian
6f19193de6
Merge branch 'bugfix/adjtime_ut_v3.2' into 'release/v3.2'
...
newlib: Fix adjtime (v3.2)
See merge request idf/esp-idf!4871
2019-04-28 10:36:55 +08:00
Jiang Jiang Jian
8f4e7d2456
Merge branch 'backport/bugfix_url_redirect_v32' into 'release/v3.2'
...
Fix url redirection issue. (backport v3.2)
See merge request idf/esp-idf!4852
2019-04-28 10:36:09 +08:00
Jiang Jiang Jian
4156c6ddec
Merge branch 'bugfix/improve_spi_timing_for_psram_and_flash_v3.2' into 'release/v3.2'
...
bugfix(psram): improve spi cs timing settings for psram (backport v3.2)
See merge request idf/esp-idf!4846
2019-04-28 10:35:41 +08:00
Jiang Jiang Jian
9294e4d08d
Merge branch 'feature/poll_v3.2' into 'release/v3.2'
...
VFS: Implement poll() based on select() (backport v3.2)
See merge request idf/esp-idf!4350
2019-04-28 10:24:41 +08:00
Jiang Jiang Jian
193b8e93a8
Merge branch 'bugfix/btdm_abort_if_deinit_spp_without_init_v3.2' into 'release/v3.2'
...
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
See merge request idf/esp-idf!4862
2019-04-26 21:01:35 +08:00
Angus Gratton
8da392aa1d
Merge branch 'feature/esp_http_client_global_ca_store_v3.2' into 'release/v3.2'
...
esp_http_client: add support for using certs from global ca store (backport_v3.2)
See merge request idf/esp-idf!4868
2019-04-26 10:08:23 +08:00
Angus Gratton
c3cee5e3de
Merge branch 'backport/feature_set_redirect_function_v32' into 'release/v3.2'
...
Add a `esp_http_client_set_redirection` function. (backport v3.2)
See merge request idf/esp-idf!4867
2019-04-26 10:07:04 +08:00
Angus Gratton
56afb3bd1c
Merge branch 'backport/feature_set_redirect_function_v33' into 'release/v3.3'
...
Add a `esp_http_client_set_redirection` function. (backport v3.3)
See merge request idf/esp-idf!4866
2019-04-26 10:06:52 +08:00
Jiang Jiang Jian
e622ee0f41
Merge branch 'bugfix/btdm_abort_if_deinit_spp_without_init_v3.3' into 'release/v3.3'
...
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
See merge request idf/esp-idf!4861
2019-04-25 20:39:36 +08:00
Jiang Jiang Jian
0c13ae6b45
Merge branch 'feature/btdm_add_ble_link_timeout_config_v3.2' into 'release/v3.2'
...
Component/bt: add ble link timeout config in menuconfig(backport v3.2)
See merge request idf/esp-idf!4826
2019-04-25 20:05:19 +08:00
Jiang Jiang Jian
306a1173af
Merge branch 'feature/wifi_refactor_softap_power_save_v3.2' into 'release/v3.2'
...
refactor softap power save (backport v3.2)
See merge request idf/esp-idf!4823
2019-04-25 17:05:49 +08:00
Konstantin Kondrashov
592a4295be
newlib: Fix adjtime
...
Fixed adjtime function: While using the adjtime() function,
the time correction accumulated an error
when reading the time frequently (using gettimeofday).
2019-04-24 17:42:38 +08:00
Konstantin Kondrashov
2d50291b05
newlib: Fix adjtime
...
Fixed adjtime function: While using the adjtime() function,
the time correction accumulated an error
when reading the time frequently (using gettimeofday).
2019-04-24 17:42:20 +08:00
Vikram Dattu
c9b1e1df60
Add a esp_http_client_set_redirection
function.
...
When using direct operations instead of `esp_http_client_perform`, we need a way to set redirection URL when we get 30x response codes. Added the function for the same.
User can now check status code and call `esp_http_client_set_redirection` function to enable redirection.
Related change in adf: https://gitlab.espressif.cn:6688/adf/esp-adf-internal/merge_requests/187
Closes https://github.com/espressif/esp-idf/issues/2712
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-04-24 14:10:10 +05:30
Mahavir Jain
2549951498
esp_http_client: add support for using certs from global ca store
...
Closes https://github.com/espressif/esp-idf/issues/3062
(cherry picked from commit 27e00cf7aa
)
2019-04-24 14:06:33 +05:30
Vikram Dattu
b2384dc9ee
Add a esp_http_client_set_redirection
function When using direct operations instead of esp_http_client_perform
, we need a way to set redirection URL when we get 30x response codes. Added the function for the same. User can now check status code and call esp_http_client_set_redirection
function to enable redirection. Related change in adf: https://gitlab.espressif.cn:6688/adf/esp-adf-internal/merge_requests/187
...
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-04-24 13:54:22 +05:30
Angus Gratton
9a72c11e6e
Merge branch 'bugfix/erase_with_vtaskdelay' into 'release/v3.3'
...
spi_flash: Add vTaskDelay while a long erasing
See merge request idf/esp-idf!4816
2019-04-24 15:51:35 +08:00
baohongde
f95826144e
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
2019-04-24 11:34:06 +08:00
baohongde
39dbe7daa8
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
2019-04-24 11:30:04 +08:00
Konstantin Kondrashov
7a2885885c
spi_flash: Add vTaskDelay while a long erasing
...
Added Kconfig options to enable yield operation during flash erase
Closes: https://github.com/espressif/esp-idf/issues/2083
Closes: IDFGH-261
2019-04-23 10:47:09 +00:00
Vikram Dattu
d154723a84
Fix url redirection issue.
...
Operation:
In `esp_http_client_set_url`, we check for if old_host is same as new_host.
Delete and open new connection if host is different.
Issue:
We just pointed `client->connection_info.host` to `old_host` and reassigned it.
This made old_host and new_host always point to same location and hence, using old_host with new request.
Fix:
Made a separate copy for old_host using strdup.
Closes https://github.com/espressif/esp-idf/issues/2631
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-04-23 14:28:53 +05:30
Vikram Dattu
344cb99d34
Fix url redirection issue.
...
Operation:
In `esp_http_client_set_url`, we check for if old_host is same as new_host.
Delete and open new connection if host is different.
Issue:
We just pointed `client->connection_info.host` to `old_host` and reassigned it.
This made old_host and new_host always point to same location and hence, using old_host with new request.
Fix:
Made a separate copy for old_host using strdup.
Closes https://github.com/espressif/esp-idf/issues/2631
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-04-23 14:28:21 +05:30
Renz Christian Bagaporo
16918e400e
make: fix undefined variables warning for PARTITION_TABLE_BIN
...
Closes https://github.com/espressif/esp-idf/issues/3136
2019-04-23 14:42:14 +08:00
Wangjialin
464df4b788
bugfix: fix bug in flash 80M + sram 40M mode
2019-04-23 02:18:15 +00:00
Wangjialin
8ff0d986b6
bugfix(psram): improve spi cs timing settings for psram
...
1. remove redundant SPI clock settings, use rom functions to set clock.
2. remove redundant SPI cs setup and hold settings.
3. for old 32Mbit psram, cs hold time must only be 0.5T due to the special driving mode.(cs_setup = 0; cs_hold = 0)
4. for new 64Mbit psram, cs hold time is recommended to be 2.5T. (cs_setup = 1, cs_setup_time = 0;cs_hold = 1, cs_hold_time = 1)
2019-04-23 02:18:15 +00:00
Angus Gratton
225bc0f80a
Merge branch 'bugfix/remove_second_sha_enable_v3.2' into 'release/v3.2'
...
esp32/sha: Remove second enabling in esp_sha_lock_engine_common (backport v3.2)
See merge request idf/esp-idf!4780
2019-04-23 07:38:00 +08:00
zhiweijian
96c8343e46
Component/bt: add ble link timeout config in menuconfig
...
- add ble link timeout config in menuconfig
- disable background connection when call gatts_open
2019-04-22 21:55:06 +08:00
zhiweijian
3295ed0995
Component/bt: add ble link timeout config in menuconfig
...
- add ble link timeout config in menuconfig
- disable background connection when call gatts_open
2019-04-22 21:49:59 +08:00
XiaXiaotian
3ee11bcafc
refactor softap power save
...
1. Softap support multicast and broadcast saving and flushing
when the associated stations enable IEEE80211 legacy power
save(which is called modem sleep in ESP32).
2. Improve the frame saving and flushing mechanism of softap power
save.
2019-04-19 14:14:33 +08:00
Jiang Jiang Jian
bcb543eb10
Merge branch 'bugfix/coex_decouple_wifi_and_bt_code_with_coexist_v3.2' into 'release/v3.2'
...
Decouple WiFi and BT with coexist to reduce bin size (backport v3.2)
See merge request idf/esp-idf!4811
2019-04-19 13:31:06 +08:00
He Yin Ling
403268a13a
Merge branch 'test/modify_mesh_ci_v3.3' into 'release/v3.3'
...
test: update mesh test cases for ci (backport v3.3)
See merge request idf/esp-idf!4651
2019-04-18 11:29:54 +08:00
He Yin Ling
bb73659c9c
Merge branch 'test/modify_mesh_ci_v3.2' into 'release/v3.2'
...
test: update mesh test cases for ci (backport v3.2)
See merge request idf/esp-idf!4650
2019-04-18 11:29:43 +08:00
liu zhifu
93b4c71595
esp32: fix a bug caused by signal test code
...
Fix a WiFi bug caused by signal test code.
2019-04-17 17:44:23 +08:00
chenyudong
d6badc53eb
test:update mesh test cases for test(v3.3)
...
add job in ci mesh test
update cases in TC_IT_MESH_EST.yml and TC_IT_MESH_COMM.yml
change the file 'components/idf_test/integration_test'
2019-04-17 17:28:31 +08:00
chenyudong
58bc6be4c0
test:update mesh test cases for ci test(v3.2)
...
add mesh test case in TC_IT_MESH_EST.yml and TC_IT_MESH_COMM.yml
add job form IT_02 to IT_08
2019-04-17 17:25:17 +08:00
XiaXiaotian
5059c7fac3
Decouple WiFi and BT with coexist to reduce bin size
...
1. Do not link WiFi code when only BT or BLE is used and WiFi is not
used.
2. Do not link coexist code when CONFIG_SW_COEXIST_ENABLE is disabled.
2019-04-17 16:59:24 +08:00
liu zhifu
faec3211bd
esp32: fix some WiFi and coexist bugs
...
Fix following WiFi and coexist bugs:
1. Fix BT disconnecting due to too many reset BB
2. Fix the bug that no TBTT is generated after rx wrong beacon when WiFi/BT coexist
3. Fix a DelBA bug
4. Add out of memory check
5. Fix the bug that STA incorrectly receives packets when scanning in connected status
6. PHY4008: Disable BT TX in force wifi mode, and enable BT TX in un-force wifi mode
2019-04-17 10:02:51 +08:00
Jiang Jiang Jian
cb7aaae35e
Merge branch 'bugfix/fix_set_config_bug_for_bssid_set_v3.3' into 'release/v3.3'
...
wifi: fix the set config bug for bssid_set (backport v3.3)
See merge request idf/esp-idf!4802
2019-04-16 23:23:58 +08:00
Jiang Jiang Jian
c7d0df5451
Merge branch 'bugfix/fix_scan_and_connect_bugs_0415_v3.2' into 'release/v3.2'
...
fix wifi scan and connect bugs (backport v3.2)
See merge request idf/esp-idf!4772
2019-04-16 21:09:15 +08:00
zhangyanjiao
18533e132a
wifi: fix the set config bug for bssid_set
2019-04-16 20:40:00 +08:00
Jiang Jiang Jian
7a7128c7a3
Merge branch 'bugfix/esp_efuse_get_pkg_ver_v3.3' into 'release/v3.3'
...
efuse: Fix excess data coming from uninitialized variable (backport v3.3)
See merge request idf/esp-idf!4794
2019-04-16 20:33:36 +08:00
GOPTIONS\pfrost
dd76df7aee
efuse: Fix excess data coming from uninitialized variable
...
Fixed esp_efuse_get_pkg_ver() function
Closes: https://github.com/espressif/esp-idf/pull/3309
Closes: IDFGH-976
2019-04-16 16:04:15 +08:00
Mahavir Jain
1fcef31195
cpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option
...
Closes https://github.com/espressif/esp-idf/issues/3297
2019-04-16 11:21:26 +05:30
Mahavir Jain
deba35d2e5
cpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option
...
Closes https://github.com/espressif/esp-idf/issues/3297
2019-04-16 11:21:17 +05:30
Jiang Jiang Jian
acc882f4dd
Merge branch 'bugfix/btdm_bugx_backport_3.2' into 'release/v3.2'
...
Some bugs backport 3.2
See merge request idf/esp-idf!4773
2019-04-16 10:45:04 +08:00
Angus Gratton
e4c1bcddc5
Merge branch 'bugfix/freemodbus_fix_critical_sections' into 'release/v3.2'
...
freemodbus: fix critical sections to semaphore mutex (backport v3.2)
See merge request idf/esp-idf!4435
2019-04-16 08:53:23 +08:00
Konstantin Kondrashov
b2455219cc
esp32/sha: Remove second enabling in esp_sha_lock_engine_common
2019-04-15 21:14:38 +08:00
zhangyanjiao
de6b7d6520
fix wifi scan and connect bugs:
...
1. fix the bug block scan tiemout before scan finish
2. make menuconfig can set the WiFi mgmt short buffer num
3. modify wifi reason code
4. fix the bug PMK recal too long
2019-04-15 18:59:52 +08:00
Jiang Jiang Jian
fa40e43c8d
Merge branch 'bugfix/btdm_fix_warning_when_disable_logs_v3.2' into 'release/v3.2'
...
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
See merge request idf/esp-idf!4620
2019-04-15 18:52:09 +08:00
Jiang Jiang Jian
9f29dbf656
Merge branch 'bugfix/btdm_fix_build_warning_when_bluedroid_disable_log_v3.2' into 'release/v3.2'
...
Component/bt: fix build warning when bluedroid disable log (backport v3.2)
See merge request idf/esp-idf!4566
2019-04-15 18:50:58 +08:00
baohongde
bb518afb59
Some bugs backport 3.2
...
1.Fix memory leak when set txpower
2.Fix some bugs
Disconnect with apple device
hci_refresh_enc_key_cmd will be ignore
hci_refresh_enc_key_cmd will crash
2019-04-15 16:51:29 +08:00
liu zhifu
184f2f0fd6
esp32: add support for WiFi signal test
...
Add support for WiFi signal test
2019-04-15 10:17:14 +08:00
chenyudong
37063ea9b6
Decouple Wifi and ESP-Mesh to reduce bin size
...
Do not link mesh code when mesh is not used
2019-04-14 20:36:14 +08:00
Jack
4b6ac69c04
refactor softap power save
...
1. Softap support multicast and broadcast saving and flushing when the associated stations enable IEEE80211 legacy power save(which is called modem sleep in ESP32).
2. Improve the frame saving and flushing mechanism of softap power save.
2019-04-14 19:43:09 +08:00
Jiang Jiang Jian
c7d73901d0
Merge branch 'bugfix/nvs_fix_erase_any_v3.3' into 'release/v3.3'
...
nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly(v3.3)
See merge request idf/esp-idf!4765
2019-04-14 19:39:04 +08:00
Jiang Jiang Jian
76cc8c1c0c
Merge branch 'bugfix/wifi_spike_power_v3.3' into 'release/v3.3'
...
wifi: fix the issue that the spike transmit power of WiFi is higher than…
See merge request idf/esp-idf!4762
2019-04-14 19:38:55 +08:00
Jiang Jiang Jian
38a2be75a9
Merge branch 'bugfix/btdm_fix_memory_leak_when_set_txpwr_v3.3' into 'release/v3.3'
...
component/bt: fix memory leak when settig tx power (backport v3.3)
See merge request idf/esp-idf!4760
2019-04-14 16:55:52 +08:00
Jack
ab888394c3
wifi: fix the issue that the spike transmit power of WiFi is higher than configured when WiFi and Bluetooth coexist
2019-04-14 06:26:01 +00:00
zhiweijian
b8a2b77f70
component/bt: fix memory leak when settig tx power
2019-04-14 06:25:53 +00:00
negativekelvin
ef8341b5bc
nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly
...
Earlier eraseItem function in Storage class would do lazy cleanup of
multi-page blobs if called using type "ANY" instead of "BLOB". It used to
just delete BLOB data and index would remain as is. Any subsequent read
would delete index entry as well. This however would return a valid
length without error if nvs_get_blob API was just used for finding
length and not reading the complete blob. This change fixes this issue.
Closes https://github.com/espressif/esp-idf/issues/3255
2019-04-14 06:23:38 +00:00
Wangjialin
c31217d193
bugfix(psram): improve spi cs timing settings for psram
...
1. remove redundant SPI clock settings, use rom functions to set clock.
2. remove redundant SPI cs setup and hold settings.
3. for old 32Mbit psram, cs hold time must only be 0.5T due to the special driving mode.(cs_setup = 0; cs_hold = 0)
4. for new 64Mbit psram, cs hold time is recommended to be 2.5T. (cs_setup = 1, cs_setup_time = 0;cs_hold = 1, cs_hold_time = 1)
2019-04-14 06:23:24 +00:00
Jiang Jiang Jian
f7177095cf
Merge branch 'bugfix/name_conflict_esp32_project_ld_v3.3' into 'release/v3.3'
...
esp32: Rename esp32.common.ld to esp32.project.ld to avoid build errors when downgrading (v3.3)
See merge request idf/esp-idf!4732
2019-04-14 10:29:39 +08:00
Jiang Jiang Jian
f6837e6117
Merge branch 'bugfix/esp_sha_signing_sha256_v3.2' into 'release/v3.2'
...
secure boot: Fix esp_sha INT WDT, switch to using mbedTLS API (backport v3.2)
See merge request idf/esp-idf!4511
2019-04-14 02:57:45 +08:00
Jiang Jiang Jian
2da22620f8
Merge branch 'feature/btdm_add_mesh_adv_type_and_srv_uuid_for_dup_scan_except_v3.2' into 'release/v3.2'
...
Component/bt: add mesh beacon adv and svc uuid for duplicate scan exceptional list (backport v3.2)
See merge request idf/esp-idf!4606
2019-04-14 02:56:43 +08:00
Jiang Jiang Jian
ddf4991024
Merge branch 'bugfix/bootloader_flash_crypt_cnt_ff_v3.2' into 'release/v3.2'
...
flash encryption: reduce FLASH_CRYPT_CNT bit width to 7 bits (v3.2)
See merge request idf/esp-idf!4728
2019-04-14 02:55:21 +08:00
Jiang Jiang Jian
0e89436769
Merge branch 'bugfix/increase_block_scan_timeout_value_v3.3' into 'release/v3.3'
...
esp32: increase WiFi block scan timeout value (backport v3.3)
See merge request idf/esp-idf!4696
2019-04-12 23:32:55 +08:00
Jiang Jiang Jian
f8597be435
Merge branch 'bugfix/wifi_modify_wifi_kconfig_v3.2' into 'release/v3.2'
...
esp32: modify WiFi Kconfig in order to achieve better compatility and performance (bakcport v3.2)
See merge request idf/esp-idf!4386
2019-04-12 23:11:24 +08:00
Jiang Jiang Jian
6e5e430ef4
Merge branch 'bugfix/mesh_memory_leak_v3.2' into 'release/v3.2'
...
mesh: fix memory leak and group send (backport v3.2)
See merge request idf/esp-idf!4519
2019-04-12 22:02:08 +08:00
Jiang Jiang Jian
065d451e47
Merge branch 'bugfix/btdm_modify_HCI_GET_CMD_BUF_v3.2' into 'release/v3.2'
...
Component/bt: modify HCI_GET_CMD_BUF (backport v3.2)
See merge request idf/esp-idf!4599
2019-04-12 21:58:51 +08:00