]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agocomponent/bt: Added the hash key generated directly in the bluedroid module.
Yulong [Thu, 26 Apr 2018 13:44:12 +0000 (09:44 -0400)]
component/bt: Added the hash key generated directly in the bluedroid module.

1. Change all the hash used from the coap module to generated by the bluedroid module directly.

component/bt: Added the <string.h> include file to the gattc_co module to avoid compile error.

6 years agoMerge branch 'bugfix/btdm_modify_include_path' into 'master'
Jiang Jiang Jian [Fri, 27 Apr 2018 04:01:46 +0000 (12:01 +0800)]
Merge branch 'bugfix/btdm_modify_include_path' into 'master'

component/bt : modify header files to avoid conflict

See merge request idf/esp-idf!2195

6 years agoMerge branch 'mesh/feature_fix_root' into 'master'
Jiang Jiang Jian [Fri, 27 Apr 2018 02:56:35 +0000 (10:56 +0800)]
Merge branch 'mesh/feature_fix_root' into 'master'

Mesh/feature fix root

See merge request idf/esp-idf!2308

6 years agoexample: fix ble hid device demo include
Tian Hao [Thu, 26 Apr 2018 12:02:14 +0000 (20:02 +0800)]
example: fix ble hid device demo include

6 years agomesh: add fix root function
qiyueixa [Wed, 25 Apr 2018 16:13:53 +0000 (00:13 +0800)]
mesh: add fix root function

6 years agocomponent/bt : modify header files to avoid conflict
Tian Hao [Sun, 8 Apr 2018 04:10:50 +0000 (12:10 +0800)]
component/bt : modify header files to avoid conflict

1. add the L1 include path with a prefix, such like osi/list.h, stack/a2d_api.h and etc.
2. modify component, only bluedroid/api/include/api is export to another component and application,
   other include path just for bluedroid used
3. put bluedroid/include into common/include/common, so the root directory of bluedroid have no include path.
4. modify doxygen to use esp_bt.h and redirect to
component/bt/bluedroid/api/include/api/

fix compile

6 years agoMerge branch 'feature/esp32_sw_breaks' into 'master'
Ivan Grokhotkov [Thu, 26 Apr 2018 10:05:38 +0000 (18:05 +0800)]
Merge branch 'feature/esp32_sw_breaks' into 'master'

ESP32 SW Breakpoints Support

See merge request idf/esp-idf!2316

6 years agoMerge branch 'bugfix/partition_make3.81' into 'master'
Ivan Grokhotkov [Thu, 26 Apr 2018 07:29:15 +0000 (15:29 +0800)]
Merge branch 'bugfix/partition_make3.81' into 'master'

partition table: Fix regression with make 3.81

See merge request idf/esp-idf!2314

6 years agoesp32: Adds support for SW breakpoints in flash
Alexey Gerenkov [Sun, 18 Mar 2018 09:27:19 +0000 (12:27 +0300)]
esp32: Adds support for SW breakpoints in flash

Disables app image integrity checks when running under OpenOCD control.
Allows setting breakpoints in flash before application start (just after reset).

6 years agoMerge branch 'bugfix/build_failure_with_heap_task_tracking' into 'master'
Ivan Grokhotkov [Thu, 26 Apr 2018 07:16:43 +0000 (15:16 +0800)]
Merge branch 'bugfix/build_failure_with_heap_task_tracking' into 'master'

Fix build failure if CONFIG_HEAP_TASK_TRACKING enabled

See merge request idf/esp-idf!2315

6 years agoMerge branch 'bugfix/fix_a_minor_compile_issue' into 'master'
Jiang Jiang Jian [Thu, 26 Apr 2018 06:31:04 +0000 (14:31 +0800)]
Merge branch 'bugfix/fix_a_minor_compile_issue' into 'master'

Bugfix/fix a minor compile issue

See merge request idf/esp-idf!2307

6 years agoMerge branch 'feature/wifi_add_wifi_event_mask' into 'master'
Jiang Jiang Jian [Thu, 26 Apr 2018 06:27:42 +0000 (14:27 +0800)]
Merge branch 'feature/wifi_add_wifi_event_mask' into 'master'

add WiFi event mask API

See merge request idf/esp-idf!2072

6 years agoheap: fix build failure due to missing header
Mahavir Jain [Thu, 26 Apr 2018 05:33:43 +0000 (11:03 +0530)]
heap: fix build failure due to missing header

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

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoMerge branch 'bugfix/fix_some_wifi_phy_mode_bugs' into 'master'
Jiang Jiang Jian [Thu, 26 Apr 2018 02:27:32 +0000 (10:27 +0800)]
Merge branch 'bugfix/fix_some_wifi_phy_mode_bugs' into 'master'

esp32: fix some wifi phy mode bugs

See merge request idf/esp-idf!2294

6 years agopartition table: Fix regression with make 3.81
Angus Gratton [Thu, 26 Apr 2018 02:07:27 +0000 (12:07 +1000)]
partition table: Fix regression with make 3.81

"undefine" was added in make 3.8.2

Namespace the global partition table option variables to minimise scope leakage.

6 years agoMerge branch 'feature/partition_size_check' into 'master'
Angus Gratton [Thu, 26 Apr 2018 00:48:31 +0000 (08:48 +0800)]
Merge branch 'feature/partition_size_check' into 'master'

partition_table: Check configured flash size fits in partition table

See merge request idf/esp-idf!2274

6 years agoMerge branch 'bugfix/log_macro_statements' into 'master'
Angus Gratton [Thu, 26 Apr 2018 00:05:49 +0000 (08:05 +0800)]
Merge branch 'bugfix/log_macro_statements' into 'master'

log: Make ESP_LOGx macros into single statements

See merge request idf/esp-idf!2275

6 years agopartition_table: Check configured flash size fits in partition table
Angus Gratton [Fri, 20 Apr 2018 06:57:15 +0000 (16:57 +1000)]
partition_table: Check configured flash size fits in partition table

Check happens at build time, so flash size config may need to be changed.

Also fixes MD5_OPT undefined warning, closes https://github.com/espressif/esp-idf/issues/1867

6 years agoMerge branch 'bugfix/ci_retry_build_example' into 'master'
Angus Gratton [Wed, 25 Apr 2018 23:36:52 +0000 (07:36 +0800)]
Merge branch 'bugfix/ci_retry_build_example' into 'master'

ci: Try to build examples in second time in case of error

See merge request idf/esp-idf!2302

6 years agolog: Make ESP_LOGx macros into single statements
Angus Gratton [Fri, 20 Apr 2018 03:41:11 +0000 (13:41 +1000)]
log: Make ESP_LOGx macros into single statements

Requires a semicolon after any use (previously this was optional due to trailing } after expansion)

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

6 years agofix the bug that in mdns test code redefine esp_err_t to uint32_t, which should be...
jack [Wed, 25 Apr 2018 12:52:38 +0000 (20:52 +0800)]
fix the bug that in mdns test code redefine esp_err_t to uint32_t, which should be int32_t

6 years agoMerge branch 'feature/btdm_set_bredr_txpower' into 'master'
Jiang Jiang Jian [Wed, 25 Apr 2018 12:53:21 +0000 (20:53 +0800)]
Merge branch 'feature/btdm_set_bredr_txpower' into 'master'

component/bt : add BR/EDR TX power set

See merge request idf/esp-idf!2267

6 years agoesp32: fix some wifi phy mode bugs
Liu Zhi Fu [Tue, 24 Apr 2018 08:22:33 +0000 (16:22 +0800)]
esp32: fix some wifi phy mode bugs

Fix several WiFi phy mode bugs

6 years agoadd WiFi event mask API
XiaXiaotian [Fri, 16 Mar 2018 03:43:21 +0000 (11:43 +0800)]
add WiFi event mask API

6 years agocomponent/bt : add BR/EDR TX power set
Tian Hao [Thu, 19 Apr 2018 09:22:49 +0000 (17:22 +0800)]
component/bt : add BR/EDR TX power set

6 years agoMerge branch 'bugfix/btdm_fix_gatt_cache_error' into 'master'
Jiang Jiang Jian [Wed, 25 Apr 2018 06:57:18 +0000 (14:57 +0800)]
Merge branch 'bugfix/btdm_fix_gatt_cache_error' into 'master'

Component/bt: fix gattc some errors

See merge request idf/esp-idf!2104

6 years agoMerge branch 'feature/btdm_cherry-pick_ble_hid_device' into 'master'
Jiang Jiang Jian [Wed, 25 Apr 2018 06:53:23 +0000 (14:53 +0800)]
Merge branch 'feature/btdm_cherry-pick_ble_hid_device' into 'master'

Feature/btdm cherry pick ble hid device

See merge request idf/esp-idf!1701

6 years agoMerge branch 'doc/openocd_release_update' into 'master'
Ivan Grokhotkov [Wed, 25 Apr 2018 04:22:21 +0000 (12:22 +0800)]
Merge branch 'doc/openocd_release_update' into 'master'

docs: update download links for OpenOCD

See merge request idf/esp-idf!2259

6 years agoCI: Try to build examples in second time in case of error
Anton Maklakov [Wed, 4 Apr 2018 07:37:28 +0000 (15:37 +0800)]
CI: Try to build examples in second time in case of error

    It will help to work around the weird bug during buillding a batch of examples

6 years agoMerge branch 'bugfix/fatfs_readwrite_test_failure' into 'master'
Ivan Grokhotkov [Tue, 24 Apr 2018 15:43:24 +0000 (23:43 +0800)]
Merge branch 'bugfix/fatfs_readwrite_test_failure' into 'master'

fatfs/test: increase stack size in read-write unit test

See merge request idf/esp-idf!2256

6 years agoMerge branch 'feature/nvs_coverage' into 'master'
Ivan Grokhotkov [Tue, 24 Apr 2018 15:42:00 +0000 (23:42 +0800)]
Merge branch 'feature/nvs_coverage' into 'master'

NVS: add power off recovery and coverage test into CI

See merge request idf/esp-idf!2246

6 years agoMerge branch 'bugfix/sdspi_wp_cd_pins' into 'master'
Ivan Grokhotkov [Tue, 24 Apr 2018 12:53:47 +0000 (20:53 +0800)]
Merge branch 'bugfix/sdspi_wp_cd_pins' into 'master'

sdmmc, sdspi: fix handling of CD and WP

See merge request idf/esp-idf!2285

6 years agosdmmc: add tests for CD and WP pins for SD and SPI mode
Ivan Grokhotkov [Mon, 23 Apr 2018 06:47:00 +0000 (14:47 +0800)]
sdmmc: add tests for CD and WP pins for SD and SPI mode

6 years agosdmmc: don’t print sdio_reset warning when CD is idle
Ivan Grokhotkov [Mon, 23 Apr 2018 06:45:59 +0000 (14:45 +0800)]
sdmmc: don’t print sdio_reset warning when CD is idle

6 years agosdmmc host: add handling of CD and WP pins
Ivan Grokhotkov [Mon, 23 Apr 2018 06:44:46 +0000 (14:44 +0800)]
sdmmc host: add handling of CD and WP pins

Previous version of the code only connected CD and WP to the
peripheral, in fact the hardware does not use the values of these
signals automatically. This adds code to read CD and WP values when
command is executed and return errors if card is not present, or
write command is executed when WP signal is active.

6 years agosdmmc host: when parameter validation fails, exit cleanly
Ivan Grokhotkov [Mon, 23 Apr 2018 06:38:00 +0000 (14:38 +0800)]
sdmmc host: when parameter validation fails, exit cleanly

This fixes lock-up which happened when sending a command, if the
previous command has failed.

6 years agoMerge branch 'bugfix/minor_fix_for_wifi_tx' into 'master'
Jiang Jiang Jian [Tue, 24 Apr 2018 05:42:41 +0000 (13:42 +0800)]
Merge branch 'bugfix/minor_fix_for_wifi_tx' into 'master'

esp32: minor fix for WiFi TX

See merge request idf/esp-idf!2281

6 years agoMerge branch 'bugfix/esp_tls_error_logging' into 'master'
Ivan Grokhotkov [Mon, 23 Apr 2018 12:18:30 +0000 (20:18 +0800)]
Merge branch 'bugfix/esp_tls_error_logging' into 'master'

esp-tls: Expand error logging

See merge request idf/esp-idf!2284

6 years agomore
Liu Zhi Fu [Mon, 23 Apr 2018 11:09:46 +0000 (19:09 +0800)]
more

6 years agoMerge branch 'bugfix/esp_tls_memory_leak' into 'master'
Ivan Grokhotkov [Mon, 23 Apr 2018 10:57:11 +0000 (18:57 +0800)]
Merge branch 'bugfix/esp_tls_memory_leak' into 'master'

esp-tls: fix memory leak when using CA certification validation

See merge request idf/esp-idf!2283

6 years agoMerge branch 'bugfix/authmode_change_event_peg_core_in_wep_mode' into 'master'
Jiang Jiang Jian [Mon, 23 Apr 2018 10:51:46 +0000 (18:51 +0800)]
Merge branch 'bugfix/authmode_change_event_peg_core_in_wep_mode' into 'master'

bugfix/wrong_authmode_change_event_is_reported_in_wep_mode

See merge request idf/esp-idf!2282

6 years agoComponent/bt: fix gatt cache error
zhiweijian [Tue, 20 Mar 2018 11:27:50 +0000 (19:27 +0800)]
Component/bt: fix gatt cache error
- fix sev == NULL error
- fix start_handle == end_handle

6 years agosdspi: fix CD and WP incorrectly configured as outputs
Ivan Grokhotkov [Mon, 23 Apr 2018 06:35:40 +0000 (14:35 +0800)]
sdspi: fix CD and WP incorrectly configured as outputs

6 years agosdmmc, sdspi: fix initializers to be C++-compatible, add test
Ivan Grokhotkov [Mon, 23 Apr 2018 06:35:13 +0000 (14:35 +0800)]
sdmmc, sdspi: fix initializers to be C++-compatible, add test

Closes https://github.com/espressif/esp-idf/issues/1861
Closes https://github.com/espressif/arduino-esp32/issues/1312

6 years agoBug fix of authmode change event peg core in wep mode
Deng Xin [Sun, 22 Apr 2018 12:34:42 +0000 (20:34 +0800)]
Bug fix of authmode change event peg core in wep mode

auth mode change event will report continous in wep mode due to wrong original auth record

close github issue https://github.com/espressif/esp-idf/issues/1804

6 years agobugfix/sdspi_host.c: wrong CD/WP pin configuration
Flavio Bayer [Fri, 13 Apr 2018 19:34:23 +0000 (16:34 -0300)]
bugfix/sdspi_host.c: wrong CD/WP pin configuration

Looks like the configuration of CP and WP pins are wrong, since the check for `gpio_cd` and `gpio_wp` in `slot_config` seems to be swapped.

6 years agoMerge branch 'feature/disable_ble_service_change_pr1673' into 'master'
Angus Gratton [Mon, 23 Apr 2018 01:15:02 +0000 (09:15 +0800)]
Merge branch 'feature/disable_ble_service_change_pr1673' into 'master'

Add option to ena/dis BLE service change registration

See merge request idf/esp-idf!2210

6 years agoMerge branch 'bugfix/typo_in_aws_iot_config' into 'master'
Angus Gratton [Mon, 23 Apr 2018 01:02:02 +0000 (09:02 +0800)]
Merge branch 'bugfix/typo_in_aws_iot_config' into 'master'

Typo in aws_iot_config.h

See merge request idf/esp-idf!2280

6 years agoMerge branch 'bugfix/tw18453_fix_ap_eapol_retry_bug' into 'master'
Jiang Jiang Jian [Sun, 22 Apr 2018 08:37:24 +0000 (16:37 +0800)]
Merge branch 'bugfix/tw18453_fix_ap_eapol_retry_bug' into 'master'

esp32: fix soft-AP eapol retry issue

See merge request idf/esp-idf!2264

6 years agoesp32: fix the bug that soft-AP fails to retry eapol
Liu Zhi Fu [Thu, 19 Apr 2018 06:59:25 +0000 (14:59 +0800)]
esp32: fix the bug that soft-AP fails to retry eapol

Fix the issue that soft-AP fails to retry eapol frame when multiple
stations connects it at the same time.

More

6 years agoesp-tls: fix memory leak when using CA certification validation
redchenjs [Sat, 21 Apr 2018 17:13:09 +0000 (01:13 +0800)]
esp-tls: fix memory leak when using CA certification validation

6 years agoMerge branch 'feature/idf_size_report_symbols' into 'master'
Ivan Grokhotkov [Fri, 20 Apr 2018 15:55:19 +0000 (23:55 +0800)]
Merge branch 'feature/idf_size_report_symbols' into 'master'

Feature/idf-size: report per-archive symbols and their sizes

See merge request idf/esp-idf!1956

6 years agoMerge branch 'feature/esp-tls' into 'master'
Ivan Grokhotkov [Fri, 20 Apr 2018 14:35:40 +0000 (22:35 +0800)]
Merge branch 'feature/esp-tls' into 'master'

esp-tls: Fix HTTP2 failure

See merge request idf/esp-idf!2277

6 years agoTypo in aws_iot_config.h
Kyle Secord [Wed, 18 Apr 2018 01:56:11 +0000 (21:56 -0400)]
Typo in aws_iot_config.h

-breaks compilation when 'Override Shadow RX buffer size' is enabled via
menuconfig

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

6 years agoexample/hid: Added the readme file.
Yulong [Fri, 20 Apr 2018 13:20:44 +0000 (09:20 -0400)]
example/hid: Added the readme file.

6 years agoesp-tls: Fix HTTP2 failure
Jitin George [Fri, 20 Apr 2018 05:20:38 +0000 (10:50 +0530)]
esp-tls: Fix HTTP2 failure

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

6 years agoMerge branch 'bugfix/add_NULL_value_check_bta_gattc_get_services' into 'master'
Jiang Jiang Jian [Fri, 20 Apr 2018 10:15:45 +0000 (18:15 +0800)]
Merge branch 'bugfix/add_NULL_value_check_bta_gattc_get_services' into 'master'

components/bt: Add NULL value check in bta_gattc_get_service_with_uuid()

See merge request idf/esp-idf!2212

6 years agoMerge branch 'bugfix/bt_correct_inquiry_mode_name' into 'master'
Jiang Jiang Jian [Fri, 20 Apr 2018 10:14:57 +0000 (18:14 +0800)]
Merge branch 'bugfix/bt_correct_inquiry_mode_name' into 'master'

components/bt: Correct the enquiry mode name

See merge request idf/esp-idf!2217

6 years agoMerge branch 'feature/btdm_gattc_cache' into 'master'
Jiang Jiang Jian [Fri, 20 Apr 2018 09:49:35 +0000 (17:49 +0800)]
Merge branch 'feature/btdm_gattc_cache' into 'master'

Feature/btdm gattc cache

See merge request idf/esp-idf!1083

6 years agoMerge branch 'feature/amazon_freertos_compat_v2' into 'master'
Ivan Grokhotkov [Fri, 20 Apr 2018 06:55:47 +0000 (14:55 +0800)]
Merge branch 'feature/amazon_freertos_compat_v2' into 'master'

Changes for Amazon Freertos compatibility

See merge request idf/esp-idf!2123

6 years agocomponent/bt: For unity, Change all the associat & associa to abbreviated form(assoc).
Yulong [Fri, 20 Apr 2018 06:16:33 +0000 (02:16 -0400)]
component/bt: For unity, Change all the associat & associa to abbreviated form(assoc).

6 years agoMerge branch 'revert-88d0d6ff' into 'master'
Ivan Grokhotkov [Fri, 20 Apr 2018 06:06:32 +0000 (14:06 +0800)]
Merge branch 'revert-88d0d6ff' into 'master'

Revert "Merge branch 'feature/vfs_select' into 'master'"

See merge request idf/esp-idf!2273

6 years agoRevert "Merge branch 'feature/vfs_select' into 'master'"
Ivan Grokhotkov [Fri, 20 Apr 2018 03:51:41 +0000 (11:51 +0800)]
Revert "Merge branch 'feature/vfs_select' into 'master'"

This reverts merge request !2074

6 years agocomponent/bt: Change the cache 'associat' name for unify.
Yulong [Fri, 20 Apr 2018 02:56:33 +0000 (22:56 -0400)]
component/bt: Change the cache 'associat' name for unify.

6 years agoesp32: fix few components with dependency on networking stack
Mahavir Jain [Wed, 14 Mar 2018 08:17:04 +0000 (13:47 +0530)]
esp32: fix few components with dependency on networking stack

* Move smartconfig to its component directory, it should be possible to override
  this as whole component
* Fix few header includes related to lwIP networking stack

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agodriver/spi: add _ISR counterparts if invoked from interrupt for critical section
Mahavir Jain [Fri, 23 Mar 2018 13:58:03 +0000 (19:28 +0530)]
driver/spi: add _ISR counterparts if invoked from interrupt for critical section

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agofreertos: portCLEAN_UP_TCB should be performed before freeing tcb memory
Mahavir Jain [Tue, 27 Mar 2018 14:02:43 +0000 (19:32 +0530)]
freertos: portCLEAN_UP_TCB should be performed before freeing tcb memory

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agopthread: implement local storage using pvTaskGetThreadLocalStoragePointer
Mahavir Jain [Thu, 1 Feb 2018 16:17:38 +0000 (00:17 +0800)]
pthread: implement local storage using pvTaskGetThreadLocalStoragePointer

If static task cleanup option is enabled, then before invoking application
defined `vPortCleanUpTCB` hook, pthread specific cleanup is performed.

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoesp_timer: use _ISR version of port{ENTER,EXIT}_CRITICAL from ISR
Ivan Grokhotkov [Thu, 1 Feb 2018 16:15:55 +0000 (00:15 +0800)]
esp_timer: use _ISR version of port{ENTER,EXIT}_CRITICAL from ISR

6 years agonewlib: define _REENT_INIT_PTR correctly for ESP_PLATFORM
Ivan Grokhotkov [Mon, 29 Jan 2018 13:46:20 +0000 (21:46 +0800)]
newlib: define _REENT_INIT_PTR correctly for ESP_PLATFORM

6 years agomulti_heap: use portENTER/EXIT_CRITICAL instead of taskENTER/EXIT_CRITICAL
Ivan Grokhotkov [Mon, 29 Jan 2018 13:41:58 +0000 (21:41 +0800)]
multi_heap: use portENTER/EXIT_CRITICAL instead of taskENTER/EXIT_CRITICAL

6 years agocrosscore_int: use _ISR version of portENTER/EXIT_CRITICAL in ISR
Ivan Grokhotkov [Mon, 29 Jan 2018 13:40:38 +0000 (21:40 +0800)]
crosscore_int: use _ISR version of portENTER/EXIT_CRITICAL in ISR

6 years agoMerge branch 'feature/mesh' into 'master'
Jiang Jiang Jian [Thu, 19 Apr 2018 12:24:16 +0000 (20:24 +0800)]
Merge branch 'feature/mesh' into 'master'

mesh: update mesh libs

See merge request idf/esp-idf!2244

6 years agonvs: run all test by default, exclude long tests by tag
Ivan Grokhotkov [Mon, 16 Apr 2018 03:51:43 +0000 (11:51 +0800)]
nvs: run all test by default, exclude long tests by tag

Reduces the chance of new tests being skipped in CI

6 years agonvs: print progress in nvs API tests, reduce number of iterations
Ivan Grokhotkov [Mon, 16 Apr 2018 07:02:11 +0000 (15:02 +0800)]
nvs: print progress in nvs API tests, reduce number of iterations

6 years agonvs: add long ci test for power off recovery and coverage
Ivan Grokhotkov [Mon, 16 Apr 2018 03:50:12 +0000 (11:50 +0800)]
nvs: add long ci test for power off recovery and coverage

This test can be triggered manually:
`bot test name: test_nvs_coverage`

6 years agoci: support jobs which don’t run unless triggered by name
Ivan Grokhotkov [Mon, 16 Apr 2018 03:48:36 +0000 (11:48 +0800)]
ci: support jobs which don’t run unless triggered by name

By default, any job will run unless a filter is given, in that case
the filter will determine if the job should run or not. Some jobs do
not need to be run by default, and should only be triggered using the
bot. For such jobs, BOT_NEEDS_TRIGGER_BY_NAME can added to
environment variables.

6 years agoMerge branch 'feature/vfs_select' into 'master'
Ivan Grokhotkov [Thu, 19 Apr 2018 07:06:02 +0000 (15:06 +0800)]
Merge branch 'feature/vfs_select' into 'master'

Allow VFS file descriptors in select()

See merge request idf/esp-idf!2074

6 years agoMerge branch 'bugfix/fix_gpio_install_isr_service_check_value' into 'master'
Ivan Grokhotkov [Thu, 19 Apr 2018 07:01:50 +0000 (15:01 +0800)]
Merge branch 'bugfix/fix_gpio_install_isr_service_check_value' into 'master'

driver(gpio): modify return value when gpio ISR service already exists.

See merge request idf/esp-idf!2125

6 years agoMerge branch 'feature/bootloader_refactoring_common' into 'master'
Ivan Grokhotkov [Thu, 19 Apr 2018 06:58:00 +0000 (14:58 +0800)]
Merge branch 'feature/bootloader_refactoring_common' into 'master'

bootloader: Refactoring

See merge request idf/esp-idf!2251

6 years agoMerge branch 'feature/remove_make_dependency_on_git' into 'master'
Ivan Grokhotkov [Thu, 19 Apr 2018 05:01:12 +0000 (13:01 +0800)]
Merge branch 'feature/remove_make_dependency_on_git' into 'master'

make: remove build system dependency on `git` using some hooks

See merge request idf/esp-idf!2211

6 years agoMerge branch 'bugfix/fix_github_reported_1841_and_1845' into 'master'
Ivan Grokhotkov [Thu, 19 Apr 2018 04:59:37 +0000 (12:59 +0800)]
Merge branch 'bugfix/fix_github_reported_1841_and_1845' into 'master'

Fix few minor github reported issues

See merge request idf/esp-idf!2252

6 years agocomponent/bt: Change the btc gattc callback function with the compile error.
Yulong [Mon, 12 Mar 2018 03:34:20 +0000 (23:34 -0400)]
component/bt: Change the btc gattc callback function with the compile error.

1. Change all the gattc API && bta gattc layer.
2. Debug the code and change the btc_ble_gattc_get_db method.
3. Change the gatt read API interface.
4. Reconstruction the BTA_gattc_cache code.
5. Change back the bluedroid_get_status to marco.
6. Change the gattc docs format.
7. Change the docs format.
8. fix the read char value bug.
9. change the gattc_get_attr_count method.
10. Change back the bta_gattc write ccc code.
11. Change the gattc api docs format
12. Change the gattc API docs.
13. Change the prepare write descriptor method to avoid the exection.
14. modify gatt clinet demo with new API
15. Change the p_src_data->read.p_value to avoid exection.
16. Change the bugfix of gattc unreg for the notify.

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

component/bt: Added the bta_gattc_cache_write when gatt discovery complete.

component/bt: Added the bta_gattc_cache_write declaration.

component/bt: Added the comments for esp_ble_gattc_cache_refresh API.

component/bt: Change the spelling errors & some comment error.

component/bt: fix bug of get gattc cache address list error.

1. Change the esp_bluedroid_get_status to macro;
2. added the malloc & free for the get_addr_list

component/bt: Added the addr_info->ass_addr == NULL Judgment to prevent crashes in the bta_gattc_co_cache_find_src_addr function.

component/bt: Fixed following gattc cache bugs

1. gattc can't refresh the gattc cache in the gatt discover state;
2. remove the nvs_get_blob in the cache address init function;
3. added the nvs_set_blob return value judgment in the cache address save function;
4. added the list_new when ass_address is NULL;
5. Change the ass_address list remove method to fix the ass address can't remove bug.

6 years agoexample/hid: Added the BLE hid device profile.
Yulong [Fri, 9 Mar 2018 08:25:23 +0000 (03:25 -0500)]
example/hid: Added the BLE hid device profile.

demo/hid: Change the license validity period & some unreasonable LOG print.

example/hid: Added the Vendor Report output support.

6 years agoesp-tls: Log errors for all "connection failed" code paths
Angus Gratton [Thu, 19 Apr 2018 01:34:27 +0000 (11:34 +1000)]
esp-tls: Log errors for all "connection failed" code paths

6 years agoesp-tls: Allow esp_tls_conn_delete() to be called with a NULL pointer
Angus Gratton [Thu, 19 Apr 2018 01:34:06 +0000 (11:34 +1000)]
esp-tls: Allow esp_tls_conn_delete() to be called with a NULL pointer

6 years agodocs: add note regarding ESP-IDF version
Mahavir Jain [Wed, 18 Apr 2018 13:00:58 +0000 (18:30 +0530)]
docs: add note regarding ESP-IDF version

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agodocs: update download links for OpenOCD
Ivan Grokhotkov [Wed, 18 Apr 2018 12:22:48 +0000 (20:22 +0800)]
docs: update download links for OpenOCD

Point to the latest release on Github, which can now be produced by CI.

Ref. https://github.com/espressif/openocd-esp32/issues/30
Ref. https://github.com/espressif/openocd-esp32/issues/18

6 years agofatfs/test: increase stack size in read-write unit test
Ivan Grokhotkov [Wed, 18 Apr 2018 06:35:21 +0000 (14:35 +0800)]
fatfs/test: increase stack size in read-write unit test

2048 byte stack was not sufficient when some error was logged by SD
card driver, leading to stack overflows.

6 years agoMerge branch 'bugfix/heap_tracing_newlib_allocations' into 'master'
Angus Gratton [Wed, 18 Apr 2018 04:07:15 +0000 (12:07 +0800)]
Merge branch 'bugfix/heap_tracing_newlib_allocations' into 'master'

heap tracing: Fix tracing of newlib internal allocations

See merge request idf/esp-idf!1992

6 years agoMerge branch 'feature/esp-tls' into 'master'
Ivan Grokhotkov [Wed, 18 Apr 2018 03:11:49 +0000 (11:11 +0800)]
Merge branch 'feature/esp-tls' into 'master'

esp-tls: Fix connection failure

See merge request idf/esp-idf!2241

6 years agoMerge branch 'bugfix/nvs_failed_crc_assert' into 'master'
Ivan Grokhotkov [Wed, 18 Apr 2018 03:01:21 +0000 (11:01 +0800)]
Merge branch 'bugfix/nvs_failed_crc_assert' into 'master'

nvs: don’t expect items with bad CRC to be in cache

See merge request idf/esp-idf!2239

6 years agoMerge branch 'bugfix/nvs_power_off_recovery' into 'master'
Ivan Grokhotkov [Wed, 18 Apr 2018 03:00:56 +0000 (11:00 +0800)]
Merge branch 'bugfix/nvs_power_off_recovery' into 'master'

nvs: Fix recovery after power-off during erase operation

See merge request idf/esp-idf!2238

6 years agomesh: update mesh libs
qiyueixa [Sat, 14 Apr 2018 16:53:08 +0000 (00:53 +0800)]
mesh: update mesh libs

1. fix issues on sending beacon caused by too much tx retries on other packets.
2. modify not to scan if rc exists when connect.
3. modify scan dwell time to default 120ms fo root.

6 years agobootloader: Refactoring
Konstantin Kondrashov [Mon, 16 Apr 2018 15:35:41 +0000 (20:35 +0500)]
bootloader: Refactoring

Need to make the bootloader modular so that users can redefine its functional part.

- refactoring and moving functions to the bootloader_support component
- Changed function to `void` bootloader_utility_load_image(...);

TW19596

6 years agoAllow VFS file descriptors in select()
Roland Dobai [Mon, 19 Feb 2018 13:14:02 +0000 (14:14 +0100)]
Allow VFS file descriptors in select()

6 years agonvs: Fix recovery after power-off during erase operation
Sagar Bijwe [Fri, 13 Apr 2018 06:59:06 +0000 (12:29 +0530)]
nvs: Fix recovery after power-off during erase operation

Current code for recovery after power-off do not clean-up partially
erased items for FULL pages. If the erasure was part of modification
operation, this gets luckily cleaned-up because of duplicate detection
logic. For erase-only operation, the problem still exists. This patch
adds the recovery for FULL pages also.

Closes TW<20284>

6 years agoMerge branch 'bugfix/build_v0_output' into 'master'
Ivan Grokhotkov [Tue, 17 Apr 2018 06:24:50 +0000 (14:24 +0800)]
Merge branch 'bugfix/build_v0_output' into 'master'

build: remove some debug lines printed when V=0

See merge request idf/esp-idf!2237

6 years agoMerge branch 'feature/btdm_get_and_set_cod' into 'master'
Jiang Jiang Jian [Tue, 17 Apr 2018 06:21:18 +0000 (14:21 +0800)]
Merge branch 'feature/btdm_get_and_set_cod' into 'master'

component/bt: Add API: get cod & set cod

See merge request idf/esp-idf!2127

6 years agoMerge branch 'bugfix/btdm_a2dp_source_cleanup_bug' into 'master'
Jiang Jiang Jian [Tue, 17 Apr 2018 06:20:15 +0000 (14:20 +0800)]
Merge branch 'bugfix/btdm_a2dp_source_cleanup_bug' into 'master'

component/bt: Fix bug of a2dp source cleanup bug when connected

See merge request idf/esp-idf!2042