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

6 years agoesp32: increase default event task stack size by 256 bytes
Ivan Grokhotkov [Wed, 31 Jan 2018 05:58:39 +0000 (13:58 +0800)]
esp32: increase default event task stack size by 256 bytes

At debug log level, default event task stack size was not sufficient,
the stack was overflown by 232 bytes when WiFi connection happened.

6 years agoexamples/wear_levelling: update readme file
Ivan Grokhotkov [Mon, 8 Jan 2018 08:22:44 +0000 (16:22 +0800)]
examples/wear_levelling: update readme file

Fixes https://github.com/espressif/esp-idf/issues/627.

6 years agofatfs: check allocated workbuf pointer
Ivan Grokhotkov [Mon, 8 Jan 2018 08:21:44 +0000 (16:21 +0800)]
fatfs: check allocated workbuf pointer

6 years agofatfs: add configuration of allocation unit size
Ivan Grokhotkov [Mon, 8 Jan 2018 08:21:02 +0000 (16:21 +0800)]
fatfs: add configuration of allocation unit size

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

6 years agoMerge branch 'bugfix/fix_i2s_adc_mode' into 'master'
Ivan Grokhotkov [Sun, 11 Feb 2018 04:58:58 +0000 (12:58 +0800)]
Merge branch 'bugfix/fix_i2s_adc_mode' into 'master'

driver(i2s): fix broken i2s adc mode

See merge request idf/esp-idf!1653

6 years agoMerge branch 'bugfix/realloc_corruption_bug' into 'master'
Angus Gratton [Fri, 9 Feb 2018 11:19:29 +0000 (19:19 +0800)]
Merge branch 'bugfix/realloc_corruption_bug' into 'master'

heap: Fix bug when realloc moves data between heaps

See merge request idf/esp-idf!1931

6 years agoheap: Fix bug when realloc moves data between heaps
Angus Gratton [Fri, 9 Feb 2018 03:41:27 +0000 (11:41 +0800)]
heap: Fix bug when realloc moves data between heaps

When realloc-ing to a smaller buffer size which ends up allocated in a different heap, the heap
structure is corrupted. This can only happen:

* If heap checking is Comprehensive (meaning buffers are never shrunk in place) and the heap the buffer was originally allocated in is full.
* Calling heap_caps_realloc() to deliberately move a buffer to a different capabilities type, and shrink it at the same time.

Probable fix for https://github.com/espressif/esp-idf/issues/1582
Probably the same issue:
https://www.esp32.com/viewtopic.php?f=2&t=4583
https://www.esp32.com/viewtopic.php?f=13&t=3717

6 years agoMerge branch 'feature/tls_support' into 'master'
Ivan Grokhotkov [Fri, 9 Feb 2018 04:34:20 +0000 (12:34 +0800)]
Merge branch 'feature/tls_support' into 'master'

FreeRTOS TLS support

See merge request idf/esp-idf!1902

6 years agoMerge branch 'test/spi_performance' into 'master'
Ivan Grokhotkov [Thu, 8 Feb 2018 14:59:40 +0000 (22:59 +0800)]
Merge branch 'test/spi_performance' into 'master'

test(spi_master): add performance display for spi master.

See merge request idf/esp-idf!1923

6 years agocomponent/bt: Fix mem leak of bt
baohongde [Wed, 7 Feb 2018 09:03:48 +0000 (17:03 +0800)]
component/bt: Fix mem leak of bt

6 years agotest(adc2): re-enable the adc2 test.
michael [Thu, 8 Feb 2018 05:48:25 +0000 (13:48 +0800)]
test(adc2): re-enable the adc2 test.

6 years agoMerge branch 'bugfix/redirect_psram_muxes_to_single_mux' into 'master'
Angus Gratton [Thu, 8 Feb 2018 03:30:43 +0000 (11:30 +0800)]
Merge branch 'bugfix/redirect_psram_muxes_to_single_mux' into 'master'

Fake S32C1I operation for muxes in PSRAM

See merge request idf/esp-idf!1688

6 years agoMerge branch 'bugfix/tw18291_fix_wifi_deinit_causes_assert' into 'master'
Jiang Jiang Jian [Thu, 8 Feb 2018 03:28:24 +0000 (11:28 +0800)]
Merge branch 'bugfix/tw18291_fix_wifi_deinit_causes_assert' into 'master'

esp32: fix esp_wifi_deinit causes assert

See merge request idf/esp-idf!1916

6 years agofreertos: Adds C11 TLS support
Alexey Gerenkov [Sun, 4 Feb 2018 22:06:45 +0000 (01:06 +0300)]
freertos: Adds C11 TLS support

6 years agoMerge branch 'bugfix/spi_gpio0' into 'master'
Jeroen Domburg [Wed, 7 Feb 2018 10:50:13 +0000 (18:50 +0800)]
Merge branch 'bugfix/spi_gpio0' into 'master'

fix(spi): several fixes about maros (flags) and GPIO0.

See merge request idf/esp-idf!1666

6 years agotest(spi_master): add performance display for spi master.
Michael (Xiao Xufeng) [Wed, 7 Feb 2018 07:45:10 +0000 (15:45 +0800)]
test(spi_master): add performance display for spi master.