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

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

component/bt: Fix exception when there is no device name

See merge request idf/esp-idf!2184

6 years agobt: fix incorrect comments for error codes
Mahavir Jain [Tue, 17 Apr 2018 05:12:25 +0000 (10:42 +0530)]
bt: fix incorrect comments for error codes

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

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agortc_module: fix build failure if assertions are disabled
Mahavir Jain [Tue, 17 Apr 2018 05:09:36 +0000 (10:39 +0530)]
rtc_module: fix build failure if assertions are disabled

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

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agobuild: remove some debug lines printed when V=0
Ivan Grokhotkov [Fri, 13 Apr 2018 08:49:00 +0000 (16:49 +0800)]
build: remove some debug lines printed when V=0

With V=0, build process would print “including .../Makefile.projbuild" lines, causing problems for print_flash_cmd target.
The issue was due to the way macro expansion works in make. To delay evaluation of info function until the execution of expanded block, two dollar signs are required.
Test for print_flash_cmd target added.

6 years agoMerge branch 'bugfix/nvs_unit_test_state' into 'master'
Ivan Grokhotkov [Mon, 16 Apr 2018 14:07:25 +0000 (22:07 +0800)]
Merge branch 'bugfix/nvs_unit_test_state' into 'master'

nvs: fix nvs_get_stats unit test

See merge request idf/esp-idf!2250

6 years agonvs: fix nvs_get_stats unit test
Konstantin Kondrashov [Mon, 16 Apr 2018 09:41:34 +0000 (14:41 +0500)]
nvs: fix nvs_get_stats unit test

Changed check for the returned parameter from ESP_ERR_NVS_PART_NOT_FOUND to ESP_ERR_NVS_NOT_INITIALIZED.

6 years agoMerge branch 'test/fix_ci_test_fail_in_jap_case' into 'master'
He Yin Ling [Mon, 16 Apr 2018 11:02:46 +0000 (19:02 +0800)]
Merge branch 'test/fix_ci_test_fail_in_jap_case' into 'master'

test: fix CI fail when join AP

See merge request idf/esp-idf!2245

6 years agoMerge branch 'chore/issue_template' into 'master'
Ivan Grokhotkov [Mon, 16 Apr 2018 10:50:42 +0000 (18:50 +0800)]
Merge branch 'chore/issue_template' into 'master'

add github issue template for users to report issues easily.

See merge request idf/esp-idf!2148

6 years agonvs: don’t expect items with bad CRC to be in cache
Ivan Grokhotkov [Sun, 11 Mar 2018 22:35:21 +0000 (06:35 +0800)]
nvs: don’t expect items with bad CRC to be in cache

When erasing a variable length item with an incorrect CRC32, the span
value of the item can not be trusted, so the item will be erased with
span = 1. Subsequent entries represent the data of the variable
length item, and these will be treated as separate items. For each
entry CRC32 is checked, the check most likely fails (because the
entry contains arbitrary data, and not a proper NVS item), and the
entry is erased. Erase function assumed that every item should be
present in cache, but it is not the case for the entries which are
just parts of item’s payload. This change allows for the item to be
not found in the hashlist, if the CRC32 check fails.

6 years agoadd github issue template for users to report issues easily
michael [Thu, 29 Mar 2018 06:11:04 +0000 (14:11 +0800)]
add github issue template for users to report issues easily

6 years agoMerge branch 'bugfix/nvs_stat_test' into 'master'
Ivan Grokhotkov [Mon, 16 Apr 2018 06:45:43 +0000 (14:45 +0800)]
Merge branch 'bugfix/nvs_stat_test' into 'master'

NVS: fix nvs_get_stats unit test

See merge request idf/esp-idf!2248

6 years agoMerge branch 'bugfix/spi_miso_on_input_only_pins' into 'master'
Ivan Grokhotkov [Mon, 16 Apr 2018 06:39:02 +0000 (14:39 +0800)]
Merge branch 'bugfix/spi_miso_on_input_only_pins' into 'master'

fix(spi): allow to use MISO on GPIO34-39.

See merge request idf/esp-idf!2136

6 years agonvs: make nvs_flash_deinit useable from unit tests
Ivan Grokhotkov [Mon, 16 Apr 2018 04:52:07 +0000 (12:52 +0800)]
nvs: make nvs_flash_deinit useable from unit tests

6 years agonvs: deinit NVS in nvs_stats unit test
Ivan Grokhotkov [Mon, 16 Apr 2018 04:50:57 +0000 (12:50 +0800)]
nvs: deinit NVS in nvs_stats unit test

This fixes the failure when this test runs after another test which
leaves NVS initialized.

6 years agoMerge branch 'bugfix/nvs_page_selection' into 'master'
Ivan Grokhotkov [Mon, 16 Apr 2018 02:32:01 +0000 (10:32 +0800)]
Merge branch 'bugfix/nvs_page_selection' into 'master'

nvs: Fix page selection algo to consider free entry counts as well

See merge request idf/esp-idf!2240

6 years agoMerge branch 'feature/nvs_get_count_used_entries' into 'master'
Ivan Grokhotkov [Mon, 16 Apr 2018 02:25:01 +0000 (10:25 +0800)]
Merge branch 'feature/nvs_get_count_used_entries' into 'master'

NVS: add API to get used entries count

See merge request idf/esp-idf!1982

6 years agotest: fix join AP fail during AP power on
He Yin Ling [Sun, 15 Apr 2018 02:17:52 +0000 (10:17 +0800)]
test: fix join AP fail during AP power on

6 years agoMerge branch 'feature/uart_add_api_get_cmd_position' into 'master'
Angus Gratton [Mon, 16 Apr 2018 00:03:25 +0000 (08:03 +0800)]
Merge branch 'feature/uart_add_api_get_cmd_position' into 'master'

driver(uart): Add API to get the position of cmd_char

See merge request idf/esp-idf!2177

6 years agotools/ci: add test case for build without dependency on `git`
Mahavir Jain [Thu, 12 Apr 2018 12:56:43 +0000 (18:26 +0530)]
tools/ci: add test case for build without dependency on `git`

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agomake: remove build system dependency on `git` using some hooks
Mahavir Jain [Tue, 10 Apr 2018 03:20:59 +0000 (08:50 +0530)]
make: remove build system dependency on `git` using some hooks

Currently for checking IDF version and submodules existence,
build system uses `git` commands. But, it could be possible use-case
where `git` is not installed (assuming IDF is flattened in source format)
on system and build happens without any warnings.

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoMerge branch 'bugfix/soc_clk_out_fields' into 'master'
Ivan Grokhotkov [Fri, 13 Apr 2018 11:42:20 +0000 (19:42 +0800)]
Merge branch 'bugfix/soc_clk_out_fields' into 'master'

soc/io_mux: make CLK_OUT fields compatible with REG_SET/GET_FIELD

See merge request idf/esp-idf!2133

6 years agoMerge branch 'bugfix/docs_wrap_text_in_tables' into 'master'
Ivan Grokhotkov [Fri, 13 Apr 2018 11:37:49 +0000 (19:37 +0800)]
Merge branch 'bugfix/docs_wrap_text_in_tables' into 'master'

Bugfix/docs wrap text in tables

See merge request idf/esp-idf!2209

6 years agoesp-tls: Fix connection failure when esp-tls config is empty
Jitin George [Fri, 13 Apr 2018 10:29:35 +0000 (15:59 +0530)]
esp-tls: Fix connection failure when esp-tls config is empty

6 years agoMerge branch 'feature/mesh' into 'master'
Jiang Jiang Jian [Fri, 13 Apr 2018 10:55:39 +0000 (18:55 +0800)]
Merge branch 'feature/mesh' into 'master'

mesh: update mesh libs

See merge request idf/esp-idf!2218

6 years agoMerge branch 'bugfix/build_exclude_external_objects' into 'master'
Ivan Grokhotkov [Fri, 13 Apr 2018 10:35:10 +0000 (18:35 +0800)]
Merge branch 'bugfix/build_exclude_external_objects' into 'master'

build: fix excluding source files outside of component root

See merge request idf/esp-idf!2230

6 years agonvs: Fix page selection algo to consider free entry counts as well
Sagar Bijwe [Fri, 13 Apr 2018 09:19:05 +0000 (14:49 +0530)]
nvs: Fix page selection algo to consider free entry counts as well

Current page selection algorithm selects a page for compaction based on just erased counts
and gives up when it does not find any page with erased count greater than 0. This is
problematic since the current allocation procedure skips the active page if there is not
enough room for the item in that page leaving free chunks on the pages. This change modifies
the algorithm to consider both erased as well as free counts on the candidate pages.

Closes TW<20297>

6 years agonvs:Add functions for calculating used/free entries
konstantin [Tue, 20 Feb 2018 07:11:56 +0000 (12:11 +0500)]
nvs:Add functions for calculating used/free entries

Users needs functions to count the number of free and used entries.

1. `nvs_get_stats()` This function return structure of statistic about the uspace NVS.
(Struct: used_entries, free_entries, total_entries and namespace_count)
2. `nvs_get_used_entry_count()` The second function return amount of entries in the namespace (by handler)
3. Added unit tests.

Closes TW<12282>

6 years agoMerge branch 'feature/gpio_add_hold_support' into 'master'
Wang Jia Lin [Fri, 13 Apr 2018 04:18:44 +0000 (12:18 +0800)]
Merge branch 'feature/gpio_add_hold_support' into 'master'

driver(gpio):   Add api support digital pad hold function

See merge request idf/esp-idf!2186

6 years agomesh: update mesh libs
qiyueixa [Tue, 10 Apr 2018 12:38:26 +0000 (20:38 +0800)]
mesh: update mesh libs

1. fix a bug in initliazing map beacon interval.
2. fix not send MESH_EVENT_ROUTING_TABLE_REMOVE when MESH_NWK_CHILD_DISCONNECTED.
3. fix a bug in returning roots ie len.

6 years agofix(spi): allow using MISO on GPIO34-39
Michael (Xiao Xufeng) [Wed, 21 Mar 2018 12:42:45 +0000 (20:42 +0800)]
fix(spi): allow using MISO on GPIO34-39

Breaking Changes: arguments of ``spicommon_bus_initialize_io`` are changed.

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

6 years agochore(spi): update the return value of spi init functions
Michael (Xiao Xufeng) [Wed, 21 Mar 2018 12:42:45 +0000 (20:42 +0800)]
chore(spi): update the return value of spi init functions

6 years agodoc(spi_master): format the documentation of several fields and macros in `spi_master.h`
Michael (Xiao Xufeng) [Tue, 27 Mar 2018 07:20:15 +0000 (15:20 +0800)]
doc(spi_master): format the documentation of several fields and macros in `spi_master.h`

6 years agoMerge branch 'bugfix/cn_windows_setup_doc_fixes' into 'master'
Ivan Grokhotkov [Thu, 12 Apr 2018 08:37:41 +0000 (16:37 +0800)]
Merge branch 'bugfix/cn_windows_setup_doc_fixes' into 'master'

Update windows-setup.rst

See merge request idf/esp-idf!2232

6 years agobuild: fix excluding source files outside of component root
Ivan Grokhotkov [Thu, 12 Apr 2018 06:15:41 +0000 (14:15 +0800)]
build: fix excluding source files outside of component root

Since !2190, source files located outside of the component root
produce object files inside build directory. This change fixes
handling of COMPONENT_OBJEXCLUDE variable for such files. Tests are
added.

6 years agoMerge branch 'feature/pcnt_add_isr_manage_apis' into 'master'
Angus Gratton [Thu, 12 Apr 2018 01:06:56 +0000 (09:06 +0800)]
Merge branch 'feature/pcnt_add_isr_manage_apis' into 'master'

Driver(pcnt) :  Add new feature that each unit can  has it's own interrupt handler.

See merge request idf/esp-idf!2086

6 years agoMerge branch 'feature/build_out_of_tree_srcs' into 'master'
Angus Gratton [Thu, 12 Apr 2018 00:49:56 +0000 (08:49 +0800)]
Merge branch 'feature/build_out_of_tree_srcs' into 'master'

make: Build out of tree component srcs under component build dir

See merge request idf/esp-idf!2190

6 years agoMerge branch 'doc/esp_idf_requires_gcc' into 'master'
Angus Gratton [Thu, 12 Apr 2018 00:48:39 +0000 (08:48 +0800)]
Merge branch 'doc/esp_idf_requires_gcc' into 'master'

doc: Add gcc to list of ESP-IDF prerequisite packages

See merge request idf/esp-idf!2221

6 years agoMerge branch 'feature/btdm_add_set_local_icon_api' into 'master'
Jiang Jiang Jian [Wed, 11 Apr 2018 12:48:13 +0000 (20:48 +0800)]
Merge branch 'feature/btdm_add_set_local_icon_api' into 'master'

Component/bt: add set gap icon API

See merge request idf/esp-idf!2129

6 years agoMerge branch 'bugfix/btdm_do_not_update_conn_params_when_have_key_in_slave' into...
Jiang Jiang Jian [Wed, 11 Apr 2018 12:47:27 +0000 (20:47 +0800)]
Merge branch 'bugfix/btdm_do_not_update_conn_params_when_have_key_in_slave' into 'master'

Component/bt: do not update connection params when already have keys in slave

See merge request idf/esp-idf!2176

6 years agodriver(pcnt): Add some APIs to support each unit can have it's own interrupt handler.
kooho [Mon, 19 Mar 2018 09:22:48 +0000 (17:22 +0800)]
driver(pcnt): Add some APIs to support each unit can have it's own interrupt handler.