]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoFeature: Support for global CA store.
Chirag Atal [Thu, 4 Oct 2018 10:35:02 +0000 (16:05 +0530)]
Feature: Support for global CA store.

Added a new API esp_tls_set_global_ca_store(esp_tls_cfg_t *cfg) which creates a global_cacert which can be used by multiple connections by setting the use_global_ca_store variable to true in their respective structure of esp_tls_cfg_t. Also changed the cacert in the structure of esp_tls_t to a pointer.

6 years agoMerge branch 'feature/transpost_methods_renamed_no_collision' into 'master'
Angus Gratton [Thu, 4 Oct 2018 05:11:49 +0000 (13:11 +0800)]
Merge branch 'feature/transpost_methods_renamed_no_collision' into 'master'

Renamed transport header files to esp_ prefixed

See merge request idf/esp-idf!3359

6 years agoMerge branch 'bugfix/esp_error_check_silent' into 'master'
Angus Gratton [Wed, 3 Oct 2018 06:33:09 +0000 (14:33 +0800)]
Merge branch 'bugfix/esp_error_check_silent' into 'master'

esp_err: Don't compile in error message strings in "silent assertions" mode

See merge request idf/esp-idf!3418

6 years agoMerge branch 'feature/sigmadelta-example-update-readme' into 'master'
Angus Gratton [Wed, 3 Oct 2018 01:50:27 +0000 (09:50 +0800)]
Merge branch 'feature/sigmadelta-example-update-readme' into 'master'

Updated sigma-delta example description to the latest template

See merge request idf/esp-idf!3388

6 years agotcp_transport: transport set handle refactoring, web socket client name updated
David Cermak [Tue, 2 Oct 2018 13:19:46 +0000 (15:19 +0200)]
tcp_transport: transport set handle refactoring, web socket client name updated

6 years agotcp_transport: renamed possibly generic function names to be esp_ prefixed and not...
David Cermak [Wed, 26 Sep 2018 09:56:47 +0000 (11:56 +0200)]
tcp_transport: renamed possibly generic function names to be esp_ prefixed and not to colide with user namespace

6 years agotcp_transport: Use getrandom() instead of rand() in the entire esp-mqtt
Anton Maklakov [Wed, 19 Sep 2018 11:52:11 +0000 (19:52 +0800)]
tcp_transport: Use getrandom() instead of rand() in the entire esp-mqtt

Signed-off-by: David Cermak <cermak@espressif.com>
6 years agotcp_transport: Fix warning, put in order the nearest code, replace sprintf with snprintf
Anton Maklakov [Tue, 18 Sep 2018 06:02:14 +0000 (14:02 +0800)]
tcp_transport: Fix warning, put in order the nearest code, replace sprintf with snprintf

Signed-off-by: David Cermak <cermak@espressif.com>
6 years agotcp_transport: renamed transport related header files to esp_ prefixed to avoid colli...
David Cermak [Tue, 25 Sep 2018 08:34:04 +0000 (10:34 +0200)]
tcp_transport: renamed transport related header files to esp_ prefixed to avoid collisions

tcp_transport component used public header files such as 'transport.h', etc. which are too generic and might collide with user or user libraries headers
This change closes #2417

6 years agoesp_err: Don't compile in error message strings in "silent assertions" mode
Angus Gratton [Mon, 1 Oct 2018 06:22:33 +0000 (16:22 +1000)]
esp_err: Don't compile in error message strings in "silent assertions" mode

Reported on forum https://esp32.com/viewtopic.php?f=13&t=7396&p=31419#p31419

6 years agoMerge branch 'bugfix/bootloader_gen_secure_boot_digest' into 'master'
Angus Gratton [Tue, 2 Oct 2018 06:55:21 +0000 (14:55 +0800)]
Merge branch 'bugfix/bootloader_gen_secure_boot_digest' into 'master'

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

See merge request idf/esp-idf!3410

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 agoMerge branch 'bugfix/disable_coding_scheme_security_features' into 'master'
Angus Gratton [Mon, 1 Oct 2018 23:54:11 +0000 (07:54 +0800)]
Merge branch 'bugfix/disable_coding_scheme_security_features' into 'master'

bootloader: Don't enable secure boot or flash encryption for 3/4 Coding Scheme

See merge request idf/esp-idf!3369

6 years agoMerge branch 'bugfix/rtc_fastmem_data_init' into 'master'
Ivan Grokhotkov [Mon, 1 Oct 2018 10:13:43 +0000 (18:13 +0800)]
Merge branch 'bugfix/rtc_fastmem_data_init' into 'master'

esp32: fixes related to CONFIG_ESP32_RTCDATA_IN_FAST_MEM

See merge request idf/esp-idf!3403

6 years agoMerge branch 'bugfix/win_toolchain_version' into 'master'
Angus Gratton [Mon, 1 Oct 2018 06:03:52 +0000 (14:03 +0800)]
Merge branch 'bugfix/win_toolchain_version' into 'master'

build: Fix checking the toolchain version on Windows

See merge request idf/esp-idf!3356

6 years agoMerge branch 'bugfix/workaround_free_peripherals_isr_when_using_dual_core' into ...
Ivan Grokhotkov [Sun, 30 Sep 2018 13:42:52 +0000 (21:42 +0800)]
Merge branch 'bugfix/workaround_free_peripherals_isr_when_using_dual_core' into 'master'

driver(interrupt): fix the issue that interrupt might be allocated and freed on different cores.

See merge request idf/esp-idf!3152

6 years agoMerge branch 'bugfix/btdm_watchdog_timeout_after_pair_with_iphone' into 'master'
Jiang Jiang Jian [Sun, 30 Sep 2018 06:39:00 +0000 (14:39 +0800)]
Merge branch 'bugfix/btdm_watchdog_timeout_after_pair_with_iphone' into 'master'

component/bt: Fix BTU task watchdog timeout after pair with iphone

See merge request idf/esp-idf!3366

6 years agoMerge branch 'bugfix/btdm_controller_stuck_on_waking_up' into 'master'
Jiang Jiang Jian [Sun, 30 Sep 2018 06:25:58 +0000 (14:25 +0800)]
Merge branch 'bugfix/btdm_controller_stuck_on_waking_up' into 'master'

bugfix/btdm_controller_stuck_on_waking_up

See merge request idf/esp-idf!3395

6 years agoMerge branch 'bugfix/btdm_add_sequential_check_when_add_include_service' into 'master'
Jiang Jiang Jian [Sun, 30 Sep 2018 06:19:54 +0000 (14:19 +0800)]
Merge branch 'bugfix/btdm_add_sequential_check_when_add_include_service' into 'master'

component/bt: add sequential check when add include service

See merge request idf/esp-idf!3277

6 years agocomponent/bt: add sequential check when add include service
Zhi Wei Jian [Sun, 30 Sep 2018 06:19:54 +0000 (14:19 +0800)]
component/bt: add sequential check when add include service

6 years agoMerge branch 'bugfix/btdm_add_ESP_BLE_SM_ONLY_ACCEPT_SPECIFIED_SEC_AUTH_in_set_securi...
Jiang Jiang Jian [Sun, 30 Sep 2018 06:18:23 +0000 (14:18 +0800)]
Merge branch 'bugfix/btdm_add_ESP_BLE_SM_ONLY_ACCEPT_SPECIFIED_SEC_AUTH_in_set_security_param_API' into 'master'

Component/bt: add only accept sepecified authentication function for SMP

See merge request idf/esp-idf!3385

6 years agoMerge branch 'docs/wifi_correct_mistake_in_csi_doc' into 'master'
Jiang Jiang Jian [Sun, 30 Sep 2018 05:47:52 +0000 (13:47 +0800)]
Merge branch 'docs/wifi_correct_mistake_in_csi_doc' into 'master'

esp32: correct a mistake about secondary channel of CSI in wifi.rst

See merge request idf/esp-idf!3405

6 years agoMerge branch 'doc/can_remove_disclaimer' into 'master'
Ivan Grokhotkov [Sun, 30 Sep 2018 04:05:08 +0000 (12:05 +0800)]
Merge branch 'doc/can_remove_disclaimer' into 'master'

can: remove license disclaimer

See merge request idf/esp-idf!3381

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 agoMerge branch 'bugfix/btdm_add_service_source_param_for_ESP_GATTC_SEARCH_CMPL_EVT...
Jiang Jiang Jian [Sat, 29 Sep 2018 12:18:26 +0000 (20:18 +0800)]
Merge branch 'bugfix/btdm_add_service_source_param_for_ESP_GATTC_SEARCH_CMPL_EVT' into 'master'

Component/bt: add “service from” param for ESP_GATTC_SEARCH_CMPL_EVT

See merge request idf/esp-idf!3399

6 years agoMerge branch 'bugfix/btdm_fix_service_change_cannot_read_write_and_no_descr' into...
Jiang Jiang Jian [Sat, 29 Sep 2018 12:16:07 +0000 (20:16 +0800)]
Merge branch 'bugfix/btdm_fix_service_change_cannot_read_write_and_no_descr' into 'master'

Component/bt: fix service change char can’t read and write and no descr

See merge request idf/esp-idf!3402

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 agosleep: fix checking length of RTC data sections
Ivan Grokhotkov [Sat, 29 Sep 2018 06:01:35 +0000 (14:01 +0800)]
sleep: fix checking length of RTC data sections

_rtc_data_{start,end} can now describe data placed into RTC_FAST
segment, if CONFIG_ESP32_RTCDATA_IN_FAST_MEM is enabled.
Use new _rtc_slow_length symbol instead.

6 years agoesp32: fix placement of .rtc_noinit
Ivan Grokhotkov [Sat, 29 Sep 2018 05:54:39 +0000 (13:54 +0800)]
esp32: fix placement of .rtc_noinit

When CONFIG_ESP32_RTCDATA_IN_FAST_MEM is enabled, .rtc_noinit should
be in RTC_FAST memory, same as .rtc.data

6 years agoesp32/test: split rtc_fast test cases
Ivan Grokhotkov [Sat, 29 Sep 2018 05:53:37 +0000 (13:53 +0800)]
esp32/test: split rtc_fast test cases

Move runtime behaviour test cases into test_reset_reason.c, move
placement test cases into test_rtc_fast.c

6 years agobootloader: don’t reload RTC_FAST DRAM after deep sleep
Ivan Grokhotkov [Sat, 29 Sep 2018 02:54:06 +0000 (10:54 +0800)]
bootloader: don’t reload RTC_FAST DRAM after deep sleep

When CONFIG_ESP32_RTCDATA_IN_FAST_MEM is enabled, RTC data is placed
into RTC_FAST memory region, viewed from the data bus. However the
bootloader was missing a check that this region should not be
overwritten after deep sleep, which caused .rtc.bss segment to loose
its contents after wakeup.

6 years agoMerge branch 'ci/adjust_expire_time_for_artifacts' into 'master'
He Yin Ling [Sat, 29 Sep 2018 05:43:01 +0000 (13:43 +0800)]
Merge branch 'ci/adjust_expire_time_for_artifacts' into 'master'

ci: adjust expire time for CI artifacts:

See merge request idf/esp-idf!3327

6 years agoci: adjust expire time for CI artifacts:
He Yin Ling [Thu, 20 Sep 2018 08:11:54 +0000 (16:11 +0800)]
ci: adjust expire time for CI artifacts:

set shorter time to save some space on server. For those artifacts need
to be stored for long time, we can manually press "keep" button in job page.

Also add a CI job to check if all artifacts have set expire time.

6 years agoComponent/bt: add “service from” param for ESP_GATTC_SEARCH_CMPL_EVT
zhiweijian [Fri, 28 Sep 2018 06:12:32 +0000 (14:12 +0800)]
Component/bt: add “service from” param for ESP_GATTC_SEARCH_CMPL_EVT

6 years agoComponent/bt: fix service change char can’t read and write and no descr
zhiweijian [Fri, 28 Sep 2018 11:51:55 +0000 (19:51 +0800)]
Component/bt: fix service change char can’t read and write and no descr

6 years agoImplemented the first round of review comments
Krzysztof [Fri, 28 Sep 2018 02:41:46 +0000 (10:41 +0800)]
Implemented the first round of review comments

6 years agoUpdated sigma-delta example description to the latest template
Krzysztof [Thu, 27 Sep 2018 09:55:29 +0000 (17:55 +0800)]
Updated sigma-delta example description to the latest template

6 years agocomponent/bt: bugfix that hci down stream datapath is unblocked too early on waking...
wangmengyang [Fri, 28 Sep 2018 02:20:21 +0000 (10:20 +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/regression_in_light_sleep_mode' into 'master'
Ivan Grokhotkov [Fri, 28 Sep 2018 01:49:39 +0000 (09:49 +0800)]
Merge branch 'bugfix/regression_in_light_sleep_mode' into 'master'

esp32: fix regression introduced in automatic light sleep pm

See merge request idf/esp-idf!3371

6 years agoMerge branch 'fix/sdio_slave_reset_ret_queue' into 'master'
Ivan Grokhotkov [Thu, 27 Sep 2018 10:25:57 +0000 (18:25 +0800)]
Merge branch 'fix/sdio_slave_reset_ret_queue' into 'master'

sdio_slave: fix the ret_queue crash issue when being reset by the master

See merge request idf/esp-idf!3360

6 years agoMerge branch 'feature/mbedtls_2_13_1' into 'master'
Ivan Grokhotkov [Thu, 27 Sep 2018 06:15:25 +0000 (14:15 +0800)]
Merge branch 'feature/mbedtls_2_13_1' into 'master'

mbedtls: update to 2.13.1

See merge request idf/esp-idf!3301

6 years agocan: remove license disclaimer
Ivan Grokhotkov [Wed, 26 Sep 2018 03:39:55 +0000 (11:39 +0800)]
can: remove license disclaimer

6 years agoMerge branch 'feature/move_rtc_data_rtc_rodata_to_RTC_FAST_seg' into 'master'
Ivan Grokhotkov [Thu, 27 Sep 2018 05:05:06 +0000 (13:05 +0800)]
Merge branch 'feature/move_rtc_data_rtc_rodata_to_RTC_FAST_seg' into 'master'

esp32: Add option to place .rtc_data and .rtc_rodata into the RTC_FAST segment

See merge request idf/esp-idf!2128

6 years agoMerge branch 'bugfix/ci_example_test' into 'master'
Ivan Grokhotkov [Thu, 27 Sep 2018 03:26:44 +0000 (11:26 +0800)]
Merge branch 'bugfix/ci_example_test' into 'master'

tools: Make Utility.console_log accept Unicode and byte strings as well

See merge request idf/esp-idf!3367

6 years agoMerge branch 'feature/py23_kconfig_new' into 'master'
Ivan Grokhotkov [Thu, 27 Sep 2018 03:26:32 +0000 (11:26 +0800)]
Merge branch 'feature/py23_kconfig_new' into 'master'

tools: Make kconfig_new Python3-compatible and enable Python3 in idf.py

See merge request idf/esp-idf!3304

6 years agoMerge branch 'bugfix/sysview_enable_cmake' into 'master'
Ivan Grokhotkov [Thu, 27 Sep 2018 03:21:54 +0000 (11:21 +0800)]
Merge branch 'bugfix/sysview_enable_cmake' into 'master'

cmake: add app_trace as FreeRTOS dependency

See merge request idf/esp-idf!3335

6 years agoMerge branch 'bugfix/lwip_compat_headers' into 'master'
Ivan Grokhotkov [Thu, 27 Sep 2018 03:21:37 +0000 (11:21 +0800)]
Merge branch 'bugfix/lwip_compat_headers' into 'master'

lwip: add compatibility headers for sntp.h and esp_ping.h

See merge request idf/esp-idf!3231

6 years agoMerge branch 'bugfix/idf_ver_out_of_tree' into 'master'
Ivan Grokhotkov [Thu, 27 Sep 2018 03:21:25 +0000 (11:21 +0800)]
Merge branch 'bugfix/idf_ver_out_of_tree' into 'master'

cmake: pass repository path to git when doing git describe

See merge request idf/esp-idf!3328

6 years agoMerge branch 'bugfix/btdm_coex_hw_blocking' into 'master'
Jiang Jiang Jian [Thu, 27 Sep 2018 03:17:15 +0000 (11:17 +0800)]
Merge branch 'bugfix/btdm_coex_hw_blocking' into 'master'

component/bt : fix coexist hardware blocking bug

See merge request idf/esp-idf!3362

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 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/mesh_decoupling' into 'master'
Jiang Jiang Jian [Wed, 26 Sep 2018 12:20:27 +0000 (20:20 +0800)]
Merge branch 'feature/mesh_decoupling' into 'master'

mesh: decoupling

See merge request idf/esp-idf!3261

6 years agotools: Make Utility.console_log accept Unicode and byte strings as well
Roland Dobai [Wed, 26 Sep 2018 06:09:00 +0000 (08:09 +0200)]
tools: Make Utility.console_log accept Unicode and byte strings as well

6 years agoMerge branch 'bugfix/btdm_fix_get_bond_list_error_sometimes' into 'master'
Jiang Jiang Jian [Wed, 26 Sep 2018 10:06:23 +0000 (18:06 +0800)]
Merge branch 'bugfix/btdm_fix_get_bond_list_error_sometimes' into 'master'

Component/bt: fix get bond list error sometimes

See merge request idf/esp-idf!3288

6 years agoMerge branch 'feature/btdm_add_send_service_change_indication_API' into 'master'
Jiang Jiang Jian [Wed, 26 Sep 2018 10:05:04 +0000 (18:05 +0800)]
Merge branch 'feature/btdm_add_send_service_change_indication_API' into 'master'

Component/bt: add gatts send service change indication API

See merge request idf/esp-idf!3302

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: 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 agobuild system: Fix checking the toolchain version on Windows
Anton Maklakov [Tue, 25 Sep 2018 04:19:01 +0000 (12:19 +0800)]
build system: Fix checking the toolchain version on Windows

6 years agocomponent/bt: Fix BTU task watchdog timeout after pair with iphone
baohongde [Wed, 26 Sep 2018 03:59:54 +0000 (11:59 +0800)]
component/bt: Fix BTU task watchdog timeout after pair with iphone

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 agoesp32: fix regression introduced in automatic light sleep pm
Mahavir Jain [Tue, 25 Sep 2018 17:10:32 +0000 (22:40 +0530)]
esp32: fix regression introduced in automatic light sleep pm

Closes: https://github.com/espressif/esp-idf/issues/2459
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
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

closes https://github.com/espressif/esp-idf/issues/2211

6 years agoMerge branch 'feature/py23_examples' into 'master'
Angus Gratton [Wed, 26 Sep 2018 00:41:42 +0000 (08:41 +0800)]
Merge branch 'feature/py23_examples' into 'master'

Examples: Add Python 2&3 support

See merge request idf/esp-idf!3237

6 years agoMerge branch 'docs/general_notes_zh_CN' into 'master'
Angus Gratton [Tue, 25 Sep 2018 23:23:38 +0000 (07:23 +0800)]
Merge branch 'docs/general_notes_zh_CN' into 'master'

docs: translate the general-notes document into Chinese

See merge request idf/esp-idf!2867

6 years agomesh: decoupling
qiyueixa [Tue, 25 Sep 2018 12:17:16 +0000 (20:17 +0800)]
mesh: decoupling

Remove dependencies which cause mesh code to be linked even if mesh is not used.

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 agoMerge branch 'feature/wifi_esptouch_support_both_multicast_and_broadcast_packet'...
Jiang Jiang Jian [Tue, 25 Sep 2018 11:48:33 +0000 (19:48 +0800)]
Merge branch 'feature/wifi_esptouch_support_both_multicast_and_broadcast_packet' into 'master'

esp32: esp-touch supports both multicast and broadcast packets

See merge request idf/esp-idf!3291

6 years agoMerge branch 'doc/fix_config_links' into 'master'
Ivan Grokhotkov [Tue, 25 Sep 2018 10:23:24 +0000 (18:23 +0800)]
Merge branch 'doc/fix_config_links' into 'master'

doc: Fix config links, add navigation lists to config items page

See merge request idf/esp-idf!3310

6 years agoComponent/bt: add gatts send service change indication API
zhiweijian [Tue, 18 Sep 2018 08:20:13 +0000 (16:20 +0800)]
Component/bt: add gatts send service change indication API

6 years agoexamples: Use flushed print to see logs on the CI server
Roland Dobai [Fri, 21 Sep 2018 08:34:55 +0000 (10:34 +0200)]
examples: Use flushed print to see logs on the CI server

6 years agoExamples: Add Python 2&3 support
Roland Dobai [Mon, 10 Sep 2018 13:13:47 +0000 (15:13 +0200)]
Examples: Add Python 2&3 support

6 years agodoc/general_notes:translate from en to zh_CN
morris [Fri, 27 Jul 2018 10:11:30 +0000 (18:11 +0800)]
doc/general_notes:translate from en to zh_CN

translate the document [general-notes] into Chinese

6 years agoesp32: esp-touch supports both multicast and broadcast packets
XiaXiaotian [Tue, 14 Aug 2018 06:23:53 +0000 (14:23 +0800)]
esp32: esp-touch supports both multicast and broadcast packets

    Previously, esp-touch only supports multicast packets which are
    transmitted from cellphone. But for most dual frequency routers
    whose SSIDs of 5G and 2.4G are the same, broadcast packets are
    forwarded from 5G interface to 2.4G interface while multicast
    packets are not. In order to make esp-touch work when cellphone
    connects to 5G interface of these routers, esp-touch is improved
    to support both multicast and broadcast packets. Meanwhile, new
    APP which is compiled with Andriod or IOS library(>= v0.3.6.2)
    must be used in this situation. Note that for some routers,
    broadcast and multicast packets are forwarded from 5G interface
    to 2.4G interface only when another WiFi device is connected to
    2.4G interface of the router. Old APP which is compiled with
    Android or IOS library(< v0.3.6.2) also works with this improvement
    when cellphone connects to 2.4G interface of the router.

    The Android and IOS library of new esp-touch APP is now available
    on Github.
    Android: https://github.com/EspressifApp/EsptouchForAndroid
    IOS: https://github.com/EspressifApp/EsptouchForIOS

6 years agoMerge branch 'feature/mbedtls_mem_alloc_options' into 'master'
Angus Gratton [Tue, 25 Sep 2018 00:24:29 +0000 (08:24 +0800)]
Merge branch 'feature/mbedtls_mem_alloc_options' into 'master'

mbedtls: configurable options for controlling dynamic memory allocations

See merge request idf/esp-idf!3343

6 years agoMerge branch 'bugfix/python_gen_empty_partition' into 'master'
Angus Gratton [Tue, 25 Sep 2018 00:23:38 +0000 (08:23 +0800)]
Merge branch 'bugfix/python_gen_empty_partition' into 'master'

app_update: Make gen_empty_partition.py Python 2 & 3 compatible

See merge request idf/esp-idf!3347

6 years agoMerge branch 'feature/async_esp_http_client' into 'master'
Angus Gratton [Tue, 25 Sep 2018 00:20:06 +0000 (08:20 +0800)]
Merge branch 'feature/async_esp_http_client' into 'master'

Non Blocking `esp_http_perform()` API in esp_http_client

See merge request idf/esp-idf!3049

6 years agoMerge branch 'feature/nvs_encryption' into 'master'
Angus Gratton [Tue, 25 Sep 2018 00:15:55 +0000 (08:15 +0800)]
Merge branch 'feature/nvs_encryption' into 'master'

nvs_flash: Add support for nvs encryption

See merge request idf/esp-idf!2700

6 years agoMerge branch 'bug_fix/multipage_blob_support' into 'master'
Angus Gratton [Tue, 25 Sep 2018 00:01:57 +0000 (08:01 +0800)]
Merge branch 'bug_fix/multipage_blob_support' into 'master'

nvs_util: Fix generation of multipage blob data format

See merge request idf/esp-idf!3349

6 years agoMerge branch 'mesh/bugfix' into 'master'
Jiang Jiang Jian [Mon, 24 Sep 2018 12:31:31 +0000 (20:31 +0800)]
Merge branch 'mesh/bugfix' into 'master'

mesh: bugfix

See merge request idf/esp-idf!3286

6 years agoapp_update: Make gen_empty_partition.py Python 2 & 3 compatible
Roland Dobai [Mon, 24 Sep 2018 06:09:52 +0000 (08:09 +0200)]
app_update: Make gen_empty_partition.py Python 2 & 3 compatible

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

6 years agonvs_util: Fix multipage blob data format generate
Shivani Tipnis [Mon, 24 Sep 2018 09:13:26 +0000 (14:43 +0530)]
nvs_util: Fix multipage blob data format generate

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 agoaws_iot: optimize dynamic memory by tweaking tls out buf content length
Mahavir Jain [Sat, 22 Sep 2018 12:22:10 +0000 (17:52 +0530)]
aws_iot: optimize dynamic memory by tweaking tls out buf content length

6 years agombedtls: configurable options for controlling dynamic memory allocations
Mahavir Jain [Wed, 19 Sep 2018 09:59:20 +0000 (15:29 +0530)]
mbedtls: configurable options for controlling dynamic memory allocations

Modifies https://github.com/espressif/esp-idf/pull/2237

6 years agoexamples/protocols/esp_http_client: Add example for asynchronous HTTP request
Jitin George [Wed, 29 Aug 2018 10:53:48 +0000 (16:23 +0530)]
examples/protocols/esp_http_client: Add example for asynchronous HTTP request

6 years agoesp_http_client: Add support for non-blocking feature in esp_http_client_perform...
Jitin George [Tue, 7 Aug 2018 17:56:59 +0000 (23:26 +0530)]
esp_http_client: Add support for non-blocking feature in esp_http_client_perform() API

Four internal APIs `esp_http_client_connect()`, `http_client_prepare_first_line()`, `esp_http_client_request_send()` and
`esp_http_client_send_post_data()` API have been added for perfoming connection establishment (sync as well as async),
preparing first line, sending request and sending post data respectively.

In `transport_ssl`, `ssl_connect_async()` API has been added for establishing asynchronous connection.

6 years agoesp-tls: Add support for non blocking connect
Jitin George [Tue, 7 Aug 2018 17:54:57 +0000 (23:24 +0530)]
esp-tls: Add support for non blocking connect

6 years agoMerge branch 'feature/nvs_util_backport' into 'master'
Angus Gratton [Mon, 24 Sep 2018 03:53:29 +0000 (11:53 +0800)]
Merge branch 'feature/nvs_util_backport' into 'master'

nvs_util: Add changes for utility to support old and new multipage blob

See merge request idf/esp-idf!3270

6 years agoMerge branch 'feature/pthread_attributes' into 'master'
Angus Gratton [Mon, 24 Sep 2018 03:19:41 +0000 (11:19 +0800)]
Merge branch 'feature/pthread_attributes' into 'master'

pthread : Add support for attributes

See merge request idf/esp-idf!2980

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 agoMerge branch 'bugfix/two_scenario_may_cause_no_disconnect_event_report' into 'master'
Jiang Jiang Jian [Sun, 23 Sep 2018 02:58:44 +0000 (10:58 +0800)]
Merge branch 'bugfix/two_scenario_may_cause_no_disconnect_event_report' into 'master'

Wifi: bugfix of two sceanrio may cause no disconnect event report

See merge request idf/esp-idf!3322

6 years agoMerge branch 'bugfix/IPv6_TCP_connection_fail' into 'master'
Jiang Jiang Jian [Sun, 23 Sep 2018 00:39:34 +0000 (08:39 +0800)]
Merge branch 'bugfix/IPv6_TCP_connection_fail' into 'master'

lwip: fix the bug that IPv6 TCP connection fail

See merge request idf/esp-idf!3331

6 years agopthread : Add support for attributes and few APIs
Anurag Kar [Fri, 10 Aug 2018 10:52:27 +0000 (16:22 +0530)]
pthread : Add support for attributes and few APIs
This introduces the following changes :
    * Implmentation added for pthread attribute related functions :
        * pthread_attr_init
        * pthread_attr_destroy
        * pthread_attr_setdetachstate
        * pthread_attr_getdetachstate
        * pthread_attr_getstacksize
        * pthread_attr_setstacksize
    * pthread_create now supports passing attributes/configs through pthread_attr_t structure
    * pthread_mutex_timedlock added
    * pthread_exit added
    * memory for joinable thread is freed before returning from pthread_join

6 years agoMerge branch 'bugfix/wpa2_fixes_2' into 'master'
Jiang Jiang Jian [Fri, 21 Sep 2018 12:14:56 +0000 (20:14 +0800)]
Merge branch 'bugfix/wpa2_fixes_2' into 'master'

wpa_supplicant: more fixes from github

See merge request idf/esp-idf!3255

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 agoWifi: bugfix of two sceanrio may cause no disconnect event report
Deng Xin [Thu, 20 Sep 2018 04:09:03 +0000 (12:09 +0800)]
Wifi: bugfix of two sceanrio may cause no disconnect event report

Problem Description
set some of routers as the same ssid in the same channel, when 32 in the fast scan connect mode, there may no disconnect event report in that two sceanrio:
1. set the correct password and connect, if target router didn't report 32's auth req before timeout, the state machine change to init but no disconnect event report
2. set a wrong password, if router send disassoc or deauth after run, rather than wait 4 way handshake timeout, the state machine change to init but no disconnect event report

Root Cause
Because the routers are in the same channel, all of them are matched the ssid, so all of them can be instore in the rc list wait for connect, when the first one want to connect fail at auth or receive
disassoc or deauth when password wrong, the rc list is not empty, it can not send disconnect event because rc is not empty

Solution
1. put the fail the router in the blacklist
2. Judge whether there is another router can be connect, if it has, try to connect with the next one

VNC MR 561

6 years agotools: Support overwrite of includes for gen_esp_err_to_name.py
Roland Dobai [Wed, 19 Sep 2018 12:41:46 +0000 (14:41 +0200)]
tools: Support overwrite of includes for gen_esp_err_to_name.py

gen_esp_err_to_name.py includes files like
components/lwip/include/apps/esp_ping.h as "apps/esp_ping.h" because all
subdirectories of "include" are used. If "components/lwip/include/apps"
is in the path of the compiler instead of "components/lwip/include" then
include "apps/esp_ping.h" will fail. This fix allows to process lines
like:
'// gen_esp_err_to_name.py: some text "esp_ping.h" some text'
in header files for overwriting the include.

6 years agolwip: add compatibility headers for sntp.h and esp_ping.h
Ivan Grokhotkov [Mon, 10 Sep 2018 04:21:59 +0000 (12:21 +0800)]
lwip: add compatibility headers for sntp.h and esp_ping.h

Before LwIP was moved into a submodule, sntp and esp_ping were
available as the following includes:

#include "apps/sntp/sntp.h"
#include "esp_ping.h"

This commit makes header files available at the old location, and adds
a deprecation warning for sntp.h.

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

6 years agoMerge branch 'feature/crosstool_backport' into 'master'
Ivan Grokhotkov [Fri, 21 Sep 2018 06:07:41 +0000 (14:07 +0800)]
Merge branch 'feature/crosstool_backport' into 'master'

Backport of work of gcc8 toolchain to v3

See merge request idf/esp-idf!3154

6 years agoMerge branch 'feature/spi_sync_rebase' into 'master'
Jeroen Domburg [Fri, 21 Sep 2018 02:57:16 +0000 (10:57 +0800)]
Merge branch 'feature/spi_sync_rebase' into 'master'

spi_master: add new polling mode to decrease time cost each transaction

See merge request idf/esp-idf!3120

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