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

6 years agoMerge branch 'bugfix/pthread_local_storage_spinlock' into 'master'
Ivan Grokhotkov [Fri, 1 Dec 2017 06:42:29 +0000 (14:42 +0800)]
Merge branch 'bugfix/pthread_local_storage_spinlock' into 'master'

pthreads: Remove potentially blocking mutex from idle task cleanup path

See merge request !1621

6 years agoMerge branch 'feature/btdm_optimize_gatt_server_service_table_demo' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 04:25:42 +0000 (12:25 +0800)]
Merge branch 'feature/btdm_optimize_gatt_server_service_table_demo' into 'master'

component/bt: optimize gatt_server_service_table demo

See merge request !1479

6 years agoMerge branch 'bugfix/btdm_mem_leak_lead_to_WDT_#16592' into 'master'
Jiang Jiang Jian [Fri, 1 Dec 2017 04:24:04 +0000 (12:24 +0800)]
Merge branch 'bugfix/btdm_mem_leak_lead_to_WDT_#16592' into 'master'

compoent/bt: Fix the bug when do the BLE pressure test will lead to memory leak will appear WDT.

See merge request !1610

6 years agopthread: Use spinlock not semaphore mutex to protect TLS key list
Angus Gratton [Fri, 1 Dec 2017 03:28:07 +0000 (14:28 +1100)]
pthread: Use spinlock not semaphore mutex to protect TLS key list

6 years agocomponent/bt: Remove the p_tle->param reset to 0 when free the p_timer_param pointer.
yulong [Thu, 30 Nov 2017 08:15:22 +0000 (16:15 +0800)]
component/bt: Remove the p_tle->param reset to 0 when free the p_timer_param pointer.

6 years agocomponent/bt: Added the mutex lock protect the ccc free when disconnect.
Yulong [Thu, 30 Nov 2017 07:45:26 +0000 (02:45 -0500)]
component/bt: Added the mutex lock protect the ccc free when disconnect.

6 years agoMerge branch 'bugfix/active_scan' into 'master'
Jiang Jiang Jian [Thu, 30 Nov 2017 07:06:20 +0000 (15:06 +0800)]
Merge branch 'bugfix/active_scan' into 'master'

component/bt : fix actvie scan cannot send scan_req in a certain case

See merge request !1608

6 years agoMerge branch 'bugfix/fix_lwip_macros' into 'master'
Ivan Grokhotkov [Thu, 30 Nov 2017 02:28:20 +0000 (10:28 +0800)]
Merge branch 'bugfix/fix_lwip_macros' into 'master'

lwip: Change socket API macros to static-inline

See merge request !1614

6 years agolwip: Change socket API macros to static-inline
Kedar Sovani [Tue, 28 Nov 2017 10:23:39 +0000 (15:53 +0530)]
lwip: Change socket API macros to static-inline

6 years agoMerge branch 'bugfix/esp_timer_profiling' into 'master'
Ivan Grokhotkov [Wed, 29 Nov 2017 04:32:38 +0000 (12:32 +0800)]
Merge branch 'bugfix/esp_timer_profiling' into 'master'

esp_timer: fix for deletion of timer in a callback, add docs

See merge request !1607

6 years agoesp_timer: add documentation, expose profiling option in Kconfig
Ivan Grokhotkov [Fri, 24 Nov 2017 10:51:37 +0000 (18:51 +0800)]
esp_timer: add documentation, expose profiling option in Kconfig

6 years agoesp_timer: fix for the case when timer is deleted in callback
Ivan Grokhotkov [Fri, 24 Nov 2017 09:33:13 +0000 (17:33 +0800)]
esp_timer: fix for the case when timer is deleted in callback

Timer callback can delete the timer. If CONFIG_ESP_TIMER_PROFILING was
enabled, this caused an access to invalid (freed) memory.
This fix adds a pointer to track the timer while executing the callback.
This is needed so that we can check if callback deletes the timer,
in which case we won't try updating profiling counters for this timer
after the callback is done.

6 years agocomponent/bt: reset the p_cmd_list pointer after release the mem.
yulong [Wed, 29 Nov 2017 02:50:03 +0000 (10:50 +0800)]
component/bt: reset the p_cmd_list pointer after release the mem.

6 years agoMerge branch 'feature/dhcp_server_options_menuconfig' into 'master'
Angus Gratton [Tue, 28 Nov 2017 23:07:09 +0000 (07:07 +0800)]
Merge branch 'feature/dhcp_server_options_menuconfig' into 'master'

dhcpserver: Option to change lease time multiplier and number of max

See merge request !1595

6 years agocomponent/bt : fix actvie scan cannot send scan_req in a certain case
Tian Hao [Mon, 27 Nov 2017 13:30:29 +0000 (21:30 +0800)]
component/bt : fix actvie scan cannot send scan_req in a certain case

6 years agofix the dhcps default behaviour chenged by dns
zhangyanjiao [Tue, 28 Nov 2017 08:14:35 +0000 (16:14 +0800)]
fix the dhcps default behaviour chenged by dns

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

6 years agocompoent/bt: Fix the bug when do the BLE pressure test will lead to memory leak will...
yulong [Tue, 28 Nov 2017 07:43:33 +0000 (15:43 +0800)]
compoent/bt: Fix the bug when do the BLE pressure test will lead to memory leak will appear WDT.

6 years agodhcpserver: Option to change lease time multiplier and number of max
Krzysztof Bociurko [Tue, 31 Oct 2017 18:13:04 +0000 (19:13 +0100)]
dhcpserver: Option to change lease time multiplier and number of max
stations connected to it.

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

6 years agoMerge branch 'bugfix/tw16551_buffer_overflow' into 'master'
Jiang Jiang Jian [Mon, 27 Nov 2017 14:18:58 +0000 (22:18 +0800)]
Merge branch 'bugfix/tw16551_buffer_overflow' into 'master'

fix buffer overflow

See merge request !1605

6 years agoMerge branch 'bugfix/tw16287_tcp_send_succeed_after_station_disconnect' into 'master'
Jiang Jiang Jian [Mon, 27 Nov 2017 13:30:46 +0000 (21:30 +0800)]
Merge branch 'bugfix/tw16287_tcp_send_succeed_after_station_disconnect' into 'master'

In STA mode, tcp_send cannot catch err after disconnect station

See merge request !1540