]> granicus.if.org Git - esp-idf/log
esp-idf
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 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 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 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 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 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 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 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.

6 years agonvs-flash: Support for blobs larger than half of SPI Flash sector size
Sagar Bijwe [Mon, 2 Apr 2018 10:44:59 +0000 (16:14 +0530)]
nvs-flash: Support for blobs larger than half of SPI Flash sector size

This change removes the earlier limitation of 1984 bytes for storing data-blobs.
Blobs larger than the sector size are split and stored on multiple sectors.
For this purpose, two new datatypes (multi-page index and multi-page data) are
added for entries stored in the sectors. The underlying read, write, erase and find
operations are modified to support these large blobs. The change is transparent
to users of the library and no special APIs need to be used to store these large
blobs.

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

lwip: fix the bug that failed to create socket (backport v3.1)

See merge request idf/esp-idf!3311

6 years agoMerge branch 'bugfix/btdm_fix_crash_when_test_multi_connect_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 20 Sep 2018 06:02:12 +0000 (14:02 +0800)]
Merge branch 'bugfix/btdm_fix_crash_when_test_multi_connect_v3.1' into 'release/v3.1'

Component/bt: fix crash when test multi_connect(backport v3.1)

See merge request idf/esp-idf!3313

6 years agoMerge branch 'bugfix/btdm_fix_save_error_key_in_smp_when_reconnect_v3.1' into 'releas...
Jiang Jiang Jian [Thu, 20 Sep 2018 02:58:01 +0000 (10:58 +0800)]
Merge branch 'bugfix/btdm_fix_save_error_key_in_smp_when_reconnect_v3.1' into 'release/v3.1'

Component/bt: fix save error key in smp when reconnect(backport v3.1)

See merge request idf/esp-idf!3289

6 years agoMerge branch 'bugfix/btdm_fix_iphoneX_error_when_get_wifi_list_v3.1' into 'release...
Jiang Jiang Jian [Thu, 20 Sep 2018 02:55:08 +0000 (10:55 +0800)]
Merge branch 'bugfix/btdm_fix_iphoneX_error_when_get_wifi_list_v3.1' into 'release/v3.1'

Component/bt: fix iPhoneX error when getting wifi list (backport v3.1)

See merge request idf/esp-idf!3314

6 years agoMerge branch 'bugfix/mdns_memory_leak_backport_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 19 Sep 2018 10:05:51 +0000 (18:05 +0800)]
Merge branch 'bugfix/mdns_memory_leak_backport_v3.1' into 'release/v3.1'

feat(mdns): fix bug when clean action memory (backport v3.1)

See merge request idf/esp-idf!3305

6 years agolwip: fix the bug that failed to create socket
Liu Zhi Fu [Sun, 16 Sep 2018 10:28:45 +0000 (18:28 +0800)]
lwip: fix the bug that failed to create socket

Fix the bug that failed to create nonblocking TCP or UDP socket after several times socket create/close

6 years agoComponent/bt: fix iPhoneX error when getting wifi list
zhiweijian [Tue, 18 Sep 2018 12:48:28 +0000 (20:48 +0800)]
Component/bt: fix iPhoneX error when getting wifi list

6 years agoComponent/bt: fix crash when test multi_connect
zhiweijian [Wed, 19 Sep 2018 06:26:55 +0000 (14:26 +0800)]
Component/bt: fix crash when test multi_connect

6 years agofeat(mdns): fix bug when clean action memory
Liu Han [Fri, 14 Sep 2018 07:36:52 +0000 (15:36 +0800)]
feat(mdns): fix bug when clean action memory

6 years agoMerge branch 'bugfix/backport_several_wifi_bugfix_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 18 Sep 2018 12:03:32 +0000 (20:03 +0800)]
Merge branch 'bugfix/backport_several_wifi_bugfix_v3.1' into 'release/v3.1'

esp32: backport several WiFi bug fixes to v3.1 (backport v3.1)

See merge request idf/esp-idf!3280

6 years agoMerge branch 'bugfix/cmake_make_flash_target_v3.1' into 'release/v3.1'
Angus Gratton [Tue, 18 Sep 2018 02:49:52 +0000 (10:49 +0800)]
Merge branch 'bugfix/cmake_make_flash_target_v3.1' into 'release/v3.1'

cmake: Fix "make flash" & "ninja flash" targets

See merge request idf/esp-idf!3295

6 years agoMerge branch 'fix/spi_slave_free_cs_v3.1' into 'release/v3.1'
Angus Gratton [Tue, 18 Sep 2018 00:08:41 +0000 (08:08 +0800)]
Merge branch 'fix/spi_slave_free_cs_v3.1' into 'release/v3.1'

spi_slave: fix the issue rx dma get broken by master unexpected transaction (backport v3.1)

See merge request idf/esp-idf!3294

6 years agoMerge branch 'feature/signature_verify_updates_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 17 Sep 2018 23:56:12 +0000 (07:56 +0800)]
Merge branch 'feature/signature_verify_updates_v3.1' into 'release/v3.1'

secure boot: Support signed app verification without hardware secure boot  (backport v3.1)

See merge request idf/esp-idf!3184

6 years agocmake: Fix "make flash" & "ninja flash" targets
Angus Gratton [Thu, 13 Sep 2018 04:13:20 +0000 (14:13 +1000)]
cmake: Fix "make flash" & "ninja flash" targets

As reported on forum.

Requires a small CMake wrapper script to pick
up environment variables at flashing time.

6 years agospi_slave: fix the issue rx dma get broken by master unexpected transaction
michael [Thu, 6 Sep 2018 06:47:45 +0000 (14:47 +0800)]
spi_slave: fix the issue rx dma get broken by master unexpected transaction

6 years agoComponent/bt: fix save error key in smp when reconnect
zhiweijian [Wed, 12 Sep 2018 11:51:59 +0000 (19:51 +0800)]
Component/bt: fix save error key in smp when reconnect

6 years agoMerge branch 'bugfix/btdm_enable_modem_sleep_by_default_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 17 Sep 2018 08:17:46 +0000 (16:17 +0800)]
Merge branch 'bugfix/btdm_enable_modem_sleep_by_default_for_v3.1' into 'release/v3.1'

bugfix/btdm_enable_modem_sleep_by_default_for_v3.1(backport v3.1)

See merge request idf/esp-idf!3275

6 years agoMerge branch 'bugfix/btdm_unreserve_scn1_for_hfp_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 17 Sep 2018 08:17:08 +0000 (16:17 +0800)]
Merge branch 'bugfix/btdm_unreserve_scn1_for_hfp_v3.1' into 'release/v3.1'

component/bt: Unlock reserve of SCN 1 for HFP (backport v3.1)

See merge request idf/esp-idf!3285

6 years agoesp32: backport several WiFi bug fixes to v3.1
XiaXiaotian [Mon, 3 Sep 2018 07:28:46 +0000 (15:28 +0800)]
esp32: backport several WiFi bug fixes to v3.1

Backport following WiFi fixes to v3.1:
1. Fix AMPDU RX sequence compitability bug
2. Optimize scan capability in all channel scan
3. Fix some modem sleep bugs
4. Update API to set CSI channel filter and HT_LTF data generating

6 years agocomponent/bt: Unlock reserve of SCN 1 for HFP (backport v3.1)
baohongde [Mon, 17 Sep 2018 03:01:58 +0000 (11:01 +0800)]
component/bt: Unlock reserve of SCN 1 for HFP (backport v3.1)

A cherry-pick of MR !3269

6 years agoMerge branch 'bugfix/tw24694_dns_request_no_reply_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sun, 16 Sep 2018 07:18:39 +0000 (15:18 +0800)]
Merge branch 'bugfix/tw24694_dns_request_no_reply_v3.1' into 'release/v3.1'

lwip: add code for sending gratuitous ARP periodically (backport v3.1)

See merge request idf/esp-idf!3195

6 years agoMerge branch 'bugfix/mdns_service_txt_set_backportv3.1' into 'release/v3.1'
Jiang Jiang Jian [Sun, 16 Sep 2018 07:12:03 +0000 (15:12 +0800)]
Merge branch 'bugfix/mdns_service_txt_set_backportv3.1' into 'release/v3.1'

bugfix: mdns_service_txt_set() wasn't allocating memory for TXT records (backport v3.1)

See merge request idf/esp-idf!3254

6 years agoMerge branch 'bugfix/ble_adv_data_tx_power_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sun, 16 Sep 2018 06:54:59 +0000 (14:54 +0800)]
Merge branch 'bugfix/ble_adv_data_tx_power_v3.1' into 'release/v3.1'

fix TX power value in ble adv data is incorrect

See merge request idf/esp-idf!3187

6 years agoMerge branch 'bugfix/btdm_controller_enable_failed_in_examples_for_v3.1' into 'releas...
Jiang Jiang Jian [Fri, 14 Sep 2018 11:41:10 +0000 (19:41 +0800)]
Merge branch 'bugfix/btdm_controller_enable_failed_in_examples_for_v3.1' into 'release/v3.1'

Bugfix/btdm controller enable failed in examples for v3.1(backport v3.1)

See merge request idf/esp-idf!3266

6 years agoMerge branch 'doc/btdm_a2dp_source_example_improvement_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 14 Sep 2018 11:39:16 +0000 (19:39 +0800)]
Merge branch 'doc/btdm_a2dp_source_example_improvement_for_v3.1' into 'release/v3.1'

Doc/btdm a2dp source example improvement for v3.1(backport v3.1)

See merge request idf/esp-idf!3233

6 years agoMerge branch 'doc/btdm_a2dp_sink_example_improvement_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 14 Sep 2018 11:38:57 +0000 (19:38 +0800)]
Merge branch 'doc/btdm_a2dp_sink_example_improvement_for_v3.1' into 'release/v3.1'

doc/btdm_sink_example_improvement_for_v3.1(backport v3.1)

See merge request idf/esp-idf!3234

6 years agoMerge branch 'bugfix/btdm_a2dp_role_mixed_up_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 14 Sep 2018 11:32:53 +0000 (19:32 +0800)]
Merge branch 'bugfix/btdm_a2dp_role_mixed_up_for_v3.1' into 'release/v3.1'

Bugfix/btdm a2dp role mixed up for v3.1(backport v3.1)

See merge request idf/esp-idf!3267

6 years agocomponent/bt: enable bluetooth modem sleep as default setting
wangmengyang [Fri, 14 Sep 2018 09:01:45 +0000 (17:01 +0800)]
component/bt: enable bluetooth modem sleep as default setting

6 years agobugfix: mdns_service_txt_set() wasn't allocating memory for TXT records
Piyush Shah [Tue, 11 Sep 2018 10:50:00 +0000 (16:20 +0530)]
bugfix: mdns_service_txt_set() wasn't allocating memory for TXT records

Allocation was happening later, causing possible use of stack variables
of caller function, which could be invalid.

Signed-off-by: Piyush Shah <piyush@espressif.com>
6 years agocomponent/bt: stop to inititate AVRC connection when A2DP connection fails to set up
wangmengyang [Fri, 7 Sep 2018 04:07:59 +0000 (12:07 +0800)]
component/bt: stop to inititate AVRC connection when A2DP connection fails to set up

AVRCP connection binds to A2DP in current implementation, despite the two profiles are\
independent according to specification. AVRCP connection is not necessary to set-up \
if A2DP connection fails to establish

6 years agocomponent/bt: stop to initiate AVDTP connection on failure of A2DP service discovery
wangmengyang [Fri, 7 Sep 2018 04:03:33 +0000 (12:03 +0800)]
component/bt: stop to initiate AVDTP connection on failure of A2DP service discovery

In opening state of AVDTP connection, if SDP client fails to get valid A2DP service record\
from peer SDP server, then do not initiate AVDTP connection request

6 years agocomponent/bt: bugfix that A2DP sink device can be connected by another A2DP sink...
wangmengyang [Tue, 4 Sep 2018 12:32:59 +0000 (20:32 +0800)]
component/bt: bugfix that A2DP sink device can be connected by another A2DP sink device

In pevious implementation, A2DP sink will register an A2DP source Stream End Point(SEP) although the SEP is not\
supposed to be used. Now remove the unused SEP for source so that only one role of A2DP can be supported at one
time. Service record in local SDP server only includes at most one service for A2DP sink role or source

6 years agocomponent/bt: release some controller memory according to the configuration of blueto...
wangmengyang [Tue, 11 Sep 2018 03:20:30 +0000 (11:20 +0800)]
component/bt: release some controller memory according to the configuration of bluetooth examples

6 years agocomponent/bt: bugfix for mismatch of controller mode in sdkconfig.defaults and source...
wangmengyang [Tue, 11 Sep 2018 03:18:13 +0000 (11:18 +0800)]
component/bt: bugfix for mismatch of controller mode in sdkconfig.defaults and source code in some examples

6 years agotest: fix incorrect tx power value in adv
He Yin Ling [Wed, 12 Sep 2018 10:15:06 +0000 (18:15 +0800)]
test: fix incorrect tx power value in adv

6 years agoMerge branch 'feature/cmake_make_main_component_again_v3.1_bp' into 'release/v3.1'
Angus Gratton [Thu, 13 Sep 2018 07:37:25 +0000 (15:37 +0800)]
Merge branch 'feature/cmake_make_main_component_again_v3.1_bp' into 'release/v3.1'

cmake: make main a component again (backport v3.1)

See merge request idf/esp-idf!3247

6 years agoMerge branch 'doc/eclipse_parallel_build_v31' into 'release/v3.1'
Angus Gratton [Thu, 13 Sep 2018 07:36:35 +0000 (15:36 +0800)]
Merge branch 'doc/eclipse_parallel_build_v31' into 'release/v3.1'

docs: Add parallel builds to Eclipse setup (backport v3.1)

See merge request idf/esp-idf!3219

6 years agoMerge branch 'bugfix/ci_github_deploy_v31' into 'release/v3.1'
Angus Gratton [Thu, 13 Sep 2018 07:36:28 +0000 (15:36 +0800)]
Merge branch 'bugfix/ci_github_deploy_v31' into 'release/v3.1'

ci: Fix spurious pipeline failure when deploying a tag to GitHub (backport v3.1)

See merge request idf/esp-idf!3220

6 years agocmake: fix source list issues
Renz Christian Bagaporo [Thu, 13 Sep 2018 00:56:59 +0000 (08:56 +0800)]
cmake: fix source list issues

6 years agocmake: don't add main component Kconfig twice
Ivan Grokhotkov [Wed, 12 Sep 2018 11:31:22 +0000 (19:31 +0800)]
cmake: don't add main component Kconfig twice

6 years agocmake: use built-in file function to create dummy main
Ivan Grokhotkov [Wed, 12 Sep 2018 12:21:38 +0000 (20:21 +0800)]
cmake: use built-in file function to create dummy main