]> granicus.if.org Git - esp-idf/log
esp-idf
4 years agoMerge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail_v3.2' into 'release... v3.2.3
Jiang Jiang Jian [Fri, 6 Sep 2019 03:44:09 +0000 (11:44 +0800)]
Merge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail_v3.2' into 'release/v3.2'

fix the bug for WPA_WPA2_PSK connection fail(backport v3.2)

See merge request espressif/esp-idf!6007

4 years ago1. fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP
zhangyanjiao [Thu, 5 Sep 2019 10:03:15 +0000 (18:03 +0800)]
1. fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP
2. fix the bug for softAP set authmode

4 years agoMerge branch 'bugfix/flash_encryption_disable_plaintext_v3.2' into 'release/v3.2'
Angus Gratton [Thu, 5 Sep 2019 09:26:04 +0000 (17:26 +0800)]
Merge branch 'bugfix/flash_encryption_disable_plaintext_v3.2' into 'release/v3.2'

flash encryption: Add config option to disable any plaintext reflashes (v3.2)

See merge request espressif/esp-idf!5998

4 years agoflash encryption: Add config option to disable any plaintext reflashes
Angus Gratton [Wed, 12 Jun 2019 01:03:42 +0000 (11:03 +1000)]
flash encryption: Add config option to disable any plaintext reflashes

Enabled by default when Secure Boot is on, so Flash Encryption protection
is always available in case of a Secure Boot bypass.

4 years agoMerge branch 'test/use_correct_config_for_nvs_compatible_case_v3.2' into 'release...
Angus Gratton [Thu, 5 Sep 2019 08:51:30 +0000 (16:51 +0800)]
Merge branch 'test/use_correct_config_for_nvs_compatible_case_v3.2' into 'release/v3.2'

test: fix nvs compatible case error (backport v3.2)

See merge request espressif/esp-idf!5893

4 years agoMerge branch 'bugfix/fix_i2s_channels_swapped_issue_v3.2' into 'release/v3.2'
Angus Gratton [Tue, 3 Sep 2019 05:36:29 +0000 (13:36 +0800)]
Merge branch 'bugfix/fix_i2s_channels_swapped_issue_v3.2' into 'release/v3.2'

Bugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.2.

See merge request espressif/esp-idf!5898

4 years agoMerge branch 'bugfix/coex_bb_reset_lock_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Mon, 2 Sep 2019 06:26:03 +0000 (14:26 +0800)]
Merge branch 'bugfix/coex_bb_reset_lock_v3.2' into 'release/v3.2'

fix bug that wifi start/stop may cause crash

See merge request espressif/esp-idf!5969

4 years agofix bug that wifi start/stop may cause crash
Tian Hao [Thu, 22 Aug 2019 12:01:51 +0000 (20:01 +0800)]
fix bug that wifi start/stop may cause crash

1. fix bug bb reset lock flag to avoid bb reset lock unhandle,
   may cause assert in vPortCPUReleaseMutexIntsDisabledInternal.
2. fix bug wifi reset mac cause task watch dog timeout
3. fix bug wifi reset mac position

4 years agoMerge branch 'bugfix/httpd_sess_close_v3.2' into 'release/v3.2'
Angus Gratton [Thu, 29 Aug 2019 02:29:41 +0000 (10:29 +0800)]
Merge branch 'bugfix/httpd_sess_close_v3.2' into 'release/v3.2'

httpd_sess_close: Check for session validity before closing (v3.2)

See merge request espressif/esp-idf!5744

4 years agoMerge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size_v3.2' into...
Jiang Jiang Jian [Mon, 26 Aug 2019 10:01:01 +0000 (18:01 +0800)]
Merge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size_v3.2' into 'release/v3.2'

components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link

See merge request espressif/esp-idf!5873

4 years agoBugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.2.
redchenjs [Mon, 1 Jul 2019 11:48:47 +0000 (19:48 +0800)]
Bugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.2.

The right channel data is in the high position, so the I2S_TX_MSB_RIGHT & I2S_RX_MSB_RIGHT bits should be set.

4 years agotest: fix integration test jobs not executed:
He Yin Ling [Mon, 26 Aug 2019 06:00:44 +0000 (14:00 +0800)]
test: fix integration test jobs not executed:

naming rule for parallel test job config file is different.
rename test job config file to make it unified.

4 years agotest: fix nvs compatible case error:
He Yin Ling [Sun, 25 Aug 2019 06:09:17 +0000 (14:09 +0800)]
test: fix nvs compatible case error:

use new env for nvs compatible test case and update test config

4 years agocomponents/bt: set the minimum encryption key size to be 7 octects for BR/EDR link...
wangmengyang [Fri, 23 Aug 2019 00:30:23 +0000 (08:30 +0800)]
components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link for preventing KNOB attack.

This patch is to address the CVE-2019-9506 vulnerability.

4 years agoMerge branch 'power_management/i2s+i2c-v3.2' into 'release/v3.2'
Ivan Grokhotkov [Thu, 22 Aug 2019 15:29:52 +0000 (23:29 +0800)]
Merge branch 'power_management/i2s+i2c-v3.2' into 'release/v3.2'

Power management/i2s+i2c (backport v3.2)

See merge request espressif/esp-idf!5863

4 years agoMerge branch 'fix/sdio_slave_reset_infloop_leak_3.2' into 'release/v3.2'
Angus Gratton [Thu, 22 Aug 2019 05:38:12 +0000 (13:38 +0800)]
Merge branch 'fix/sdio_slave_reset_infloop_leak_3.2' into 'release/v3.2'

sdio_slave: fix the send_flush infinite loop issue (backport v3.2)

See merge request espressif/esp-idf!5835

4 years agoPM: I2S and I2C added in the Power Management docs
Sachin Parekh [Fri, 22 Feb 2019 14:18:59 +0000 (19:48 +0530)]
PM: I2S and I2C added in the Power Management docs

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
4 years agoI2S: Enable Power Management locks
Sachin Parekh [Fri, 22 Feb 2019 12:17:42 +0000 (17:47 +0530)]
I2S: Enable Power Management locks

Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2S if
Power Management Framework is enabled.

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
4 years agoI2C: Enable Power Management locks
Sachin Parekh [Fri, 22 Feb 2019 12:14:03 +0000 (17:44 +0530)]
I2C: Enable Power Management locks

Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2C if
Power Management Framework is enabled.

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
4 years agosdio_slave: fix the send_flush infinite loop issue
Michael (XIAO Xufeng) [Thu, 27 Jun 2019 03:28:24 +0000 (11:28 +0800)]
sdio_slave: fix the send_flush infinite loop issue

Also add some helper functions.

4 years agoMerge branch 'bugfix/fix_flash_read_error_in_dio_mode_v3.2' into 'release/v3.2'
Angus Gratton [Thu, 15 Aug 2019 07:43:31 +0000 (15:43 +0800)]
Merge branch 'bugfix/fix_flash_read_error_in_dio_mode_v3.2' into 'release/v3.2'

bugfix(flash): add spi dio address bitlen configure in psram init (backport v3.2)

See merge request espressif/esp-idf!5787

4 years agobugfix(flash): add spi dio address bitlen configure in psram init
chenjianqiang [Wed, 14 Aug 2019 12:57:30 +0000 (20:57 +0800)]
bugfix(flash): add spi dio address bitlen configure in psram init

4 years agoMerge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid_v3.2' into 'release...
Jiang Jiang Jian [Sun, 11 Aug 2019 09:14:53 +0000 (17:14 +0800)]
Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid_v3.2' into 'release/v3.2'

fix wifi bugs for authmode and multi ssid (backport v3.2)

See merge request espressif/esp-idf!5729

4 years agoMerge branch 'bugfix/hwcrypt_fault_inj_v3.2' into 'release/v3.2'
Angus Gratton [Sun, 11 Aug 2019 06:04:22 +0000 (14:04 +0800)]
Merge branch 'bugfix/hwcrypt_fault_inj_v3.2' into 'release/v3.2'

AES & SHA fault injection checks (backport v3.2)

See merge request espressif/esp-idf!5740

4 years agosha: Add fault injection checks reading hash digest state
Angus Gratton [Wed, 22 May 2019 00:18:55 +0000 (10:18 +1000)]
sha: Add fault injection checks reading hash digest state

Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.

4 years agoaes: Add fault injection checks when writing key to hardware
Angus Gratton [Tue, 21 May 2019 08:12:42 +0000 (18:12 +1000)]
aes: Add fault injection checks when writing key to hardware

Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.

4 years agohwcrypto: Add AES fault injection check
Angus Gratton [Fri, 17 May 2019 19:54:40 +0000 (03:54 +0800)]
hwcrypto: Add AES fault injection check

Hardware AES-CBC performance changes:

Release config 11.0MB/sec -> 10.8MB/sec
Debug config 9.4MB/sec -> 9.8MB/sec

(Unrolling the loop to optimize the check improves
performance at -Og, even with the fault check.)

4 years agohttpd_sess_close: Check for session validity before closing
Piyush Shah [Tue, 6 Aug 2019 14:00:58 +0000 (19:30 +0530)]
httpd_sess_close: Check for session validity before closing

If httpd_sess_trigger_close() gets called twice for the same socket,
the first httpd_sess_close() cb closes the correct socket, but the second
invocation closes the wrong socket which was just accepted and added to
the socket db. Checking for the lru counter will help identify this as the
counter is set only for requests actually served.

4 years agoMerge branch 'bugfix/btdm_backports_v3.2_0808' into 'release/v3.2'
Jiang Jiang Jian [Fri, 9 Aug 2019 06:02:48 +0000 (14:02 +0800)]
Merge branch 'bugfix/btdm_backports_v3.2_0808' into 'release/v3.2'

components/bt: Backport 3 bugfixs into release v3.2

See merge request espressif/esp-idf!5723

4 years agocomponents/bt: Backport 3 bugfixs into release v3.2
baohongde [Thu, 8 Aug 2019 06:37:01 +0000 (14:37 +0800)]
components/bt: Backport 3 bugfixs into release v3.2

1. Bugfix btdm sleep twice after wakeup request
2. Fix connect fail duo to loop of send extended feature request
3. Clear BT/BLE interrupts after controller_disable to overwrite the default non-zero value of intcntl registers

4 years agoMerge branch 'bugfix/lwip_prefer_allocate_memory_in_psram_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 9 Aug 2019 02:56:54 +0000 (10:56 +0800)]
Merge branch 'bugfix/lwip_prefer_allocate_memory_in_psram_v3.2' into 'release/v3.2'

Try to allocate some Lw-ip memories in SPIRAM first. If failed, try to allocate in internal RAM then.(Backport v3.2)

See merge request espressif/esp-idf!5719

4 years agoMerge branch 'feature/move_gettimeofday_in_clock_gettime_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Thu, 8 Aug 2019 14:02:43 +0000 (22:02 +0800)]
Merge branch 'feature/move_gettimeofday_in_clock_gettime_v3.2' into 'release/v3.2'

newlib: Move _gettimeofday_r call in clock_gettime (v3.2)

See merge request espressif/esp-idf!5718

4 years agomodify WIFI_CONN_0101 case for wrong authmode of AP
zhangyanjiao [Thu, 8 Aug 2019 08:53:16 +0000 (16:53 +0800)]
modify WIFI_CONN_0101 case for wrong authmode of AP

4 years agowifi: fix wifi bugs for authmode and multi ssid
zhangyanjiao [Thu, 8 Aug 2019 08:48:50 +0000 (16:48 +0800)]
wifi: fix wifi bugs for authmode and multi ssid

4 years agolwip: Try to allocate some LWIP memories in SPIRAM first. If failed, try to allocate...
Xia Xiaotian [Wed, 7 Aug 2019 13:02:47 +0000 (21:02 +0800)]
lwip: Try to allocate some LWIP memories in SPIRAM first. If failed, try to allocate in internal RAM then.

4 years agoMerge branch 'bugfix/add_wifi_internal_ioctl_declared_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Wed, 7 Aug 2019 12:48:58 +0000 (20:48 +0800)]
Merge branch 'bugfix/add_wifi_internal_ioctl_declared_v3.2' into 'release/v3.2'

esp_wifi: add esp_wifi_internal_ioctl declared (v3.2)

See merge request espressif/esp-idf!5707

4 years agonewlib: Move _gettimeofday_r call in clock_gettime
raldone01 [Tue, 16 Jul 2019 15:52:04 +0000 (17:52 +0200)]
newlib: Move _gettimeofday_r call in clock_gettime

Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/3789

4 years agoMerge branch 'bugfix/cmake_extra_component_dirs_v3.2' into 'release/v3.2'
Angus Gratton [Wed, 7 Aug 2019 08:05:29 +0000 (16:05 +0800)]
Merge branch 'bugfix/cmake_extra_component_dirs_v3.2' into 'release/v3.2'

ci: additional Cmake tests for EXTRA_COMPONENT_DIRS (backport v3.2)

See merge request espressif/esp-idf!5492

4 years agoMerge branch 'feature/mqtt_improve_recv_3.2' into 'release/v3.2'
Angus Gratton [Wed, 7 Aug 2019 08:05:07 +0000 (16:05 +0800)]
Merge branch 'feature/mqtt_improve_recv_3.2' into 'release/v3.2'

MQTT improved receive (backport 3.2)

See merge request espressif/esp-idf!5098

4 years agoesp_wifi: add esp_wifi_internal_ioctl declared
xiehang [Wed, 7 Aug 2019 03:14:18 +0000 (11:14 +0800)]
esp_wifi: add esp_wifi_internal_ioctl declared

4 years agoMerge branch 'bugfix/win_fullclean_symlink_v3.2' into 'release/v3.2'
Angus Gratton [Thu, 1 Aug 2019 08:01:04 +0000 (16:01 +0800)]
Merge branch 'bugfix/win_fullclean_symlink_v3.2' into 'release/v3.2'

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

See merge request espressif/esp-idf!4925

4 years agoMerge branch 'doc/resolve-pdf-building-issues_v3.2' into 'release/v3.2'
Angus Gratton [Thu, 1 Aug 2019 06:10:38 +0000 (14:10 +0800)]
Merge branch 'doc/resolve-pdf-building-issues_v3.2' into 'release/v3.2'

(backport v3.2) Replace gif images on EN and zh_CN index pages with identical png images for...

See merge request espressif/esp-idf!5654

4 years agoMerge branch 'bugfix/improve_spi_timing_for_flash_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Wed, 31 Jul 2019 15:39:07 +0000 (23:39 +0800)]
Merge branch 'bugfix/improve_spi_timing_for_flash_v3.2' into 'release/v3.2'

bugfix(flash): improve spi cs timing settings for flash (backport v3.2)

See merge request espressif/esp-idf!5513

4 years agoMerge branch 'bugfix/select_init_sem_v3.2' into 'release/v3.2'
Angus Gratton [Wed, 31 Jul 2019 08:11:57 +0000 (16:11 +0800)]
Merge branch 'bugfix/select_init_sem_v3.2' into 'release/v3.2'

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

See merge request espressif/esp-idf!4989

4 years agoMerge branch 'bugfix/libsodium_test_timeouts_v3.2' into 'release/v3.2'
Angus Gratton [Tue, 30 Jul 2019 13:59:51 +0000 (21:59 +0800)]
Merge branch 'bugfix/libsodium_test_timeouts_v3.2' into 'release/v3.2'

test: Set timeout of libsodium ed25519_convert test to 60s (v3.2)

See merge request espressif/esp-idf!5555

4 years agoReplace gif images on EN and zh_CN index pages with identical png images for successf...
Kirill Chalov [Tue, 30 Jul 2019 06:19:20 +0000 (14:19 +0800)]
Replace gif images on EN and zh_CN index pages with identical png images for successful building of PDFs on ReadTheDocs.

4 years agoMerge branch 'bugfix/gpio_intr_enable_bug_v3.2' into 'release/v3.2'
Angus Gratton [Tue, 30 Jul 2019 06:10:29 +0000 (14:10 +0800)]
Merge branch 'bugfix/gpio_intr_enable_bug_v3.2' into 'release/v3.2'

bugfix(GPIO): Fixed GPIO  interrupts bug for v3.2

See merge request espressif/esp-idf!5651

4 years agotest: Set timeout of libsodium ed25519_convert test to 60s
Angus Gratton [Wed, 17 Jul 2019 02:24:29 +0000 (12:24 +1000)]
test: Set timeout of libsodium ed25519_convert test to 60s

Test takes 28s-29s to run in some configs, can fail in CI.

4 years agobugfix(GPIO): Fixed the bug that GPIO enables interrupts on one core,
kooho [Thu, 18 Jul 2019 03:34:49 +0000 (11:34 +0800)]
bugfix(GPIO): Fixed the bug that GPIO enables interrupts on one core,
              but registers interrupt service routines on another core for release/v3.2

4 years agoMerge branch 'bugfix/docs_recover_some_build_time_v3.2' into 'release/v3.2'
Angus Gratton [Mon, 29 Jul 2019 11:17:34 +0000 (19:17 +0800)]
Merge branch 'bugfix/docs_recover_some_build_time_v3.2' into 'release/v3.2'

docs: Remove building of zipped HTML docs from build process and consequently...

See merge request espressif/esp-idf!5640

4 years agoMerge branch 'bugfix/fix_wifi_stack_can_freeze_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sun, 28 Jul 2019 06:56:52 +0000 (14:56 +0800)]
Merge branch 'bugfix/fix_wifi_stack_can_freeze_v3.2' into 'release/v3.2'

esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM (v3.2)

See merge request espressif/esp-idf!5618

4 years agodocs: Remove building of zipped HTML docs from build process and consequently from...
krzychb [Sat, 27 Jul 2019 23:28:15 +0000 (01:28 +0200)]
docs: Remove building of zipped HTML docs from build process and consequently from Downloads as many users don't use that. We are still providing PDF documentation for people who prefer viewing docs off-line. Removal of this build step is expected to save almost 10 minutes of build time and resolve issue of build failures because of hitting 40 min build time limit on Read The Docs.

4 years agoMerge branch 'bugfix/fix_mcpwm_example_memory_bug_v3.2' into 'release/v3.2'
Angus Gratton [Sat, 27 Jul 2019 09:27:56 +0000 (17:27 +0800)]
Merge branch 'bugfix/fix_mcpwm_example_memory_bug_v3.2' into 'release/v3.2'

Bugfix(example):  Fixed MCPWM example bug for release/v3.2

See merge request espressif/esp-idf!5545

4 years agoesp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM
xiehang [Thu, 25 Jul 2019 06:37:20 +0000 (14:37 +0800)]
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM

4 years agoMerge branch 'bugfix/mesh_scan_done_crash_3.2' into 'release/v3.2'
Jiang Jiang Jian [Sat, 27 Jul 2019 06:38:39 +0000 (14:38 +0800)]
Merge branch 'bugfix/mesh_scan_done_crash_3.2' into 'release/v3.2'

mesh: fix scan done crash caused by uint8_t overflow (backport 3.2)

See merge request espressif/esp-idf!5614

4 years agoMerge branch 'bugfix/btdm_mem_leak_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Sat, 27 Jul 2019 06:38:28 +0000 (14:38 +0800)]
Merge branch 'bugfix/btdm_mem_leak_v3.2' into 'release/v3.2'

components/bt: Fix memory leak about rfcomm

See merge request espressif/esp-idf!5623

4 years agoMerge branch 'feature/tcp_transport_http_client_v3.2' into 'release/v3.2'
Mahavir Jain [Thu, 25 Jul 2019 11:37:26 +0000 (19:37 +0800)]
Merge branch 'feature/tcp_transport_http_client_v3.2' into 'release/v3.2'

Minor bugfixes in esp_http_client and tcp_transport (backport v3.2)

See merge request espressif/esp-idf!5221

4 years agoMerge branch 'bugfix/sec_boot_ota_fail_v32' into 'release/v3.2'
Jiang Jiang Jian [Thu, 25 Jul 2019 10:04:39 +0000 (18:04 +0800)]
Merge branch 'bugfix/sec_boot_ota_fail_v32' into 'release/v3.2'

Bugfix: ota fails with secure boot on for image size greater than 3.2MB (backport v3.2)

See merge request espressif/esp-idf!5580

4 years agocomponents/bt: Fix memory leak about rfcomm
baohongde [Thu, 25 Jul 2019 08:22:50 +0000 (16:22 +0800)]
components/bt: Fix memory leak about rfcomm

4 years agoMerge branch 'bugfix/supplicant_security_fixes_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Thu, 25 Jul 2019 04:18:19 +0000 (12:18 +0800)]
Merge branch 'bugfix/supplicant_security_fixes_v3.2' into 'release/v3.2'

wpa_supplicant: Fix sprintf security bugs. (v3.2)

See merge request espressif/esp-idf!5465

4 years agomesh: fix scan done crash caused by uint8_t overflow
chenyudong [Thu, 25 Jul 2019 03:16:53 +0000 (11:16 +0800)]
mesh: fix scan done crash caused by uint8_t overflow

4 years agoMerge branch 'bugfix/backport_some_wifi_bugs_201907_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Tue, 23 Jul 2019 13:17:09 +0000 (21:17 +0800)]
Merge branch 'bugfix/backport_some_wifi_bugs_201907_v3.2' into 'release/v3.2'

Backport some wifi bugs 201907 v3.2 (backport v3.2)

See merge request espressif/esp-idf!5525

4 years agoci: add a UT_T1_1 job
liu zhifu [Mon, 22 Jul 2019 02:32:30 +0000 (10:32 +0800)]
ci: add a UT_T1_1 job

4 years agotest: move wifi library check to esp32-wifi-lib ci
chenyudong [Tue, 9 Jul 2019 07:55:05 +0000 (15:55 +0800)]
test: move wifi library check to esp32-wifi-lib ci

4 years agoesp_http_client: Fix header sent event bug
Jitin George [Thu, 14 Mar 2019 05:50:02 +0000 (11:20 +0530)]
esp_http_client: Fix header sent event bug

4 years agotcp_transport: Fix case sensitive header comparison
Jitin George [Tue, 12 Mar 2019 13:16:04 +0000 (18:46 +0530)]
tcp_transport: Fix case sensitive header comparison

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

4 years agoWiFi: Modify the wifi_country struct in VNC to keep it consistent with IDF.
xiehang [Mon, 8 Jul 2019 03:26:18 +0000 (11:26 +0800)]
WiFi: Modify the wifi_country struct in VNC to keep it consistent with IDF.

1. Modfy wifi_country struct
2. Add md5 check esp_wifi_types.h
3. Add md5 check esp_wifi.h

4 years agomesh: fix the bug that esp_mesh_stop doesn't return
liu zhifu [Sun, 21 Jul 2019 02:26:17 +0000 (10:26 +0800)]
mesh: fix the bug that esp_mesh_stop doesn't return

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

4 years agoesp32: fix wifi stop bug
liu zhifu [Sun, 21 Jul 2019 02:20:25 +0000 (10:20 +0800)]
esp32: fix wifi stop bug

Fix the bug that WiFi stop causes esp_wifi_internal_reg_rxcb() fails.

4 years agoesp32: fix WPS/WPA2-Enterprise memory leak
liu zhifu [Sun, 21 Jul 2019 02:15:19 +0000 (10:15 +0800)]
esp32: fix WPS/WPA2-Enterprise memory leak

Fix WPS and WPA2-Enterprise memory leak bug.

4 years agoesp32: fix smartconfig crash when no AP is found
liu zhifu [Sun, 21 Jul 2019 01:59:37 +0000 (09:59 +0800)]
esp32: fix smartconfig crash when no AP is found

Fix the bug that smartconfig crashes when no AP is found during smartconfig scan.

4 years agoMerge branch 'bugfix/fix_the_watchdog_during_WiFi_scan_BLE_scan_v3.2' into 'release...
Jiang Jiang Jian [Fri, 19 Jul 2019 10:08:56 +0000 (18:08 +0800)]
Merge branch 'bugfix/fix_the_watchdog_during_WiFi_scan_BLE_scan_v3.2' into 'release/v3.2'

fix the watchdog bug during WiFi scan and BLE scan (v3.2)

See merge request espressif/esp-idf!5541

4 years agoAdd mmu pages available check in non-secure image hash check path.
Vikram Dattu [Wed, 19 Jun 2019 11:53:44 +0000 (17:23 +0530)]
Add mmu pages available check in non-secure image hash check path.

Made MMU pages available check in `esp_image_format.c`
This now makes it possible to map and process bootoader image as well in chunks when image doesn't fit completely into available free pages.

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
4 years agoChanged log level for spi_master
Vikram Dattu [Tue, 18 Jun 2019 08:34:32 +0000 (14:04 +0530)]
Changed log level for spi_master

There are lot of prints of `Allocate TX buffer for DMA`
Changed these from `ESP_LOGI` to `ESP_LOGD`

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
4 years agoBugfix: ota fails with secure boot on for image size greater than 3.2MB
Vikram Dattu [Sat, 15 Jun 2019 09:43:51 +0000 (15:13 +0530)]
Bugfix: ota fails with secure boot on for image size greater than 3.2MB

When an OTA image size is larger than 50 MMU pages (approx. 3.2 MB), secure_boot_generate fails while trying to map it into memory:

https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/esp32/secure_boot.c#L72
Instead of trying to map the whole image, secure boot code should split the image into chunks and map them one by one, like it is done in esp_image_format.c:

https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/esp_image_format.c#L371

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
4 years agoMerge branch 'bugfix/fix_flash_read_error_in_dio_26MHz_mode_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Tue, 16 Jul 2019 10:41:45 +0000 (18:41 +0800)]
Merge branch 'bugfix/fix_flash_read_error_in_dio_26MHz_mode_v3.2' into 'release/v3.2'

bugfix(flash): fix flash read error in DIO/26MHz mode (backport v3.2)

See merge request espressif/esp-idf!5507

4 years agoFixed the bug that the malloc memory size is smaller than the actual required.
Ramesh [Wed, 10 Jul 2019 03:25:36 +0000 (08:55 +0530)]
Fixed the bug that the malloc memory size is smaller than the actual required.

4 years agofix the watchdog bug during WiFi scan and BLE scan
zhangyanjiao [Tue, 16 Jul 2019 06:29:29 +0000 (14:29 +0800)]
fix the watchdog bug during WiFi scan and BLE scan

4 years agobugfix(flash): improve spi cs timing settings for flash
chenjianqiang [Thu, 9 May 2019 07:26:24 +0000 (15:26 +0800)]
bugfix(flash): improve spi cs timing settings for flash

cs setup time is recomemded to be 1.5T, and cs hold time is recommended to be 2.5T.
(cs_setup = 1, cs_setup_time = 0; cs_hold = 1, cs_hold_time = 1)

4 years agoMerge branch 'bugfix/error_on_unknown_component_v3.2' into 'release/v3.2'
Angus Gratton [Fri, 12 Jul 2019 07:01:40 +0000 (15:01 +0800)]
Merge branch 'bugfix/error_on_unknown_component_v3.2' into 'release/v3.2'

cmake: error out when component is not found (backport v3.2)

See merge request espressif/esp-idf!5488

4 years agoMerge branch 'bugfix/i2s_apll_clock_fix_v3.2' into 'release/v3.2'
Mahavir Jain [Fri, 12 Jul 2019 03:36:01 +0000 (11:36 +0800)]
Merge branch 'bugfix/i2s_apll_clock_fix_v3.2' into 'release/v3.2'

driver/i2s: fix apll_clock_rate for different sample rates (v3.2)

See merge request espressif/esp-idf!5449

4 years agobugfix(flash): fix flash read error in DIO/26MHz mode
chenjianqiang [Thu, 27 Jun 2019 12:19:26 +0000 (20:19 +0800)]
bugfix(flash): fix flash read error in DIO/26MHz mode

4 years agoMerge branch 'bugfix/fix_uart_wait_done_bug_v3.2' into 'release/v3.2'
Angus Gratton [Thu, 11 Jul 2019 06:56:32 +0000 (14:56 +0800)]
Merge branch 'bugfix/fix_uart_wait_done_bug_v3.2' into 'release/v3.2'

bugfix(UART): fixed two UART issues for release/v3.2

See merge request espressif/esp-idf!5480

4 years agocmake: refactor finding components
Renz Christian Bagaporo [Wed, 10 Jul 2019 09:32:27 +0000 (17:32 +0800)]
cmake: refactor finding components

4 years agoMerge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth_v3...
Jiang Jiang Jian [Wed, 10 Jul 2019 07:40:23 +0000 (15:40 +0800)]
Merge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth_v3.2' into 'release/v3.2'

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

See merge request espressif/esp-idf!5099

4 years agoci: additional Cmake tests for EXTRA_COMPONENT_DIRS
Renz Christian Bagaporo [Thu, 30 May 2019 10:23:00 +0000 (18:23 +0800)]
ci: additional Cmake tests for EXTRA_COMPONENT_DIRS

Tests from
https://gitlab.espressif.cn:6688/idf/esp-idf/merge_requests/4253

4 years agocmake: error out when component is not found
Renz Christian Bagaporo [Wed, 10 Jul 2019 03:56:47 +0000 (11:56 +0800)]
cmake: error out when component is not found

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

4 years agoMerge branch 'bugfix/btdm_can_not_get_informations_of_song_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Tue, 9 Jul 2019 07:17:22 +0000 (15:17 +0800)]
Merge branch 'bugfix/btdm_can_not_get_informations_of_song_v3.2' into 'release/v3.2'

components/bt: Fix iphone can't get song's informations

See merge request espressif/esp-idf!5473

4 years agobugfix(UART): fixed two UART issues:
kooho [Wed, 12 Jun 2019 08:20:19 +0000 (16:20 +0800)]
bugfix(UART): fixed two UART issues:

1. uart_wait_tx_done works incorrect when sending a byte of data.
2. uart_set_rx_timeout sets an incorrect rx timeout value when ref_tick is enabled.

4 years agocomponents/bt: Fix iphone can't get song's informations
baohongde [Mon, 8 Jul 2019 11:40:22 +0000 (19:40 +0800)]
components/bt: Fix iphone can't get song's informations

4 years agoMerge branch 'fix/update_curr_page_state_3.2' into 'release/v3.2'
Angus Gratton [Mon, 8 Jul 2019 06:05:40 +0000 (14:05 +0800)]
Merge branch 'fix/update_curr_page_state_3.2' into 'release/v3.2'

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

See merge request espressif/esp-idf!5326

4 years agowpa_supplicant: Fix sprintf security bugs.
Sagar Bijwe [Wed, 19 Jun 2019 14:03:34 +0000 (19:33 +0530)]
wpa_supplicant: Fix sprintf security bugs.

Revert back to using os_snprintf instead of sprintf.

Closes WIFI-624

4 years agoMerge branch 'fix/nvs_util_keylen_3.2' into 'release/v3.2'
Angus Gratton [Mon, 8 Jul 2019 04:59:55 +0000 (12:59 +0800)]
Merge branch 'fix/nvs_util_keylen_3.2' into 'release/v3.2'

nvs_util: Add check for keylen in input csv (v3.2)

See merge request espressif/esp-idf!5396

4 years agowifi bugfix:
zhangyanjiao [Mon, 8 Jul 2019 03:42:36 +0000 (11:42 +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 agoMerge branch 'mesh/bugfix_0628' into 'release/v3.2'
Jiang Jiang Jian [Fri, 5 Jul 2019 14:43:16 +0000 (22:43 +0800)]
Merge branch 'mesh/bugfix_0628' into 'release/v3.2'

mesh: bugfix (backport3.2)

See merge request espressif/esp-idf!5402

4 years agoMerge branch 'bugfix/prov_examples_strlcpy_backport_v3.2' into 'release/v3.2'
Mahavir Jain [Fri, 5 Jul 2019 12:56:35 +0000 (20:56 +0800)]
Merge branch 'bugfix/prov_examples_strlcpy_backport_v3.2' into 'release/v3.2'

Various bugfixes in Protocomm / Unified Provisioning (backport v3.2)

See merge request espressif/esp-idf!5372

4 years agoMerge branch 'bugfix/improve_flash_dio_read_timing_v3.2' into 'release/v3.2'
Jiang Jiang Jian [Fri, 5 Jul 2019 12:42:06 +0000 (20:42 +0800)]
Merge branch 'bugfix/improve_flash_dio_read_timing_v3.2' into 'release/v3.2'

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

See merge request espressif/esp-idf!5288

4 years agoMerge branch 'bugfix/btdm_fix_rxwinsz_assert_in_wifi_ble_coex_v3.2' into 'release...
Jiang Jiang Jian [Fri, 5 Jul 2019 12:27:52 +0000 (20:27 +0800)]
Merge branch 'bugfix/btdm_fix_rxwinsz_assert_in_wifi_ble_coex_v3.2' into 'release/v3.2'

component/bt: fix rxwinsz assert in ble and wifi coex(backport v3.2)

See merge request espressif/esp-idf!5450

4 years agonvs_util: Add check for keylen in input csv
Shivani Tipnis [Fri, 28 Jun 2019 06:33:53 +0000 (12:03 +0530)]
nvs_util: Add check for keylen in input csv