]> granicus.if.org Git - esp-idf/log
esp-idf
4 years agoMerge branch 'bugfix/dns_bug_3.2' into 'release/v3.2' v3.2.1
Jiang Jiang Jian [Fri, 14 Jun 2019 03:34:50 +0000 (11:34 +0800)]
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

4 years agoMerge branch 'bugfix/btdm_coex_assert_in_lc_lmppdu_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Thu, 13 Jun 2019 14:36:58 +0000 (22:36 +0800)]
Merge branch 'bugfix/btdm_coex_assert_in_lc_lmppdu_v3.2' into 'release/v3.2'

components/bt: Fix assert due to alloc LMP TX buffer failed

See merge request idf/esp-idf!5215

4 years agolwip:fix dns bug for 3.2
xueyunfei [Thu, 13 Jun 2019 08:47:50 +0000 (16:47 +0800)]
lwip:fix dns bug for 3.2

4 years agocomponents/bt: Fix assert due to alloc LMP TX buffer failed
baohongde [Wed, 12 Jun 2019 11:25:59 +0000 (19:25 +0800)]
components/bt: Fix assert due to alloc LMP TX buffer failed

4 years agoMerge branch 'bugfix/custom_bootloader_subproject_build_v3.2' into 'release/v3.2'
Angus Gratton [Tue, 11 Jun 2019 00:26:08 +0000 (08:26 +0800)]
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

4 years agoMerge branch 'fix/mfg_util_3.2' into 'release/v3.2'
Angus Gratton [Mon, 10 Jun 2019 14:56:27 +0000 (22:56 +0800)]
Merge branch 'fix/mfg_util_3.2' into 'release/v3.2'

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

See merge request idf/esp-idf!5046

4 years agoMerge branch 'bugfix/https_doc_api_v3.2' into 'release/v3.2'
Mahavir Jain [Mon, 10 Jun 2019 03:49:57 +0000 (11:49 +0800)]
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

4 years agoMerge branch 'bugfix/reset_log_uart_port_v3.2' into 'release/v3.2'
Angus Gratton [Thu, 6 Jun 2019 08:19:22 +0000 (16:19 +0800)]
Merge branch 'bugfix/reset_log_uart_port_v3.2' into 'release/v3.2'

esp32: Add reset CONSOLE_UART port (v3.2)

See merge request idf/esp-idf!5121

4 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

4 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.

4 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.

4 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

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

4 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)

4 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

4 years agoMerge branch 'bugfix/fix_smartconfig_bug' into 'release/v3.2'
Jiang Jiang Jian [Tue, 28 May 2019 02:54:51 +0000 (10:54 +0800)]
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

4 years agoMerge branch 'bugfix/docs_build_failure_on_rtd_v3_2' into 'release/v3.2'
Angus Gratton [Mon, 27 May 2019 05:58:33 +0000 (13:58 +0800)]
Merge branch 'bugfix/docs_build_failure_on_rtd_v3_2' into 'release/v3.2'

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

See merge request idf/esp-idf!5061

4 years agoMerge branch 'feature/esp_http_client_mutual_auth_backport_v3.2' into 'release/v3.2'
Angus Gratton [Mon, 27 May 2019 05:16:47 +0000 (13:16 +0800)]
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

4 years agoFix Breathe version to avoid docs build failure on ReadTheDocs server. Provide RTD...
Krzysztof [Thu, 23 May 2019 11:57:43 +0000 (19:57 +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 esp-idf release. (backport v3.2)

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

4 years agoesp32: fix a smartconfig bug
liu zhifu [Wed, 22 May 2019 13:47:02 +0000 (21:47 +0800)]
esp32: fix a smartconfig bug

Fix a smartconfig bug which leads to deadlock between WiFi task and timer task.

4 years agoMerge branch 'bugfix/fix_softap_crash_when_sta_reset_3.2' into 'release/v3.2'
Jiang Jiang Jian [Wed, 22 May 2019 13:02:15 +0000 (21:02 +0800)]
Merge branch 'bugfix/fix_softap_crash_when_sta_reset_3.2' into 'release/v3.2'

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

See merge request idf/esp-idf!5001

5 years ago wifi: fix softap crash when sta (backport v3.2)
xiehang [Wed, 15 May 2019 07:56:53 +0000 (15:56 +0800)]
 wifi: fix softap crash when sta (backport v3.2)

5 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
5 years agoesp_http_client: Add support for mutual authentication
Anders Kalør [Sat, 10 Nov 2018 22:51:05 +0000 (23:51 +0100)]
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

5 years agoMerge branch 'bugfix/http_server_lf_term_hdr_backport_v3d2' into 'release/v3.2'
Angus Gratton [Mon, 13 May 2019 12:29:03 +0000 (20:29 +0800)]
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

5 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

5 years agoMerge branch 'bugfix/core_dump_flash_write_addr_check_v3.2' into 'release/v3.2'
Ivan Grokhotkov [Thu, 9 May 2019 11:45:48 +0000 (19:45 +0800)]
Merge branch 'bugfix/core_dump_flash_write_addr_check_v3.2' into 'release/v3.2'

Backport v3.2: Fixes freezing core dump with enabled flash write address checks

See merge request idf/esp-idf!4961

5 years agoesp32: Fixes freezing core dump process when flash write address checks are enabled
Alexey Gerenkov [Mon, 12 Nov 2018 21:26:07 +0000 (00:26 +0300)]
esp32: Fixes freezing core dump process when flash write address checks are enabled

5 years agoMerge branch 'bugfix/nvs_fix_erase_any_v3.2' into 'release/v3.2'
Angus Gratton [Wed, 8 May 2019 01:37:13 +0000 (09:37 +0800)]
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

5 years agoMerge branch 'bugfix/backport_some_wifi_bugs_to_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Tue, 7 May 2019 14:42:15 +0000 (22:42 +0800)]
Merge branch 'bugfix/backport_some_wifi_bugs_to_v3.2' into 'release/v3.2'

esp32: backport some WiFi fixes to v3.2 (backport v3.2)

See merge request idf/esp-idf!4937

5 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

5 years agoesp32: backport some WiFi fixes to v3.2
liu zhifu [Mon, 29 Apr 2019 12:13:31 +0000 (20:13 +0800)]
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

5 years agoMerge branch 'bugfix/scan_fail_when_no_ap_found_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Mon, 6 May 2019 03:39:31 +0000 (11:39 +0800)]
Merge branch 'bugfix/scan_fail_when_no_ap_found_v3.2' into 'release/v3.2'

fix the bug when scan fail after STA failed to connect to a nonexistent AP (backport v3.2)

See merge request idf/esp-idf!4913

5 years agofix the bug when scan fail after STA failed to connect to a nonexistent AP
zhangyanjiao [Sun, 5 May 2019 03:53:33 +0000 (11:53 +0800)]
fix the bug when scan fail after STA failed to connect to a nonexistent AP

5 years agoHTTP Server : Fix for tolerating LF terminated headers
Anurag Kar [Fri, 15 Mar 2019 21:20:13 +0000 (02:50 +0530)]
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

5 years agoMerge branch 'bugfix/erase_with_vtaskdelay_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sun, 28 Apr 2019 14:14:41 +0000 (22:14 +0800)]
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

5 years agoMerge branch 'bugfix/ci_submodule_paths_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sun, 28 Apr 2019 14:13:29 +0000 (22:13 +0800)]
Merge branch 'bugfix/ci_submodule_paths_v3.2' into 'release/v3.2'

CI - Fix the parsing of submodule paths (backport v3.2)

See merge request idf/esp-idf!4575

5 years agoMerge branch 'feature/himem_readme_backport_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sun, 28 Apr 2019 14:13:16 +0000 (22:13 +0800)]
Merge branch 'feature/himem_readme_backport_v3.2' into 'release/v3.2'

Proper README.md for himem example (backport v3.2)

See merge request idf/esp-idf!4304

5 years agoMerge branch 'bugfix/fix_iperf_exit_error_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sun, 28 Apr 2019 04:00:48 +0000 (12:00 +0800)]
Merge branch 'bugfix/fix_iperf_exit_error_v3.2' into 'release/v3.2'

examples: fix iperf exit error

See merge request idf/esp-idf!4842

5 years agoMerge branch 'bugfix/httpd_accept_conn_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sun, 28 Apr 2019 03:47:14 +0000 (11:47 +0800)]
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

5 years agoci: Fix the parsing of submodule paths
Anton Maklakov [Wed, 6 Mar 2019 11:37:34 +0000 (19:37 +0800)]
ci: Fix the parsing of submodule paths

5 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.
By default disable.

Closes: https://github.com/espressif/esp-idf/issues/2083
Closes: IDFGH-261
5 years agoMerge branch 'bugfix/adjtime_ut_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sun, 28 Apr 2019 02:36:55 +0000 (10:36 +0800)]
Merge branch 'bugfix/adjtime_ut_v3.2' into 'release/v3.2'

newlib: Fix adjtime (v3.2)

See merge request idf/esp-idf!4871

5 years agoMerge branch 'backport/bugfix_url_redirect_v32' into 'release/v3.2'
Jiang Jiang Jian [Sun, 28 Apr 2019 02:36:09 +0000 (10:36 +0800)]
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

5 years agoMerge branch 'bugfix/improve_spi_timing_for_psram_and_flash_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sun, 28 Apr 2019 02:35:41 +0000 (10:35 +0800)]
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

5 years agoProper README.md for himem example
Jeroen Domburg [Wed, 31 Oct 2018 10:56:21 +0000 (18:56 +0800)]
Proper README.md for himem example

5 years agoMerge branch 'bugfix/doc_ubuntu_packages_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sun, 28 Apr 2019 02:27:19 +0000 (10:27 +0800)]
Merge branch 'bugfix/doc_ubuntu_packages_v3.2' into 'release/v3.2'

docs: Update package dependencies (backport v3.2)

See merge request idf/esp-idf!4458

5 years agoMerge branch 'test/detect_exception_in_idf_dut_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sun, 28 Apr 2019 02:26:48 +0000 (10:26 +0800)]
Merge branch 'test/detect_exception_in_idf_dut_v3.2' into 'release/v3.2'

tiny-test-fw: support detect exception in IDFDUT (backport v3.2)

See merge request idf/esp-idf!4543

5 years agoMerge branch 'bugfix/msys_cancel_idfpy_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sun, 28 Apr 2019 02:26:10 +0000 (10:26 +0800)]
Merge branch 'bugfix/msys_cancel_idfpy_v3.2' into 'release/v3.2'

tools: re-run idf.py in MSYS with winpty (backport v3.2)

See merge request idf/esp-idf!4456

5 years agoMerge branch 'test/fix_unit_test_job_pass_even_no_test_executed_v3.2' into 'release...
Jiang Jiang Jian [Sun, 28 Apr 2019 02:25:53 +0000 (10:25 +0800)]
Merge branch 'test/fix_unit_test_job_pass_even_no_test_executed_v3.2' into 'release/v3.2'

test: fix CI UT job pass even ut app bootup fail (backport v3.2)

See merge request idf/esp-idf!4388

5 years agoMerge branch 'feature/poll_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sun, 28 Apr 2019 02:24:41 +0000 (10:24 +0800)]
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

5 years agoMerge branch 'bugfix/btdm_abort_if_deinit_spp_without_init_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 26 Apr 2019 13:01:35 +0000 (21:01 +0800)]
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

5 years agoMerge branch 'feature/esp_http_client_global_ca_store_v3.2' into 'release/v3.2'
Angus Gratton [Fri, 26 Apr 2019 02:08:23 +0000 (10:08 +0800)]
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

5 years agoMerge branch 'backport/feature_set_redirect_function_v32' into 'release/v3.2'
Angus Gratton [Fri, 26 Apr 2019 02:07:04 +0000 (10:07 +0800)]
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

5 years agoMerge branch 'feature/btdm_add_ble_link_timeout_config_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Thu, 25 Apr 2019 12:05:19 +0000 (20:05 +0800)]
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

5 years agoMerge branch 'feature/wifi_refactor_softap_power_save_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Thu, 25 Apr 2019 09:05:49 +0000 (17:05 +0800)]
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

5 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).

5 years agoesp_http_client: add support for using certs from global ca store
Mahavir Jain [Wed, 20 Feb 2019 07:18:45 +0000 (12:48 +0530)]
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 27e00cf7aa4611201ca6582ef20236291dc7ee58)

5 years agoAdd a `esp_http_client_set_redirection` function When using direct operations instead...
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

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
5 years agocomponents/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
baohongde [Wed, 24 Apr 2019 03:34:06 +0000 (11:34 +0800)]
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init

5 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>
5 years agobugfix: fix bug in flash 80M + sram 40M mode
Wangjialin [Mon, 8 Apr 2019 09:36:12 +0000 (17:36 +0800)]
bugfix: fix bug in flash 80M + sram 40M mode

5 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)

5 years agoMerge branch 'bugfix/remove_second_sha_enable_v3.2' into 'release/v3.2'
Angus Gratton [Mon, 22 Apr 2019 23:38:00 +0000 (07:38 +0800)]
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

5 years agoComponent/bt: add ble link timeout config in menuconfig
zhiweijian [Tue, 16 Apr 2019 03:11:08 +0000 (11:11 +0800)]
Component/bt: add ble link timeout config in menuconfig
- add ble link timeout config in menuconfig
- disable background connection when call gatts_open

5 years agoexamples: fix iperf exit error
xiehang [Mon, 22 Apr 2019 05:02:42 +0000 (13:02 +0800)]
examples: fix iperf exit error

5 years agorefactor softap power save
XiaXiaotian [Thu, 18 Apr 2019 08:50:46 +0000 (16:50 +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.

5 years agoMerge branch 'bugfix/coex_decouple_wifi_and_bt_code_with_coexist_v3.2' into 'release...
Jiang Jiang Jian [Fri, 19 Apr 2019 05:31:06 +0000 (13:31 +0800)]
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

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

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

5 years agoDecouple WiFi and BT with coexist to reduce bin size
XiaXiaotian [Wed, 20 Feb 2019 13:01:27 +0000 (21:01 +0800)]
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.

5 years agoMerge branch 'bugfix/fix_some_wifi_and_coexist_bugs_0416_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Wed, 17 Apr 2019 06:24:32 +0000 (14:24 +0800)]
Merge branch 'bugfix/fix_some_wifi_and_coexist_bugs_0416_v3.2' into 'release/v3.2'

esp32: fix some WiFi and coexist bugs (backport v3.2)

See merge request idf/esp-idf!4803

5 years agoesp32: fix some WiFi and coexist bugs
liu zhifu [Tue, 16 Apr 2019 13:26:20 +0000 (21:26 +0800)]
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

5 years agoMerge branch 'bugfix/fix_scan_and_connect_bugs_0415_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Tue, 16 Apr 2019 13:09:15 +0000 (21:09 +0800)]
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

5 years agoMerge branch 'bugfix/fix_deprecated_warning_with_dfs_init_auto_config_v3.2' into...
Jiang Jiang Jian [Tue, 16 Apr 2019 12:30:09 +0000 (20:30 +0800)]
Merge branch 'bugfix/fix_deprecated_warning_with_dfs_init_auto_config_v3.2' into 'release/v3.2'

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

See merge request idf/esp-idf!4791

5 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

5 years agoMerge branch 'bugfix/btdm_bugx_backport_3.2' into 'release/v3.2'
Jiang Jiang Jian [Tue, 16 Apr 2019 02:45:04 +0000 (10:45 +0800)]
Merge branch 'bugfix/btdm_bugx_backport_3.2' into 'release/v3.2'

Some bugs backport 3.2

See merge request idf/esp-idf!4773

5 years agoMerge branch 'bugfix/freemodbus_fix_critical_sections' into 'release/v3.2'
Angus Gratton [Tue, 16 Apr 2019 00:53:23 +0000 (08:53 +0800)]
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

5 years agoesp32/sha: Remove second enabling in esp_sha_lock_engine_common
Konstantin Kondrashov [Wed, 10 Apr 2019 12:49:27 +0000 (20:49 +0800)]
esp32/sha: Remove second enabling in esp_sha_lock_engine_common

5 years agofix wifi scan and connect bugs:
zhangyanjiao [Mon, 15 Apr 2019 08:10:25 +0000 (16:10 +0800)]
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

5 years agoMerge branch 'bugfix/btdm_fix_warning_when_disable_logs_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Mon, 15 Apr 2019 10:52:09 +0000 (18:52 +0800)]
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

5 years agoMerge branch 'bugfix/btdm_fix_build_warning_when_bluedroid_disable_log_v3.2' into...
Jiang Jiang Jian [Mon, 15 Apr 2019 10:50:58 +0000 (18:50 +0800)]
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

5 years agoMerge branch 'mesh/decouple_addition_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Mon, 15 Apr 2019 09:06:00 +0000 (17:06 +0800)]
Merge branch 'mesh/decouple_addition_v3.2' into 'release/v3.2'

Decouple Wifi and ESP-Mesh to reduce bin size (backport v3.2)

See merge request idf/esp-idf!4523

5 years agoSome bugs backport 3.2
baohongde [Mon, 15 Apr 2019 08:51:29 +0000 (16:51 +0800)]
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

5 years agoDecouple Wifi and ESP-Mesh to reduce bin size
chenyudong [Sun, 14 Apr 2019 12:36:14 +0000 (20:36 +0800)]
Decouple Wifi and ESP-Mesh to reduce bin size

Do not link mesh code when mesh is not used

5 years agoMerge branch 'bugfix/esp_sha_signing_sha256_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sat, 13 Apr 2019 18:57:45 +0000 (02:57 +0800)]
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

5 years agoMerge branch 'bugfix/cmake_component_path_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sat, 13 Apr 2019 18:57:16 +0000 (02:57 +0800)]
Merge branch 'bugfix/cmake_component_path_v3.2' into 'release/v3.2'

cmake: Set COMPONENT_PATH during early expansion of dependencies (v3.2)

See merge request idf/esp-idf!4594

5 years agoMerge branch 'feature/btdm_add_mesh_adv_type_and_srv_uuid_for_dup_scan_except_v3...
Jiang Jiang Jian [Sat, 13 Apr 2019 18:56:43 +0000 (02:56 +0800)]
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

5 years agoMerge branch 'bugfix/ci_tag_for_cmake_linter_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sat, 13 Apr 2019 18:55:38 +0000 (02:55 +0800)]
Merge branch 'bugfix/ci_tag_for_cmake_linter_v3.2' into 'release/v3.2'

ci: A small CI stabilizing fix (backport v3.2)

See merge request idf/esp-idf!4710

5 years agoMerge branch 'bugfix/bootloader_flash_crypt_cnt_ff_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sat, 13 Apr 2019 18:55:21 +0000 (02:55 +0800)]
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

5 years agoMerge branch 'bugfix/wifi_modify_wifi_kconfig_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 12 Apr 2019 15:11:24 +0000 (23:11 +0800)]
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

5 years agoMerge branch 'bugfix/mesh_memory_leak_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 12 Apr 2019 14:02:08 +0000 (22:02 +0800)]
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

5 years agoMerge branch 'bugfix/btdm_modify_HCI_GET_CMD_BUF_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 12 Apr 2019 13:58:51 +0000 (21:58 +0800)]
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

5 years agoMerge branch 'bugfix/btdm_add_scan_window_interval_check_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 12 Apr 2019 13:57:50 +0000 (21:57 +0800)]
Merge branch 'bugfix/btdm_add_scan_window_interval_check_v3.2' into 'release/v3.2'

Component/bt: add scan window and interval check when set scan params (backport v3.2)

See merge request idf/esp-idf!4311

5 years agoMerge branch 'bugfix/btdm_fix_blufi_prepare_write_crash_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 12 Apr 2019 13:57:23 +0000 (21:57 +0800)]
Merge branch 'bugfix/btdm_fix_blufi_prepare_write_crash_v3.2' into 'release/v3.2'

Component/bt: fix blufi prepare write crash (backport V3.2)

See merge request idf/esp-idf!4563

5 years agoMerge branch 'bugfix/btdm_fix_iOS_and_win10_compatibility_error_for_HID_v3.2' into...
Jiang Jiang Jian [Fri, 12 Apr 2019 13:56:40 +0000 (21:56 +0800)]
Merge branch 'bugfix/btdm_fix_iOS_and_win10_compatibility_error_for_HID_v3.2' into 'release/v3.2'

Component/bt: fix iOS and win10 compatibility error  for HID (backport v3.2)

See merge request idf/esp-idf!4424

5 years agoefuse/flash encryption: Reduce FLASH_CRYPT_CNT to a 7 bit efuse field
Angus Gratton [Thu, 28 Mar 2019 23:28:42 +0000 (10:28 +1100)]
efuse/flash encryption: Reduce FLASH_CRYPT_CNT to a 7 bit efuse field

8th bit is not used by hardware.

As reported https://esp32.com/viewtopic.php?f=2&t=7800&p=40895#p40894

5 years agoMerge branch 'bugfix/prov_fix_conn_id_v3.2' into 'release/v3.2'
Angus Gratton [Fri, 12 Apr 2019 05:46:06 +0000 (13:46 +0800)]
Merge branch 'bugfix/prov_fix_conn_id_v3.2' into 'release/v3.2'

(backport v3.2) Unified Provisioning: Miscellaneous fixes in BLE

See merge request idf/esp-idf!4734

5 years agoesp32: Chunk input blocks for esp_sha() function performance, add perf test
Angus Gratton [Mon, 11 Mar 2019 07:24:32 +0000 (18:24 +1100)]
esp32: Chunk input blocks for esp_sha() function performance, add perf test