]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'bugfix/wpa2_assert_when_suddenly_disconnect' into 'master'
Jiang Jiang Jian [Tue, 13 Mar 2018 12:59:39 +0000 (20:59 +0800)]
Merge branch 'bugfix/wpa2_assert_when_suddenly_disconnect' into 'master'

Bugfix of wpa2 task assert when suddenly disconnect

See merge request idf/esp-idf!2043

6 years agoMerge branch 'bugfix/docs_small_corrections' into 'master'
Ivan Grokhotkov [Tue, 13 Mar 2018 09:43:00 +0000 (17:43 +0800)]
Merge branch 'bugfix/docs_small_corrections' into 'master'

Bugfix/docs small corrections

See merge request idf/esp-idf!2025

6 years agoMerge branch 'bugfix/docs_incremental_build' into 'master'
Ivan Grokhotkov [Tue, 13 Mar 2018 09:41:08 +0000 (17:41 +0800)]
Merge branch 'bugfix/docs_incremental_build' into 'master'

docs: speed up incremental builds

See merge request idf/esp-idf!2012

6 years agoMerge branch 'bugfix/docs_from_github' into 'master'
Ivan Grokhotkov [Tue, 13 Mar 2018 09:40:26 +0000 (17:40 +0800)]
Merge branch 'bugfix/docs_from_github' into 'master'

Bugfix/docs from github

See merge request idf/esp-idf!2015

6 years agoBugfix of wpa2 task assert when suddenly disconnect
Deng Xin [Mon, 12 Mar 2018 13:41:24 +0000 (21:41 +0800)]
Bugfix of wpa2 task assert when suddenly disconnect

6 years agoExposed important information regrading the flash bus signals
krzychb [Fri, 9 Mar 2018 15:39:26 +0000 (16:39 +0100)]
Exposed important information regrading the flash bus signals

6 years agofix: fatfs link
XuanZe [Fri, 9 Mar 2018 09:55:41 +0000 (17:55 +0800)]
fix: fatfs link

6 years agoExtra links in 'Resources' section
krzychb [Thu, 8 Mar 2018 11:33:21 +0000 (12:33 +0100)]
Extra links in 'Resources' section

6 years agoAdded / corrected README files for the SPI master / slave examples under peripherals
krzychb [Thu, 8 Mar 2018 09:34:55 +0000 (10:34 +0100)]
Added / corrected README files for the SPI master / slave examples under peripherals

6 years agoMerge branch 'bugfix/esp_timer_overflow' into 'master'
Jiang Jiang Jian [Fri, 9 Mar 2018 02:05:22 +0000 (10:05 +0800)]
Merge branch 'bugfix/esp_timer_overflow' into 'master'

component/esp32: fix esp_timer bug

See merge request idf/esp-idf!1877

6 years agoMerge branch 'bugfix/close_socket_when_tcp_connecting' into 'master'
Jiang Jiang Jian [Thu, 8 Mar 2018 12:34:40 +0000 (20:34 +0800)]
Merge branch 'bugfix/close_socket_when_tcp_connecting' into 'master'

Close socket request will abort tcp write/connect

See merge request idf/esp-idf!1687

6 years agoMerge branch 'bugfix/btdm_clear_start_stop_adv_callback_when_complete' into 'master'
Jiang Jiang Jian [Thu, 8 Mar 2018 12:22:10 +0000 (20:22 +0800)]
Merge branch 'bugfix/btdm_clear_start_stop_adv_callback_when_complete' into 'master'

Component/bt: clear start/stop adv callback when complete

See merge request idf/esp-idf!1938

6 years agoMerge branch 'bugfix/btdm_fix_set_error_channel_map_in_adv_params' into 'master'
Jiang Jiang Jian [Thu, 8 Mar 2018 12:18:30 +0000 (20:18 +0800)]
Merge branch 'bugfix/btdm_fix_set_error_channel_map_in_adv_params' into 'master'

Component/bt: fix set error params and return callback when start adv

See merge request idf/esp-idf!1943

6 years agoMerge branch 'feature/btdm_blufi_add_custom_data_cmd' into 'master'
Jiang Jiang Jian [Thu, 8 Mar 2018 12:15:27 +0000 (20:15 +0800)]
Merge branch 'feature/btdm_blufi_add_custom_data_cmd' into 'master'

Component/bt: blufi add custom data cmd

See merge request idf/esp-idf!2017

6 years agoMerge branch 'bugfix/btdm_add_param_check_in_gap_set_prefer_conn_params' into 'master'
Jiang Jiang Jian [Thu, 8 Mar 2018 12:08:33 +0000 (20:08 +0800)]
Merge branch 'bugfix/btdm_add_param_check_in_gap_set_prefer_conn_params' into 'master'

Component/bt: add_params_check_in_prefer_conn_params()

See merge request idf/esp-idf!1944

6 years agoMerge branch 'bugfix/btdm_fix_get_attr_value_error_after_prepare_write' into 'master'
Jiang Jiang Jian [Thu, 8 Mar 2018 12:06:47 +0000 (20:06 +0800)]
Merge branch 'bugfix/btdm_fix_get_attr_value_error_after_prepare_write' into 'master'

Component/bt: fix get attr value error after prepare write

See merge request idf/esp-idf!1976

6 years agoComponent/bt: blufi add custom data cmd
zhiweijian [Tue, 6 Mar 2018 08:18:38 +0000 (16:18 +0800)]
Component/bt: blufi add custom data cmd

6 years agoAdded missing link to sdkconfig
krzychb [Thu, 8 Mar 2018 09:03:32 +0000 (10:03 +0100)]
Added missing link to sdkconfig

6 years agofix : esp_partition_find missing `` ``
XuanZe [Wed, 7 Mar 2018 07:46:38 +0000 (15:46 +0800)]
fix : esp_partition_find missing `` ``

Signed-off-by: krzychb <krzychb@gazeta.pl>
6 years agodocs: speed up incremental builds
Ivan Grokhotkov [Mon, 5 Mar 2018 12:12:52 +0000 (20:12 +0800)]
docs: speed up incremental builds

On each documentation build (‘make html’), doxygen regenerates XML
files. In addition to that, gen-dxd.py regenerates API reference
files under _build/inc/. This results in Sphinx flagging about half
of the input files as modified, and incremental builds taking long
time.

With this change, XML files generated by Doxygen are copied into
docs/xml_in directory only when they are changed. Breathe is pointed
to docs/xml_in directory instead of docs/xml. In addition to that,
gen-dxd.py is modified to only write to the output file when contents
change.

Overall, incremental build time (with no source files changed) is
reduced from ~7 minutes to ~8 seconds (on a particular OS X
computer).

Due to the way Breathe includes Doxygen XML files, there is still
going to be a massive rebuild every time functions, enums, macros,
structures are added or removed from the header files scanned
by Doxygen, but at least individual .rst files can be edited
at a much faster pace.

6 years agoMerge branch 'bugfix/docs_improve_flash_bus_integrity' into 'master'
Ivan Grokhotkov [Wed, 7 Mar 2018 07:26:54 +0000 (15:26 +0800)]
Merge branch 'bugfix/docs_improve_flash_bus_integrity' into 'master'

Added a note how to modify ESP-WROVER-KIT V3 hardware to improve flash bus signal's integrity

See merge request idf/esp-idf!2005

6 years agoMerge branch 'bugfix/btdm_error_log' into 'master'
Jiang Jiang Jian [Tue, 6 Mar 2018 11:37:16 +0000 (19:37 +0800)]
Merge branch 'bugfix/btdm_error_log' into 'master'

component/bt: remove some error logs which are not error

See merge request idf/esp-idf!1826

6 years agoMerge branch 'bugfix/btdm_spp_lock_error' into 'master'
Jiang Jiang Jian [Tue, 6 Mar 2018 11:36:52 +0000 (19:36 +0800)]
Merge branch 'bugfix/btdm_spp_lock_error' into 'master'

component/bt: Fix spp lock error

See merge request idf/esp-idf!2014

6 years agocomponent/bt: Fix spp lock error
baohongde [Tue, 6 Mar 2018 06:57:08 +0000 (14:57 +0800)]
component/bt: Fix spp lock error

6 years agoFix missing 'cpp:func:'. Merges https://github.com/espressif/esp-idf/pull/1680
XuanZe [Mon, 5 Mar 2018 05:51:10 +0000 (13:51 +0800)]
Fix missing 'cpp:func:'. Merges https://github.com/espressif/esp-idf/pull/1680

6 years agoUpdate adc.rst. Merges https://github.com/espressif/esp-idf/pull/1657
Alex Kaariainen [Sun, 25 Feb 2018 04:21:16 +0000 (22:21 -0600)]
Update adc.rst. Merges https://github.com/espressif/esp-idf/pull/1657

6 years agocomponent/bt: remove some error logs which are not error
baohongde [Wed, 17 Jan 2018 11:23:41 +0000 (19:23 +0800)]
component/bt: remove some error logs which are not error

6 years agoMerge branch 'bugfix/btdm_update_pktLen_have_no_callback' into 'master'
Jiang Jiang Jian [Mon, 5 Mar 2018 08:14:48 +0000 (16:14 +0800)]
Merge branch 'bugfix/btdm_update_pktLen_have_no_callback' into 'master'

component/bt: Fix bug:update pktlen have no callback

See merge request idf/esp-idf!1913

6 years agoMerge branch 'bugfix/btdm_add_lock_for_spp_without_VFS' into 'master'
Jiang Jiang Jian [Mon, 5 Mar 2018 08:06:16 +0000 (16:06 +0800)]
Merge branch 'bugfix/btdm_add_lock_for_spp_without_VFS' into 'master'

component/bt: Add lock for SPP slot

See merge request idf/esp-idf!2002

6 years agoAdded a note how to modify ESP-WROVER-KIT V3 hardware to improve flash bus signal...
krzychb [Fri, 2 Mar 2018 14:26:46 +0000 (15:26 +0100)]
Added a note how to modify ESP-WROVER-KIT V3 hardware to improve flash bus signal's integrity when using 80 MHz flash frequency. Due to length of the signal lines the flash mode QIO + 80M is not stable and may cause random exceptions on the ESP-WROVER-KIT.

6 years agoMerge branch 'feature/remove_tcp_perf_example' into 'master'
Jiang Jiang Jian [Fri, 2 Mar 2018 10:54:39 +0000 (18:54 +0800)]
Merge branch 'feature/remove_tcp_perf_example' into 'master'

example: remove performance example

See merge request idf/esp-idf!1969

6 years agoMerge branch 'bugfix/btdm_build_server_error_with_BT_BLE_DYNAMIC_ENV_MEMORY' into...
Jiang Jiang Jian [Fri, 2 Mar 2018 10:28:36 +0000 (18:28 +0800)]
Merge branch 'bugfix/btdm_build_server_error_with_BT_BLE_DYNAMIC_ENV_MEMORY' into 'master'

Component/bt: fix build ble server error with BT_BLE_DYNAMIC_ENV_MEMORY option

See merge request idf/esp-idf!1993

6 years agocomponent/bt: Add lock for SPP slot
baohongde [Fri, 2 Mar 2018 10:11:47 +0000 (18:11 +0800)]
component/bt: Add lock for SPP slot

6 years agoComponent/bt: fix build ble server error with BT_BLE_DYNAMIC_ENV_MEMORY option
zhiweijian [Wed, 28 Feb 2018 08:44:05 +0000 (16:44 +0800)]
Component/bt: fix build ble server error with BT_BLE_DYNAMIC_ENV_MEMORY option

6 years agocomponent/esp32: fix esp_timer bug
Tian Hao [Mon, 29 Jan 2018 12:23:59 +0000 (20:23 +0800)]
component/esp32: fix esp_timer bug

1. fix the bug that cause esp_timer_get_time is not accuracy(the max margin may be 106s).
2. fix the bug that causes esp timer come too early.

6 years agoMerge branch 'bugfix/idf_monitor_windows10' into 'master'
Angus Gratton [Mon, 26 Feb 2018 22:21:53 +0000 (06:21 +0800)]
Merge branch 'bugfix/idf_monitor_windows10' into 'master'

idf_monitor: Fix bug with Windows 10 sometimes printing a character twice

See merge request idf/esp-idf!1964

6 years agoMerge branch 'feature/ignore_no_psram' into 'master'
Ivan Grokhotkov [Mon, 26 Feb 2018 12:33:28 +0000 (20:33 +0800)]
Merge branch 'feature/ignore_no_psram' into 'master'

Add option to continue running (with less ram) if psram is enabled but not detected

See merge request idf/esp-idf!1911

6 years agoMerge branch 'bugfix/revisit_pthread_once' into 'master'
Angus Gratton [Mon, 26 Feb 2018 00:52:06 +0000 (08:52 +0800)]
Merge branch 'bugfix/revisit_pthread_once' into 'master'

pthread: fix pthread_once behavior, if mux (handle) is in external PSRAM

See merge request idf/esp-idf!1972

6 years agoMerge branch 'bugfix/esp_ping_ms_pr1638' into 'master'
Angus Gratton [Mon, 26 Feb 2018 00:00:44 +0000 (08:00 +0800)]
Merge branch 'bugfix/esp_ping_ms_pr1638' into 'master'

esp_ping - Document that timeout units are in milliseconds

See merge request idf/esp-idf!1968

6 years agoMerge branch 'bugfix/docs_missing_reference' into 'master'
Ivan Grokhotkov [Sun, 25 Feb 2018 22:39:54 +0000 (06:39 +0800)]
Merge branch 'bugfix/docs_missing_reference' into 'master'

Added missing references to the current and previous ESP32-DevKitC board versions

See merge request idf/esp-idf!1920

6 years agoMerge branch 'adc_calibration_update' into 'master'
Ivan Grokhotkov [Sun, 25 Feb 2018 22:15:06 +0000 (06:15 +0800)]
Merge branch 'adc_calibration_update' into 'master'

ADC Calibraiton - Support new new calibration methods and eFuse functionality

See merge request idf/esp-idf!1846

6 years agoMerge branch 'feature/rtc_gpio_isolate' into 'master'
Ivan Grokhotkov [Sun, 25 Feb 2018 22:09:08 +0000 (06:09 +0800)]
Merge branch 'feature/rtc_gpio_isolate' into 'master'

Add rtc_gpio_isolate function, use it in deep sleep examples

See merge request idf/esp-idf!1936

6 years agoMerge branch 'bugfix/aws_iot_examples_stack_tune' into 'master'
Ivan Grokhotkov [Sun, 25 Feb 2018 22:08:03 +0000 (06:08 +0800)]
Merge branch 'bugfix/aws_iot_examples_stack_tune' into 'master'

examples: aws_iot: fine tune stack size for aws_iot task

See merge request idf/esp-idf!1962

6 years agoMerge branch 'bugfix/config_minor_missing_deps' into 'master'
Ivan Grokhotkov [Sun, 25 Feb 2018 21:57:27 +0000 (05:57 +0800)]
Merge branch 'bugfix/config_minor_missing_deps' into 'master'

Kconfig: esp32/freertos: add some missing dependencies

See merge request idf/esp-idf!1966

6 years agoComponent/bt: fix get attr value error after prepare write
zhiweijian [Sat, 24 Feb 2018 07:53:56 +0000 (15:53 +0800)]
Component/bt: fix get attr value error after prepare write

6 years agoMerge branch 'bugfix/btdm_mem_leak_of_bt' into 'master'
Jiang Jiang Jian [Sat, 24 Feb 2018 02:25:13 +0000 (10:25 +0800)]
Merge branch 'bugfix/btdm_mem_leak_of_bt' into 'master'

component/bt: Fix mem leak of bt

See merge request idf/esp-idf!1924

6 years agopthread: fix pthread_once behavior, if mux (handle) is in external PSRAM
Mahavir Jain [Fri, 23 Feb 2018 09:19:24 +0000 (14:49 +0530)]
pthread: fix pthread_once behavior, if mux (handle) is in external PSRAM

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoMerge branch 'feature/heap_task_tracking_pr1498' into 'master'
Angus Gratton [Thu, 22 Feb 2018 22:12:17 +0000 (06:12 +0800)]
Merge branch 'feature/heap_task_tracking_pr1498' into 'master'

heap: Add task tracking features (PR 1498)

See merge request idf/esp-idf!1960

6 years agoMerge branch 'bugfix/partition_md5_backward_compatibility' into 'master'
Angus Gratton [Thu, 22 Feb 2018 22:11:44 +0000 (06:11 +0800)]
Merge branch 'bugfix/partition_md5_backward_compatibility' into 'master'

partition_table: Optionally disable the MD5 checksum in partition tables

See merge request idf/esp-idf!1958

6 years agoMerge branch 'bugfix/fd_zero' into 'master'
Angus Gratton [Thu, 22 Feb 2018 22:10:40 +0000 (06:10 +0800)]
Merge branch 'bugfix/fd_zero' into 'master'

FD_ZERO: Fix a compilation warning

See merge request idf/esp-idf!1967

6 years agoesp_adc_cal/Remove lookup table
Darian Leung [Tue, 13 Feb 2018 12:47:18 +0000 (20:47 +0800)]
esp_adc_cal/Remove lookup table

This commit removes the lookup table mode due to inferior performance when compared
to linear mode under attenuation 0, 1 and 2. However small portions of the lookup table
are kept for the higher voltages of atten 3 (above ADC reading 2880). That voltage range
in atten 3 has non linear characteristics making the LUT performan better than linear mode.

6 years agoexample: remove performance example
Liu Zhi Fu [Thu, 22 Feb 2018 09:34:54 +0000 (17:34 +0800)]
example: remove performance example

Remove performance example since we have iperf example
close github issue: https://github.com/espressif/esp-idf/issues/1515

6 years agoFD_ZERO: Fix a compilation warning
Piyush Shah [Wed, 14 Feb 2018 13:57:02 +0000 (19:27 +0530)]
FD_ZERO: Fix a compilation warning

Definition of memset is not found if string.h is not included anywhere

Signed-off-by: Piyush Shah <piyush@espressif.com>
6 years agopartition_table: Optionally disable the MD5 checksum in partition tables
Roland Dobai [Fri, 16 Feb 2018 10:12:16 +0000 (11:12 +0100)]
partition_table: Optionally disable the MD5 checksum in partition tables

6 years agoMerge branch 'bugfix/i2s_driver' into 'master'
Angus Gratton [Thu, 22 Feb 2018 04:03:26 +0000 (12:03 +0800)]
Merge branch 'bugfix/i2s_driver' into 'master'

i2s: add support fixed_mclk configuration

See merge request idf/esp-idf!1600

6 years agoMerge branch 'bugfix/doc_spi_flash' into 'master'
Angus Gratton [Thu, 22 Feb 2018 03:09:17 +0000 (11:09 +0800)]
Merge branch 'bugfix/doc_spi_flash' into 'master'

spi_flash: Update docs

See merge request idf/esp-idf!1961

6 years agoi2s: add support fixed_mclk configuration
Tuan PM [Fri, 16 Feb 2018 06:50:45 +0000 (13:50 +0700)]
i2s: add support fixed_mclk configuration

6 years agoMerge branch 'feature/idf_size_sort_archives' into 'master'
Angus Gratton [Wed, 21 Feb 2018 23:31:56 +0000 (07:31 +0800)]
Merge branch 'feature/idf_size_sort_archives' into 'master'

Feature/idf size sort on size

See merge request idf/esp-idf!1957

6 years agoMerge branch 'bugfix/docs_esp_sleep_wakeup_cause_t' into 'master'
Angus Gratton [Wed, 21 Feb 2018 23:31:03 +0000 (07:31 +0800)]
Merge branch 'bugfix/docs_esp_sleep_wakeup_cause_t' into 'master'

Fix esp_sleep_wakeup_cause_t docs. Merges https://github.com/espressif/esp-idf/pull/1634

See merge request idf/esp-idf!1965

6 years agospi_flash: Update docs
Angus Gratton [Mon, 19 Feb 2018 23:30:02 +0000 (10:30 +1100)]
spi_flash: Update docs

6 years agoMerge branch 'bugfix/apptrace_down_buf_handling' into 'master'
Angus Gratton [Wed, 21 Feb 2018 23:27:17 +0000 (07:27 +0800)]
Merge branch 'bugfix/apptrace_down_buf_handling' into 'master'

esp32: Fixes apptrace down buffer management

See merge request idf/esp-idf!1953

6 years agoesp32: Fixes apptrace down buffer management
Alexey Gerenkov [Wed, 14 Feb 2018 15:11:28 +0000 (18:11 +0300)]
esp32: Fixes apptrace down buffer management

6 years agoKconfig: esp32/freertos: add some missing dependencies
Mahavir Jain [Wed, 21 Feb 2018 07:01:10 +0000 (12:31 +0530)]
Kconfig: esp32/freertos: add some missing dependencies

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoidf_monitor: Fix bug with Windows 10 sometimes printing a character twice
Angus Gratton [Tue, 20 Feb 2018 21:35:43 +0000 (08:35 +1100)]
idf_monitor: Fix bug with Windows 10 sometimes printing a character twice

Turns out when IOError is thrown by the console, the character is
also successfully displayed.

Revisits fix from https://github.com/espressif/esp-idf/issues/1136

As reported https://esp32.com/viewtopic.php?f=14&t=4766&p=20637

6 years agoFix esp_sleep_wakeup_cause_t docs. Merges https://github.com/espressif/esp-idf/pull...
Daniël van Eeden [Sun, 18 Feb 2018 12:12:57 +0000 (13:12 +0100)]
Fix esp_sleep_wakeup_cause_t docs. Merges https://github.com/espressif/esp-idf/pull/1634

value and description didn't match

6 years agoMerge branch 'feature/openssl_cacert' into 'master'
Ivan Grokhotkov [Tue, 20 Feb 2018 18:58:00 +0000 (02:58 +0800)]
Merge branch 'feature/openssl_cacert' into 'master'

OpenSSL API addition

See merge request idf/esp-idf!1932

6 years agoexamples: aws_iot: fine tune stack size for aws_iot task
Mahavir Jain [Tue, 20 Feb 2018 11:34:07 +0000 (17:04 +0530)]
examples: aws_iot: fine tune stack size for aws_iot task

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoOpenSSL API addition
Jitin George [Thu, 8 Feb 2018 08:36:14 +0000 (14:06 +0530)]
OpenSSL API addition

6 years agoMerge branch 'bugfix/eclipse_setup_guide_pr1627' into 'master'
Angus Gratton [Tue, 20 Feb 2018 02:00:51 +0000 (10:00 +0800)]
Merge branch 'bugfix/eclipse_setup_guide_pr1627' into 'master'

Update eclipse-setup.rst

See merge request idf/esp-idf!1955

6 years agoMerge branch 'bugfix/i2s_intr_alloc_flags_pr1589' into 'master'
Angus Gratton [Mon, 19 Feb 2018 23:33:25 +0000 (07:33 +0800)]
Merge branch 'bugfix/i2s_intr_alloc_flags_pr1589' into 'master'

i2s: fix type mismatch of intr_alloc_flags

See merge request idf/esp-idf!1954

6 years agoheap: Add task tracking option for heap usage monitoring
Stephen Casner [Wed, 10 Jan 2018 09:14:47 +0000 (01:14 -0800)]
heap: Add task tracking option for heap usage monitoring

Add back a feature that was available in the old heap implementation
in release/v2.1 and earlier: keep track of which task allocates each
block from the heap. The task handle is conditionally added as
another word in the heap poisoning header under this configuration
option CONFIG_HEAP_TASK_TRACKING.

To allow custom monitoring and debugging code to be added, add helper
functions in multi_heap.c and multi_heap_poisoning.c to provide access
to information in the block headers.

Add esp_heap_debug_dump_totals() to monitor heap usage

esp_heap_debug_dump_totals() dumps into a user-provided data structure
a summary of the amound of heap memory in region type that is used by
each task.  Optionally it will also dump into another data structure
the metadata about each allocated block for a given list of tasks or
for all tasks (limited by available space).

Address change requests on PR #1498

This set of changes fixes the files in e3b702c to just add the
CONFIG_HEAP_TASK_TRACKING option without adding the new function
heap_caps_get_per_task_info() in case that is the only portion of the
PR that will be accepted.  Part of the change is to remove the new .c
and .h files containing that function and to remove the line to
compile it from components/heap/component.mk since it should not have
been included in e3b702c.  One or more additional commits to add the
new function will follow.

The other changes here:
- uint32_t get_all_caps() moves to heap_private.h
- replace "void* foo" with "void *foo"
- add braces around single-line "if" blocks
- replace tab characters with spaces

Address change requests on PR #1498, part 2

This set of changes fixes the files in cdf32aa to add the new function
heap_caps_get_per_task_info() with its new name and to add the line to
compile it in components/heap/component.mk.  This does not address all
the suggested changes because there are some needing further
discussion.

This commit does not include the suggested change to move the
declaration of the new function into esp_heap_caps.h because the new
function references TaskHandle_t so esp_heap_caps.h would have to
include freertos/FreeRTOS.h and freertos/task.h, but FreeRTOS.h
includes esp_heap_caps.h through two other header files which results
in compilation errors because not all of FreeRTOS.h has been read yet.

Change heap_caps_get_per_task_info() to take struct of params

In addition to moving the large number of function parameters into a
struct as the single parameter, the following changes were made:

- Clear out the totals for any prepopulated tasks so the app code
  doesn't have to do it.

- Rather than partitioning the per-task totals into a predetermined
  set of heap capabilities, take a list of <caps,mask> pairs to
  compare the caps to the heap capabilities as masked.  This lets the
  caller configure the desired partitioning, or none.

- Allow the totals array pointer or the blocks array pointer to be
  NULL to indicate not to collect that part of the information.

- In addition to returning the total space allocated by each task,
  return the number of blocks allocated by each task.

- Don't need to return the heap capabilities as part of the details
  for each block since the heap region (and therefore its
  capabilities) can be determined from the block address.

- Renamed heap_task_info.h to esp_heap_task_info.h to fit the naming
  convention, and renamed the structs for totals and block details to
  better fit the revised function name.

- Provide full Doxygen commenting for the function and parameter
  structs.

Add copyright header to new files

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

6 years agoMerge branch 'feature/easy_lookup_of_errors' into 'master'
Angus Gratton [Mon, 19 Feb 2018 20:29:40 +0000 (04:29 +0800)]
Merge branch 'feature/easy_lookup_of_errors' into 'master'

Make it easier to look up error messages

See merge request idf/esp-idf!1929

6 years agoidf_size: Sort output on total-size instead of filename
Kedar Sovani [Fri, 16 Feb 2018 09:58:25 +0000 (15:28 +0530)]
idf_size: Sort output on total-size instead of filename

6 years agoesp_ping - Document that timeout units are in milliseconds
Chris Morgan [Sun, 18 Feb 2018 23:47:46 +0000 (18:47 -0500)]
esp_ping - Document that timeout units are in milliseconds

Remove 1000 multiplier from esp_ping_set_target() parameters that define time

6 years agoheap: Correct the sense of a comment
Stephen Casner [Tue, 9 Jan 2018 21:00:54 +0000 (13:00 -0800)]
heap: Correct the sense of a comment

6 years agoi2s: fix type mismatch of intr_alloc_flags
h3ndrik [Wed, 7 Feb 2018 13:14:41 +0000 (14:14 +0100)]
i2s: fix type mismatch of intr_alloc_flags

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

6 years agoUpdate eclipse-setup.rst
STB3 [Thu, 15 Feb 2018 20:13:01 +0000 (21:13 +0100)]
Update eclipse-setup.rst

Chapter Flash from Eclipse: Changed "Select Make Targets -> ..." to "Select Build Targets -> ..."    to match the Eclipse wording. Same with "Project -> Make Target" replace Make by build to match the Eclipse wording.

6 years agoMake it easier to look up error messages
Roland Dobai [Thu, 1 Feb 2018 12:14:47 +0000 (13:14 +0100)]
Make it easier to look up error messages

tools/gen_esp_err_to_name.py generates
components/esp32/esp_err_to_name.c for lookup of the error codes from
all of the IDF project and easily identify all codes in one place

6 years agoMerge branch 'example/console_task_column_name' into 'master'
Angus Gratton [Thu, 15 Feb 2018 02:51:12 +0000 (10:51 +0800)]
Merge branch 'example/console_task_column_name' into 'master'

example(console): print column name for tasks.

See merge request idf/esp-idf!1948

6 years agoexample(console): print column name for tasks.
Michael (Xiao Xufeng) [Tue, 13 Feb 2018 07:54:44 +0000 (15:54 +0800)]
example(console): print column name for tasks.

6 years agoMerge branch 'bugfix/docs_prs_from_github' into 'master'
Angus Gratton [Wed, 14 Feb 2018 01:45:09 +0000 (09:45 +0800)]
Merge branch 'bugfix/docs_prs_from_github' into 'master'

Small documenation and API fixes from GitHub

See merge request idf/esp-idf!1952

6 years agoMerge branch 'bugfix/ethernet_mdc_mdio_config' into 'master'
Ivan Grokhotkov [Tue, 13 Feb 2018 17:16:05 +0000 (01:16 +0800)]
Merge branch 'bugfix/ethernet_mdc_mdio_config' into 'master'

Ethernet: set direction of SMI pins MDC and MDIO correctly

See merge request idf/esp-idf!1939

6 years agoUpdate index-cn.rst. Closes https://github.com/espressif/esp-idf/issue/1620
njyq2008 [Tue, 13 Feb 2018 08:35:28 +0000 (16:35 +0800)]
Update index-cn.rst. Closes https://github.com/espressif/esp-idf/issue/1620

6 years agoRemove the THEN keyword from IF. Closes https://github.com/espressif/esp-idf/issue...
SmallRoomLabs [Fri, 9 Feb 2018 12:01:52 +0000 (13:01 +0100)]
Remove the THEN keyword from IF. Closes https://github.com/espressif/esp-idf/issue/1606

Both the TinyBasicPlus and the ESP32 variant don't use the THEN keyword in a IF statement

6 years agoFix function name typo. Closes https://github.com/espressif/esp-idf/issue/1572
Ing. Jaroslav Šafka [Thu, 1 Feb 2018 10:00:29 +0000 (11:00 +0100)]
Fix function name typo. Closes https://github.com/espressif/esp-idf/issue/1572

6 years agoesp_adc_cal/Add eFuse functionality
Darian Leung [Wed, 24 Jan 2018 09:22:13 +0000 (17:22 +0800)]
esp_adc_cal/Add eFuse functionality

This commit updates the esp_adc_cal ocmponent to support new calibration methods
which utilize calibratoin values stored in eFuse. This commit includes LUT mode

6 years agoComponent/bt: add_params_check_in_prefer_conn_params()
zhiweijian [Mon, 12 Feb 2018 08:57:12 +0000 (16:57 +0800)]
Component/bt: add_params_check_in_prefer_conn_params()

6 years agoComponent/bt: fix set error params and add callback in adv params
zhiweijian [Mon, 12 Feb 2018 08:34:30 +0000 (16:34 +0800)]
Component/bt: fix set error params and add callback in adv params

6 years agoAdd option to continue running (with less ram) if psram is enabled but not detected
Jeroen Domburg [Tue, 6 Feb 2018 03:27:17 +0000 (11:27 +0800)]
Add option to continue running (with less ram) if psram is enabled but not detected

6 years agoMerge branch 'bugfix/btdm_fix_example_log_missing_bug' into 'master'
Jiang Jiang Jian [Mon, 12 Feb 2018 04:05:01 +0000 (12:05 +0800)]
Merge branch 'bugfix/btdm_fix_example_log_missing_bug' into 'master'

component/bt: Fix BLE printf missing problem

See merge request idf/esp-idf!1912

6 years agoMerge branch 'test/adc2_with_wifi_reopen' into 'master'
Ivan Grokhotkov [Sun, 11 Feb 2018 14:32:18 +0000 (22:32 +0800)]
Merge branch 'test/adc2_with_wifi_reopen' into 'master'

test(adc2): re-enable the adc2 test.

See merge request idf/esp-idf!1926

6 years agoMerge branch 'bugfix/console_example_stack_overflow' into 'master'
Ivan Grokhotkov [Sun, 11 Feb 2018 08:45:05 +0000 (16:45 +0800)]
Merge branch 'bugfix/console_example_stack_overflow' into 'master'

Increase event task stack size to fix console example stack overflow

See merge request idf/esp-idf!1879

6 years agoMerge branch 'feature/fatfs_allocation_unit_size' into 'master'
Ivan Grokhotkov [Sun, 11 Feb 2018 08:43:39 +0000 (16:43 +0800)]
Merge branch 'feature/fatfs_allocation_unit_size' into 'master'

fatfs: add option to set allocation unit size

See merge request idf/esp-idf!1760

6 years agoSet direction of SMI pins MDC and MDIO correctly.
Frank Sautter [Wed, 7 Feb 2018 23:54:10 +0000 (00:54 +0100)]
Set direction of SMI pins MDC and MDIO correctly.

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

6 years agoComponent/bt: clear start/stop adv callback when complete
zhiweijian [Sun, 11 Feb 2018 07:21:51 +0000 (15:21 +0800)]
Component/bt: clear start/stop adv callback when complete

6 years agodocs, examples: use rtc_gpio_isolate to disconnect GPIO12
Ivan Grokhotkov [Fri, 9 Feb 2018 16:34:38 +0000 (00:34 +0800)]
docs, examples: use rtc_gpio_isolate to disconnect GPIO12

This is needed to reduce deep sleep current on ESP32-WROVER modules.

Ref TW18165.

6 years agodriver/rtc: add rtc_gpio_isolate helper function to disconnect RTC IO
Ivan Grokhotkov [Fri, 9 Feb 2018 16:28:30 +0000 (00:28 +0800)]
driver/rtc: add rtc_gpio_isolate helper function to disconnect RTC IO

6 years agoconsole example: increase main task stack size
Ivan Grokhotkov [Sun, 11 Feb 2018 05:14:44 +0000 (13:14 +0800)]
console example: increase main task stack size

Stack size was not sufficient for logging at Verbose log level.

6 years agoconsole example: add 'tasks' command to print vTaskList output
Ivan Grokhotkov [Wed, 31 Jan 2018 06:04:40 +0000 (14:04 +0800)]
console example: add 'tasks' command to print vTaskList output

This command prints list of tasks, their state, and stack
watermark values.
Fixes https://github.com/espressif/esp-idf/issues/1534

6 years agotcpip_adapter: make log output at debug level less noisy
Ivan Grokhotkov [Wed, 31 Jan 2018 06:01:07 +0000 (14:01 +0800)]
tcpip_adapter: make log output at debug level less noisy

At debug log level, tcpip_adapter would print logs for each function
call scheduled onto the tcpip task. These logs contained pointers which
idf_monitor decoded, adding even more noise and useless vertical space
in logs. This change moves these log statements to verbose level.