]> granicus.if.org Git - esp-idf/log
esp-idf
4 years agoMerge branch 'fix/update_curr_page_state_3.1' into 'release/v3.1' v3.1.5
Angus Gratton [Mon, 1 Jul 2019 06:20:46 +0000 (14:20 +0800)]
Merge branch 'fix/update_curr_page_state_3.1' into 'release/v3.1'

nvs_util: Set previous page state to FULL before creating new page (v3.1)

See merge request idf/esp-idf!5329

4 years agoMerge branch 'bugfix/select_init_sem_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 1 Jul 2019 06:20:01 +0000 (14:20 +0800)]
Merge branch 'bugfix/select_init_sem_v3.1' into 'release/v3.1'

VFS: Allocate socket select semaphore outside ISR (backport v3.1)

See merge request idf/esp-idf!4988

4 years agoMerge branch 'bugfix/fix_wpa2_vulnerability_and_lwip_window_scale_v3.1' into 'release...
Jiang Jiang Jian [Mon, 1 Jul 2019 03:31:39 +0000 (11:31 +0800)]
Merge branch 'bugfix/fix_wpa2_vulnerability_and_lwip_window_scale_v3.1' into 'release/v3.1'

esp32/lfix wpa2-enterprise vulnerability and support lwindow scale (backport v3.1)

See merge request idf/esp-idf!5410

4 years agoesp32/lwip: fix wpa2-enterprise vulnerability and support lwip window scale
liu zhifu [Sun, 30 Jun 2019 09:06:45 +0000 (17:06 +0800)]
esp32/lwip: fix wpa2-enterprise vulnerability and support lwip window scale

1. Fix WiFi wpa2-enterprise vulnerability bug
2. Support LWIP window scale

4 years agoMerge branch 'bugfix/xTaskIncrementTick_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sun, 30 Jun 2019 10:01:14 +0000 (18:01 +0800)]
Merge branch 'bugfix/xTaskIncrementTick_v3.1' into 'release/v3.1'

freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1 (v3.1)

See merge request idf/esp-idf!5036

4 years agoMerge branch 'bugfix/fix_some_wifi_bugs_0508_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sun, 30 Jun 2019 09:56:52 +0000 (17:56 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs_0508_v3.1' into 'release/v3.1'

esp32: fix some WiFi bugs 0508 (backport v3.1)

See merge request idf/esp-idf!5139

4 years agoesp32: fix some WiFi bugs
liu zhifu [Fri, 26 Apr 2019 05:50:06 +0000 (13:50 +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. Fix the bug that WiFi stop leads to task watchdog

4 years agoMerge branch 'bugfix/spi_flash_deadlock_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 28 Jun 2019 03:11:43 +0000 (11:11 +0800)]
Merge branch 'bugfix/spi_flash_deadlock_v3.1' into 'release/v3.1'

spi_flash: raise priority of the task performing spi_flash operation

See merge request idf/esp-idf!5360

4 years agofreertos/test: Add unit tests for xTaskIncrementTick
Konstantin Kondrashov [Thu, 25 Apr 2019 05:04:31 +0000 (13:04 +0800)]
freertos/test: Add unit tests for xTaskIncrementTick

4 years agofreertos: Fix xTaskIncrementTick for unwind the Tick for CPU1
Konstantin Kondrashov [Thu, 25 Apr 2019 05:03:01 +0000 (13:03 +0800)]
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
4 years agoMerge branch 'bugfix/fix_some_wps_bugs_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 27 Jun 2019 11:18:58 +0000 (19:18 +0800)]
Merge branch 'bugfix/fix_some_wps_bugs_v3.1' into 'release/v3.1'

wps: add overlap event (backport v3.1)

See merge request idf/esp-idf!5205

4 years agoMerge branch 'bugfix/btdm_backport_3_bugs_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 27 Jun 2019 06:30:55 +0000 (14:30 +0800)]
Merge branch 'bugfix/btdm_backport_3_bugs_v3.1' into 'release/v3.1'

Bugfix/btdm backport 3 bugs v3.1

See merge request idf/esp-idf!5177

4 years agowps: add overlap event (backport v3.1)
xiehang [Wed, 12 Jun 2019 06:40:29 +0000 (14:40 +0800)]
wps: add overlap event (backport v3.1)

4 years agoMerge branch 'bugfix/console_allow_buffered_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 27 Jun 2019 00:33:26 +0000 (08:33 +0800)]
Merge branch 'bugfix/console_allow_buffered_v3.1' into 'release/v3.1'

console example: use buffered stdout by default (backport v3.1)

See merge request idf/esp-idf!5300

4 years agoMerge branch 'bugfix/win_fullclean_symlink_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 27 Jun 2019 00:32:39 +0000 (08:32 +0800)]
Merge branch 'bugfix/win_fullclean_symlink_v3.1' into 'release/v3.1'

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

See merge request idf/esp-idf!4926

4 years agonvs_util: Set previous page state to FULL before creating new page
Shivani Tipnis [Mon, 24 Jun 2019 05:49:09 +0000 (11:19 +0530)]
nvs_util: Set previous page state to FULL before creating new page

4 years agoMerge branch 'bugfix/improve_flash_dio_read_timing_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 26 Jun 2019 08:59:26 +0000 (16:59 +0800)]
Merge branch 'bugfix/improve_flash_dio_read_timing_v3.1' into 'release/v3.1'

bugfix(flash): fix flash dio read mode configuration error on SPI0 (backport v3.1)

See merge request idf/esp-idf!5290

4 years agoMerge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error_v3.1' into...
Jiang Jiang Jian [Wed, 26 Jun 2019 08:47:03 +0000 (16:47 +0800)]
Merge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error_v3.1' into 'release/v3.1'

component/bt: fix unpack hci enhance connection complete event error(backport v3.1)

See merge request idf/esp-idf!5283

4 years agospi_flash: raise priority of the task performing spi_flash operation
Ivan Grokhotkov [Mon, 30 Oct 2017 10:53:39 +0000 (18:53 +0800)]
spi_flash: raise priority of the task performing spi_flash operation

Fixes https://github.com/espressif/arduino-esp32/issues/740

4 years agoMerge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth_v3...
Jiang Jiang Jian [Wed, 26 Jun 2019 06:05:29 +0000 (14:05 +0800)]
Merge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth_v3.1' into 'release/v3.1'

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

See merge request idf/esp-idf!5073

4 years agoMerge branch 'feature/add_nimble_ssc_backport_for_3.1' into 'release/v3.1'
He Yin Ling [Tue, 25 Jun 2019 15:19:09 +0000 (23:19 +0800)]
Merge branch 'feature/add_nimble_ssc_backport_for_3.1' into 'release/v3.1'

test: modify test cases for bluedroid (backport v3.1)

See merge request idf/esp-idf!5214

4 years agotest: modify test cases for bluedroid (backport v3.1)
Chen Sheng [Tue, 25 Jun 2019 15:19:08 +0000 (23:19 +0800)]
test: modify test cases for bluedroid (backport v3.1)

4 years agoMerge branch 'test/fix_some_error_wifi_cases_v3.1' into 'release/v3.1'
He Yin Ling [Thu, 20 Jun 2019 14:10:56 +0000 (22:10 +0800)]
Merge branch 'test/fix_some_error_wifi_cases_v3.1' into 'release/v3.1'

test: fix some wifi case issues (backport v3.1)

See merge request idf/esp-idf!5253

4 years agoexamples: don't enable buffering on stdout in console examples
Ivan Grokhotkov [Wed, 13 Mar 2019 12:19:55 +0000 (20:19 +0800)]
examples: don't enable buffering on stdout in console examples

newlib uses significantly more stack space when printing to an
unbuffered stream. To reduce the amount of stack space required to
use the console, don’t disable buffering. linenoise should support
unbuffered stdout instead.

4 years agoconsole/linenoise: support buffered stdout
Ivan Grokhotkov [Wed, 13 Mar 2019 12:17:25 +0000 (20:17 +0800)]
console/linenoise: support buffered stdout

4 years agoMerge branch 'bugfix/ticks_to_wait_for_uart_and_i2c_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 20 Jun 2019 06:24:53 +0000 (14:24 +0800)]
Merge branch 'bugfix/ticks_to_wait_for_uart_and_i2c_v3.1' into 'release/v3.1'

driver: Fix ticks_to_wait for uart and i2c (v3.1)

See merge request idf/esp-idf!5249

4 years agobugfix(flash): improve flash dio read timing
chenjianqiang [Mon, 20 May 2019 07:26:52 +0000 (15:26 +0800)]
bugfix(flash): improve flash dio read timing

When flash work in DIO Mode, in order to ensure the fast read mode of flash
is a fixed value, we merged the mode bits into address part, and the fast
read mode value is 0 (the default value).

4 years agocomponent/bt: fix unpack hci enhance connection complete event error
zhiweijian [Fri, 26 Apr 2019 07:53:03 +0000 (15:53 +0800)]
component/bt: fix unpack hci enhance connection complete event error

4 years agoMerge branch 'bugfix/spi_concurrency_3.1' into 'release/v3.1'
Jeroen Domburg [Wed, 19 Jun 2019 02:48:44 +0000 (10:48 +0800)]
Merge branch 'bugfix/spi_concurrency_3.1' into 'release/v3.1'

spi_master: fix a possible concurrency issue

See merge request idf/esp-idf!5188

4 years agotest: fix some wifi case issues:
He Yin Ling [Thu, 13 Jun 2019 03:14:39 +0000 (11:14 +0800)]
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

4 years agodriver: Add uart and i2c UTs to check ticks_to_wait in some functions
Konstantin Kondrashov [Tue, 4 Jun 2019 04:17:55 +0000 (12:17 +0800)]
driver: Add uart and i2c UTs to check ticks_to_wait in some functions

4 years agouart: Fix ticks_to_wait when 0 or expired
Konstantin Kondrashov [Fri, 17 May 2019 13:29:45 +0000 (21:29 +0800)]
uart: Fix ticks_to_wait when 0 or expired

Closes: https://github.com/espressif/esp-idf/issues/3301
Closes: IDFGH-964
4 years agoi2c: Fix ticks_to_wait when 0 or time expired
Konstantin Kondrashov [Fri, 17 May 2019 13:27:05 +0000 (21:27 +0800)]
i2c: Fix ticks_to_wait when 0 or time expired

Closes: https://github.com/espressif/esp-idf/issues/3301
Closes: IDFGH-964
4 years agoMerge branch 'bugfix/improve_spi_timing_for_psram_and_flash_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 14 Jun 2019 03:59:45 +0000 (11:59 +0800)]
Merge branch 'bugfix/improve_spi_timing_for_psram_and_flash_v3.1' into 'release/v3.1'

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

See merge request idf/esp-idf!4908

4 years agospi: fix a possible concurrency issue
Michael (XIAO Xufeng) [Fri, 31 May 2019 07:23:10 +0000 (15:23 +0800)]
spi: fix a possible concurrency issue

4 years agocomponents/bt: Fix assert due to alloc LMP TX buffer failed
baohongde [Mon, 10 Jun 2019 09:50:54 +0000 (17:50 +0800)]
components/bt: Fix assert due to alloc LMP TX buffer failed

4 years agocomponent/bt: Allow configuration of default SCO_DATA_PATH in bluetooth controller
baohongde [Mon, 10 Jun 2019 09:46:37 +0000 (17:46 +0800)]
component/bt: Allow configuration of default SCO_DATA_PATH in bluetooth controller

4 years agoadd missing source files to CMakeLists for HFP
baohongde [Mon, 10 Jun 2019 11:17:34 +0000 (19:17 +0800)]
add missing source files to CMakeLists for HFP

4 years agocomponent/bt: fix some performance issues in A2DP source data flow control
wangmengyang [Sun, 5 May 2019 03:42:27 +0000 (11:42 +0800)]
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

4 years agoMerge branch 'feature/add_ping_packet_len_and_QoS_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 10 Jun 2019 07:48:20 +0000 (15:48 +0800)]
Merge branch 'feature/add_ping_packet_len_and_QoS_v3.1' into 'release/v3.1'

add ping length and QoS (backport v3.1)

See merge request idf/esp-idf!5148

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

esp32: Add reset CONSOLE_UART port (v3.1)

See merge request idf/esp-idf!5122

4 years agoadd ping length and QoS
zhangyanjiao [Thu, 6 Jun 2019 06:28:50 +0000 (14:28 +0800)]
add ping length and QoS

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

bootloader_support: Fix UART RXD pin for console output (CUSTOM option) (v3.1)

See merge request idf/esp-idf!5033

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

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

See merge request idf/esp-idf!5083

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 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 agoMerge branch 'bugfix/docs_build_failure_on_rtd_v3_1' into 'release/v3.1'
Angus Gratton [Mon, 27 May 2019 05:59:40 +0000 (13:59 +0800)]
Merge branch 'bugfix/docs_build_failure_on_rtd_v3_1' into 'release/v3.1'

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

See merge request idf/esp-idf!5062

4 years agowifi bugfix:
zhangyanjiao [Fri, 24 May 2019 10:06:24 +0000 (18:06 +0800)]
wifi bugfix:
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

4 years agoFix Breathe version to avoid docs build failure on ReadTheDocs server. Provide RTD...
Krzysztof [Thu, 23 May 2019 12:04:39 +0000 (20:04 +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.1)

4 years agoMerge branch 'bugfix/fix_softap_crash_when_sta_reset_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 23 May 2019 08:17:50 +0000 (16:17 +0800)]
Merge branch 'bugfix/fix_softap_crash_when_sta_reset_v3.1' into 'release/v3.1'

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

See merge request idf/esp-idf!5002

5 years agowifi: fix softap crash when sta reset (backport v3.1)
xiehang [Wed, 15 May 2019 08:31:53 +0000 (16:31 +0800)]
wifi: fix softap crash when sta reset (backport v3.1)

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

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

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

See merge request idf/esp-idf!4960

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/scan_fail_when_no_ap_found_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 6 May 2019 03:39:33 +0000 (11:39 +0800)]
Merge branch 'bugfix/scan_fail_when_no_ap_found_v3.1' into 'release/v3.1'

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

See merge request idf/esp-idf!4914

5 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

5 years agofix the bug when scan fail after STA failed to connect to a nonexistent AP
zhangyanjiao [Tue, 30 Apr 2019 08:50:29 +0000 (16:50 +0800)]
fix the bug when scan fail after STA failed to connect to a nonexistent AP

5 years agoMerge branch 'bugfix/fix_some_sta_certification_issues_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 30 Apr 2019 06:53:06 +0000 (14:53 +0800)]
Merge branch 'bugfix/fix_some_sta_certification_issues_v3.1' into 'release/v3.1'

esp32: fix some STA certification issues (backport v3.1)

See merge request idf/esp-idf!4902

5 years agobugfix(psram): improve spi cs timing settings for psram
chenjianqiang [Tue, 30 Apr 2019 02:50:50 +0000 (10:50 +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 agoesp32: fix some STA certification issues
liu zhifu [Mon, 29 Apr 2019 12:13:31 +0000 (20:13 +0800)]
esp32: fix some STA certification issues

Fix following WiFi STA certification issues:
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

5 years agoMerge branch 'bugfix/fix_the_PMK_bug_and_wifi_reason_code_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 29 Apr 2019 02:52:18 +0000 (10:52 +0800)]
Merge branch 'bugfix/fix_the_PMK_bug_and_wifi_reason_code_v3.1' into 'release/v3.1'

fix the PMK bug and wifi reason code (backport v3.1)

See merge request idf/esp-idf!4895

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

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

See merge request idf/esp-idf!4572

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

nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly (v3.1)

See merge request idf/esp-idf!4818

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

examples:  fix iperf exit error

See merge request idf/esp-idf!4841

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 agowifi bugfixs:
zhangyanjiao [Sun, 28 Apr 2019 03:27:24 +0000 (11:27 +0800)]
wifi bugfixs:
1. modify wifi reason code
2. fix the bug PMK recal too long

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 agoMerge branch 'bugfix/adjtime_ut_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sun, 28 Apr 2019 02:40:27 +0000 (10:40 +0800)]
Merge branch 'bugfix/adjtime_ut_v3.1' into 'release/v3.1'

newlib: Fix adjtime (v3.1)

See merge request idf/esp-idf!4873

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

spi_flash: Add vTaskDelay while a long erasing (v3.1)

See merge request idf/esp-idf!4874

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

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

See merge request idf/esp-idf!4693

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

mdns: fix crash after init if no memory for task (Backport 3.1)

See merge request idf/esp-idf!4238

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

Component/bt: modify HCI_GET_CMD_BUF (backport v3.1)

See merge request idf/esp-idf!4600

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

components/bt: Fix warning when disable debug logs or in release mode and…

See merge request idf/esp-idf!4622

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

components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init

See merge request idf/esp-idf!4863

5 years agoMerge branch 'bugfix/external_rtc_start_fail_v3.1' into 'release/v3.1'
Angus Gratton [Fri, 26 Apr 2019 09:18:17 +0000 (17:18 +0800)]
Merge branch 'bugfix/external_rtc_start_fail_v3.1' into 'release/v3.1'

Bugfix/external rtc start fail (v3.1)

See merge request idf/esp-idf!4661

5 years agoFix external start fail
maojianxin [Sat, 22 Dec 2018 06:19:46 +0000 (14:19 +0800)]
Fix external start fail

5 years agosoc/rtc: Bypass touchpad current to external 32k crystal oscillator
Zhang Jun Yi [Wed, 23 May 2018 07:24:09 +0000 (15:24 +0800)]
soc/rtc: Bypass touchpad current to external 32k crystal oscillator

5 years agoMerge branch 'bugfix/add_bootloader_flash_erase_range' into 'release/v3.1'
Angus Gratton [Fri, 26 Apr 2019 01:53:12 +0000 (09:53 +0800)]
Merge branch 'bugfix/add_bootloader_flash_erase_range' into 'release/v3.1'

bootloader: add API for erasing flash region (backport v3.1)

See merge request idf/esp-idf!4858

5 years agoMerge branch 'feature/btdm_add_ble_link_timeout_config_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 25 Apr 2019 12:05:10 +0000 (20:05 +0800)]
Merge branch 'feature/btdm_add_ble_link_timeout_config_v3.1' into 'release/v3.1'

Component/bt: add ble link timeout config in menuconfig(backport v3.1)

See merge request idf/esp-idf!4828

5 years agoMerge branch 'bugfix/wifi_spike_power_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 25 Apr 2019 08:24:07 +0000 (16:24 +0800)]
Merge branch 'bugfix/wifi_spike_power_v3.1' into 'release/v3.1'

esp32: fix the issue that the spike transmit power of WiFi is higher than configured when WiFi and Bluetooth coexist (backport v3.1)

See merge request idf/esp-idf!4614

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 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 agocomponents/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
baohongde [Wed, 24 Apr 2019 03:37:14 +0000 (11:37 +0800)]
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init

5 years agospi_flash: fix erase_range for block erase check
Mahavir Jain [Mon, 27 Aug 2018 16:24:20 +0000 (21:54 +0530)]
spi_flash: fix erase_range for block erase check

Erase in block (64k) as much as possible, before falling back
to sector (4k) erase.

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
5 years agobootloader: add API for erasing flash region
Mahavir Jain [Fri, 24 Aug 2018 12:28:04 +0000 (17:58 +0530)]
bootloader: add API for erasing flash region

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
Closes: https://github.com/espressif/esp-idf/issues/2166
5 years agofix iperf exit error
xiehang [Tue, 16 Apr 2019 04:09:33 +0000 (12:09 +0800)]
fix iperf exit error

5 years agoMerge branch 'bugfix/mdns_networking_refactoring_3.1_mdns_patch' into 'release/v3.1'
Angus Gratton [Tue, 23 Apr 2019 02:34:40 +0000 (10:34 +0800)]
Merge branch 'bugfix/mdns_networking_refactoring_3.1_mdns_patch' into 'release/v3.1'

mdns: workarround in 3.1 to fix missing netif re-probing when ip changed in link-local addressing

See merge request idf/esp-idf!4715

5 years agoMerge branch 'bugfix/remove_second_sha_enable_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 22 Apr 2019 23:37:39 +0000 (07:37 +0800)]
Merge branch 'bugfix/remove_second_sha_enable_v3.1' into 'release/v3.1'

esp32/sha: Remove second enabling in esp_sha_lock_engine_common (backport v3.1)

See merge request idf/esp-idf!4781

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 agoesp32: fix the issue that the spike transmit power of WiFi is higher
XiaXiaotian [Mon, 25 Mar 2019 06:13:09 +0000 (14:13 +0800)]
esp32: fix the issue that the spike transmit power of WiFi is higher
than configured when WiFi and Bluetooth coexist

5 years agoMerge branch 'test/modify_mesh_ci_v3.1' into 'release/v3.1'
He Yin Ling [Thu, 18 Apr 2019 03:29:26 +0000 (11:29 +0800)]
Merge branch 'test/modify_mesh_ci_v3.1' into 'release/v3.1'

test: updat  mesh test cases for ci (backport v3.1)

See merge request idf/esp-idf!4649

5 years agoMerge branch 'bugfix/fix_signal_test_bug_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 17 Apr 2019 14:48:47 +0000 (22:48 +0800)]
Merge branch 'bugfix/fix_signal_test_bug_v3.1' into 'release/v3.1'

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

See merge request idf/esp-idf!4814

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

Fix a WiFi bug caused by signal test code.

5 years agotest:update mesh test cases for ci(v3.1)
luchangjie [Tue, 19 Mar 2019 11:36:09 +0000 (19:36 +0800)]
test:update mesh test cases for ci(v3.1)

update TC_IT_MESH_EST.yml and TC_IT_MESH_COMM.yml

change mesh ci case form T50 to T12 in gitlab-ci.yml

add some test ENV in components/idf_test/integration_test/TEST_ENV_SSC.yml

5 years agoMerge branch 'bugfix/bootloader_flash_crypt_cnt_ff_v3.1' into 'release/v3.1'
Angus Gratton [Tue, 16 Apr 2019 00:07:42 +0000 (08:07 +0800)]
Merge branch 'bugfix/bootloader_flash_crypt_cnt_ff_v3.1' into 'release/v3.1'

flash encryption: reduce FLASH_CRYPT_CNT bit width to 7 bits (v3.1)

See merge request idf/esp-idf!4729

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 agoMerge branch 'feature/add_support_for_signal_test_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 15 Apr 2019 09:45:50 +0000 (17:45 +0800)]
Merge branch 'feature/add_support_for_signal_test_v3.1' into 'release/v3.1'

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

See merge request idf/esp-idf!4754