]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoFix the clock subsystem so it doesn't undo the weird condition spiram_psram.c jams...
Jeroen Domburg [Tue, 19 Dec 2017 11:12:58 +0000 (19:12 +0800)]
Fix the clock subsystem so it doesn't undo the weird condition spiram_psram.c jams the enable/reset bits of SPI3 in when 80MHz mode is selected anymore

6 years agoMerge branch 'bugfix/bootloader_v10_backwards_compat' into 'master'
Ivan Grokhotkov [Mon, 18 Dec 2017 09:20:08 +0000 (17:20 +0800)]
Merge branch 'bugfix/bootloader_v10_backwards_compat' into 'master'

esp32: Fix backwards compatibility for pre-v2.1 bootloaders

See merge request !1673

6 years agoMerge branch 'feature/ringbuf_improvement' into 'master'
Jeroen Domburg [Mon, 18 Dec 2017 08:52:40 +0000 (16:52 +0800)]
Merge branch 'feature/ringbuf_improvement' into 'master'

Feature/ringbuf improvement

See merge request !1571

6 years agoesp32: Fix backwards compatibility for pre-v2.1 bootloaders
Angus Gratton [Thu, 14 Dec 2017 23:32:53 +0000 (10:32 +1100)]
esp32: Fix backwards compatibility for pre-v2.1 bootloaders

Older bootloaders don't set RTC_XTAL_FREQ_REG or call rtc_clk_init(),
app needs to pick this up.

Reported at
https://esp32.com/viewtopic.php?f=2&t=3939&p=17836

6 years agoMerge branch 'bugfix/log_tag_variables_static' into 'master'
Angus Gratton [Sun, 17 Dec 2017 23:06:36 +0000 (07:06 +0800)]
Merge branch 'bugfix/log_tag_variables_static' into 'master'

log: Remove non-static TAG variables

See merge request !1674

6 years agoMerge branch 'bugfix/i2c_fixes_pr1180' into 'master'
Angus Gratton [Sun, 17 Dec 2017 22:44:33 +0000 (06:44 +0800)]
Merge branch 'bugfix/i2c_fixes_pr1180' into 'master'

i2c: rx <-> tx typo's, NULLing free'd variable, consistent CRITICAL sects

See merge request !1551

6 years agoMerge branch 'bugfix/windows_10_idf_monitor_redux' into 'master'
Angus Gratton [Sun, 17 Dec 2017 22:42:11 +0000 (06:42 +0800)]
Merge branch 'bugfix/windows_10_idf_monitor_redux' into 'master'

idf_monitor: Fix Windows 10 bug in cases where second console write also fails

See merge request !1675

6 years agoMerge branch 'bugfix/i2c_use_queue_instead_of_eventbit' into 'master'
Angus Gratton [Fri, 15 Dec 2017 05:54:03 +0000 (13:54 +0800)]
Merge branch 'bugfix/i2c_use_queue_instead_of_eventbit' into 'master'

bugfix(i2c): use queue instead of event group for internal commands

See merge request !1616

6 years agoidf_monitor: Fix Windows 10 bug in cases where second console write also fails
Angus Gratton [Fri, 15 Dec 2017 05:45:44 +0000 (16:45 +1100)]
idf_monitor: Fix Windows 10 bug in cases where second console write also fails

Although in my tests the second write always passes, people have reported
different results.

Closes https://github.com/espressif/esp-idf/issues/1136 (again)

6 years agolog: Remove non-static TAG variables
Angus Gratton [Thu, 14 Dec 2017 23:39:07 +0000 (10:39 +1100)]
log: Remove non-static TAG variables

6 years agoMerge branch 'feature/monitor_log_toggle' into 'master'
Angus Gratton [Thu, 14 Dec 2017 22:27:53 +0000 (06:27 +0800)]
Merge branch 'feature/monitor_log_toggle' into 'master'

feat(monitor): add new feature allowing disabling log display.

See merge request !1548

6 years agoMerge branch 'bugfix/heap_alloc_typo' into 'master'
Angus Gratton [Thu, 14 Dec 2017 22:26:14 +0000 (06:26 +0800)]
Merge branch 'bugfix/heap_alloc_typo' into 'master'

fix typo for heap cap free size

See merge request !1669

6 years agofeat(monitor): add pause feature.
michael [Thu, 30 Nov 2017 04:46:08 +0000 (12:46 +0800)]
feat(monitor): add pause feature.

6 years agofeat(monitor): add new feature allowing disabling log display.
michael [Thu, 16 Nov 2017 06:39:57 +0000 (14:39 +0800)]
feat(monitor): add new feature allowing disabling log display.

6 years agoMerge branch 'feature/doc_wroom_modules_with_ESP32-D0WD' into 'master'
Ivan Grokhotkov [Thu, 14 Dec 2017 05:36:49 +0000 (13:36 +0800)]
Merge branch 'feature/doc_wroom_modules_with_ESP32-D0WD' into 'master'

The WROOM and WROVER family of modules is now extended with ESP-WROOM-32D and ESP32-WROOM-32U

See merge request !1654

6 years agoMerge branch 'bugfix/uart1_console' into 'master'
Ivan Grokhotkov [Thu, 14 Dec 2017 05:36:34 +0000 (13:36 +0800)]
Merge branch 'bugfix/uart1_console' into 'master'

Fixes for console output on UART1

See merge request !1649

6 years agoMerge branch 'bugfix/sdmmc_vfs_deinit' into 'master'
Ivan Grokhotkov [Thu, 14 Dec 2017 05:36:20 +0000 (13:36 +0800)]
Merge branch 'bugfix/sdmmc_vfs_deinit' into 'master'

SDSPI bug fixes

See merge request !1647

6 years agofix typo for heap cap free size
Kewal [Wed, 13 Dec 2017 14:52:48 +0000 (22:52 +0800)]
fix typo for heap cap free size

6 years agoMerge branch 'bugfix/eclipse_warning' into 'master'
Angus Gratton [Wed, 13 Dec 2017 22:15:56 +0000 (06:15 +0800)]
Merge branch 'bugfix/eclipse_warning' into 'master'

Resolves: Warning '-s option given but default rule can be matched'. Closes http…

See merge request !1658

6 years agoMerge branch 'feature/ulp_docs_update' into 'master'
Ivan Grokhotkov [Wed, 13 Dec 2017 07:36:36 +0000 (15:36 +0800)]
Merge branch 'feature/ulp_docs_update' into 'master'

ULP docs update

See merge request !1640

6 years agoMerge branch 'bugfix/rtc_time' into 'master'
Ivan Grokhotkov [Wed, 13 Dec 2017 03:10:45 +0000 (11:10 +0800)]
Merge branch 'bugfix/rtc_time' into 'master'

Fix compilation issue when using RTC time only, update Kconfig help and source code

See merge request !1650

6 years agoMerge branch 'bugfix/fatfs_stat' into 'master'
Ivan Grokhotkov [Wed, 13 Dec 2017 03:10:27 +0000 (11:10 +0800)]
Merge branch 'bugfix/fatfs_stat' into 'master'

Fix stat behavior for FATFS mount point

See merge request !1652

6 years agoLinked ESP32 datasheet and regulatory certificates
krzychb [Tue, 12 Dec 2017 07:42:22 +0000 (08:42 +0100)]
Linked ESP32 datasheet and regulatory certificates

6 years agoMerge branch 'feature/spiffs_mtime' into 'master'
Angus Gratton [Tue, 12 Dec 2017 06:43:03 +0000 (14:43 +0800)]
Merge branch 'feature/spiffs_mtime' into 'master'

Add optional mtime support in SPIFFS

See merge request !1579

6 years agoResolves: Warning '-s option given but default rule can be matched'. Closes https...
krzychb [Mon, 11 Dec 2017 21:53:39 +0000 (22:53 +0100)]
Resolves: Warning '-s option given but default rule can be matched'. Closes https://github.com/espressif/esp-idf/issues/1338

6 years agoMerge branch 'bugfix/note_about_main_xtal_frequency_selection' into 'master'
Ivan Grokhotkov [Mon, 11 Dec 2017 07:45:01 +0000 (15:45 +0800)]
Merge branch 'bugfix/note_about_main_xtal_frequency_selection' into 'master'

Getting Started docs: Updated information about setting the main XTAL frequency

See merge request !1645

6 years agoMerge branch 'test/UT_master_slave_mode' into 'master'
Ivan Grokhotkov [Mon, 11 Dec 2017 07:22:51 +0000 (15:22 +0800)]
Merge branch 'test/UT_master_slave_mode' into 'master'

unit-test-app: support multiple devices test cases

See merge request !1220

6 years agoFixed issues identified during review
krzychb [Mon, 11 Dec 2017 07:01:37 +0000 (08:01 +0100)]
Fixed issues identified during review

6 years ago1. Following https://esp32.com/viewtopic.php?f=14&t=3834 and https://github.com/espre...
krzychb [Thu, 7 Dec 2017 21:45:39 +0000 (22:45 +0100)]
1. Following https://esp32.com/viewtopic.php?f=14&t=3834 and https://github.com/espressif/esp-idf/issues/1351 updated information regarding selection of the main XTAL frequency. 2. Removed obsolete note about ': not a valid identifier...', as it does not show up anymore with the latests MSYS2 installation.

6 years agodocs: add information about execution time of ULP instructions
Ivan Grokhotkov [Mon, 11 Dec 2017 04:11:24 +0000 (12:11 +0800)]
docs: add information about execution time of ULP instructions

6 years agoMerge branch 'bugfix/gpio_config_block' into 'master'
Angus Gratton [Mon, 11 Dec 2017 04:56:39 +0000 (12:56 +0800)]
Merge branch 'bugfix/gpio_config_block' into 'master'

driver(GPIO): use ULL for IO bit mask

See merge request !1627

6 years agoMerge branch 'bugfix/minor_fixes_github' into 'master'
Angus Gratton [Mon, 11 Dec 2017 04:51:41 +0000 (12:51 +0800)]
Merge branch 'bugfix/minor_fixes_github' into 'master'

Minor fixes from github

See merge request !1638

6 years agotime: rename time source option from FRC to "high-resolution timer"
Ivan Grokhotkov [Fri, 8 Dec 2017 08:14:20 +0000 (16:14 +0800)]
time: rename time source option from FRC to "high-resolution timer"

libc time function now rely on esp_timer_get_time as the source of
high-resolution time, rather than FRC1 timer. Internally, on the ESP32
esp_timer implementation uses FRC2 timer.

- Change help text and labels in Kconfig to use "high-resolution timer"
  instead of FRC1. Keep existing Kconfig option name to be backwards
  compatible.
- Change references to "FRC1" in the source code to "FRC".

6 years agoulp: document the need to wait for RTC to be ready for wakeup
Ivan Grokhotkov [Thu, 7 Dec 2017 09:11:24 +0000 (17:11 +0800)]
ulp: document the need to wait for RTC to be ready for wakeup

6 years agoulp: mention that instructions array must be declared in local scope
Ivan Grokhotkov [Thu, 7 Dec 2017 06:41:17 +0000 (14:41 +0800)]
ulp: mention that instructions array must be declared in local scope

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

6 years agodocs: add description of ULP I2C instructions
Ivan Grokhotkov [Thu, 7 Dec 2017 03:50:39 +0000 (11:50 +0800)]
docs: add description of ULP I2C instructions

6 years agoMerge branch 'bugfix/openssl_alpn' into 'master'
Angus Gratton [Mon, 11 Dec 2017 04:03:11 +0000 (12:03 +0800)]
Merge branch 'bugfix/openssl_alpn' into 'master'

openssl: add feature check for MBEDTLS_SSL_ALPN

See merge request !1648

6 years agovfs/fatfs: use structures with bit fields for FAT date/time
Ivan Grokhotkov [Fri, 8 Dec 2017 12:03:24 +0000 (20:03 +0800)]
vfs/fatfs: use structures with bit fields for FAT date/time

Replace explicit masks and shifts with bit fields when working with FATFS date and time representations. Also zero-initialize remaining members of struct tm.

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

6 years agoi2c: rx <-> tx typo's, NULLing free'd variable, consistent CRITICAL sects
Chuck Todd [Fri, 27 Oct 2017 22:59:10 +0000 (16:59 -0600)]
i2c: rx <-> tx typo's, NULLing free'd variable, consistent CRITICAL sects

A couple of typos referencing tx_ring_buf when rx_ring_buf, slv_tx_mux
instead of slv_rx_mux.

Also, I2C_ENTER_CRITICAL()/I2C_EXIT_CRITICAL() usage was not consistent.
Only some of the _set_ functions had them.  Most of the _get_ function
had them?  It is my understanding that they should be wrapped around
writes, not reads? (I think we still need the lock for reading pairs of consistent values)

Also, the ticks_to_wait timeout handling in i2c_master_cmd_begin() would
not handle integer rollover correctly.

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

6 years agofatfs: fix double free in bailout path of esp_vfs_fat_sdmmc_mount
Ivan Grokhotkov [Mon, 11 Dec 2017 03:06:29 +0000 (11:06 +0800)]
fatfs: fix double free in bailout path of esp_vfs_fat_sdmmc_mount

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

6 years agosdspi: use response timeout passed from upper layer
Ivan Grokhotkov [Fri, 8 Dec 2017 04:23:54 +0000 (12:23 +0800)]
sdspi: use response timeout passed from upper layer

Previously SDSPI host driver would rely on retry count when waiting for
the card to read or write data. This caused different timeout times
depending on CPU frequency and card clock frequency. In practice, card
performance does not depend on these two factors.
This change uses timeout_ms field of sdmmc_command_t introduced
previously for SDMMC host.

Fixes https://esp32.com/viewtopic.php?f=2&t=3440&p=16037 and similar
issues related to SDSPI timeouts.

6 years agofatfs: fix deinit not called for SDSPI host
Ivan Grokhotkov [Fri, 8 Dec 2017 04:17:58 +0000 (12:17 +0800)]
fatfs: fix deinit not called for SDSPI host

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

6 years agoThe WROOM and WROVER family of modules is now extended with ESP-WROOM-32D and ESP32...
krzychb [Fri, 8 Dec 2017 19:46:44 +0000 (20:46 +0100)]
The WROOM and WROVER family of modules is now extended with ESP-WROOM-32D and ESP32-WROOM-32U

6 years agovfs/fatfs: fix stat call failing when called for mount point
Ivan Grokhotkov [Fri, 8 Dec 2017 11:58:39 +0000 (19:58 +0800)]
vfs/fatfs: fix stat call failing when called for mount point

FATFS does not support f_stat call for drive root. When handling stat
for drive root, don't call f_stat and just return struct st with S_IFDIR
flag set.

Closes #984

6 years agonewlib/time: fix compilation error when only RTC is used as clock source
Ivan Grokhotkov [Fri, 8 Dec 2017 08:06:11 +0000 (16:06 +0800)]
newlib/time: fix compilation error when only RTC is used as clock source

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

6 years agodriver(i2c): corrected timeout range for i2c_set_timeout.
Fabiano Kovalski [Wed, 6 Dec 2017 05:54:59 +0000 (00:54 -0500)]
driver(i2c): corrected timeout range for i2c_set_timeout.

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

6 years agoMerge branch 'feature/btdm_modify_header_file_name' into 'master'
Ivan Grokhotkov [Fri, 8 Dec 2017 06:03:15 +0000 (14:03 +0800)]
Merge branch 'feature/btdm_modify_header_file_name' into 'master'

component/btdm : change bt.h name to esp_bt.h to form the name prefix

See merge request !1644

6 years agoMerge branch 'bugfix/heap_trace_realloc' into 'master'
Ivan Grokhotkov [Fri, 8 Dec 2017 06:02:48 +0000 (14:02 +0800)]
Merge branch 'bugfix/heap_trace_realloc' into 'master'

heap_trace: fix bug in realloc for copying trace record

See merge request !1643

6 years agobootloader: don't log anything before uart_console_configure is called
Ivan Grokhotkov [Fri, 8 Dec 2017 05:15:40 +0000 (13:15 +0800)]
bootloader: don't log anything before uart_console_configure is called

6 years agoesp32: fix incorrect clock enable bit name for UART0
Ivan Grokhotkov [Fri, 8 Dec 2017 05:14:36 +0000 (13:14 +0800)]
esp32: fix incorrect clock enable bit name for UART0

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

6 years agoopenssl: add feature check for MBEDTLS_SSL_ALPN
Ivan Grokhotkov [Fri, 8 Dec 2017 05:00:11 +0000 (13:00 +0800)]
openssl: add feature check for MBEDTLS_SSL_ALPN

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

6 years agocomponent/btdm : change bt.h name to esp_bt.h to form the name prefix
Tian Hao [Thu, 7 Dec 2017 13:48:27 +0000 (21:48 +0800)]
component/btdm : change bt.h name to esp_bt.h to form the name prefix

6 years agoheap_trace: fix bug in realloc for copying trace record
Mahavir Jain [Thu, 7 Dec 2017 12:49:40 +0000 (18:19 +0530)]
heap_trace: fix bug in realloc for copying trace record

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

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agofreertos/ringbuf: Added an API xRingbufferCreateNoSplit()
Piyush Shah [Thu, 23 Nov 2017 10:09:17 +0000 (15:39 +0530)]
freertos/ringbuf: Added an API xRingbufferCreateNoSplit()

This is a wrapper API for creating a Ring Buffer, which ensures that
the ringbuffer can hold the given number of items, each item being of the
same given length.

Signed-off-by: Piyush Shah <piyush@espressif.com>
6 years agofreertos/ringbuf: Add an API xRingbufferIsNextItemWrapped()
Piyush Shah [Mon, 20 Nov 2017 14:52:20 +0000 (20:22 +0530)]
freertos/ringbuf: Add an API xRingbufferIsNextItemWrapped()

Useful to check if the next item to receive is wrapped or not.
This is valid only if the ring buffer is initialised with type
RINGBUF_TYPE_ALLOWSPLIT.

This is as per the feature request here:
https://github.com/espressif/esp-idf/issues/806

Signed-off-by: Piyush Shah <piyush@espressif.com>
6 years agofreertos/ringbuf: Add an API xRingbufferGetCurFreeSize() to fetch current free size...
Piyush Shah [Mon, 20 Nov 2017 13:53:25 +0000 (19:23 +0530)]
freertos/ringbuf: Add an API xRingbufferGetCurFreeSize() to fetch current free size available

The earlier available API (xRingbufferGetMaxItemSize())just gives
a static max entry value possible for given ring buffer.
There was a feature request for an API which could provide
a real time available buffer size. See below:

https://github.com/espressif/esp-idf/issues/806

Signed-off-by: Piyush Shah <piyush@espressif.com>
6 years agounit-test-app: support multiple devices test cases:
houchenyao [Thu, 30 Nov 2017 11:31:51 +0000 (19:31 +0800)]
unit-test-app: support multiple devices test cases:

current unit-test-app don't support test components need to communicate
with each other (like GPIO, SPI ...). Now we add multiple devices mode
to unit test app, support writing and running test with multiple DUTs.

please refer to `docs/api-guides/unit-tests.rst` for detail.

6 years agoMerge branch 'bugfix/fix_i2s_doc' into 'master'
Ivan Grokhotkov [Thu, 7 Dec 2017 05:50:49 +0000 (13:50 +0800)]
Merge branch 'bugfix/fix_i2s_doc' into 'master'

docs: fix i2s code snippet for interrupt flags setting

See merge request !1637

6 years agoMerge branch 'feature/freertos_api_doc' into 'master'
Ivan Grokhotkov [Thu, 7 Dec 2017 05:50:10 +0000 (13:50 +0800)]
Merge branch 'feature/freertos_api_doc' into 'master'

Add FreeRTOS API documentation

See merge request !1634

6 years agodocs: link to FreeRTOS APIs from SMP changes documentation
Ivan Grokhotkov [Mon, 4 Dec 2017 12:09:12 +0000 (20:09 +0800)]
docs: link to FreeRTOS APIs from SMP changes documentation

6 years agodocs: add FreeRTOS API docs
Ivan Grokhotkov [Fri, 1 Dec 2017 04:50:45 +0000 (12:50 +0800)]
docs: add FreeRTOS API docs

- Use `code` tags instead of a mix of `<pre></pre>` and
  `@verbatim .. @endverbatim`
- Remove manually added function prototypes from comment blocks
- Remove of grouping (`\defgroup`) — some extra work is needed
  to make groups compatible with the way we auto-generate API
  reference from Doxygen XML files. It's pretty easy to add the
  grouping directives back if/when we implement support for
  Doxygen groups in the later stages of documentation build
  process.
- Hide private APIs under `@cond .. @endcond`
- Convert some comments into Doxygen-compatible ones
- Fix various documentation issues: missing documentation for
  some parameters, mismatch between parameter names in comment
  block and in function prototype.
- Add doxygen comments for functions which didn't have them
  (thread local storage).
- Add [out] param tags where necessary
- Redefine `xTaskCreate` and `xTaskCreateStatic` as inline
  functions instead of macros.

6 years agoMerge branch 'bugfix/freertos_check_task_waiting_termination' into 'master'
Ivan Grokhotkov [Thu, 7 Dec 2017 03:55:10 +0000 (11:55 +0800)]
Merge branch 'bugfix/freertos_check_task_waiting_termination' into 'master'

Freertos Task Deletion backport and FPU documentation

See merge request !1591

6 years agoMerge branch 'bugfix/gcc7_compilation' into 'master'
Angus Gratton [Wed, 6 Dec 2017 23:32:49 +0000 (07:32 +0800)]
Merge branch 'bugfix/gcc7_compilation' into 'master'

Fixes for gcc 7 compilation (Github PR)

See merge request !1628

6 years agoAdd #include guards and __cplusplus guards to esp_debug.h
Paul Reimer [Wed, 6 Dec 2017 17:09:40 +0000 (09:09 -0800)]
Add #include guards and __cplusplus guards to esp_debug.h

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

6 years agobuild system: Add *.cc files to list of file extensions compiled by default
Paul Reimer [Sun, 26 Nov 2017 00:28:34 +0000 (16:28 -0800)]
build system: Add *.cc files to list of file extensions compiled by default

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

6 years agoBugfix I_DELAY macro
robotrovsky [Thu, 23 Nov 2017 19:51:17 +0000 (20:51 +0100)]
Bugfix I_DELAY macro

When compiling

> const ulp_insn_t program[] = {
> I_DELAY(1)
> };

with the xtensa-esp32-elf-g++ compiler i always got the error:

> sorry, unimplemented: non-trivial designated initializers not supported
>
>        };

This was due to the different order in the macro and the struct. The struct has another order of the fields (opcode, unused, cycles) vs (cycles, unused, opcode):
>    struct {
>        uint32_t cycles : 16;       /*!< Number of cycles to sleep */
>        uint32_t unused : 12;       /*!< Unused */
>        uint32_t opcode : 4;        /*!< Opcode (OPCODE_DELAY) */
>    } delay;                        /*!< Format of DELAY instruction */

After updating the order in the macro it is possible to compile with the g++ compiler.

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

6 years agoMerge branch 'feature/ledc_compatibility_definitions' into 'master'
Jeroen Domburg [Wed, 6 Dec 2017 07:48:06 +0000 (15:48 +0800)]
Merge branch 'feature/ledc_compatibility_definitions' into 'master'

Feature/ledc compatibility definitions

See merge request !1635

6 years agoMerge branch 'feature/esp32-pico-kit_pin_description' into 'master'
Jeroen Domburg [Wed, 6 Dec 2017 07:48:02 +0000 (15:48 +0800)]
Merge branch 'feature/esp32-pico-kit_pin_description' into 'master'

Pin descriptions, overview diagram and board dimensions carried over from ESP32-…

See merge request !1630

6 years agodocs: fix i2s code snippet for interrupt flags setting
Mahavir Jain [Wed, 6 Dec 2017 06:35:11 +0000 (12:05 +0530)]
docs: fix i2s code snippet for interrupt flags setting

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoPin descriptions, overview diagram and board dimensions carried over from ESP32-PICO...
krzychb [Mon, 4 Dec 2017 05:10:50 +0000 (06:10 +0100)]
Pin descriptions, overview diagram and board dimensions carried over from ESP32-PICO-KIT_Datasheet_EN.pdf. The datasheet looks redundant and will not be used.

6 years agoMerge branch 'bugfix/tw13918_netconn_delete_memory_leak' into 'master'
Jiang Jiang Jian [Tue, 5 Dec 2017 13:20:07 +0000 (21:20 +0800)]
Merge branch 'bugfix/tw13918_netconn_delete_memory_leak' into 'master'

memory leak for netconn_delete()

See merge request !1633

6 years agofreertos/fix SMP bug with Idle task clean up
Darian Leung [Thu, 23 Nov 2017 14:35:54 +0000 (22:35 +0800)]
freertos/fix SMP bug with Idle task clean up

This commit backports vTaskDelete() behavior from FreeRTOS v9.0.0  which
allows for the immediate freeing of task memory if the task being deleted
is not currently running and not pinned to the other core. This commit also
fixes a bug in prvCheckTasksWaitingTermination which prevented the
Idle Task from cleaning up all tasks awaiting deletion. Each iteration of the Idle
Task should traverse the xTasksWaitingTermination list and clean up all tasks
not pinned to the other core. The previous implementation would cause
prvCheckTasksWaitingTermination to return when encountering a task
pinned to the other core whilst traversing the xTasksWaitingTermination list.

The test case for vTaskDelete() has been updated to test for the bugfix and
backported deletion behavior.

6 years agowhen netconn created directly,netconn_delete() will not call netconn_free(),
zhangyanjiao [Mon, 4 Dec 2017 11:23:43 +0000 (19:23 +0800)]
when netconn created directly,netconn_delete() will not call netconn_free(),
which will lead to memory leak

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

6 years agoMerge branch 'feature/spi_flash_write_verify' into 'master'
Angus Gratton [Mon, 4 Dec 2017 21:40:24 +0000 (05:40 +0800)]
Merge branch 'feature/spi_flash_write_verify' into 'master'

spi_flash: Add option to verify all writes by reading back data

See merge request !1355

6 years agoLEDC Driver: Added back original definitions of 'duty_resolution' and 'clock_divider...
krzychb [Mon, 4 Dec 2017 19:22:24 +0000 (20:22 +0100)]
LEDC Driver: Added back original definitions of 'duty_resolution' and 'clock_divider'. This update is to provide backward compatibility with ESP-IDF 2.1.

6 years agobugfix: io setting useless when io_num > 32
panfeng [Fri, 1 Dec 2017 10:48:12 +0000 (18:48 +0800)]
bugfix: io setting useless when io_num > 32

6 years agoUpdate cJSON to 1.6.0
Roman Valls Guimera [Sat, 18 Nov 2017 15:13:52 +0000 (02:13 +1100)]
Update cJSON to 1.6.0

* Fixes compilation errors/warnings with gcc 7.2.0

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

6 years agoFix compilation errors when using gcc-7.2.0 for the crosstool-ng toolchain
Roman Valls Guimera [Wed, 25 Oct 2017 21:23:42 +0000 (23:23 +0200)]
Fix compilation errors when using gcc-7.2.0 for the crosstool-ng toolchain

* Change snprintf for strlcat does not complain w/gcc7.2.0 and it is safer, thanks @projectgus
* Use proper quotes for character literals

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

6 years agospi_flash: Add option to log warnings if (spuriously) writing zero bits to ones
Angus Gratton [Wed, 29 Nov 2017 03:26:57 +0000 (14:26 +1100)]
spi_flash: Add option to log warnings if (spuriously) writing zero bits to ones

Won't work for SPIFFS, maybe some other implementations?

6 years agospi_flash: Add option to verify all writes by reading back data
Angus Gratton [Fri, 6 Oct 2017 04:38:01 +0000 (15:38 +1100)]
spi_flash: Add option to verify all writes by reading back data

Helpful when debugging SPI flash hardware related issues.

TW15203

6 years agoMerge branch 'bugfix/windows_mingw32_gcc' into 'master'
Angus Gratton [Sun, 3 Dec 2017 22:22:33 +0000 (06:22 +0800)]
Merge branch 'bugfix/windows_mingw32_gcc' into 'master'

windows: Allow "make menuconfig" to work if ming32 gcc is also installed

See merge request !1587

6 years agoMerge branch 'bugfix/wdt_periph_enable' into 'master' v3.1-dev
Jiang Jiang Jian [Fri, 1 Dec 2017 14:06:43 +0000 (22:06 +0800)]
Merge branch 'bugfix/wdt_periph_enable' into 'master'

watchdogs: make sure timer group peripherals are enabled

See merge request !1623

6 years agoMerge branch 'bugfix/btdm_connect_stable_optimiz' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 13:35:17 +0000 (21:35 +0800)]
Merge branch 'bugfix/btdm_connect_stable_optimiz' into 'master'

component/bt: Optimiz the ble connection performance.

See merge request !1618

6 years agoMerge branch 'feature/btdm_avrc_metadata' into 'master'
Ivan Grokhotkov [Fri, 1 Dec 2017 12:31:25 +0000 (20:31 +0800)]
Merge branch 'feature/btdm_avrc_metadata' into 'master'

Feature/btdm avrc metadata:  implemented AVRCP metadata and notification register commands

See merge request !1624

6 years agowatchdog: increase default INT WDT interval if SPIRAM is used
Ivan Grokhotkov [Fri, 1 Dec 2017 08:23:03 +0000 (16:23 +0800)]
watchdog: increase default INT WDT interval if SPIRAM is used

Running heap_caps_check_integrity for 4MB of PSRAM can take longer than
the default WDT interval, 300ms.

6 years agowatchdog: enable INT WDT unit test
Ivan Grokhotkov [Fri, 1 Dec 2017 04:23:33 +0000 (12:23 +0800)]
watchdog: enable INT WDT unit test

6 years agowatchdogs: make sure timer group peripherals are enabled
Ivan Grokhotkov [Fri, 1 Dec 2017 04:11:37 +0000 (12:11 +0800)]
watchdogs: make sure timer group peripherals are enabled

6 years agocomponent/bt: Optimiz the ble connection performance.
yulong [Wed, 29 Nov 2017 07:09:15 +0000 (15:09 +0800)]
component/bt: Optimiz the ble connection performance.

6 years agoMerge branch 'bugfix/flash_1v8_enable_vddsdio_reg' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 11:34:45 +0000 (19:34 +0800)]
Merge branch 'bugfix/flash_1v8_enable_vddsdio_reg' into 'master'

bootloader: Only apply VDDSDIO 1.8V->1.9V if regulator is enabled

See merge request !1601

6 years agoMerge branch 'bugfix/update_libstdcxx_psram' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 11:34:29 +0000 (19:34 +0800)]
Merge branch 'bugfix/update_libstdcxx_psram' into 'master'

libstdc++: update the library built with PSRAM workaround

See merge request !1588

6 years agoMerge branch 'feature/ledc_more_meaningful_parameter_names' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 11:33:53 +0000 (19:33 +0800)]
Merge branch 'feature/ledc_more_meaningful_parameter_names' into 'master'

Provided more meaningful parameter names by renaming 'bit_num' to 'duty_resoluti…

See merge request !1440

6 years agoMerge branch 'bugfix/btdm_con_discon_test_crash_#16055' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 11:32:39 +0000 (19:32 +0800)]
Merge branch 'bugfix/btdm_con_discon_test_crash_#16055' into 'master'

component/bt: Fix the bug when write ccc sometimes will lead to repeatedly release the memory.

See merge request !1599

6 years agocomponent/bt: Add AVRCP medadata attribute support so A2DP can show track title,...
pufstudio [Tue, 3 Oct 2017 02:56:13 +0000 (04:56 +0200)]
component/bt: Add AVRCP medadata attribute support so A2DP can show track title, album, etc.

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

6 years agoMerge branch 'bugfix/fix_some_wifi_bugs' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 11:22:18 +0000 (19:22 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs' into 'master'

Fix some wifi lib bugs

See merge request !1626

6 years agoMerge branch 'bugfix/tw16581_dhcps_default_behaviour_changed' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 11:21:26 +0000 (19:21 +0800)]
Merge branch 'bugfix/tw16581_dhcps_default_behaviour_changed' into 'master'

fix the dhcps default behaviour chenged by dns

See merge request !1612

6 years agoMerge branch 'bugfix/small_fixes_from_github' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 11:21:10 +0000 (19:21 +0800)]
Merge branch 'bugfix/small_fixes_from_github' into 'master'

Small fixes by users from GitHub

See merge request !1620

6 years agoMerge branch 'feature/bt_a2dp_i2s' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 11:18:50 +0000 (19:18 +0800)]
Merge branch 'feature/bt_a2dp_i2s' into 'master'

examples/bluetooth/a2dp_sink: add i2s audio to a2dp_sink example application

See merge request !853

6 years agoSmall typo fix
Adrián Paníček [Wed, 29 Nov 2017 08:26:44 +0000 (09:26 +0100)]
Small typo fix

Signed-off-by: krzychb
Merges https://github.com/espressif/esp-idf/pull/1331

6 years agoTypo fix. Closes https://github.com/espressif/esp-idf/issue/1323
krzychb [Wed, 29 Nov 2017 19:56:00 +0000 (20:56 +0100)]
Typo fix. Closes https://github.com/espressif/esp-idf/issue/1323

6 years agoFix some wifi lib bugs
XiaXiaotian [Fri, 1 Dec 2017 07:00:49 +0000 (15:00 +0800)]
Fix some wifi lib bugs

    1. Add a hide API for station to receive and process probe request
frame.

    2. Fix an issue that wifi/bt coexistence crashes in PSRAM version.

    3. Fix an issue that the API for clearing vendor ie can not work.

    4. Fix an issue that wifi stop and reboot leads watchdog.