]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'bugfix/minor_fixes_github' into 'master'
Angus Gratton [Wed, 20 Sep 2017 23:21:32 +0000 (07:21 +0800)]
Merge branch 'bugfix/minor_fixes_github' into 'master'

Minor fixes from github

See merge request !1292

6 years agoMerge branch 'bugfix/eclipse_cpp_headers' into 'master'
Angus Gratton [Wed, 20 Sep 2017 23:20:49 +0000 (07:20 +0800)]
Merge branch 'bugfix/eclipse_cpp_headers' into 'master'

Fix CDT GCC parser to correctly parse C++ commands (github)

See merge request !1291

6 years agoMerge branch 'bugfix/lwip_tcp_oversize_assert' into 'master'
Angus Gratton [Wed, 20 Sep 2017 02:16:47 +0000 (10:16 +0800)]
Merge branch 'bugfix/lwip_tcp_oversize_assert' into 'master'

fix lwip tcp_oversize_dbgcheck assert

See merge request !1260

6 years agoImproved `uart_flush()` documentation.
Simon Werner [Thu, 7 Sep 2017 23:08:34 +0000 (11:08 +1200)]
Improved `uart_flush()` documentation.

Improved `uart_flush()` documentation based on this discussion: https://esp32.com/viewtopic.php?f=13&t=2804&p=13377&hilit=uart_flush#p13373

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

6 years agoopenssl_client, openssl_server example: Fix misspelling of PRIORITY in OPENSSL_EXAMPL...
Chris Morgan [Tue, 22 Aug 2017 20:27:57 +0000 (16:27 -0400)]
openssl_client, openssl_server example: Fix misspelling of PRIORITY in OPENSSL_EXAMPLE_TASK_PRIORITY

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

6 years agoFix CDT GCC parser to correctly parse C++ commands
dziekon [Fri, 15 Sep 2017 22:02:33 +0000 (00:02 +0200)]
Fix CDT GCC parser to correctly parse C++ commands

Previously suggested parser command pattern:

xtensa-esp32-elf-(g?cc)|([gc]\+\+)|(clang)

was incorrect for compilation of c++ files, as it is expanded by Eclipse into or between:

xtensa-esp32-elf-(g?cc)
([gc]\+\+)
(clang)

Additional grouping around existing pattern solves that issue, and helps Eclipse to correctly find ESP-IDF includes.

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

6 years agoMerge branch 'bugfix/spi_temp_buffer_32bit_alignment' into 'master'
Jeroen Domburg [Tue, 19 Sep 2017 14:25:35 +0000 (22:25 +0800)]
Merge branch 'bugfix/spi_temp_buffer_32bit_alignment' into 'master'

fix(spi master, sdspi): fix the heap corruption bug that RX DMA writes over the temporary buffer boundary.

See merge request !1285

6 years agofix(sdspi): fix issues causing the sdspi driver to work low efficiently with DMA.
michael [Tue, 19 Sep 2017 08:43:31 +0000 (16:43 +0800)]
fix(sdspi): fix issues causing the sdspi driver to work low efficiently with DMA.

6 years agofix(spi_master): fix the heap corruption bug that RX DMA writes over the temporary...
michael [Fri, 15 Sep 2017 08:19:11 +0000 (16:19 +0800)]
fix(spi_master): fix the heap corruption bug that RX DMA writes over the temporary buffer boundary.

TW#15434

Closes #994.

6 years agoMerge branch 'bugfix/nvs_init_deinit' into 'master'
Ivan Grokhotkov [Tue, 19 Sep 2017 04:17:39 +0000 (12:17 +0800)]
Merge branch 'bugfix/nvs_init_deinit' into 'master'

nvs: fix bug that NVS is not initialized after init failure, add deinit functions

See merge request !1282

6 years agonvs_flash: emulator: fix issues in load function, add save function
Ivan Grokhotkov [Mon, 18 Sep 2017 14:43:03 +0000 (22:43 +0800)]
nvs_flash: emulator: fix issues in load function, add save function

6 years agounit-test-app: initialize partition table info before starting the test
Ivan Grokhotkov [Mon, 18 Sep 2017 14:41:58 +0000 (22:41 +0800)]
unit-test-app: initialize partition table info before starting the test

6 years agonvs_flash: delete Storage if init fails
Ivan Grokhotkov [Mon, 18 Sep 2017 14:34:16 +0000 (22:34 +0800)]
nvs_flash: delete Storage if init fails

Previously, nvs_flash_init_custom would not be called if Storage for a
particular partition was already created. This caused issues if the
first call to nvs_flash_init failed due to Storage init error. This issue
exhibited itself as random failures of NVS CI test.

With this change, storage object is deleted (and not added to storage
list) if initialization fails.

6 years agonvs_flash: add functions to deinitialize storage
Ivan Grokhotkov [Mon, 18 Sep 2017 14:30:21 +0000 (22:30 +0800)]
nvs_flash: add functions to deinitialize storage

6 years agoMerge branch 'bugfix/minor_nvs_remove_unused_header' into 'master'
Ivan Grokhotkov [Tue, 19 Sep 2017 00:29:58 +0000 (08:29 +0800)]
Merge branch 'bugfix/minor_nvs_remove_unused_header' into 'master'

nvs: minor - removed unused header inclusion

See merge request !1279

6 years agoMerge branch 'feature/toolchain-update' into 'master'
Ivan Grokhotkov [Mon, 18 Sep 2017 11:32:39 +0000 (19:32 +0800)]
Merge branch 'feature/toolchain-update' into 'master'

make,docs: update toolchain

See merge request !1269

6 years agonvs: minor - removed unused header inclusion
Amey Inamdar [Mon, 18 Sep 2017 11:32:32 +0000 (17:02 +0530)]
nvs: minor - removed unused header inclusion

Signed-off-by: Amey Inamdar <amey.inamdar@gmail.com>
6 years agoMerge branch 'feature/btdm_cherry_pick_ble_new_api' into 'master'
Jiang Jiang Jian [Mon, 18 Sep 2017 10:17:11 +0000 (18:17 +0800)]
Merge branch 'feature/btdm_cherry_pick_ble_new_api' into 'master'

Feature/btdm cherry pick ble new api

See merge request !1113

6 years agocomponnent/bt: remove the <<<<<<< HEAD in the code.
Yulong [Mon, 18 Sep 2017 09:44:50 +0000 (05:44 -0400)]
componnent/bt: remove the  <<<<<<< HEAD in the code.

6 years agosquash again
Yulong [Tue, 15 Aug 2017 03:24:36 +0000 (23:24 -0400)]
squash again
squash the commit.
component/bt:Added the update_white_list & set_prefer_conn_params API to the bt project.

component/bt: Added the get white list size API & delete the read adv tx power API.

component/bt: Change the esp_gap_ble_api.h esp_ble_gap_set_prefer_conn_params API docs.

changed btm_find_dev to btm_find_or_alloc_dev

component/bt: Change the rssi API deep copy method.

component/bt: Change the code as comment in the gitlab.

squash the commit.
component/bt:Added the update_white_list & set_prefer_conn_params API to the bt project.

component/bt: Added the get white list size API & delete the read adv tx power API.

component/bt: Change the esp_gap_ble_api.h esp_ble_gap_set_prefer_conn_params API docs.

changed btm_find_dev to btm_find_or_alloc_dev

component/bt: Change the rssi API deep copy method.

component/bt: Change the code as comment in the gitlab.

component/bt: change the ESP_BLE_CONN_PARAM_UNDEF redefinition error.

component/bt: Change the ESP_BLE_IS_VALID_PARAM function with the compile error.

6 years agowindows: Update windows prereq script & precompiled environment download
Angus Gratton [Mon, 18 Sep 2017 08:26:57 +0000 (18:26 +1000)]
windows: Update windows prereq script & precompiled environment download

6 years agoMerge branch 'feature/log_buffer' into 'master'
Ivan Grokhotkov [Mon, 18 Sep 2017 07:02:34 +0000 (15:02 +0800)]
Merge branch 'feature/log_buffer' into 'master'

feat(log): add new function to log buffer with level.

See merge request !1150

6 years agofeat(log): add new function to log buffer with level and hex dump.
michael [Mon, 21 Aug 2017 14:03:53 +0000 (22:03 +0800)]
feat(log): add new function to log buffer with level and hex dump.

6 years agomake,docs: update toolchain to 1.22.0-72-g4d49225
Ivan Grokhotkov [Fri, 15 Sep 2017 01:24:27 +0000 (09:24 +0800)]
make,docs: update toolchain to 1.22.0-72-g4d49225

6 years agoMerge branch 'feature/partition_table_expand_line' into 'master'
Angus Gratton [Mon, 18 Sep 2017 01:18:25 +0000 (09:18 +0800)]
Merge branch 'feature/partition_table_expand_line' into 'master'

partition_table: Expand vars before splitting fields (github #841)

See merge request !1174

6 years agoMerge branch 'feature/btdm_cherry_pick_change_gattc_api' into 'master'
Jiang Jiang Jian [Fri, 15 Sep 2017 11:39:29 +0000 (19:39 +0800)]
Merge branch 'feature/btdm_cherry_pick_change_gattc_api' into 'master'

component/bt: Change all the gattc API && bta gattc layer.

See merge request !1147

6 years agoMerge branch 'refactor/btdm_modify_spp_client_for_ci' into 'master'
Jiang Jiang Jian [Fri, 15 Sep 2017 11:37:24 +0000 (19:37 +0800)]
Merge branch 'refactor/btdm_modify_spp_client_for_ci' into 'master'

component/bt:modify for gattc new api ci

See merge request !1271

6 years agoMerge branch 'bugfix/btdm_smp_close_compile_error' into 'master'
Jiang Jiang Jian [Fri, 15 Sep 2017 11:36:30 +0000 (19:36 +0800)]
Merge branch 'bugfix/btdm_smp_close_compile_error' into 'master'

component/bt: fix the bug when close the SMP module in the menuconfig will lead to compile error.

See merge request !1265

6 years agocomponent/bt:modify for gattc new api ci
xiewenxiang [Fri, 15 Sep 2017 09:53:36 +0000 (17:53 +0800)]
component/bt:modify for gattc new api ci

6 years agoMerge branch 'bugfix/apptrace_init_sequence' into 'master'
Ivan Grokhotkov [Fri, 15 Sep 2017 07:02:42 +0000 (15:02 +0800)]
Merge branch 'bugfix/apptrace_init_sequence' into 'master'

Changed initialization sequence of application tracing component on APP CPU so i…

See merge request !1256

6 years agoMerge branch 'bugfix/btdm_blufi_malloc' into 'master'
Jiang Jiang Jian [Fri, 15 Sep 2017 04:06:56 +0000 (12:06 +0800)]
Merge branch 'bugfix/btdm_blufi_malloc' into 'master'

component/bt : fix a malloc bzero of blufi

See merge request !1264

6 years agocomponent/bt : fix a malloc bzero of blufi
Tian Hao [Thu, 14 Sep 2017 10:28:36 +0000 (18:28 +0800)]
component/bt : fix a malloc bzero of blufi

6 years agocomponent/bt: fix the bug when close the SMP module in the menuconfig will lead to...
Yulong [Thu, 14 Sep 2017 13:01:12 +0000 (09:01 -0400)]
component/bt: fix the bug when close the SMP module in the menuconfig will lead to compile error.

6 years agofix lwip tcp_oversize_dbgcheck assert
zhangyanjiao [Thu, 14 Sep 2017 02:05:35 +0000 (10:05 +0800)]
fix lwip tcp_oversize_dbgcheck assert

6 years agoAdded proper handling of apptrace and pthread initialization errors
Alexey Gerenkov [Thu, 14 Sep 2017 16:36:10 +0000 (19:36 +0300)]
Added proper handling of apptrace and pthread initialization errors

6 years agoChanged initialization sequence of application tracing component on APP CPU so it...
krzychb [Wed, 13 Sep 2017 17:48:00 +0000 (19:48 +0200)]
Changed initialization sequence of application tracing component on APP CPU so it follows completion of initialization of the same component on PRO CPU. Previously, because of missing locking mechanism, both components were printing logs to UART at the same time. As results logs contained only corrupted characters / were not legible at all. Internal tracking: esp-idf/openocd-esp32, Issue 15

6 years agoMerge branch 'bugfix/btdm_modify_mtu_in_spp_client_demo' into 'master'
Jiang Jiang Jian [Thu, 14 Sep 2017 14:24:52 +0000 (22:24 +0800)]
Merge branch 'bugfix/btdm_modify_mtu_in_spp_client_demo' into 'master'

component/bt: modify mtu api in spp client demo

See merge request !1266

6 years agosquesh the commit.
yulong [Wed, 13 Sep 2017 12:23:44 +0000 (20:23 +0800)]
squesh the commit.

component/bt: Change the idf test KnownIssues file.

component/bt: Fixed the bug of gattc mutilple read.

6 years agoComponent/bt: modify mtu api in spp client demo
zhiweijian [Thu, 14 Sep 2017 13:07:25 +0000 (21:07 +0800)]
Component/bt: modify mtu api in spp client demo

6 years agoMerge branch 'bugfix/optimize_lwip_loopback_route' into 'master'
Jiang Jiang Jian [Thu, 14 Sep 2017 13:07:58 +0000 (21:07 +0800)]
Merge branch 'bugfix/optimize_lwip_loopback_route' into 'master'

optimize lwip route when loopback open and in "APSTA" mode

See merge request !1252

6 years agoMerge branch 'bugfix/fix_some_wifi_lib_bugs' into 'master'
Jiang Jiang Jian [Thu, 14 Sep 2017 12:39:02 +0000 (20:39 +0800)]
Merge branch 'bugfix/fix_some_wifi_lib_bugs' into 'master'

Fix some wifi lib bugs

See merge request !1255

6 years agoMerge branch 'feature/refractor_smartconfig' into 'master'
Jiang Jiang Jian [Thu, 14 Sep 2017 12:38:30 +0000 (20:38 +0800)]
Merge branch 'feature/refractor_smartconfig' into 'master'

Refractor smartconfig

See merge request !1253

6 years agoMerge branch 'bugfix/panic_dport_no_mutex' into 'master'
Jeroen Domburg [Thu, 14 Sep 2017 10:07:06 +0000 (18:07 +0800)]
Merge branch 'bugfix/panic_dport_no_mutex' into 'master'

Panic: stop dport access handler without trying to use a lock

See merge request !1244

6 years agoMerge branch 'bugfix/btdm_gatt_read_by_type_bug' into 'master'
Jiang Jiang Jian [Thu, 14 Sep 2017 09:24:02 +0000 (17:24 +0800)]
Merge branch 'bugfix/btdm_gatt_read_by_type_bug' into 'master'

component/bt: Fix gatt read by type response bug

See merge request !1102

6 years agoMerge branch 'feature/btdm_ble_spp_server_demo' into 'master'
Jiang Jiang Jian [Thu, 14 Sep 2017 09:15:17 +0000 (17:15 +0800)]
Merge branch 'feature/btdm_ble_spp_server_demo' into 'master'

component/bt: add example for ble spp server

See merge request !1042

6 years agoMerge branch 'feature/btdm_ble_spp_client_demo' into 'master'
Jiang Jiang Jian [Thu, 14 Sep 2017 09:15:01 +0000 (17:15 +0800)]
Merge branch 'feature/btdm_ble_spp_client_demo' into 'master'

component/bt: add example for ble spp client

See merge request !1043

6 years agooptimize lwip route when loopback open and in "APSTA" mode
zhangyanjiao [Wed, 13 Sep 2017 06:24:08 +0000 (14:24 +0800)]
optimize lwip route when loopback open and in "APSTA" mode

6 years agoFix some wifi lib bugs
XiaXiaotian [Wed, 13 Sep 2017 12:39:57 +0000 (20:39 +0800)]
Fix some wifi lib bugs

1. add adc2 coexistence

2. change NOW() to WDEV_NOW()

3. call ets_timer_done() before calling ets_timer_setfn()

4. fix the bug that api lock is not unlocked when call esp_wifi_stop()
   twice

5. more hmac tx buffer limit from 32 to 64.

6 years agoMerge branch 'feature/ext_ram_allocatable_using_heap_alloc_cap' into 'master'
Ivan Grokhotkov [Thu, 14 Sep 2017 06:28:12 +0000 (14:28 +0800)]
Merge branch 'feature/ext_ram_allocatable_using_heap_alloc_cap' into 'master'

Make external RAM allocatable using heap_alloc_cap

See merge request !1226

6 years agoMerge branch 'bugfix/ci_sphinx_warnings' into 'master'
Ivan Grokhotkov [Thu, 14 Sep 2017 05:46:18 +0000 (13:46 +0800)]
Merge branch 'bugfix/ci_sphinx_warnings' into 'master'

ci: Add new check_doc_warnings.sh script, pre-process log lines

See merge request !1258

6 years agoci: Add new check_doc_warnings.sh script, pre-process log lines
Angus Gratton [Thu, 14 Sep 2017 00:34:25 +0000 (10:34 +1000)]
ci: Add new check_doc_warnings.sh script, pre-process log lines

* Fixes issue in !1250 when IDF_PATH changes on build runner
* Allows checking document warnings before CI run
* Will be robust to line number changes in document files

6 years agoMerge branch 'feature/docs_adc_api_reference' into 'master'
Ivan Grokhotkov [Thu, 14 Sep 2017 02:49:12 +0000 (10:49 +0800)]
Merge branch 'feature/docs_adc_api_reference' into 'master'

More details added to  description of ADC API

See merge request !1240

6 years agoMake 80MHz PSRAM work as well, add testcase for weirdness reported on esp32 forums...
Jeroen Domburg [Wed, 6 Sep 2017 08:13:40 +0000 (16:13 +0800)]
Make 80MHz PSRAM work as well, add testcase for weirdness reported on esp32 forums, clean up unused define in psram code

6 years agoAdd option to allocate external RAM using heap_alloc_caps
Jeroen Domburg [Tue, 5 Sep 2017 09:29:57 +0000 (17:29 +0800)]
Add option to allocate external RAM using heap_alloc_caps

6 years agoMerge branch 'bugfix/docs_formatting' into 'master'
Ivan Grokhotkov [Thu, 14 Sep 2017 02:42:57 +0000 (10:42 +0800)]
Merge branch 'bugfix/docs_formatting' into 'master'

Resolved docs formatting issues that sneak into documentation on master with MR 1061

See merge request !1257

6 years agoResolved docs formatting issues that sneak into documentation with MR 1061
krzychb [Wed, 13 Sep 2017 18:54:21 +0000 (20:54 +0200)]
Resolved docs formatting issues that sneak into documentation with MR 1061

6 years agoMerge branch 'feature/btdm_update_to_bluedroid7.1_l2cap' into 'master'
Jiang Jiang Jian [Wed, 13 Sep 2017 12:39:38 +0000 (20:39 +0800)]
Merge branch 'feature/btdm_update_to_bluedroid7.1_l2cap' into 'master'

component/bt: Added the new feature of the l2cap layer from the bluedroid new version 7.1.1

See merge request !1087

6 years agoMerge branch 'feature/add_espnow' into 'master'
Jiang Jiang Jian [Wed, 13 Sep 2017 12:32:53 +0000 (20:32 +0800)]
Merge branch 'feature/add_espnow' into 'master'

add ESPNOW feature

See merge request !1061

6 years agoMerge branch 'bugfix/btdm_gatts_notify_stress_test_crash' into 'master'
Jiang Jiang Jian [Wed, 13 Sep 2017 12:27:17 +0000 (20:27 +0800)]
Merge branch 'bugfix/btdm_gatts_notify_stress_test_crash' into 'master'

component/bt: fix bug for gatts notify stress test crash

See merge request !1245

6 years agoMerge branch 'feature/toolchain-update' into 'master'
Ivan Grokhotkov [Wed, 13 Sep 2017 10:05:09 +0000 (18:05 +0800)]
Merge branch 'feature/toolchain-update' into 'master'

Toolchain update

See merge request !1204

6 years agoMerge branch 'bugfix/spiffs_submodule' into 'master'
Ivan Grokhotkov [Wed, 13 Sep 2017 10:02:32 +0000 (18:02 +0800)]
Merge branch 'bugfix/spiffs_submodule' into 'master'

spiffs: Track spiffs submodule in component

See merge request !1251

6 years agobuild system: trim crosstool-ng commit ID when checking version
Ivan Grokhotkov [Tue, 12 Sep 2017 10:50:33 +0000 (18:50 +0800)]
build system: trim crosstool-ng commit ID when checking version

Since 2.11.0, git does not default to 7 characters for short commit IDs,
instead automatically estimating the number of characters based on
repository size [1]. If the toolchain was compiled on a computer with
new version of git installed, commit ID will contain 8 characters, and
the check for the toolchain version will fail. As a workaround, trim the
commit ID to 7 characters when checking the version.

[1] https://github.com/git/git/commit/e6c587c733b4634030b353f4024794b08bc86892

6 years agowindows: Update toolchain & MSYS package download links
Angus Gratton [Tue, 12 Sep 2017 03:09:19 +0000 (13:09 +1000)]
windows: Update toolchain & MSYS package download links

6 years agowindows: Add workaround for "git submodule" stray output bug
Angus Gratton [Tue, 12 Sep 2017 03:08:00 +0000 (13:08 +1000)]
windows: Add workaround for "git submodule" stray output bug

TW10271

6 years agoUpdate toolchain download links
Ivan Grokhotkov [Mon, 11 Sep 2017 07:14:07 +0000 (15:14 +0800)]
Update toolchain download links

6 years agobuild system: update the expected toolchain version
Ivan Grokhotkov [Mon, 4 Sep 2017 07:16:15 +0000 (15:16 +0800)]
build system: update the expected toolchain version

6 years agobuild system: enable C++ exceptions support by default
Ivan Grokhotkov [Mon, 4 Sep 2017 07:15:48 +0000 (15:15 +0800)]
build system: enable C++ exceptions support by default

6 years agoRefractor smartconfig
XiaXiaotian [Wed, 13 Sep 2017 08:42:45 +0000 (16:42 +0800)]
Refractor smartconfig

    Move code of receiving smartconfig packets and getting password to
    wifi lib. Open source code of sending smartconfig ACK to cellphone
    in IDF.

6 years agospiffs: Track spiffs submodule in component
Angus Gratton [Wed, 13 Sep 2017 04:54:33 +0000 (14:54 +1000)]
spiffs: Track spiffs submodule in component

Will now automatically initialise as part of "make".

6 years agoMerge branch 'feature/adv_scan_simultaneously' into 'master'
Jiang Jiang Jian [Wed, 13 Sep 2017 03:50:57 +0000 (11:50 +0800)]
Merge branch 'feature/adv_scan_simultaneously' into 'master'

component/bt : support adv & scan simultaneously

See merge request !1209

6 years agoMerge branch 'bugfix/btdm_sec_config' into 'master'
Jiang Jiang Jian [Wed, 13 Sep 2017 03:46:34 +0000 (11:46 +0800)]
Merge branch 'bugfix/btdm_sec_config' into 'master'

component/bt : fix btc security storage bug

See merge request !1161

6 years agoComponent/bt: fix bug for gatts notify stress test crash
zhiweijian [Mon, 11 Sep 2017 09:30:50 +0000 (17:30 +0800)]
Component/bt: fix bug for gatts notify stress test crash

6 years agoMerge branch 'bugfix/psram_newlib_fns_in_iram' into 'master'
Jeroen Domburg [Wed, 13 Sep 2017 02:49:57 +0000 (10:49 +0800)]
Merge branch 'bugfix/psram_newlib_fns_in_iram' into 'master'

Psram workaround: in newlib, put functions that can be called with flash disabled in RAM.

See merge request !1243

6 years agoMake sure functions that are in ROM in the non-external-ram-workaround version, are...
Jeroen Domburg [Mon, 11 Sep 2017 08:59:03 +0000 (16:59 +0800)]
Make sure functions that are in ROM in the non-external-ram-workaround version, are in RAM (and not in flash) in the ext-ram workaround version.

6 years agoMerge branch 'bugfix/openocd_top_used_priority' into 'master'
Angus Gratton [Wed, 13 Sep 2017 01:02:27 +0000 (09:02 +0800)]
Merge branch 'bugfix/openocd_top_used_priority' into 'master'

freertos: place uxTopUsedPriority into DRAM

See merge request !1246

6 years agoThis is a combination of 4 commits.
Yulong [Thu, 24 Aug 2017 06:24:04 +0000 (02:24 -0400)]
This is a combination of 4 commits.
squash again all the commit.

component/bt: Change all the gattc API && bta gattc layer.

component/bt: Debug the code and change the btc_ble_gattc_get_db method.

component/bt: Change the gatt read API interface.

component/bt: Reconstruction the BTA_gattc_cache code.

component/bt: Change back the bluedroid_get_status to marco.

component/bt: Added the serch service res start_handle & end_handle to the result.

component/bt: Change the gattc docs format.

component/bt: Change the docs format.

component/bt: fix the read char value bug.

component/bt: change the gattc_get_attr_count method.

component/bt: Change back the bta_gattc write ccc code.

component/bt: Change the gattc api docs format

component/bt: Change the gattc API docs.

component/bt: Change the prepare write descriptor method to avoid the exection.

Component/bt: modify gatt clinet demo with new API

component/bt: Change the p_src_data->read.p_value to avoid exection.

compoent/bt: Change the bugfix of gattc unreg for the notify.

Modify gattc security demo

component/bt: Change the log error.

Component/bt: modify gattc_multi_connect demo

componnet/bt: Change the bta_gattc_cache sdp include.

component/bt: Change the start_handle & end_handle not from the service.

component/bt: Change the gattc API docs.

component/bt: Change the return issues.

component/bt: Fixed the include service bug.

component/bt: Modify gattc_multi_connect demo , add scan log

component/bt: Fixed the BTA_GATTC_GetIncludeService start handle & end handle error bug.

component/bt: Fix the invalid handle of the get all char issues.

component/bt: Fix the bug with get_db_size_with_type of the start handle & end_handle not correted issue.

component/bt: Fixed the get secondly service num not correct issue.

component/bt: Fixed the last service handle not correted issue.

6 years agoMerge branch 'feature/gcov_over_apptrace' into 'master'
Ivan Grokhotkov [Tue, 12 Sep 2017 10:54:26 +0000 (18:54 +0800)]
Merge branch 'feature/gcov_over_apptrace' into 'master'

esp32: Adds gcov over JTAG feature

See merge request !1117

6 years agocomponent/bt : support adv & scan simultaneously
Tian Hao [Mon, 4 Sep 2017 13:58:33 +0000 (21:58 +0800)]
component/bt : support adv & scan simultaneously

1. Occupy conn[9] for adv. The max connection number of bluetooth controller decrease to 9. (Previously, it is 10)
2. modify the enum of setting BLE TX power corresponding to connection's.
3. fix libbtdm_app.a cwitch jump table

6 years agoMerge branch 'feature/fail_build_on_sphinx_warning' into 'master'
Ivan Grokhotkov [Tue, 12 Sep 2017 05:49:11 +0000 (13:49 +0800)]
Merge branch 'feature/fail_build_on_sphinx_warning' into 'master'

Fail CI build on Sphinx warnings

See merge request !1228

6 years agoFail CI build on Sphinx warnings
krzychb [Wed, 6 Sep 2017 19:16:34 +0000 (21:16 +0200)]
Fail CI build on Sphinx warnings

6 years agoMerge branch 'bugfix/btdm_nvs_get_str_or_blob' into 'master'
Ivan Grokhotkov [Tue, 12 Sep 2017 04:20:42 +0000 (12:20 +0800)]
Merge branch 'bugfix/btdm_nvs_get_str_or_blob' into 'master'

fix: Fix bug of function nvs_get_str_or_blob

See merge request !1182

6 years agoadd ESPNOW feature
XiaXiaotian [Wed, 12 Jul 2017 03:50:39 +0000 (11:50 +0800)]
add ESPNOW feature

        ESPNOW is a kind of WiFi communication bettween WiFi devices, no
    matter they are connected to each other or not. Once two WiFi
    devices are paired, they can send data to or receive data from
    each other. The data is transmitted in action frame which can
    be encrypted with CCMP method. ESPNOW also support mutilcast frame
    transmitting.

6 years agoMerge branch 'feature/uart_software_flow_control' into 'master'
Ivan Grokhotkov [Tue, 12 Sep 2017 04:11:11 +0000 (12:11 +0800)]
Merge branch 'feature/uart_software_flow_control' into 'master'

uart: Add api call to switch on hardware support for 'software' flow control. (github #890)

See merge request !1215

6 years agoMerge branch 'bugfix/list_node_naming' into 'master'
Ivan Grokhotkov [Tue, 12 Sep 2017 04:10:54 +0000 (12:10 +0800)]
Merge branch 'bugfix/list_node_naming' into 'master'

Fix "list_node" name conflict in bluedroid & dhcp_server

See merge request !1216

6 years agoMerge branch 'bugfix/btdm_disable_gatts' into 'master'
Ivan Grokhotkov [Tue, 12 Sep 2017 04:06:41 +0000 (12:06 +0800)]
Merge branch 'bugfix/btdm_disable_gatts' into 'master'

component/bt: fix build error when GATTS is disabled in menuconfig

See merge request !1232

6 years agoMerge branch 'bugfix/crashed_core_dump' into 'master'
Ivan Grokhotkov [Tue, 12 Sep 2017 03:32:48 +0000 (11:32 +0800)]
Merge branch 'bugfix/crashed_core_dump' into 'master'

esp32: Fixes crash during core dump.

See merge request !1239

6 years agoMerge branch 'bugfix/gatts_example_param' into 'master'
Anton Maklakov [Tue, 12 Sep 2017 02:37:19 +0000 (10:37 +0800)]
Merge branch 'bugfix/gatts_example_param' into 'master'

BT gatts example: using param, which corresponds to handled event

See merge request !1176

6 years agogatts_demo example: Use add_char_descr.attr_handle everywhere
Angus Gratton [Tue, 12 Sep 2017 00:57:45 +0000 (10:57 +1000)]
gatts_demo example: Use add_char_descr.attr_handle everywhere

6 years agousing param, which corresponds to handled event
Siarhei Volkau [Sat, 1 Jul 2017 10:12:22 +0000 (13:12 +0300)]
using param, which corresponds to handled event

In the handlers of ESP_GATTS_ADD_CHAR_DESCR_EVT was used incorrect parameter, which corresponding to ESP_GATTS_ADD_CHAR_EVT.

6 years agoMerge branch 'feature/spiffs2' into 'master'
Ivan Grokhotkov [Tue, 12 Sep 2017 00:22:31 +0000 (08:22 +0800)]
Merge branch 'feature/spiffs2' into 'master'

Add SPIFFS Component to IDF

See merge request !1229

6 years agoMore detailed description of ADC API
krzychb [Mon, 11 Sep 2017 03:09:15 +0000 (05:09 +0200)]
More detailed description of ADC API

6 years agoAdd SPIFFS Component to IDF
me-no-dev [Thu, 7 Sep 2017 14:37:59 +0000 (17:37 +0300)]
Add SPIFFS Component to IDF

6 years agoesp32: Fixes crash during core dump.
Alexey Gerenkov [Sun, 10 Sep 2017 16:17:46 +0000 (19:17 +0300)]
esp32: Fixes crash during core dump.

Removes piece of debugging code introduced by 8d43859b.

6 years agofreertos: place uxTopUsedPriority into DRAM
Ivan Grokhotkov [Mon, 11 Sep 2017 12:15:27 +0000 (20:15 +0800)]
freertos: place uxTopUsedPriority into DRAM

When debugging crashes caused by flash cache access errors, OpenOCD may
request the value of uxTopUsedPriority when cache is disabled. Placing
it into IRAM to avoid an error in such case.

6 years agoMerge branch 'bugfix/make_verbose' into 'master'
Ivan Grokhotkov [Mon, 11 Sep 2017 10:17:43 +0000 (18:17 +0800)]
Merge branch 'bugfix/make_verbose' into 'master'

build system: Fix "make V=1" for verbose builds again

See merge request !1234

6 years agoMerge branch 'feature/http_request_example_receiving_timeout' into 'master'
Ivan Grokhotkov [Mon, 11 Sep 2017 10:17:01 +0000 (18:17 +0800)]
Merge branch 'feature/http_request_example_receiving_timeout' into 'master'

Added socket receiving timeout, ref. TW#14353 / GitHub  issue #844

See merge request !1241

6 years agoMerge branch 'bugfix/warn_on_invalid_xtal_freq' into 'master'
Ivan Grokhotkov [Mon, 11 Sep 2017 10:15:11 +0000 (18:15 +0800)]
Merge branch 'bugfix/warn_on_invalid_xtal_freq' into 'master'

soc/rtc: warn if detected XTAL frequency does not match configured one

See merge request !1242

6 years agoPanic: stop dport access handler without trying to use a lock
Jeroen Domburg [Mon, 11 Sep 2017 04:31:16 +0000 (12:31 +0800)]
Panic: stop dport access handler without trying to use a lock

6 years agoMerge branch 'feature/gpio_channel_macro' into 'master'
Ivan Grokhotkov [Mon, 11 Sep 2017 04:15:08 +0000 (12:15 +0800)]
Merge branch 'feature/gpio_channel_macro' into 'master'

feat(global): add macros for GPIO->channel lookup

See merge request !1170

6 years agosoc/rtc: warn if detected XTAL frequency does not match configured one
Ivan Grokhotkov [Mon, 11 Sep 2017 03:42:26 +0000 (11:42 +0800)]
soc/rtc: warn if detected XTAL frequency does not match configured one

Since 9a8c0392, XTAL frequency is set to 40MHz by default, and users
of 26MHz boards need to select 26MHz manually. Most users are not aware
of this change, and existing getting started guides do not mention that
XTAL frequency needs to be set for some boards. So users are left with
garbage output from UART without any clue what to check.

This change adds a warning in case specific XTAL frequency was set, and
it does not match automatically detected one. This should help users
fix the issue.