]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agocomponents/bt: Fix assert due to alloc LMP TX buffer failed
baohongde [Wed, 12 Jun 2019 11:49:28 +0000 (19:49 +0800)]
components/bt: Fix assert due to alloc LMP TX buffer failed

6 years agoMerge branch 'bugfix/fix_some_wps_bugs_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Wed, 12 Jun 2019 06:36:02 +0000 (14:36 +0800)]
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

6 years agoMerge branch 'fix/mfg_util_3.3' into 'release/v3.3'
Angus Gratton [Tue, 11 Jun 2019 02:25:38 +0000 (10:25 +0800)]
Merge branch 'fix/mfg_util_3.3' into 'release/v3.3'

mfg_util: Fix unnecessary csv files creation for values with REPEAT tags (backport 3.3)

See merge request idf/esp-idf!5045

6 years agoMerge branch 'bugfix/fix_build_cmake_example_failing_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 11 Jun 2019 01:05:42 +0000 (09:05 +0800)]
Merge branch 'bugfix/fix_build_cmake_example_failing_v3.3' into 'release/v3.3'

Fix false positive errors with CMake example builds (backport v3.3)

See merge request idf/esp-idf!4984

6 years agoMerge branch 'bugfix/restore_ccache_use' into 'release/v3.3'
Angus Gratton [Tue, 11 Jun 2019 01:03:54 +0000 (09:03 +0800)]
Merge branch 'bugfix/restore_ccache_use' into 'release/v3.3'

CMake : Restore ccache use (backport v3.3)

See merge request idf/esp-idf!4985

6 years agoMerge branch 'bugfix/win_fullclean_symlink_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 11 Jun 2019 00:26:36 +0000 (08:26 +0800)]
Merge branch 'bugfix/win_fullclean_symlink_v3.3' into 'release/v3.3'

idf.py: Detect symlinks on Windows during fullclean (v3.3)

See merge request idf/esp-idf!4924

6 years agoMerge branch 'protocomm_ble_128bit_uuid_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 6 Jun 2019 23:47:19 +0000 (07:47 +0800)]
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

6 years agoMerge branch 'feature/confserver_v2_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 6 Jun 2019 22:31:41 +0000 (06:31 +0800)]
Merge branch 'feature/confserver_v2_v3.3' into 'release/v3.3'

confserver: Add v2 confserver protocol with separate visibility info  (backport v3.3)

See merge request idf/esp-idf!4513

6 years agoMerge branch 'bugfix/reset_log_uart_port_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 6 Jun 2019 07:47:17 +0000 (15:47 +0800)]
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

6 years agowps: add overlap event (backport v3.3)
xiehang [Fri, 31 May 2019 11:09:29 +0000 (19:09 +0800)]
wps: add overlap event (backport v3.3)
     modify some header files to be consistent with vnc

6 years agoMerge branch 'bugfix/support_tcp_window_scale_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Wed, 5 Jun 2019 12:08:58 +0000 (20:08 +0800)]
Merge branch 'bugfix/support_tcp_window_scale_v3.3' into 'release/v3.3'

esp_wifi/lsupport TCP window scale (backport v3.3)

See merge request idf/esp-idf!5113

6 years agoci: check that build uses ccache when present
Renz Christian Bagaporo [Mon, 6 May 2019 11:58:06 +0000 (19:58 +0800)]
ci: check that build uses ccache when present

6 years agocmake: restore ccache use when present
Renz Christian Bagaporo [Mon, 6 May 2019 11:57:45 +0000 (19:57 +0800)]
cmake: restore ccache use when present

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

6 years agoesp32: Add reset uart
Konstantin Kondrashov [Fri, 17 May 2019 04:33:45 +0000 (12:33 +0800)]
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.

6 years agoesp_wifi/lwip: support TCP window scale
liu zhifu [Thu, 30 May 2019 01:41:05 +0000 (09:41 +0800)]
esp_wifi/lwip: support TCP window scale

Support enable/disable TCP Window scale feature via menuconfig

6 years agoMerge branch 'bugfix/httpd_log_purge_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 4 Jun 2019 05:28:27 +0000 (13:28 +0800)]
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

6 years agoMerge branch 'bugfix/https_doc_api_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 3 Jun 2019 22:54:22 +0000 (06:54 +0800)]
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

6 years agoMerge branch 'bugfix/wpa2_ent_vulnerability_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Mon, 3 Jun 2019 13:58:19 +0000 (21:58 +0800)]
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

6 years agoesp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation
Anurag Kar [Mon, 6 May 2019 09:02:24 +0000 (14:32 +0530)]
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation

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

6 years agoprotocomm_ble : Example updated to use custom 128bit service UUID
Anurag Kar [Wed, 29 May 2019 08:12:40 +0000 (13:42 +0530)]
protocomm_ble : Example updated to use custom 128bit service UUID

Also removed old hardcoded UUIDs from README of esp_prov

6 years agoesp_prov : Runtime discovery of Service UUID and endpoint name mapping
Anurag Kar [Thu, 9 May 2019 21:36:56 +0000 (03:06 +0530)]
esp_prov : Runtime discovery of Service UUID and endpoint name mapping

List of changes:
* Retrieve UUID property from Bluez device object before connecting to retrieve UUID contained in advertisement
* Read Characteristic User Descriptions attribute of each UUID for mapping endpoint names
* To support older implementations with hardcoded Name-UUID map, revert to fallback mode in order if advertisement data has no UUID field

6 years agoprotocomm_ble : Fixed custom service UUID support
Anurag Kar [Thu, 9 May 2019 21:30:13 +0000 (03:00 +0530)]
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

6 years agoMerge branch 'bugfix/custom_log_uart_rx_pin_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 3 Jun 2019 06:31:27 +0000 (14:31 +0800)]
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

6 years agoesp_http_server : Logging of purged data to monitor made configurable
Anurag Kar [Mon, 6 May 2019 07:36:40 +0000 (13:06 +0530)]
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

6 years agoMerge branch 'bugfix/custom_bootloader_subproject_build_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 3 Jun 2019 01:55:49 +0000 (09:55 +0800)]
Merge branch 'bugfix/custom_bootloader_subproject_build_v3.3' into 'release/v3.3'

CMake: Fix custom bootloader does not override original (v3.3)

See merge request idf/esp-idf!5081

6 years agomfg_util: Fix unnecessary csv files creation for values with REPEAT tags
Shivani Tipnis [Wed, 22 May 2019 05:47:56 +0000 (11:17 +0530)]
mfg_util: Fix unnecessary csv files creation for values with REPEAT tags

(cherry picked from commit 8b96668c9123fbbf8c78b347479215f471b102ed)

6 years agoesp32: fix wpa2 enterprise vulnerability issues
liu zhifu [Thu, 30 May 2019 13:23:01 +0000 (21:23 +0800)]
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

6 years agosoc: Add some headers into gpio_periph.h
Konstantin Kondrashov [Wed, 29 May 2019 05:37:22 +0000 (13:37 +0800)]
soc: Add some headers into gpio_periph.h

6 years agobootloader_support: Fix UART RXD pin for console output (CUSTOM option)
Konstantin Kondrashov [Thu, 16 May 2019 10:46:00 +0000 (18:46 +0800)]
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
6 years agoci: check that custom bootloader overrides original
Renz Christian Bagaporo [Wed, 15 May 2019 06:49:51 +0000 (14:49 +0800)]
ci: check that custom bootloader overrides original

6 years agocmake: fix custom bootloader issue
Renz Christian Bagaporo [Wed, 15 May 2019 03:40:57 +0000 (11:40 +0800)]
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.

6 years agoMerge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth_v3...
Jiang Jiang Jian [Fri, 24 May 2019 11:57:00 +0000 (19:57 +0800)]
Merge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth_v3.3' into 'release/v3.3'

wifi: fix the bug no disconnect event when STA recv disassoc after sending auth (backport v3.3)

See merge request idf/esp-idf!5066

6 years agowifi bugfixs:
zhangyanjiao [Fri, 24 May 2019 03:31:24 +0000 (11:31 +0800)]
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

6 years agoMerge branch 'bugfix/docs_build_failure_on_rtd' into 'release/v3.3'
Angus Gratton [Fri, 24 May 2019 02:19:50 +0000 (10:19 +0800)]
Merge branch 'bugfix/docs_build_failure_on_rtd' into 'release/v3.3'

Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide...

See merge request idf/esp-idf!5041

6 years agoMerge branch 'bugfix/fix_some_wifi_bugs_0508_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Thu, 23 May 2019 09:55:12 +0000 (17:55 +0800)]
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

6 years agoMerge branch 'feature/add_promiscuous_control_for_ethernet_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 23 May 2019 06:24:07 +0000 (14:24 +0800)]
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

6 years agoesp32: fix some WiFi bugs
liu zhifu [Thu, 9 May 2019 09:24:13 +0000 (17:24 +0800)]
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

6 years agoMerge branch 'bugfix/fix_softap_crash_when_sta_reset_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Wed, 22 May 2019 13:00:49 +0000 (21:00 +0800)]
Merge branch 'bugfix/fix_softap_crash_when_sta_reset_v3.3' into 'release/v3.3'

wifi: fix softap crash when sta reset (backport v3.3)

See merge request idf/esp-idf!5039

6 years agoFix Breathe version to avoid docs build failure on ReadTheDocs server. Provide RTD...
Krzysztof [Tue, 21 May 2019 11:53:38 +0000 (19:53 +0800)]
Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide RTD project configuration file to be able to select python version for specific to esp-idf release. (backport v3.3)

6 years agowifi: fix softap crash when sta reset (backport v3.3)
xiehang [Mon, 20 May 2019 12:47:47 +0000 (20:47 +0800)]
wifi: fix softap crash when sta reset (backport v3.3)

6 years agoMerge branch 'feature/allow_multiple_fragment_definitions_for_library' into 'release...
Angus Gratton [Mon, 20 May 2019 05:58:25 +0000 (13:58 +0800)]
Merge branch 'feature/allow_multiple_fragment_definitions_for_library' into 'release/v3.3'

Combine definitions of multiple mapping fragments referring to the same library

See merge request idf/esp-idf!4243

6 years agoMerge branch 'bugfix/esp_efuse_fields_unused_variable_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 20 May 2019 04:24:19 +0000 (12:24 +0800)]
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

6 years agoMerge branch 'bugfix/adjtime_ut_v3.3' into 'release/v3.3'
Angus Gratton [Wed, 15 May 2019 07:44:33 +0000 (15:44 +0800)]
Merge branch 'bugfix/adjtime_ut_v3.3' into 'release/v3.3'

newlib: Fix adjtime (v3.3)

See merge request idf/esp-idf!4870

6 years agoMerge branch 'bugfix/select_init_sem_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 13 May 2019 04:31:00 +0000 (12:31 +0800)]
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

6 years agoci: fix cmake example build fail
Renz Christian Bagaporo [Sun, 24 Mar 2019 08:45:08 +0000 (16:45 +0800)]
ci: fix cmake example build fail

6 years agoMerge branch 'feature/update_cjson_lib_to_1.7.11_v3.3' into 'release/v3.3'
Angus Gratton [Fri, 10 May 2019 14:02:31 +0000 (22:02 +0800)]
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

6 years agoadd promiscuous mode control in emac driver
suda-morris [Tue, 7 May 2019 10:30:10 +0000 (18:30 +0800)]
add promiscuous mode control in emac driver

1. add promiscuous mode control in emac driver
2. fix minor bugs in IP101 driver

6 years agoMerge branch 'bugfix/http_file_server_backport_v3.3' into 'release/v3.3'
Angus Gratton [Fri, 10 May 2019 03:03:32 +0000 (11:03 +0800)]
Merge branch 'bugfix/http_file_server_backport_v3.3' into 'release/v3.3'

File Server Example : Check longer than allowed filenames when converting from URIs to filepaths (backport v3.3)

See merge request idf/esp-idf!4938

6 years agoMerge branch 'bugifx/httpd_reuseaddr_backport_v3.3' into 'release/v3.3'
Angus Gratton [Fri, 10 May 2019 02:45:55 +0000 (10:45 +0800)]
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

6 years agocJSON: update to v1.7.11
suda-morris [Thu, 25 Apr 2019 04:55:27 +0000 (12:55 +0800)]
cJSON: update to v1.7.11

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

6 years agoefuse: Fix unused variable warning when NDEBUG
V.Dudnik [Mon, 6 May 2019 06:52:53 +0000 (09:52 +0300)]
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
6 years agoMerge branch 'bugfix/wps_connect_fail_after_reason_code_change_v3.3' into 'release...
Jiang Jiang Jian [Tue, 7 May 2019 14:41:52 +0000 (22:41 +0800)]
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

6 years agoMerge branch 'bugfix/enb_secboot_post_flash_enc_backport_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 7 May 2019 06:44:03 +0000 (14:44 +0800)]
Merge branch 'bugfix/enb_secboot_post_flash_enc_backport_v3.3' into 'release/v3.3'

Enable secure boot only after encrypting flash (backport v3.3)

See merge request idf/esp-idf!4940

6 years agoVFS: Allocate socket select semaphore outside ISR
Roland Dobai [Mon, 1 Apr 2019 10:50:54 +0000 (12:50 +0200)]
VFS: Allocate socket select semaphore outside ISR

6 years agoidf.py: Detect symlinks on Windows during fullclean
Roland Dobai [Tue, 30 Apr 2019 07:45:25 +0000 (09:45 +0200)]
idf.py: Detect symlinks on Windows during fullclean

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

6 years agoEnable secure boot only after encrypting flash
Anurag Kar [Thu, 4 Apr 2019 09:55:22 +0000 (15:25 +0530)]
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

6 years agoesp_http_server : Allow binding to same address and port upon restarting server witho...
Anurag Kar [Mon, 29 Apr 2019 13:16:20 +0000 (18:46 +0530)]
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

6 years agoFile Server Example : Check longer than allowed filenames when converting from URIs...
Anurag Kar [Thu, 25 Apr 2019 19:58:33 +0000 (01:28 +0530)]
File Server Example : Check longer than allowed filenames when converting from URIs to filepaths

This change prevents buffer overflows in case of really long file paths.

Other changes:
* Remove query (?) and fragment (#) component from URI when converting to file path
* /index.html and favicon.ico can be overridden by files with same name and path in SPIFFS
* README.md updated

6 years agowifi: fix the bug that WPS fails when AP is encrypted
zhangyanjiao [Mon, 6 May 2019 02:50:04 +0000 (10:50 +0800)]
wifi: fix the bug that WPS fails when AP is encrypted

6 years agoMerge branch 'bugfix/scan_fail_when_no_ap_found_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Mon, 6 May 2019 02:37:08 +0000 (10:37 +0800)]
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

6 years agoMerge branch 'backport/bugfix_url_redirect_v33' into 'release/v3.3'
Angus Gratton [Fri, 3 May 2019 06:15:33 +0000 (14:15 +0800)]
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

6 years agofix the bug when scan fail after STA failed to connect to a nonexistent AP
zhangyanjiao [Mon, 29 Apr 2019 08:21:58 +0000 (16:21 +0800)]
fix the bug when scan fail after STA failed to connect to a nonexistent AP

6 years agoMerge branch 'backport/feature_set_redirect_function_v33' into 'release/v3.3'
Angus Gratton [Fri, 26 Apr 2019 02:06:52 +0000 (10:06 +0800)]
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

6 years agoMerge branch 'bugfix/btdm_abort_if_deinit_spp_without_init_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Thu, 25 Apr 2019 12:39:36 +0000 (20:39 +0800)]
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

6 years agonewlib: Fix adjtime
Konstantin Kondrashov [Wed, 3 Apr 2019 04:18:20 +0000 (12:18 +0800)]
newlib: Fix adjtime

Fixed adjtime function: While using the adjtime() function,
the time correction accumulated an error
when reading the time frequently (using gettimeofday).

6 years agoAdd a `esp_http_client_set_redirection` function.
Vikram Dattu [Tue, 23 Apr 2019 13:53:20 +0000 (19:23 +0530)]
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>
6 years agoMerge branch 'bugfix/erase_with_vtaskdelay' into 'release/v3.3'
Angus Gratton [Wed, 24 Apr 2019 07:51:35 +0000 (15:51 +0800)]
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

6 years agocomponents/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
baohongde [Wed, 24 Apr 2019 03:30:04 +0000 (11:30 +0800)]
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init

6 years agoMerge branch 'bugfix/undefined_partition_table_bin_warning_v3.3' into 'release/v3.3'
Angus Gratton [Wed, 24 Apr 2019 00:57:06 +0000 (08:57 +0800)]
Merge branch 'bugfix/undefined_partition_table_bin_warning_v3.3' into 'release/v3.3'

make: fix undefined variables warning for PARTITION_TABLE_BIN (backport v3.3)

See merge request idf/esp-idf!4848

6 years agospi_flash: Add vTaskDelay while a long erasing
Konstantin Kondrashov [Wed, 17 Apr 2019 01:18:11 +0000 (09:18 +0800)]
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
6 years agoFix url redirection issue.
Vikram Dattu [Tue, 26 Mar 2019 08:45:46 +0000 (16:45 +0800)]
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>
6 years agomake: fix undefined variables warning for PARTITION_TABLE_BIN
Renz Christian Bagaporo [Wed, 27 Mar 2019 13:02:55 +0000 (21:02 +0800)]
make: fix undefined variables warning for PARTITION_TABLE_BIN

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

6 years agoMerge branch 'bugfix/fix_iperf_exit_error_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Tue, 23 Apr 2019 02:21:25 +0000 (10:21 +0800)]
Merge branch 'bugfix/fix_iperf_exit_error_v3.3' into 'release/v3.3'

examples: fix iperf exit error

See merge request idf/esp-idf!4845

6 years agoexamples: fix iperf exit error
xiehang [Mon, 22 Apr 2019 11:56:15 +0000 (19:56 +0800)]
examples: fix iperf exit error

6 years agoMerge branch 'test/modify_mesh_ci_v3.3' into 'release/v3.3'
He Yin Ling [Thu, 18 Apr 2019 03:29:54 +0000 (11:29 +0800)]
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

6 years agoMerge branch 'bugfix/fix_signal_test_bug_v3.3' into 'release/v3.3' v3.3-beta3
Jiang Jiang Jian [Wed, 17 Apr 2019 14:09:23 +0000 (22:09 +0800)]
Merge branch 'bugfix/fix_signal_test_bug_v3.3' into 'release/v3.3'

esp32: fix a bug caused by signal test code (backport v3.3)

See merge request idf/esp-idf!4813

6 years agoesp32: fix a bug caused by signal test code
liu zhifu [Wed, 17 Apr 2019 09:44:23 +0000 (17:44 +0800)]
esp32: fix a bug caused by signal test code

Fix a WiFi bug caused by signal test code.

6 years agotest:update mesh test cases for test(v3.3)
chenyudong [Mon, 17 Dec 2018 11:31:19 +0000 (19:31 +0800)]
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'

6 years agoMerge branch 'bugfix/fix_set_config_bug_for_bssid_set_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Tue, 16 Apr 2019 15:23:58 +0000 (23:23 +0800)]
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

6 years agowifi: fix the set config bug for bssid_set
zhangyanjiao [Tue, 16 Apr 2019 12:40:00 +0000 (20:40 +0800)]
wifi: fix the set config bug for bssid_set

6 years agoMerge branch 'bugfix/esp_efuse_get_pkg_ver_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Tue, 16 Apr 2019 12:33:36 +0000 (20:33 +0800)]
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

6 years agoMerge branch 'bugfix/fix_deprecated_warning_with_dfs_init_auto_config_v3.3' into...
Jiang Jiang Jian [Tue, 16 Apr 2019 12:32:51 +0000 (20:32 +0800)]
Merge branch 'bugfix/fix_deprecated_warning_with_dfs_init_auto_config_v3.3' into 'release/v3.3'

cpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option (v3.3)

See merge request idf/esp-idf!4790

6 years agoefuse: Fix excess data coming from uninitialized variable
GOPTIONS\pfrost [Mon, 15 Apr 2019 10:31:01 +0000 (11:31 +0100)]
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
6 years agocpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option
Mahavir Jain [Fri, 12 Apr 2019 10:03:33 +0000 (15:33 +0530)]
cpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option

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

6 years agoMerge branch 'feature/add_support_for_signal_test_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Mon, 15 Apr 2019 09:52:54 +0000 (17:52 +0800)]
Merge branch 'feature/add_support_for_signal_test_v3.3' into 'release/v3.3'

esp32: add support for WiFi signal test (backport v3.3)

See merge request idf/esp-idf!4759

6 years agoesp32: add support for WiFi signal test
liu zhifu [Sat, 13 Apr 2019 04:46:27 +0000 (12:46 +0800)]
esp32: add support for WiFi signal test

Add support for WiFi signal test

6 years agoMerge branch 'feature/wifi_refactor_softap_power_save_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Mon, 15 Apr 2019 02:09:55 +0000 (10:09 +0800)]
Merge branch 'feature/wifi_refactor_softap_power_save_v3.3' into 'release/v3.3'

refactor softap power save

See merge request idf/esp-idf!4766

6 years agorefactor softap power save
Jack [Sun, 14 Apr 2019 11:43:09 +0000 (19:43 +0800)]
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.

6 years agoMerge branch 'bugfix/nvs_fix_erase_any_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 14 Apr 2019 11:39:04 +0000 (19:39 +0800)]
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

6 years agoMerge branch 'bugfix/wifi_spike_power_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 14 Apr 2019 11:38:55 +0000 (19:38 +0800)]
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

6 years agoMerge branch 'bugfix/btdm_fix_memory_leak_when_set_txpwr_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 14 Apr 2019 08:55:52 +0000 (16:55 +0800)]
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

6 years agoMerge branch 'bugfix/improve_spi_timing_for_psram_and_flash_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 14 Apr 2019 08:27:35 +0000 (16:27 +0800)]
Merge branch 'bugfix/improve_spi_timing_for_psram_and_flash_v3.3' into 'release/v3.3'

bugfix(psram): improve spi cs timing settings for psram(v3.3)

See merge request idf/esp-idf!4763

6 years agowifi: fix the issue that the spike transmit power of WiFi is higher than configured...
Jack [Sat, 13 Apr 2019 18:23:08 +0000 (02:23 +0800)]
wifi: fix the issue that the spike transmit power of WiFi is higher than configured when WiFi and Bluetooth coexist

6 years agocomponent/bt: fix memory leak when settig tx power
zhiweijian [Sat, 13 Apr 2019 07:01:56 +0000 (15:01 +0800)]
component/bt: fix memory leak when settig tx power

6 years agonvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly
negativekelvin [Wed, 27 Mar 2019 14:44:56 +0000 (20:14 +0530)]
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

6 years agobugfix(psram): improve spi cs timing settings for psram
Wangjialin [Thu, 28 Mar 2019 13:31:14 +0000 (21:31 +0800)]
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)

6 years agoMerge branch 'bugfix/rename_ldgen_common_module_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 14 Apr 2019 06:21:01 +0000 (14:21 +0800)]
Merge branch 'bugfix/rename_ldgen_common_module_v3.3' into 'release/v3.3'

ldgen: rename common module(v3.3)

See merge request idf/esp-idf!4764

6 years agoldgen: rename common module
Renz Christian Bagaporo [Sat, 13 Apr 2019 00:59:32 +0000 (08:59 +0800)]
ldgen: rename common module

6 years agoMerge branch 'bugfix/name_conflict_esp32_project_ld_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 14 Apr 2019 02:29:39 +0000 (10:29 +0800)]
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

6 years agoMerge branch 'bugfix/increase_block_scan_timeout_value_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Fri, 12 Apr 2019 15:32:55 +0000 (23:32 +0800)]
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