]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agocomponent/bt: Fix bug: string_to_bdaddr() error when opening nano
baohongde [Mon, 26 Feb 2018 07:09:03 +0000 (15:09 +0800)]
component/bt: Fix bug: string_to_bdaddr() error when opening nano

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 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 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 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 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 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.

6 years agodriver(i2s): fix broken i2s adc mode
Wangjialin [Fri, 8 Dec 2017 12:07:19 +0000 (20:07 +0800)]
driver(i2s): fix broken i2s adc mode

1. Move i2s reset code from i2s_stop to i2s_start.
2. add RTC API to set sw mode for ADC
3. add description for adc_power_always_on()
4. add lock for i2s dma and RTC ADC functions.
5. add ADC read task in example

reported from bbs:  https://esp32.com/viewtopic.php?f=13&t=3490&p=17522#p17522
reported from github: https://github.com/espressif/esp-idf/issues/1333

6 years agoMerge branch 'bugfix/sdmmc_line_control' into 'master'
Angus Gratton [Wed, 7 Feb 2018 08:29:07 +0000 (16:29 +0800)]
Merge branch 'bugfix/sdmmc_line_control' into 'master'

bugfix(sdmmc_host): fix some issue with bit width config .

See merge request idf/esp-idf!1900

6 years agoMerge branch 'bugfix/ESP_ERR_PING_BASE_collision' into 'master'
Angus Gratton [Wed, 7 Feb 2018 08:27:09 +0000 (16:27 +0800)]
Merge branch 'bugfix/ESP_ERR_PING_BASE_collision' into 'master'

Change ESP_ERR_PING_BASE because of collision with ESP_ERR_TCPIP_ADAPTER_BASE

See merge request idf/esp-idf!1918

6 years agotest(sdmmc_host): add new test to probe over SD (1-bit).
michael [Tue, 23 Jan 2018 11:24:14 +0000 (19:24 +0800)]
test(sdmmc_host): add new test to probe over SD (1-bit).

6 years agofix(sdmmc_host): fix the issue when slot and host flag are not compatible.
Michael (XIAO Xufeng) [Sat, 3 Feb 2018 18:18:46 +0000 (02:18 +0800)]
fix(sdmmc_host): fix the issue when slot and host flag are not compatible.

6 years agofeat(sdmmc_host): force pull-up DAT3 for SD 4-bit mode so that slave will not fall...
Michael (XIAO Xufeng) [Sun, 4 Feb 2018 13:52:18 +0000 (21:52 +0800)]
feat(sdmmc_host): force pull-up DAT3 for SD 4-bit mode so that slave will not fall into SPI mode.

6 years agoMerge branch 'feature/aws_iot_thing_shadow_settings' into 'master'
Angus Gratton [Wed, 7 Feb 2018 02:52:33 +0000 (10:52 +0800)]
Merge branch 'feature/aws_iot_thing_shadow_settings' into 'master'

aws iot: Expose Thing Shadow settings in menuconfig

See merge request idf/esp-idf!1765

6 years agoAdded missing references to the current and previous board versions
krzychb [Tue, 6 Feb 2018 17:54:58 +0000 (18:54 +0100)]
Added missing references to the current and previous board versions

6 years agoesp32: fix esp_wifi_deinit causes assert
Liu Zhi Fu [Tue, 6 Feb 2018 11:28:57 +0000 (19:28 +0800)]
esp32: fix esp_wifi_deinit causes assert

Update wifi lib to fix esp_wifi_deinit causes system assert issue

6 years agoChange ESP_ERR_PING_BASE because of collision with ESP_ERR_TCPIP_ADAPTER_BASE
Roland Dobai [Tue, 6 Feb 2018 11:34:12 +0000 (12:34 +0100)]
Change ESP_ERR_PING_BASE because of collision with ESP_ERR_TCPIP_ADAPTER_BASE

6 years agoMerge branch 'test/ut_script' into 'master'
He Yin Ling [Tue, 6 Feb 2018 10:03:22 +0000 (18:03 +0800)]
Merge branch 'test/ut_script' into 'master'

test: use the tiny-test-fw to run the unit test in CI

See merge request idf/esp-idf!1558

6 years agoMerge branch 'bugfix/btdm_scan_result_of_adv_type_wrong' into 'master'
Jiang Jiang Jian [Tue, 6 Feb 2018 07:50:29 +0000 (15:50 +0800)]
Merge branch 'bugfix/btdm_scan_result_of_adv_type_wrong' into 'master'

component/bt: Fix bug:scan result of adv type is wrong

See merge request idf/esp-idf!1897

6 years agocomponent/bt: Fix BLE printf missing problem
island [Tue, 6 Feb 2018 06:33:07 +0000 (14:33 +0800)]
component/bt: Fix BLE printf missing problem

6 years agotest(adc2): temporary ignore adc2 unit test (with WiFi) to pass the CI.
Michael (Xiao Xufeng) [Tue, 6 Feb 2018 03:59:40 +0000 (11:59 +0800)]
test(adc2): temporary ignore adc2 unit test (with WiFi) to pass the CI.

the issue is introduced in commit 17f01eb718a20f1fcfba69351907488c4c7e8b9c.

6 years agoMerge branch 'bugfix/idf_monitor_fixes' into 'master'
Ivan Grokhotkov [Mon, 5 Feb 2018 12:59:33 +0000 (20:59 +0800)]
Merge branch 'bugfix/idf_monitor_fixes' into 'master'

idf_monitor bug fixes

See merge request idf/esp-idf!1889

6 years agoMerge branch 'feature/partition_table_md5' into 'master'
Ivan Grokhotkov [Mon, 5 Feb 2018 12:58:52 +0000 (20:58 +0800)]
Merge branch 'feature/partition_table_md5' into 'master'

Partition table md5 check

See merge request idf/esp-idf!1891

6 years agoMerge branch 'bugfix/cjson_update_171' into 'master'
Angus Gratton [Mon, 5 Feb 2018 11:57:00 +0000 (19:57 +0800)]
Merge branch 'bugfix/cjson_update_171' into 'master'

Update cJSON to v1.7.1

See merge request idf/esp-idf!1903

6 years agoProtect partition table by MD5 checksum
Roland Dobai [Wed, 31 Jan 2018 13:45:12 +0000 (14:45 +0100)]
Protect partition table by MD5 checksum

6 years agoCI: new CI ut framework, and can run it in local PC
houchenyao [Wed, 31 Jan 2018 10:59:10 +0000 (18:59 +0800)]
CI: new CI ut framework, and can run it in local PC

6 years agounit-test-app: use '-' to show test history
houchenyao [Wed, 31 Jan 2018 08:58:27 +0000 (16:58 +0800)]
unit-test-app: use '-' to show test history

6 years agotiny-test-fw: fix dut for python2 and python3
houchenyao [Wed, 31 Jan 2018 08:57:40 +0000 (16:57 +0800)]
tiny-test-fw: fix dut for python2 and python3

6 years agoaws iot: Expose Thing Shadow settings in menuconfig
Angus Gratton [Tue, 9 Jan 2018 00:18:41 +0000 (11:18 +1100)]
aws iot: Expose Thing Shadow settings in menuconfig

Closes https://github.com/espressif/esp-idf/issues/1340
Ref TW#16817

6 years agoUpdate cJSON to v1.7.1
Angus Gratton [Mon, 5 Feb 2018 03:31:02 +0000 (11:31 +0800)]
Update cJSON to v1.7.1

* Fix buffer overflow issue in cJSON 1.6.0
* Change cJSON structure to git submodule

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

6 years agocomponent/bt: Fix bug:scan result of adv type is wrong
baohongde [Fri, 2 Feb 2018 11:17:39 +0000 (19:17 +0800)]
component/bt: Fix bug:scan result of adv type is wrong

6 years agoMerge branch 'bugfix/libphy_rodata_into_dram' into 'master'
Ivan Grokhotkov [Fri, 2 Feb 2018 11:03:20 +0000 (19:03 +0800)]
Merge branch 'bugfix/libphy_rodata_into_dram' into 'master'

move rodata segment of libphy.a to dram

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

See merge request idf/esp-idf!1894

6 years agoEspecially when internal memory fills up, some FreeRTOS structures (queues etc) get...
Jeroen Domburg [Tue, 19 Dec 2017 07:47:00 +0000 (15:47 +0800)]
Especially when internal memory fills up, some FreeRTOS structures (queues etc) get allocated in psram. These structures also contain a spinlock, which needs an atomic-compare-swap operation to work. The psram hardware, however, does not support this operation. As a workaround, this patch detects these spinlocks and will, instead of S32C1I, use equivalent C-code to simulate the behaviour, with an (internal) mux for atomicity.

6 years agomove rodata segment of libphy.a to dram
wangmengyang [Fri, 2 Feb 2018 05:00:11 +0000 (13:00 +0800)]
move rodata segment of libphy.a to dram

1. rodata segment of libphy.a(about 1200B) can be accessed by ISRs, so put it into DRAM