]> granicus.if.org Git - esp-idf/log
esp-idf
4 years agoMerge branch 'bugfix/btdm_backports_v3.0_0920' into 'release/v3.0' release/v3.0
Jiang Jiang Jian [Sun, 29 Sep 2019 02:20:33 +0000 (10:20 +0800)]
Merge branch 'bugfix/btdm_backports_v3.0_0920' into 'release/v3.0'

components/bt: Backports some bugfix to v3.0

See merge request espressif/esp-idf!6168

4 years agoMerge branch 'bugfix/backport_some_fixes_to_v3.0.9' into 'release/v3.0'
Jiang Jiang Jian [Sun, 29 Sep 2019 02:17:09 +0000 (10:17 +0800)]
Merge branch 'bugfix/backport_some_fixes_to_v3.0.9' into 'release/v3.0'

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

See merge request espressif/esp-idf!6169

4 years agoesp32: backport some WiFi fixes to v3.0
liu zhifu [Fri, 20 Sep 2019 05:50:14 +0000 (13:50 +0800)]
esp32: backport some WiFi fixes to v3.0

Fix following WiFi bugs:
1. Fix some potential memory leak caused by WiFi stop
2. Fix the bug that ESP32 AP crashes when connected STA power-off
3. Fix the bug that STA can scan the channel out of regdomain
4. Fix some scan/connect bugs
5. Fix the bug that ESP32 STA fails to connect WPA_WPA2_PSK Apple AP
6. Fix the crashing in scan done because of uint8 overflow
7. Fix the bug that smartconfig crashes when no AP is found
8. Fix the bug that ESP32 sends broadcast to phone after smartconfig is done

4 years agocomponents/bt: Backports some bugfix to v3.0
baohongde [Fri, 20 Sep 2019 03:45:32 +0000 (11:45 +0800)]
components/bt: Backports some bugfix to v3.0

1. bugfix for the error in calculation sniff anchor point which can result in supervision timeout after connection is brought into sniff mode
2. bugfix of error when entering sniff mode with attempt large than 0xFF
3. clear BT/BLE interrupts after controller_disable to overwrite the default non-zero value of intcntl registers.

4 years agoMerge branch 'bugfix/use_local_kconfiglib_v3.0' into 'release/v3.0'
Angus Gratton [Mon, 16 Sep 2019 07:20:11 +0000 (15:20 +0800)]
Merge branch 'bugfix/use_local_kconfiglib_v3.0' into 'release/v3.0'

Use kconfiglib from $IDF_PATH/tools/kconfig_new (v3.0)

See merge request espressif/esp-idf!6083

4 years agoUse kconfiglib from $IDF_PATH/tools/kconfig_new
Roland Dobai [Wed, 11 Sep 2019 09:18:18 +0000 (11:18 +0200)]
Use kconfiglib from $IDF_PATH/tools/kconfig_new

4 years agoMerge branch 'bugfix/flash_encryption_disable_plaintext_v3.0' into 'release/v3.0'
Angus Gratton [Tue, 10 Sep 2019 23:56:32 +0000 (07:56 +0800)]
Merge branch 'bugfix/flash_encryption_disable_plaintext_v3.0' into 'release/v3.0'

flash encryption: Add config option to disable any plaintext reflashes (3.0)

See merge request espressif/esp-idf!6050

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 agodocs: Added more wordings to capture secure boot and flash encryption dependency.
Sagar Bijwe [Tue, 7 Aug 2018 11:59:11 +0000 (17:29 +0530)]
docs: Added more wordings to capture secure boot and flash encryption dependency.

4 years agoMerge branch 'update/cjson_v1_7_12_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Sun, 8 Sep 2019 08:38:15 +0000 (16:38 +0800)]
Merge branch 'update/cjson_v1_7_12_v3.0' into 'release/v3.0'

Update cJSON to v1.7.12 (v3.0)

See merge request espressif/esp-idf!5854

4 years agoMerge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size_v3.0' into...
Jiang Jiang Jian [Thu, 5 Sep 2019 04:22:44 +0000 (12:22 +0800)]
Merge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size_v3.0' into 'release/v3.0'

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

See merge request espressif/esp-idf!5875

4 years agoMerge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid_v3.0' into 'release...
Jiang Jiang Jian [Mon, 2 Sep 2019 14:18:45 +0000 (22:18 +0800)]
Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid_v3.0' into 'release/v3.0'

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

See merge request espressif/esp-idf!5731

4 years agomodify WIFI_CONN_0101 case for wrong authmode of AP
zhangyanjiao [Mon, 19 Aug 2019 09:24:19 +0000 (17:24 +0800)]
modify WIFI_CONN_0101 case for wrong authmode of AP

4 years agofix wifi bugs for authmode and multi ssid
zhangyanjiao [Fri, 23 Aug 2019 05:19:15 +0000 (13:19 +0800)]
fix wifi bugs for authmode and multi ssid

4 years agocomponents/bt: set the minimum encryption key size to be 7 octects for BR/EDR link...
wangmengyang [Fri, 23 Aug 2019 00:32:16 +0000 (08:32 +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 agoUpdate cJSON to v1.7.12
Angus Gratton [Wed, 14 Aug 2019 00:03:27 +0000 (10:03 +1000)]
Update cJSON to v1.7.12

Fixes potential DoS in cJSON_Minify, see https://github.com/DaveGamble/cJSON/issues/354

4 years agoMerge branch 'bugfix/libsodium_test_timeouts_v3.0' into 'release/v3.0'
Angus Gratton [Fri, 2 Aug 2019 07:52:18 +0000 (15:52 +0800)]
Merge branch 'bugfix/libsodium_test_timeouts_v3.0' into 'release/v3.0'

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

See merge request espressif/esp-idf!5557

4 years agoMerge branch 'bugfix/wpa2_ent_vulnerability_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Fri, 2 Aug 2019 07:21:31 +0000 (15:21 +0800)]
Merge branch 'bugfix/wpa2_ent_vulnerability_v3.0' into 'release/v3.0'

esp32: fix wpa2_enterprise vulnerability bug (backport v3.0)

See merge request espressif/esp-idf!5679

4 years agoesp32: fix wpa2_enterprise vulnerability bug
liu zhifu [Thu, 1 Aug 2019 10:11:22 +0000 (18:11 +0800)]
esp32: fix wpa2_enterprise vulnerability bug

4 years agoMerge branch 'bugfix/docs_recover_some_build_time_v3.0' into 'release/v3.0'
Krzysztof Budzynski [Thu, 1 Aug 2019 09:22:57 +0000 (17:22 +0800)]
Merge branch 'bugfix/docs_recover_some_build_time_v3.0' into 'release/v3.0'

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

See merge request espressif/esp-idf!5642

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 agoMerge branch 'bugfix/mdns_BCT1.5_reprobe_fix_3.0' into 'release/v3.0'
Angus Gratton [Mon, 29 Jul 2019 09:31:10 +0000 (17:31 +0800)]
Merge branch 'bugfix/mdns_BCT1.5_reprobe_fix_3.0' into 'release/v3.0'

mdns: fix missing netif reprobing to pass BCT 1.5 (backport v3.0)

See merge request idf/esp-idf!5204

4 years agodocs: Remove building of zipped HTML docs from build process and consequently from...
krzychb [Sat, 27 Jul 2019 23:41:20 +0000 (01:41 +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/spi_flash_deadlock_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Thu, 27 Jun 2019 11:21:13 +0000 (19:21 +0800)]
Merge branch 'bugfix/spi_flash_deadlock_v3.0' into 'release/v3.0'

spi_flash: raise priority of the task performing spi_flash operation

See merge request idf/esp-idf!5361

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/spi_concurrency_3.0' into 'release/v3.0'
Angus Gratton [Fri, 21 Jun 2019 05:22:07 +0000 (13:22 +0800)]
Merge branch 'bugfix/spi_concurrency_3.0' into 'release/v3.0'

spi: fix a possible concurrency issue (backport v3.0)

See merge request idf/esp-idf!5189

4 years agomdns: workarround in 3.1 and 3.0 to fix missing netif re-probing when ip changed...
David Cermak [Fri, 5 Apr 2019 12:32:16 +0000 (14:32 +0200)]
mdns: workarround in 3.1 and 3.0 to fix missing netif re-probing when ip changed in link-local addressing

Cherry-picked from 42773d22fd4f72098508832fd33b81784c7f048e
Closes HCS-21

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

5 years agoMerge branch 'bugfix/docs_build_failure_on_rtd_v3_0' into 'release/v3.0' v3.0.8
Angus Gratton [Mon, 27 May 2019 05:59:43 +0000 (13:59 +0800)]
Merge branch 'bugfix/docs_build_failure_on_rtd_v3_0' into 'release/v3.0'

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

See merge request idf/esp-idf!5063

5 years agoMerge branch 'bugfix/fix_espnow_watchdog_and_wps_crash_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Fri, 24 May 2019 11:54:25 +0000 (19:54 +0800)]
Merge branch 'bugfix/fix_espnow_watchdog_and_wps_crash_v3.0' into 'release/v3.0'

fix_espnow_watchdog_and_wps_crash

See merge request idf/esp-idf!5072

5 years agofix wifi bugs:
zhangyanjiao [Fri, 24 May 2019 08:01:28 +0000 (16:01 +0800)]
fix wifi bugs:
1. fix the crash when do WPS with some router
2. fix espnow bug when add node in STA+AP mode
3. fix espnow watchdog when modify peer

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

5 years agoMerge branch 'bugfix/scan_fail_when_no_ap_found_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Mon, 6 May 2019 02:46:40 +0000 (10:46 +0800)]
Merge branch 'bugfix/scan_fail_when_no_ap_found_v3.0' into 'release/v3.0'

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

See merge request idf/esp-idf!4916

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

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

wifi: fix the bug that WPS fails when AP is encrypted (backport v3.0)

See merge request idf/esp-idf!4899

5 years agowifi: fix the bug that WPS fails when AP is encrypted
zhangyanjiao [Mon, 29 Apr 2019 07:54:02 +0000 (15:54 +0800)]
wifi: fix the bug that WPS fails when AP is encrypted

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

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

See merge request idf/esp-idf!4730

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/modify_wifi_reason_code_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Mon, 8 Apr 2019 02:31:22 +0000 (10:31 +0800)]
Merge branch 'bugfix/modify_wifi_reason_code_v3.0' into 'release/v3.0'

wifi: modify wifi reason code (backport v3.0)

See merge request idf/esp-idf!4654

5 years agoMerge branch 'bugfix/ci_submodule_paths_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Thu, 4 Apr 2019 09:58:49 +0000 (17:58 +0800)]
Merge branch 'bugfix/ci_submodule_paths_v3.0' into 'release/v3.0'

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

See merge request idf/esp-idf!4571

5 years agoMerge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_allocated_for_v3.0' into 'release...
Jiang Jiang Jian [Thu, 4 Apr 2019 09:56:38 +0000 (17:56 +0800)]
Merge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_allocated_for_v3.0' into 'release/v3.0'

bugfix/btdm_allow_a2dp_codec_dynamic_allocated_for_v3.0(backport v3.0)

See merge request idf/esp-idf!4261

5 years agocomponent/bt: allow dynamic allocation of SBC decoder buffer used in A2DP sink to...
wangmengyang [Wed, 13 Feb 2019 12:36:51 +0000 (20:36 +0800)]
component/bt: allow dynamic allocation of SBC decoder buffer used in A2DP sink to save internal DRAM

5 years agowifi: modify wifi reason code
zhangyanjiao [Mon, 1 Apr 2019 06:38:50 +0000 (14:38 +0800)]
wifi: modify wifi reason code

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 'ci/retry_submodule_sync_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Tue, 2 Apr 2019 05:01:16 +0000 (13:01 +0800)]
Merge branch 'ci/retry_submodule_sync_v3.0' into 'release/v3.0'

Ci/retry submodule sync v3.0

See merge request idf/esp-idf!4664

5 years agoci: Only use "github_sync" tagged runners to talk to GitHub
Angus Gratton [Sun, 24 Feb 2019 23:41:39 +0000 (10:41 +1100)]
ci: Only use "github_sync" tagged runners to talk to GitHub

5 years agoci: Retry submodule sync 2 more times before failing
Angus Gratton [Wed, 20 Feb 2019 23:48:55 +0000 (10:48 +1100)]
ci: Retry submodule sync 2 more times before failing

5 years agoMerge branch 'bugfix/esp_log_level_set_strcmp_v3.0' into 'release/v3.0'
Ivan Grokhotkov [Thu, 21 Mar 2019 10:28:13 +0000 (18:28 +0800)]
Merge branch 'bugfix/esp_log_level_set_strcmp_v3.0' into 'release/v3.0'

log: fix tag comparison in esp_log_level_set (backport v3.0)

See merge request idf/esp-idf!4509

5 years agoMerge branch 'bugfix/sphinx_build_failure_on_rtd_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Thu, 21 Mar 2019 03:45:08 +0000 (11:45 +0800)]
Merge branch 'bugfix/sphinx_build_failure_on_rtd_v3.0' into 'release/v3.0'

docs: Upgraded sphinx package version to prevent build failures on readthedocs…

See merge request idf/esp-idf!4556

5 years agolog: fix tag comparison in esp_log_level_set
David Ashley [Sun, 28 Jan 2018 22:47:07 +0000 (16:47 -0600)]
log: fix tag comparison in esp_log_level_set

This is a fix for the esp_log_level_set function. The problem is when this
function is called but NOT withe the same 'c' string constant that the LOG*
calls used in each module, the cache check doesn't match, so the cached
entry won't get updated. There's no point in optimizing this function
anyway because it is only called rarely.

Merges https://github.com/espressif/esp-idf/pull/1557

Closes https://github.com/espressif/esp-idf/pull/2996

5 years agoMerge branch 'bugfix/autoip_memoey_leak_debug_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Wed, 20 Mar 2019 03:33:30 +0000 (11:33 +0800)]
Merge branch 'bugfix/autoip_memoey_leak_debug_v3.0' into 'release/v3.0'

fix the bug in auto Ip memory leak (backport v3.0)

See merge request idf/esp-idf!4432

5 years agodocs: Upgraded sphinx package version to prevent build failures on readthedocs site...
krzychb [Tue, 19 Mar 2019 19:17:12 +0000 (20:17 +0100)]
docs: Upgraded sphinx package version to prevent build failures on readthedocs site. Upgraded versions of other packages that are used during documentation build. (backport v3.0)

5 years agoMerge branch 'bugfix/sorting_and_list_of_lib_in_idf_size_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Sun, 17 Mar 2019 06:46:34 +0000 (14:46 +0800)]
Merge branch 'bugfix/sorting_and_list_of_lib_in_idf_size_v3.0' into 'release/v3.0'

tools: Fix sorting and list of libs in idf_size.py

See merge request idf/esp-idf!4286

5 years agoMerge branch 'bugfix/wifi_modify_wifi_kconfig_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Sun, 17 Mar 2019 06:13:50 +0000 (14:13 +0800)]
Merge branch 'bugfix/wifi_modify_wifi_kconfig_v3.0' into 'release/v3.0'

esp32: modify WiFi Kconfig in order to achieve better compatility and performance (bakcport v3.0)

See merge request idf/esp-idf!4384

5 years agoMerge branch 'feature/upgrade_sphinx_and_breathe_v3.0' into 'release/v3.0'
Krzysztof Budzynski [Fri, 15 Mar 2019 16:58:56 +0000 (00:58 +0800)]
Merge branch 'feature/upgrade_sphinx_and_breathe_v3.0' into 'release/v3.0'

docs: Preparation for upgrade of Sphinx and Breathe packages to versions 1.8.4…

See merge request idf/esp-idf!4382

5 years agofix the bug in auto Ip memory leak
xiehang [Wed, 6 Mar 2019 13:04:08 +0000 (21:04 +0800)]
fix the bug in auto Ip memory leak

5 years agofix the bug in auto Ip memory leak
xiehang [Wed, 6 Mar 2019 12:13:53 +0000 (20:13 +0800)]
fix the bug in auto Ip memory leak

5 years agotools: Fix sorting and list of libs in idf_size.py
Konstantin Kondrashov [Mon, 18 Feb 2019 06:09:09 +0000 (14:09 +0800)]
tools: Fix sorting and list of libs in idf_size.py

Make the same output as for v3.1, v3.2 and 3.3 for idf_size.py
--archives /path/to/file.map

Closes: TW28774
5 years agoMerge branch 'bugfix/make_get_coreid_volatile_backport_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Tue, 5 Mar 2019 06:27:19 +0000 (14:27 +0800)]
Merge branch 'bugfix/make_get_coreid_volatile_backport_v3.0' into 'release/v3.0'

freertos: Make xPortGetCoreID() volatile (backport v3.0)

See merge request idf/esp-idf!4377

5 years agoMerge branch 'bugfix/fix_some_wifi_bugs_0301_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Tue, 5 Mar 2019 02:36:40 +0000 (10:36 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs_0301_v3.0' into 'release/v3.0'

esp32: fix some WiFi bugs (backport v3.0)

See merge request idf/esp-idf!4403

5 years agoesp32: fix some WiFi bugs
Liu Zhi Fu [Fri, 1 Mar 2019 04:53:55 +0000 (12:53 +0800)]
esp32: fix some WiFi bugs

Fix following WiFi bugs:
1. Fix the bug that STA incorrectly deletes BA when receiving DelBA request
2. Add out of memory check
3. Fix the bug that STA incorrectly receives packets when scanning in connected status

5 years agoesp32: modify WiFi Kconfig in order to achieve better compatility
XiaXiaotian [Fri, 25 Jan 2019 09:26:49 +0000 (17:26 +0800)]
esp32: modify WiFi Kconfig in order to achieve better compatility
and performance

5 years agodocs: Preparation for upgrade of Sphinx and Breathe packages to versions 1.8.4 and...
krzychb [Sat, 16 Feb 2019 19:46:49 +0000 (20:46 +0100)]
docs: Preparation for upgrade of Sphinx and Breathe packages to versions 1.8.4 and 4.11.1. Updated check of Sphinx warnings to account for the filename instead of the whole path, that for the same errors may be different between English and Chinese docs.  (backport v3.0)

5 years agofreertos: Make xPortGetCoreID() volatile
Darian Leung [Tue, 26 Feb 2019 12:58:02 +0000 (20:58 +0800)]
freertos: Make xPortGetCoreID() volatile

When xPortGetCoreID() is called twice within a function,
it might only be called once after compilation. This
commit makes the inline assembly of the function volatile.

Closes #3093

5 years agoMerge branch 'bugfix/wrong_connect_in_all_channel_scan_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Fri, 22 Feb 2019 03:13:22 +0000 (11:13 +0800)]
Merge branch 'bugfix/wrong_connect_in_all_channel_scan_v3.0' into 'release/v3.0'

Wifi: bug fix of may connect to wrong AP in all channel scan (backport v3.0)

See merge request idf/esp-idf!4273

5 years agoMerge branch 'bugfix/ble_active_scan_not_wait_scan_rsp_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Wed, 20 Feb 2019 03:15:27 +0000 (11:15 +0800)]
Merge branch 'bugfix/ble_active_scan_not_wait_scan_rsp_v3.0' into 'release/v3.0'

component/bt: add a option to make report adv data and scan response individually (backport v3.0)

See merge request idf/esp-idf!4158

5 years agoWifi: bug fix of may connect to wrong AP in all channel scan
Deng Xin [Fri, 20 Jul 2018 12:30:29 +0000 (20:30 +0800)]
Wifi: bug fix of may connect to wrong AP in all channel scan
1. enable threshold in all channel scan
2. bug fix of may connect to an open AP even set password in all channel scan

5 years agoMerge branch 'bugfix/fix_some_wifi_bugs_0131_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Fri, 15 Feb 2019 04:15:11 +0000 (12:15 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs_0131_v3.0' into 'release/v3.0'

esp32: fix some WiFi bugs (backport v3.0)

See merge request idf/esp-idf!4220

5 years agoesp32: fix some WiFi bugs
Liu Zhi Fu [Thu, 31 Jan 2019 13:22:09 +0000 (21:22 +0800)]
esp32: fix some WiFi bugs

Fix following WiFi bugs:
1. Fix a crash bug which is caused by WiFi static TX buffer alloc/free.
2. Fix the bug that iphone fails to connect to ESP32 AP by enabling AP BAR receiving.
3. Fix the bug that ESP32 station fails to connect some APs, such as Xiaomi hotspot etc,
   after reset.

5 years agoMerge branch 'bugfix/i2c_hardware_filter_default_enable_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Fri, 25 Jan 2019 05:54:49 +0000 (13:54 +0800)]
Merge branch 'bugfix/i2c_hardware_filter_default_enable_v3.0' into 'release/v3.0'

driver(i2c): enable I2C master hardware filter by default (backport v3.0)

See merge request idf/esp-idf!3817

5 years agocomponent/bt: add a option to make report adv data and scan response individually
Tian Hao [Wed, 23 Jan 2019 06:11:56 +0000 (14:11 +0800)]
component/bt: add a option to make report adv data and scan response individually

Originally, when doing BLE active scan, Bluedroid will not report adv to
application layer until receive scan response. This option is used to
disable the behavior. When enable this option, Bluedroid will report
adv data or scan response to application layer immediately.

5 years agoMerge branch 'bugfix/bootloader_map_size_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Thu, 24 Jan 2019 06:15:13 +0000 (14:15 +0800)]
Merge branch 'bugfix/bootloader_map_size_v3.0' into 'release/v3.0'

bootloader: fix incorrect mapping size (backport v3.0)

See merge request idf/esp-idf!4140

5 years agoMerge branch 'bugfix/init_memctl_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Wed, 23 Jan 2019 14:14:21 +0000 (22:14 +0800)]
Merge branch 'bugfix/init_memctl_v3.0' into 'release/v3.0'

bootloader, esp32: add workaround for Tensilica erratum 572 (backport v3.0)

See merge request idf/esp-idf!4141

5 years agobootloader, esp32: add workaround for Tensilica erratum 572
Ivan Grokhotkov [Thu, 1 Nov 2018 03:30:48 +0000 (11:30 +0800)]
bootloader, esp32: add workaround for Tensilica erratum 572

If zero-overhead loop buffer is enabled, under certain rare conditions
when executing a zero-overhead loop, the CPU may attempt to execute an invalid instruction. Work around by disabling the buffer.

5 years agoUpdate esptool.py to v2.6
Angus Gratton [Wed, 9 Jan 2019 07:11:41 +0000 (23:11 -0800)]
Update esptool.py to v2.6

5 years agobootloader: account for load address when mapping cache pages
Ivan Grokhotkov [Mon, 3 Sep 2018 10:15:20 +0000 (18:15 +0800)]
bootloader: account for load address when mapping cache pages

Bootloader used to calculate the number of cache pages assuming that
load address was aligned, while in reality load address for DROM and
IROM was offset by 0x20 bytes from the start of 64kB page. This
caused the bootloader to map one less page if the size of the image
was 0x4..0x1c less than a multiple of 64kB.

Reported in https://esp32.com/viewtopic.php?f=13&t=6952.

5 years agobootloader: fix IROM and DROM swapped in log messages
Ivan Grokhotkov [Mon, 3 Sep 2018 10:10:46 +0000 (18:10 +0800)]
bootloader: fix IROM and DROM swapped in log messages

5 years agoMerge branch 'bugfix/fix_ba_hardware_index_deleting_issue_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Sat, 12 Jan 2019 05:56:48 +0000 (13:56 +0800)]
Merge branch 'bugfix/fix_ba_hardware_index_deleting_issue_v3.0' into 'release/v3.0'

esp32: fix wrongly deleting hardware BA index bug (backport v3.0)

See merge request idf/esp-idf!4104

5 years agoesp32: fix wrongly deleting hardware BA index bug
Liu Zhi Fu [Fri, 11 Jan 2019 15:56:27 +0000 (23:56 +0800)]
esp32: fix wrongly deleting hardware BA index bug

Fix the bug that hardware BA index will be wrongly removed in
WiFi mode WIFI_MODE_APSTA.

5 years agoMerge branch 'bugfix/wifi_defragmentation_only_for_data_frame_v3.0' into 'release...
Jiang Jiang Jian [Fri, 11 Jan 2019 14:24:22 +0000 (22:24 +0800)]
Merge branch 'bugfix/wifi_defragmentation_only_for_data_frame_v3.0' into 'release/v3.0'

esp32: do defragmentation only for data and management frame (backport v3.0)

See merge request idf/esp-idf!4092

5 years agoMerge branch 'bugfix/fix_mbox_thread_safe_issue_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Fri, 11 Jan 2019 14:22:19 +0000 (22:22 +0800)]
Merge branch 'bugfix/fix_mbox_thread_safe_issue_v3.0' into 'release/v3.0'

tcpip: fix mbox thread-safe issue (backport v3.0)

See merge request idf/esp-idf!4007

5 years agoesp32: do defragmentation only for data and management frame
XiaXiaotian [Fri, 4 Jan 2019 03:17:53 +0000 (11:17 +0800)]
esp32: do defragmentation only for data and management frame

    Check frame type before defragmentation. Only data and management frame can do
    defragmentation.

5 years agolwip: fix mbox thread-safe issue
Liu Zhi Fu [Thu, 20 Dec 2018 07:26:52 +0000 (15:26 +0800)]
lwip: fix mbox thread-safe issue

Fix a mbox free thread-safe issue that can lead to crash in sys_arch_mbox_fetch.

5 years agoMerge branch 'test/add_case_to_detect_ds2ds_issue_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Sat, 29 Dec 2018 02:34:25 +0000 (10:34 +0800)]
Merge branch 'test/add_case_to_detect_ds2ds_issue_v3.0' into 'release/v3.0'

test: add case to detect ds2ds issue (backport v3.0)

See merge request idf/esp-idf!3867

5 years agoMerge branch 'bugfix/fix_uart_read_bug_when_using_dual_core_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Sat, 29 Dec 2018 02:33:27 +0000 (10:33 +0800)]
Merge branch 'bugfix/fix_uart_read_bug_when_using_dual_core_v3.0' into 'release/v3.0'

driver(uart): fixed uart read error bug when using dual core (backport v3.0)

See merge request idf/esp-idf!3818

5 years agoMerge branch 'bugfix/btdm_assert_ble_32768_and_65535_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Sat, 29 Dec 2018 02:32:09 +0000 (10:32 +0800)]
Merge branch 'bugfix/btdm_assert_ble_32768_and_65535_v3.0' into 'release/v3.0'

components/bt: Fix assert 32768 and 65535 (backport 3.0)

See merge request idf/esp-idf!4034

5 years agounit tests: make static init guard test single core compatible
Ivan Grokhotkov [Wed, 29 Nov 2017 03:34:46 +0000 (11:34 +0800)]
unit tests: make static init guard test single core compatible

5 years agounit tests: Only initialise tcpip_adapter() when needed by the test
Angus Gratton [Wed, 26 Sep 2018 00:17:46 +0000 (10:17 +1000)]
unit tests: Only initialise tcpip_adapter() when needed by the test

Prevents unexpected memory allocations when running tests which
don't require tcpip_adapter.

5 years agocomponents/bt: Fix assert 32768 and 65535
baohongde [Thu, 27 Dec 2018 07:05:22 +0000 (15:05 +0800)]
components/bt: Fix assert 32768 and 65535

1. fix bug that there's very low ratio to cause BLE assert(32768, 0) in rwble.c at line 222
2. fix bug that there's very low ratio to cause BLE assert(65536, 0) in rwble.c at line 222

5 years agoMerge branch 'bugfix/mdns_crash_on_network_change_backport3.0' into 'release/v3.0'
Ivan Grokhotkov [Fri, 21 Dec 2018 03:59:20 +0000 (11:59 +0800)]
Merge branch 'bugfix/mdns_crash_on_network_change_backport3.0' into 'release/v3.0'

mdns: fixed crashes on network changes (backport v3.0)

See merge request idf/esp-idf!3785

5 years agotest: add test case to receive ds2ds packet
He Yin Ling [Wed, 28 Nov 2018 13:53:06 +0000 (21:53 +0800)]
test: add test case to receive ds2ds packet

5 years agoci: remove stale submodules after checkout
Ivan Grokhotkov [Fri, 8 Jun 2018 11:41:18 +0000 (19:41 +0800)]
ci: remove stale submodules after checkout

When ‘fetch’ strategy is used, Gitlab removes untracked files before
checking out new revision. However if the new revision doesn’t
include some of the submodules which were present in the old
revision, such submodule directories would not be removed by the
checkout. This extra step ensures that these stale submodules are
removed.

5 years agounit-test-app: backport from v3.1 to v3.0:
He Yin Ling [Mon, 3 Dec 2018 03:16:23 +0000 (11:16 +0800)]
unit-test-app: backport from v3.1 to v3.0:

1. add multiple devices feature
2. use tiny-test-fw to run unit test cases

5 years agotiny-test-fw: backport tiny-test-fw from v3.1 to v3.0
He Yin Ling [Mon, 3 Dec 2018 02:58:37 +0000 (10:58 +0800)]
tiny-test-fw: backport tiny-test-fw from v3.1 to v3.0

5 years agodriver(uart): fixed uart read error bug when using dual core for release/v3.0.
kooho [Fri, 19 Oct 2018 06:51:28 +0000 (14:51 +0800)]
driver(uart): fixed uart read error bug when using dual core for release/v3.0.

5 years agodriver(i2c): enable I2C master hardware filter by default for release/v3.0
kooho [Thu, 15 Nov 2018 12:21:49 +0000 (20:21 +0800)]
driver(i2c): enable I2C master hardware filter by default for release/v3.0

5 years agomdns: fixed crashes on network changes
David Cermak [Mon, 22 Oct 2018 14:45:42 +0000 (16:45 +0200)]
mdns: fixed crashes on network changes

not properly locked sending packets to queue from timer task

5 years agoMerge branch 'bugfix/fix_some_wifi_bugs_1121_v3.0' into 'release/v3.0' v3.0.7 v3.0.7-rc
Jiang Jiang Jian [Fri, 23 Nov 2018 09:08:59 +0000 (17:08 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs_1121_v3.0' into 'release/v3.0'

esp32: fix some wifi bugs (backport v3.0)

See merge request idf/esp-idf!3760

5 years agoesp32: fix some wifi bugs
Liu Zhi Fu [Wed, 21 Nov 2018 07:15:11 +0000 (15:15 +0800)]
esp32: fix some wifi bugs

Fix some wifi bugs:
1. Enable RX BAR
2. Fix the bug that ESP32 AP negotiates with iphone to 11g
3. Fix the bug that ESP32 STA has ap_loss because CMCC AP contains two SSID

5 years agoMerge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params_v3.0' into ...
Jiang Jiang Jian [Tue, 20 Nov 2018 12:03:22 +0000 (20:03 +0800)]
Merge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params_v3.0' into 'release/v3.0'

Component/bt: add check peer addr type in set adv params (backport v3.0)

See merge request idf/esp-idf!3737