]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoethernetif: fix potential memory leak
morris [Tue, 6 Nov 2018 11:10:01 +0000 (19:10 +0800)]
ethernetif: fix potential memory leak

1. If L2_TO_L3_RX_BUF_MODE is not selected, we must assign l2_owner explictly before we call pbuf_free.

6 years agoMerge branch 'test/fix_bug_of_scan_interval_and_windows_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 12 Nov 2018 09:34:55 +0000 (17:34 +0800)]
Merge branch 'test/fix_bug_of_scan_interval_and_windows_for_v3.1' into 'release/v3.1'

test: fix bug of scan interval and window (backport v3.1)

See merge request idf/esp-idf!3668

6 years agoMerge branch 'bugfix/wifi_do_not_load_phy_data_if_fail_to_open_nvs_v3.1' into 'releas...
Jiang Jiang Jian [Mon, 12 Nov 2018 09:00:14 +0000 (17:00 +0800)]
Merge branch 'bugfix/wifi_do_not_load_phy_data_if_fail_to_open_nvs_v3.1' into 'release/v3.1'

esp32: do not try to load PHY data if fail to open NVS (backport v3.1)

See merge request idf/esp-idf!3649

6 years agoMerge branch 'bugfix/mdns_crash_on_network_change_backport3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 12 Nov 2018 07:30:44 +0000 (15:30 +0800)]
Merge branch 'bugfix/mdns_crash_on_network_change_backport3.1' into 'release/v3.1'

Fixed mdns crashes on network changes (backport v3.1)

See merge request idf/esp-idf!3579

6 years agoMerge branch 'bugfix/iperf_bt_error_when_wifi_connect_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 12 Nov 2018 07:29:30 +0000 (15:29 +0800)]
Merge branch 'bugfix/iperf_bt_error_when_wifi_connect_v3.1' into 'release/v3.1'

components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null(backport 3.1)

See merge request idf/esp-idf!3643

6 years agoesp32: do not try to load PHY data if fail to open NVS
XiaXiaotian [Mon, 22 Oct 2018 12:46:14 +0000 (20:46 +0800)]
esp32: do not try to load PHY data if fail to open NVS

6 years agoMerge branch 'test/change_iperf_test_env_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 12 Nov 2018 03:16:51 +0000 (11:16 +0800)]
Merge branch 'test/change_iperf_test_env_v3.1' into 'release/v3.1'

test: use simplified env to test iperf cases (backport v3.1)

See merge request idf/esp-idf!3568

6 years agotest: fix bug of scan interval and window
chensheng [Thu, 1 Nov 2018 03:54:52 +0000 (11:54 +0800)]
test: fix bug of scan interval and window

6 years agocomponents/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null...
baohongde [Tue, 6 Nov 2018 09:29:06 +0000 (17:29 +0800)]
components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null(backprot 3.1)

1. When WIFI task or other high priority task blocks the Bluetooth task, ACL RX buffer will use up, ACL RX buffer ptr will point to null and will never point to a valid adress. Causing errors in Bluetooth.
2. hcimsgs.h used whether flow control is on or off

6 years agoMerge branch 'test/fixbug_create_service_check_message_change_v3.1' into 'release...
He Yin Ling [Fri, 9 Nov 2018 03:22:05 +0000 (11:22 +0800)]
Merge branch 'test/fixbug_create_service_check_message_change_v3.1' into 'release/v3.1'

test: bugfix create service check message change for v3.1

See merge request idf/esp-idf!3664

6 years agoMerge branch 'bugfix/btdm_add_profile_descriptor_list_for_spp_v3.1' into 'release...
Jiang Jiang Jian [Thu, 8 Nov 2018 09:27:21 +0000 (17:27 +0800)]
Merge branch 'bugfix/btdm_add_profile_descriptor_list_for_spp_v3.1' into 'release/v3.1'

component/bt: Add profile descriptor list for SPP(backport 3.1)

See merge request idf/esp-idf!3602

6 years agoMerge branch 'bugfix/btdm_name_buffer_allocation_size_differs_v3.1' into 'release...
Jiang Jiang Jian [Thu, 8 Nov 2018 09:24:53 +0000 (17:24 +0800)]
Merge branch 'bugfix/btdm_name_buffer_allocation_size_differs_v3.1' into 'release/v3.1'

components/bt: Fix the different size of name buffer allocation size(backport 3.1)

See merge request idf/esp-idf!3588

6 years agotest: bugfix create service check message change for v3.1
chensheng [Thu, 8 Nov 2018 03:23:59 +0000 (11:23 +0800)]
test: bugfix create service check message change for v3.1

6 years agoMerge branch 'bugfix/btdm_sniff_anchor_point_calculation_error_for_v3.1' into 'releas...
Jiang Jiang Jian [Tue, 6 Nov 2018 09:12:39 +0000 (17:12 +0800)]
Merge branch 'bugfix/btdm_sniff_anchor_point_calculation_error_for_v3.1' into 'release/v3.1'

bugfix/btdm_sniff_anchor_point_calculation_error_for_v3.1(backport v3.1)

See merge request idf/esp-idf!3614

6 years agocomponent/bt: bugfix of two issues of sniff mode in classic bluetooth
wangmengyang [Tue, 6 Nov 2018 04:02:18 +0000 (12:02 +0800)]
component/bt: bugfix of two issues of sniff mode in classic bluetooth

1. resolve the error in calculating sniff anchor point that result in connection supervision timeout
2. resolve the issue of user case that requires sniff attempt is larger than 0xff

6 years agoMerge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_alloc_for_v3.1' into 'release...
Jiang Jiang Jian [Tue, 6 Nov 2018 03:57:04 +0000 (11:57 +0800)]
Merge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_alloc_for_v3.1' into 'release/v3.1'

bugfix/btdm_allow_a2dp_codec_dynamic_alloc_for_v3.1(backport v3.1)

See merge request idf/esp-idf!3600

6 years agoMerge branch 'bugfix/btdm_add_static_passkey_and_accept_specified_sec_aut' into ...
Jiang Jiang Jian [Mon, 5 Nov 2018 03:02:18 +0000 (11:02 +0800)]
Merge branch 'bugfix/btdm_add_static_passkey_and_accept_specified_sec_aut' into 'release/v3.1'

component/bt:  add static passkey and accept specified sec auth (backport v3.1)

See merge request idf/esp-idf!3559

6 years agoMerge branch 'bugfix/fix_some_wifi_bugs_1022_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 2 Nov 2018 07:36:46 +0000 (15:36 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs_1022_v3.1' into 'release/v3.1'

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

See merge request idf/esp-idf!3540

6 years agoMerge branch 'docs/wifi_correct_mistake_in_csi_doc_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 2 Nov 2018 07:36:12 +0000 (15:36 +0800)]
Merge branch 'docs/wifi_correct_mistake_in_csi_doc_v3.1' into 'release/v3.1'

esp32: correct a mistake about secondary channel of CSI in wifi.rst (backport v3.1)

See merge request idf/esp-idf!3406

6 years agoMerge branch 'bugfix/fix_psram_eid_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Thu, 1 Nov 2018 14:15:04 +0000 (22:15 +0800)]
Merge branch 'bugfix/fix_psram_eid_v3.1' into 'release/v3.1'

psram: fix psram eid (backport v3.1)

See merge request idf/esp-idf!3467

6 years agoMerge branch 'bugfix/workaround_free_peripherals_isr_when_using_dual_core_v3.1' into...
Ivan Grokhotkov [Thu, 1 Nov 2018 14:14:52 +0000 (22:14 +0800)]
Merge branch 'bugfix/workaround_free_peripherals_isr_when_using_dual_core_v3.1' into 'release/v3.1'

driver(interrupt): fix the issue that interrupt might be allocated and freed on different core for release/v3.1

See merge request idf/esp-idf!3436

6 years agoMerge branch 'bugfix/bootloader_iram_overlap_check_v3.1' into 'release/v3.1' v3.1.1
Ivan Grokhotkov [Thu, 1 Nov 2018 08:40:26 +0000 (16:40 +0800)]
Merge branch 'bugfix/bootloader_iram_overlap_check_v3.1' into 'release/v3.1'

bootloader: verify that loaded image does not overlap bootloader code (backport v3.1)

See merge request idf/esp-idf!3526

6 years agobootloader: Fix crash enabling flash encryption
Angus Gratton [Wed, 26 Sep 2018 07:48:50 +0000 (17:48 +1000)]
bootloader: Fix crash enabling flash encryption

Regression in 9c715d7946a9595bad53307cf0a141d4226d0a5a

6 years agobootloader: keep bootloader_common code to retention region
Mahavir Jain [Fri, 24 Aug 2018 12:26:38 +0000 (17:56 +0530)]
bootloader: keep bootloader_common code to retention region

It is possible to utilize some of the routines related to otadata
partition validation, after firmware image is downloaded to RAM. Hence
these routines should be part of app cpu cache, so that they do not
get overwritten by firmware.

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agocomponent/bt: Add profile descriptor list for SPP(backport 3.1)
baohongde [Thu, 1 Nov 2018 02:36:11 +0000 (10:36 +0800)]
component/bt: Add profile descriptor list for SPP(backport 3.1)

A cherry-pick of MR !2691

6 years agocomponent/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP...
wangmengyang [Wed, 31 Oct 2018 08:22:12 +0000 (16:22 +0800)]
component/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP to save internal DRAM

6 years agoMerge branch 'bugfix/ci_cmake_examples_v31' into 'release/v3.1'
Angus Gratton [Wed, 31 Oct 2018 05:21:42 +0000 (13:21 +0800)]
Merge branch 'bugfix/ci_cmake_examples_v31' into 'release/v3.1'

Fix cmake example build failures, gcov (backport 3.1)

See merge request idf/esp-idf!3326

6 years agocomponents/bt: Fix the different size of name buffer allocation size(backport 3.1)
baohongde [Wed, 31 Oct 2018 02:56:16 +0000 (10:56 +0800)]
components/bt: Fix the different size of name buffer allocation size(backport 3.1)

A cherry-pick of MR !3587
Close https://github.com/espressif/esp-idf/issues/2615

6 years agomdns: fixed crashes on network change (not properly locked sending packets to queue...
David Cermak [Mon, 22 Oct 2018 14:45:42 +0000 (16:45 +0200)]
mdns: fixed crashes on network change (not properly locked sending packets to queue from timer task), backport 3.1

6 years agoexamples: Copy ca_cert.pem into both example project dirs
Angus Gratton [Wed, 19 Sep 2018 01:25:24 +0000 (11:25 +1000)]
examples: Copy ca_cert.pem into both example project dirs

Keeps projects all-in-one under a single directory.

6 years agocmake: Fix some failing example builds, fix gcov
Angus Gratton [Tue, 18 Sep 2018 04:23:56 +0000 (14:23 +1000)]
cmake: Fix some failing example builds, fix gcov

6 years agoci: Split build_examples jobs into make & cmake
Angus Gratton [Thu, 13 Sep 2018 04:32:41 +0000 (14:32 +1000)]
ci: Split build_examples jobs into make & cmake

Fix problem where failures in make were being ignored.

6 years agoMerge branch 'doc/nvs_encr_doc_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 29 Oct 2018 09:21:50 +0000 (17:21 +0800)]
Merge branch 'doc/nvs_encr_doc_v3.1' into 'release/v3.1'

nvs_flash: Update documentation at different places to indicate NVS encryotion is supported

See merge request idf/esp-idf!3479

6 years agonvs_flash: Update documentation at different places to indicate NVS encryption is...
Sagar Bijwe [Thu, 4 Oct 2018 07:36:23 +0000 (13:06 +0530)]
nvs_flash: Update documentation at different places to indicate NVS encryption is supported

6 years agoMerge branch 'ci/only_create_required_jobs_in_pipeline_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sun, 28 Oct 2018 13:58:06 +0000 (21:58 +0800)]
Merge branch 'ci/only_create_required_jobs_in_pipeline_v3.1' into 'release/v3.1'

CI: only create required jobs in pipeline (backport v3.1)

See merge request idf/esp-idf!3565

6 years agotest: use simplified env to test iperf cases
He Yin Ling [Wed, 24 Oct 2018 05:34:05 +0000 (13:34 +0800)]
test: use simplified env to test iperf cases

6 years agoCI: only create required jobs when use bot to trigger test:
He Yin Ling [Sat, 29 Sep 2018 06:51:43 +0000 (14:51 +0800)]
CI: only create required jobs when use bot to trigger test:

Gitlab CI now allow us to define if a job need to be created by
varialbes. This commit add label to CI jobs, so we can make some jobs
not created in certain scenarios when we trigger pipeline with @bot.

6 years agoComponent/bt: add ble disconnect when ACCEPT_SPECIFIED_SEC_AUTH failed
zhiweijian [Thu, 11 Oct 2018 03:25:45 +0000 (11:25 +0800)]
Component/bt: add ble disconnect when ACCEPT_SPECIFIED_SEC_AUTH failed

6 years agobootloader: verify that loaded image does not overlap bootloader code
Ivan Grokhotkov [Sat, 29 Sep 2018 09:29:23 +0000 (17:29 +0800)]
bootloader: verify that loaded image does not overlap bootloader code

Fixes CVE-2018-18558

6 years agoComponent/bt: add only accept sepecified Authentication
zhiweijian [Thu, 27 Sep 2018 08:22:31 +0000 (16:22 +0800)]
Component/bt: add only accept sepecified Authentication

6 years agoComponent/bt: add set default passkey function
zhiweijian [Wed, 29 Aug 2018 04:03:55 +0000 (12:03 +0800)]
Component/bt: add set default passkey function

6 years agoMerge branch 'feature/34_coding_scheme_v3.1' into 'release/v3.1' v3.1.1-rc2
Angus Gratton [Fri, 26 Oct 2018 00:40:51 +0000 (08:40 +0800)]
Merge branch 'feature/34_coding_scheme_v3.1' into 'release/v3.1'

Secure Boot & Flash encryption: Support 3/4 Coding Scheme

See merge request idf/esp-idf!3510

6 years agoMerge branch 'bugfix/btdm_fix_remove_bond_list_failed_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 25 Oct 2018 10:50:44 +0000 (18:50 +0800)]
Merge branch 'bugfix/btdm_fix_remove_bond_list_failed_v3.1' into 'release/v3.1'

component/bt: fix remove bond list failed (backport v3.1)

See merge request idf/esp-idf!3516

6 years agocomponent/bt: fix remove bond list failed
zwj [Fri, 12 Oct 2018 02:48:46 +0000 (10:48 +0800)]
component/bt: fix remove bond list failed

6 years agoesp32: fix some wifi bugs
Liu Zhi Fu [Mon, 22 Oct 2018 15:02:40 +0000 (23:02 +0800)]
esp32: fix some wifi bugs

Fix following WiFi bugs:
1. Fix the bug that MIC verification fails on soft-AP mode
2. Modify mesh root to have same behavior as normal WiFi STA in state change
3. Fix the bug that sniffer can't catch control packets
4. Fix crash bug in soft-AP mode
5. Fix ACM(Admission Control Management) bug

6 years agoSecure Boot & Flash encryption: Support 3/4 Coding Scheme
Angus Gratton [Tue, 2 Oct 2018 05:15:32 +0000 (15:15 +1000)]
Secure Boot & Flash encryption: Support 3/4 Coding Scheme

Includes esptool update to v2.6-beta1

6 years agoMerge branch 'feature/ci_multi_python_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 24 Oct 2018 23:20:12 +0000 (07:20 +0800)]
Merge branch 'feature/ci_multi_python_v3.1' into 'release/v3.1'

CI: Support switching between various versions of Python (backport v3.1)

See merge request idf/esp-idf!3534

6 years agoMerge branch 'bugfix/tw26711_fix_wifi_memory_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 22 Oct 2018 13:20:20 +0000 (21:20 +0800)]
Merge branch 'bugfix/tw26711_fix_wifi_memory_v3.1' into 'release/v3.1'

esp32: fix wifi memory leak (backport v3.1)

See merge request idf/esp-idf!3524

6 years agoCI: Support switching between various versions of Python
Roland Dobai [Tue, 25 Sep 2018 12:43:07 +0000 (14:43 +0200)]
CI: Support switching between various versions of Python

6 years agoesp32: fix wifi memory leak
Liu Zhi Fu [Sun, 21 Oct 2018 12:43:48 +0000 (20:43 +0800)]
esp32: fix wifi memory leak

Fix a WiFi memory leak bug

6 years agoesp32: correct a mistake about secondary channel of CSI in wifi.rst
XiaXiaotian [Sat, 29 Sep 2018 07:32:09 +0000 (15:32 +0800)]
esp32: correct a mistake about secondary channel of CSI in wifi.rst

6 years agoMerge branch 'bugfix/coex_hw_blocking_2nd_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 18 Oct 2018 13:25:33 +0000 (21:25 +0800)]
Merge branch 'bugfix/coex_hw_blocking_2nd_v3.1' into 'release/v3.1'

coexist : fix coexist bugs related to coex hw blocking

See merge request idf/esp-idf!3415

6 years agocoexist : fix coexist bugs related to coex hw blocking
Tian Hao [Sun, 30 Sep 2018 09:26:04 +0000 (17:26 +0800)]
coexist : fix coexist bugs related to coex hw blocking

1. fix some bugs by previous coex hw blocking bugfix,
   such like, rwble.c (64, 0) line 222
2. fix bug that ble scan performance is very low when software coexist
   is working.
3. update libcoexist version to v1.1.0

6 years agoMerge branch 'bugfix/tw26696_fix_wifi_timer_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 17 Oct 2018 09:30:46 +0000 (17:30 +0800)]
Merge branch 'bugfix/tw26696_fix_wifi_timer_v3.1' into 'release/v3.1'

Bugfix/tw26696 fix wifi timer v3.1 (backport v3.1)

See merge request idf/esp-idf!3494

6 years agoBugfix/tw26696 fix wifi timer v3.1 (backport v3.1)
Liu Zhi Fu [Wed, 17 Oct 2018 09:30:46 +0000 (17:30 +0800)]
Bugfix/tw26696 fix wifi timer v3.1 (backport v3.1)

6 years agoMerge branch 'bugfix/fix_random_failure_with_ota_updates_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Tue, 16 Oct 2018 02:58:24 +0000 (10:58 +0800)]
Merge branch 'bugfix/fix_random_failure_with_ota_updates_v3.1' into 'release/v3.1'

app_update: fix intermittent failure with firmware updates (backport v3.1)

See merge request idf/esp-idf!3419

6 years agoheap: Fix heap metadata test to account for background memory allocations
Angus Gratton [Mon, 30 Jul 2018 01:41:30 +0000 (11:41 +1000)]
heap: Fix heap metadata test to account for background memory allocations

6 years agobugfix(psram): fix psram driver
chenjianqiang [Thu, 27 Sep 2018 09:00:48 +0000 (17:00 +0800)]
bugfix(psram): fix psram driver

1. remove use EID to distinguish psram voltage
2. 1V8 64Mbit psram and 3V3 64Mbit psram use the same psram driver(standard spi interface)
3. set cs hold time register as 1

6 years agofeature(psram): add support for 64MBit psram of 1.8v and 3.3v.
Wangjialin [Wed, 4 Jul 2018 03:43:30 +0000 (11:43 +0800)]
feature(psram): add support for 64MBit psram of 1.8v and 3.3v.

1. Add reading psram EID.
2. Configure different clock mode for different EID.
3. add API to get psram size and voltage.
4. Remove unnecessary VSPI claim.

For 32MBit@1.8V and 64MBit@3.3V psram, there should be 2 extra clock cycles after CS get high level.
For 64MBit@1.8 psram, we can just use standard SPI protocol to drive the psram. We also need to increase the HOLD time for CS in this case.

EID for psram:
32MBit 1.8v: 0x20
64MBit 1.8v: 0x26
64MBit 3.3v: 0x46

6 years agoMerge branch 'bugfix/several_bugfix_about_ba_session_setup_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 11 Oct 2018 03:42:15 +0000 (11:42 +0800)]
Merge branch 'bugfix/several_bugfix_about_ba_session_setup_v3.1' into 'release/v3.1'

esp32: several fixes about BA session setup (backport v3.1)

See merge request idf/esp-idf!3456

6 years agodriver(interrupt): fix the issue that interrupt might be allocated and freed on diffe...
kooho [Thu, 20 Sep 2018 04:13:43 +0000 (12:13 +0800)]
driver(interrupt): fix the issue that interrupt might be allocated and freed on different cores for release/v3.1

6 years agoMerge branch 'bugfix/misc_v3_1_backports' into 'release/v3.1'
Angus Gratton [Wed, 10 Oct 2018 07:01:13 +0000 (15:01 +0800)]
Merge branch 'bugfix/misc_v3_1_backports' into 'release/v3.1'

Multiple v3.1 backports

See merge request idf/esp-idf!3378

6 years agoesp32: several fixes about BA session setup
Liu Zhi Fu [Wed, 10 Oct 2018 06:04:06 +0000 (14:04 +0800)]
esp32: several fixes about BA session setup

1. Fix the bug that ESP32 will reject the retry AddBA request frame
   if AddBA response frame is failed to sent by WiFi LMAC
2. Fix the bug that AddBA request retrys too frequently
3. Forbid BA session setup for VO queue related TID

6 years agoMerge branch 'fix/spi_master_cmd_addr_lsbfirst_v3.1' into 'release/v3.1'
Angus Gratton [Tue, 9 Oct 2018 03:46:41 +0000 (11:46 +0800)]
Merge branch 'fix/spi_master_cmd_addr_lsbfirst_v3.1' into 'release/v3.1'

spi_master: fix the command and address field when LSB_FIRST enabled (Backport v3.1)

See merge request idf/esp-idf!3446

6 years agoMerge branch 'bugfix/no_disconnect_event_report_if_no_correct_status_code_report_v3...
Jiang Jiang Jian [Mon, 8 Oct 2018 13:35:02 +0000 (21:35 +0800)]
Merge branch 'bugfix/no_disconnect_event_report_if_no_correct_status_code_report_v3.1' into 'release/v3.1'

Bugfix of no disconnect event report if no correct status code report( Backport v3.1)

See merge request idf/esp-idf!3386

6 years agotest: modify the command/address test a bit to test the LSBFIRST feature
michael [Wed, 3 Oct 2018 16:16:21 +0000 (00:16 +0800)]
test: modify the command/address test a bit to test the LSBFIRST feature

6 years agospi: move gpio direction config to common func for coinsistence
michael [Tue, 2 Oct 2018 09:09:02 +0000 (17:09 +0800)]
spi: move gpio direction config to common func for coinsistence

(MINOR CHANGE)

6 years agospi_master: fix the command and address field when LSB_FIRST enabled
Michael (XIAO Xufeng) [Fri, 28 Sep 2018 03:36:14 +0000 (11:36 +0800)]
spi_master: fix the command and address field when LSB_FIRST enabled

Resolves https://github.com/espressif/esp-idf/issues/2444.

6 years agoMerge branch 'feature/nvs_encr_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 8 Oct 2018 08:20:28 +0000 (16:20 +0800)]
Merge branch 'feature/nvs_encr_v3.1' into 'release/v3.1'

nvs_flash: Add support for nvs encryption

See merge request idf/esp-idf!3434

6 years agoapp_update: remove unrequired static attribute from mmap handle
Mahavir Jain [Sat, 29 Sep 2018 05:12:40 +0000 (10:42 +0530)]
app_update: remove unrequired static attribute from mmap handle

6 years agoapp_update: fix intermittent failure with firmware updates
Mahavir Jain [Fri, 28 Sep 2018 10:29:52 +0000 (15:59 +0530)]
app_update: fix intermittent failure with firmware updates

Routine `spi_flash_cache2phys` sometimes return incorrect value,
resulting in failure in getting currently running ota partition.
This in turn aborts firmware update process.This issue was more
prominent with SPIRAM enabled cases.

Fix ensures proper cache guards during `spi_flash_cache2phys`, and
also for few other similar APIs.

In addition, `esp_ota_get_running_partition` has also been optimized
to save currently running partition for subsequent invocations.

Fixes https://github.com/espressif/esp-idf/issues/2451

6 years agoMerge branch 'bugfix/disable_coding_scheme_security_features_v3.1' into 'release...
Angus Gratton [Sun, 7 Oct 2018 23:06:40 +0000 (07:06 +0800)]
Merge branch 'bugfix/disable_coding_scheme_security_features_v3.1' into 'release/v3.1'

bootloader: Don't enable secure boot or flash encryption for 3/4 Coding Scheme (v3.1)

See merge request idf/esp-idf!3421

6 years agonvs_flash: Add support for nvs encryption
Sagar Bijwe [Mon, 2 Jul 2018 11:10:43 +0000 (16:40 +0530)]
nvs_flash: Add support for nvs encryption

6 years agoesptool: Update to v2.5.1
Angus Gratton [Thu, 27 Sep 2018 00:12:00 +0000 (10:12 +1000)]
esptool: Update to v2.5.1

Release notes: https://github.com/espressif/esptool/releases/tag/v2.5.1

Needed to no longer burn keys if 3/4 Coding Scheme is enabled.

6 years agobootloader: Don't enable secure boot or flash encryption for 3/4 Coding Scheme
Angus Gratton [Wed, 26 Sep 2018 06:57:44 +0000 (16:57 +1000)]
bootloader: Don't enable secure boot or flash encryption for 3/4 Coding Scheme

6 years agoMerge branch 'bugfix/bootloader_gen_secure_boot_digest_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 3 Oct 2018 03:38:00 +0000 (11:38 +0800)]
Merge branch 'bugfix/bootloader_gen_secure_boot_digest_v3.1' into 'release/v3.1'

bootloader: Fix secure boot digest generation for image length where (len%128 < 32) (backport v3.1)

See merge request idf/esp-idf!3411

6 years agoMerge branch 'fix/sdio_slave_reset_ret_queue_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 3 Oct 2018 01:24:08 +0000 (09:24 +0800)]
Merge branch 'fix/sdio_slave_reset_ret_queue_v3.1' into 'release/v3.1'

sdio_slave: fix the ret_queue crash issue when being reset by the master (Backport v3.1)

See merge request idf/esp-idf!3394

6 years agoMerge branch 'bugfix/btdm_watchdog_timeout_after_pair_with_iphone_v3.1' into 'release...
Jiang Jiang Jian [Sun, 30 Sep 2018 06:39:09 +0000 (14:39 +0800)]
Merge branch 'bugfix/btdm_watchdog_timeout_after_pair_with_iphone_v3.1' into 'release/v3.1'

component/bt: Fix BTU task watchdog timeout after pair with iphone (backport 3.1)

See merge request idf/esp-idf!3396

6 years agoMerge branch 'bugfix/btdm_controller_stuck_on_waking_up_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sun, 30 Sep 2018 06:26:04 +0000 (14:26 +0800)]
Merge branch 'bugfix/btdm_controller_stuck_on_waking_up_for_v3.1' into 'release/v3.1'

bugfix/btdm_controller_stuck_on_waking_up_for_v3.1(backport v3.1)

See merge request idf/esp-idf!3397

6 years agobootloader: Fix secure boot digest generation for image length where (len%128 < 32)
Angus Gratton [Sat, 29 Sep 2018 14:31:58 +0000 (00:31 +1000)]
bootloader: Fix secure boot digest generation for image length where (len%128 < 32)

6 years agoBugfix of no disconnect event report if no correct status code report
Deng Xin [Thu, 27 Sep 2018 08:46:02 +0000 (16:46 +0800)]
Bugfix of no disconnect event report if no correct status code report

Problem Description
The reporduce steps are as follows:

1.This issue can be reproduced with 4 ESP32 devices, 2 for stations (STA1, STA2) and 2 for soft-AP (AP1, AP2)
2.Configure AP1/AP2 to the same SSID (ssid_xxx)
3.The max allowed WiFi connections of AP1 is configured to 1 and STA1 connects to AP1
4.The AP1 is close to STA2 while AP2 is far away from STA2 (but the STA2 can find the AP2 via scan)
5.STA2 connects ssid_xxx with all scan method
6.The problem will happen on STA2 because it fails to connec AP1 and never connects AP2

Phenmenon
STA fail to connect after send auth or assoc with a wrong status code, but no disconnect event report and can not connect the next one in the envrionment
Root Cause
Because there are some same ssid APs in the evnrionment, when do all channel scan, it will collect all the matched AP in rc list, because rc list is not empty, so it would send disconnect event, however, we didn't do other step such as connect to other one
VNC MR 575
closes https://github.com/espressif/esp-idf/issues/2323

6 years agocomponent/bt: bugfix that hci down stream datapath is unblocked too early on waking...
wangmengyang [Fri, 28 Sep 2018 04:15:16 +0000 (12:15 +0800)]
component/bt: bugfix that hci down stream datapath is unblocked too early on waking up from sleep

    This issue can cause the controller to stuck after sleep interrupt happens and clock interrupt enabled

6 years agoMerge branch 'bugfix/btdm_coex_hw_blocking_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Fri, 28 Sep 2018 03:57:26 +0000 (11:57 +0800)]
Merge branch 'bugfix/btdm_coex_hw_blocking_v3.1' into 'release/v3.1'

component/bt : fix coexist hardware blocking bug

See merge request idf/esp-idf!3363

6 years agocomponent/bt: Fix BTU task watchdog timeout after pair with iphone (backport 3.1)
baohongde [Fri, 28 Sep 2018 03:04:44 +0000 (11:04 +0800)]
component/bt: Fix BTU task watchdog timeout after pair with iphone (backport 3.1)

A cherry-pick of MR !3366

Create a new pending queue, then re-submit pending requests in old pending queue,preventing new events being inserted into it.

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

6 years agosdio_slave: fix the ret_queue crash issue when being reset by the master
michael [Tue, 25 Sep 2018 12:29:46 +0000 (20:29 +0800)]
sdio_slave: fix the ret_queue crash issue when being reset by the master

6 years agocomponent/bt : fix coexist hardware blocking bug
Tian Hao [Thu, 20 Sep 2018 04:31:22 +0000 (12:31 +0800)]
component/bt : fix coexist hardware blocking bug

fix the bug following:
1. after disable bluetooth controller, wifi cannot TX/RX any packets.
2. when software coexist working, there's a little ratio cause wifi task
watchdog timeout
3. when software coexist working, there's a little ratio cause bluetooth
cannot receive anything.

feature:
1. add libbtdm_app.a git commit local and remote checking

Known issues:
1. there's still a bug occurs with a very very low ratio cause bluetooth
   cannot receive anything. The reproduce interval may great than 3days
   ~ 1week via 7x24 hours heavy testing.

6 years agoMerge branch 'feature/backport_mp_support' into 'release/v3.1'
Angus Gratton [Thu, 27 Sep 2018 09:19:32 +0000 (17:19 +0800)]
Merge branch 'feature/backport_mp_support' into 'release/v3.1'

nvs-flash: Support for blobs larger than half of SPI Flash sector size

See merge request idf/esp-idf!3350

6 years agoMerge branch 'bugfix/btdm_fix_get_bond_list_error_sometimes_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 27 Sep 2018 09:16:41 +0000 (17:16 +0800)]
Merge branch 'bugfix/btdm_fix_get_bond_list_error_sometimes_v3.1' into 'release/v3.1'

Component/bt: fix get bond list error sometimes(backport v3.1)

See merge request idf/esp-idf!3365

6 years agocmake: add app_trace as FreeRTOS dependency
Ivan Grokhotkov [Fri, 21 Sep 2018 06:58:34 +0000 (14:58 +0800)]
cmake: add app_trace as FreeRTOS dependency

This is needed because FreeRTOSConfig.h includes header file provided
by app_trace when CONFIG_SYSVIEW_ENABLE=y.

6 years agocmake: pass repository path to git when doing git describe
Ivan Grokhotkov [Thu, 20 Sep 2018 08:17:35 +0000 (16:17 +0800)]
cmake: pass repository path to git when doing git describe

Fixes getting IDF version in out-of-tree builds

6 years agowpa_supplicant: more wpa2_enterprise fixes
negativekelvin [Fri, 7 Sep 2018 09:30:10 +0000 (02:30 -0700)]
wpa_supplicant: more wpa2_enterprise fixes

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

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

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

6 years agoesp32: abort when running on single core chip in dual core mode
Ivan Grokhotkov [Wed, 19 Sep 2018 03:34:34 +0000 (11:34 +0800)]
esp32: abort when running on single core chip in dual core mode

Ref. https://esp32.com/viewtopic.php?f=2&t=7307

6 years agosleep: keep RTC_SLOW_MEM powered on if RTC_NOINIT is used
Ivan Grokhotkov [Thu, 6 Sep 2018 10:31:17 +0000 (18:31 +0800)]
sleep: keep RTC_SLOW_MEM powered on if RTC_NOINIT is used

Fixes a bug that if application uses RTC_NOINIT variables but doesn’t
use RTC_DATA variables, then RTC_NOINIT variables loose their values
after deep sleep.

Reported in https://esp32.com/viewtopic.php?f=2&t=7045&p=30301#p30299

6 years agobt: build unit tests only when CONFIG_BT_ENABLED=1
Ivan Grokhotkov [Mon, 13 Aug 2018 14:38:37 +0000 (17:38 +0300)]
bt: build unit tests only when CONFIG_BT_ENABLED=1

6 years agoComponent/bt: fix get bond list error sometimes
zhiweijian [Mon, 17 Sep 2018 09:47:16 +0000 (17:47 +0800)]
Component/bt: fix get bond list error sometimes

6 years agoMerge branch 'bugfix/cmake_lambda_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 27 Sep 2018 02:22:00 +0000 (10:22 +0800)]
Merge branch 'bugfix/cmake_lambda_v3.1' into 'release/v3.1'

idf.py: Make the lambda function Python 2 & 3 compatible (backport v3.1)

See merge request idf/esp-idf!3249

6 years agoMerge branch 'bugfix/btdm_bt_remove_device_fail_when_ble_connected_v3.1' into 'releas...
Jiang Jiang Jian [Wed, 26 Sep 2018 10:57:36 +0000 (18:57 +0800)]
Merge branch 'bugfix/btdm_bt_remove_device_fail_when_ble_connected_v3.1' into 'release/v3.1'

component/bt: Fix bug of remove bond device fail when BLE and BT are connectd at…

See merge request idf/esp-idf!3368

6 years agoMerge branch 'mesh/bugfix_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 26 Sep 2018 08:14:40 +0000 (16:14 +0800)]
Merge branch 'mesh/bugfix_v3.1' into 'release/v3.1'

Mesh/bugfix v3.1 (backport3.1)

See merge request idf/esp-idf!3358

6 years agocomponent/bt: Fix bug of remove bond device fail when BLE and BT are connectd at...
baohongde [Wed, 26 Sep 2018 06:23:05 +0000 (14:23 +0800)]
component/bt: Fix bug of remove bond device fail when BLE and BT are connectd at the same time (backport 3.1)

A cherry-pick of MR !2767

6 years agomesh: bugfix
qiyueixa [Sun, 23 Sep 2018 13:09:59 +0000 (21:09 +0800)]
mesh: bugfix

1. suppport mesh type, mesh ID, router and IE crypt func&key at any time after mesh is initalized.
2. support modify parent at any time after mesh is configured.
3. modify manual networking example.
4. update header file.
5. fix issues in root conflicts handling.
6. add max length of beacon to menuconfig.
7. fix issue when received a beacon without DSSS.