]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agosys_view: expose max tasks configuration parameter
Mahavir Jain [Tue, 5 Feb 2019 12:48:24 +0000 (18:18 +0530)]
sys_view: expose max tasks configuration parameter

5 years agoMerge branch 'bugfix/invoke_ota_operations_on_windows' into 'master'
Angus Gratton [Tue, 5 Feb 2019 01:15:22 +0000 (09:15 +0800)]
Merge branch 'bugfix/invoke_ota_operations_on_windows' into 'master'

Fix permission denied error on Windows for otatool, parttool

See merge request idf/esp-idf!4086

5 years agoMerge branch 'feature/predictable_event_dispatch_via_duplication' into 'master'
Angus Gratton [Tue, 5 Feb 2019 00:47:03 +0000 (08:47 +0800)]
Merge branch 'feature/predictable_event_dispatch_via_duplication' into 'master'

Predictable event handler dispatch

See merge request idf/esp-idf!3932

5 years agoMerge branch 'bugfix/mdns_notask_timer_crash' into 'master'
Angus Gratton [Tue, 5 Feb 2019 00:41:51 +0000 (08:41 +0800)]
Merge branch 'bugfix/mdns_notask_timer_crash' into 'master'

mdns: fix crash after init if no memory for task

See merge request idf/esp-idf!4171

5 years agoMerge branch 'bugfix/win_kconfig_backslash' into 'master'
Angus Gratton [Mon, 4 Feb 2019 06:27:38 +0000 (14:27 +0800)]
Merge branch 'bugfix/win_kconfig_backslash' into 'master'

tools: Fix Windows related Kconfig issues

See merge request idf/esp-idf!4206

5 years agoMerge branch 'bugfix/btdm_add_handle_in_gatts_conf_event_for_indication' into 'master'
Jiang Jiang Jian [Fri, 1 Feb 2019 13:33:39 +0000 (21:33 +0800)]
Merge branch 'bugfix/btdm_add_handle_in_gatts_conf_event_for_indication' into 'master'

Component/bt: add handle in gatts conf event for indication

See merge request idf/esp-idf!4024

5 years agoMerge branch 'bugfix/btdm_fix_write_char_crash_after_disconnection' into 'master'
Jiang Jiang Jian [Fri, 1 Feb 2019 13:27:29 +0000 (21:27 +0800)]
Merge branch 'bugfix/btdm_fix_write_char_crash_after_disconnection' into 'master'

Component/bt: fix write char crash after disconnection

See merge request idf/esp-idf!4209

5 years agotools: Don't use backslashes in Kconfigs and ignore long lines to avoid errors
Roland Dobai [Thu, 31 Jan 2019 13:10:14 +0000 (14:10 +0100)]
tools: Don't use backslashes in Kconfigs and ignore long lines to avoid errors

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

5 years agotools: check for incorrect case used in Kconfig filenames
Roland Dobai [Thu, 31 Jan 2019 12:41:31 +0000 (13:41 +0100)]
tools: check for incorrect case used in Kconfig filenames

5 years agotools: Recognize backslashes in Kconfigs with CR+LF line endings
Roland Dobai [Wed, 30 Jan 2019 14:13:20 +0000 (15:13 +0100)]
tools: Recognize backslashes in Kconfigs with CR+LF line endings

5 years agoMerge branch 'mesh/malloc_routing_table' into 'master'
Jiang Jiang Jian [Fri, 1 Feb 2019 02:02:14 +0000 (10:02 +0800)]
Merge branch 'mesh/malloc_routing_table' into 'master'

mesh: modify to malloc routing table

See merge request idf/esp-idf!4213

5 years agoComponent/bt: fix write char crash after disconnection
zhiweijian [Thu, 31 Jan 2019 03:28:55 +0000 (11:28 +0800)]
Component/bt: fix write char crash after disconnection

5 years agomesh: modify to malloc routing table
qiyuexia [Thu, 31 Jan 2019 09:46:11 +0000 (17:46 +0800)]
mesh: modify to malloc routing table

5 years agoMerge branch 'bugfix/mdns_test_cleanup' into 'master'
Anton Maklakov [Thu, 31 Jan 2019 06:46:10 +0000 (14:46 +0800)]
Merge branch 'bugfix/mdns_test_cleanup' into 'master'

mdns tests: execute test services only when running example in ci

See merge request idf/esp-idf!4174

5 years agoMerge branch 'feature/add_ipv6_related_change' into 'master'
He Yin Ling [Thu, 31 Jan 2019 06:31:16 +0000 (14:31 +0800)]
Merge branch 'feature/add_ipv6_related_change' into 'master'

modify test case to support ipv6

See merge request idf/esp-idf!2253

5 years agoMerge branch 'bugfix/event_loop_library_memory_leak' into 'master'
Ivan Grokhotkov [Thu, 31 Jan 2019 03:02:20 +0000 (11:02 +0800)]
Merge branch 'bugfix/event_loop_library_memory_leak' into 'master'

Fix event loop library memory leak

See merge request idf/esp-idf!4201

5 years agoMerge branch 'feature/optionally_disable_https_from_ota_component' into 'master'
Angus Gratton [Thu, 31 Jan 2019 01:11:35 +0000 (09:11 +0800)]
Merge branch 'feature/optionally_disable_https_from_ota_component' into 'master'

esp_https_ota: few feature enhancements

See merge request idf/esp-idf!4057

5 years agodocs: add notes on handler dispatch order
Renz Christian Bagaporo [Fri, 14 Dec 2018 06:28:04 +0000 (14:28 +0800)]
docs: add notes on handler dispatch order

5 years agoesp_event: test that dispath order follows regisration order
Renz Christian Bagaporo [Mon, 10 Dec 2018 00:46:22 +0000 (08:46 +0800)]
esp_event: test that dispath order follows regisration order

5 years agoesp_event: dispatch order follows registration order
Renz Christian Bagaporo [Mon, 10 Dec 2018 00:37:46 +0000 (08:37 +0800)]
esp_event: dispatch order follows registration order

5 years agoesp_https_ota: add support for configurable ota buffer size
Mahavir Jain [Wed, 30 Jan 2019 08:54:20 +0000 (14:24 +0530)]
esp_https_ota: add support for configurable ota buffer size

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

5 years agoesp_https_ota: add config option to (optionally) allow http
Mahavir Jain [Mon, 31 Dec 2018 09:02:35 +0000 (14:32 +0530)]
esp_https_ota: add config option to (optionally) allow http

5 years agoesp_event: detect leaks in unit test
Renz Christian Bagaporo [Wed, 30 Jan 2019 09:14:01 +0000 (17:14 +0800)]
esp_event: detect leaks in unit test

5 years agoesp_event: fix post data type inconsistency
Renz Christian Bagaporo [Tue, 29 Jan 2019 02:53:26 +0000 (10:53 +0800)]
esp_event: fix post data type inconsistency

5 years agoesp_event: fix memory leaks
Renz Christian Bagaporo [Tue, 29 Jan 2019 02:52:53 +0000 (10:52 +0800)]
esp_event: fix memory leaks

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

5 years agomdns tests: execute test services only when running example in ci
David Cermak [Fri, 25 Jan 2019 19:24:30 +0000 (20:24 +0100)]
mdns tests: execute test services only when running example in ci

Test services may cause confussion (and did cause some GitHub/forum issues). This update runs test services only when example executed in ci. Also host name is a simple config entry if executed outside of ci.

5 years agoMerge branch 'bugfix/tw28445_wps_thread_safe' into 'master'
Jiang Jiang Jian [Wed, 30 Jan 2019 09:50:25 +0000 (17:50 +0800)]
Merge branch 'bugfix/tw28445_wps_thread_safe' into 'master'

Bugfix/tw28445 wps thread safe

See merge request idf/esp-idf!4175

5 years agoMerge branch 'bugfix/git_describe_always_for_cmake' into 'master'
Ivan Grokhotkov [Wed, 30 Jan 2019 09:48:11 +0000 (17:48 +0800)]
Merge branch 'bugfix/git_describe_always_for_cmake' into 'master'

tools: Add --always option to git describe for Cmake

See merge request idf/esp-idf!4107

5 years agoMerge branch 'bugfix/cmake_stack_protector' into 'master'
Ivan Grokhotkov [Wed, 30 Jan 2019 08:28:40 +0000 (16:28 +0800)]
Merge branch 'bugfix/cmake_stack_protector' into 'master'

esp32: disable stack protector for startup code (CMake)

See merge request idf/esp-idf!4198

5 years agomdns: fix crash after init if no memory for task
David Cermak [Fri, 25 Jan 2019 15:17:07 +0000 (16:17 +0100)]
mdns: fix crash after init if no memory for task

mdns init first starts timer task, then starts service task. if service task failed to be created, timer task needs to be stopped too.
fixed https://ezredmine.espressif.cn:8765/issues/28466

5 years agoMerge branch 'bugfix/aws_iot_examples_cmake_build' into 'master'
Ivan Grokhotkov [Wed, 30 Jan 2019 06:27:51 +0000 (14:27 +0800)]
Merge branch 'bugfix/aws_iot_examples_cmake_build' into 'master'

examples: aws_iot: fix cmake build issue which used to pick dummy certificates

See merge request idf/esp-idf!4180

5 years agoMerge branch 'bugfix/add_missing_links_to_translation' into 'master'
Angus Gratton [Wed, 30 Jan 2019 03:32:15 +0000 (11:32 +0800)]
Merge branch 'bugfix/add_missing_links_to_translation' into 'master'

Included missing links between English and Chinese documentation, where…

See merge request idf/esp-idf!4176

5 years agoMerge branch 'bugfix/doc_updates_from_github' into 'master'
Angus Gratton [Wed, 30 Jan 2019 01:34:28 +0000 (09:34 +0800)]
Merge branch 'bugfix/doc_updates_from_github' into 'master'

Documenation updates from github

See merge request idf/esp-idf!4120

5 years agoMerge branch 'bugfix/mdns_crash_free_strdup' into 'master'
Angus Gratton [Wed, 30 Jan 2019 01:33:12 +0000 (09:33 +0800)]
Merge branch 'bugfix/mdns_crash_free_strdup' into 'master'

mdns: fixed crash on free undefined ptr if strdup is skipped

See merge request idf/esp-idf!4173

5 years agoMerge branch 'bugfix/correct_kconfigs' into 'master'
Angus Gratton [Wed, 30 Jan 2019 01:24:22 +0000 (09:24 +0800)]
Merge branch 'bugfix/correct_kconfigs' into 'master'

Correct Kconfigs according to the coding style

See merge request idf/esp-idf!4172

5 years agoMerge branch 'update/esptool_repo_sync' into 'master'
Angus Gratton [Wed, 30 Jan 2019 01:21:59 +0000 (09:21 +0800)]
Merge branch 'update/esptool_repo_sync' into 'master'

ci: Remove ALLOW_TO_SYNC_FROM_PUBLIC from esptool mirror repo

See merge request idf/esp-idf!4194

5 years agotools: replace absolute URLs in Kconfig docs
Roland Dobai [Tue, 29 Jan 2019 15:27:02 +0000 (16:27 +0100)]
tools: replace absolute URLs in Kconfig docs

5 years agoMerge branch 'bugfix/disable_kconfig_redundant_config_warnings_on_merge' into 'master'
Angus Gratton [Tue, 29 Jan 2019 14:03:05 +0000 (22:03 +0800)]
Merge branch 'bugfix/disable_kconfig_redundant_config_warnings_on_merge' into 'master'

Disable warnings on redundant config merge

See merge request idf/esp-idf!4168

5 years agoCorrect Kconfigs according to the coding style
Roland Dobai [Fri, 25 Jan 2019 16:10:53 +0000 (17:10 +0100)]
Correct Kconfigs according to the coding style

5 years agoMerge branch 'feature/eth_support_ip101g' into 'master'
Ivan Grokhotkov [Tue, 29 Jan 2019 09:50:40 +0000 (17:50 +0800)]
Merge branch 'feature/eth_support_ip101g' into 'master'

support new Ethernet PHY (IP101)

See merge request idf/esp-idf!4187

5 years agoesp32: disable stack protector for startup code (CMake)
Ivan Grokhotkov [Tue, 29 Jan 2019 09:41:00 +0000 (17:41 +0800)]
esp32: disable stack protector for startup code (CMake)

Files where stack protector is initialized should not be compiled with
stack protector enabled. This was done for Make but missing for CMake.

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

5 years agoesp32: fix WPS thread-safe
Liu Zhi Fu [Tue, 29 Jan 2019 09:30:21 +0000 (17:30 +0800)]
esp32: fix WPS thread-safe

Fix WPS thread-safe bug

5 years agoMerge branch 'bugfix/coex_update_phy_to_fix_interrupt_wdt' into 'master'
Jiang Jiang Jian [Tue, 29 Jan 2019 09:12:10 +0000 (17:12 +0800)]
Merge branch 'bugfix/coex_update_phy_to_fix_interrupt_wdt' into 'master'

esp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at the same time and both enable modem sleep

See merge request idf/esp-idf!4191

5 years agomdns: fixed crash on free undefined ptr after skipped strdup
David Cermak [Fri, 25 Jan 2019 16:19:13 +0000 (17:19 +0100)]
mdns: fixed crash on free undefined ptr after skipped strdup

Shortcircuit evaluation may cause skip of _mdns_strdup_check of any further question field, which after clear_rx_packet freed undefined memory.
Fixes https://ezredmine.espressif.cn:8765/issues/28465

5 years agoethernet: support new PHY (IP101)
morris [Mon, 28 Jan 2019 12:29:58 +0000 (20:29 +0800)]
ethernet: support new PHY (IP101)

1. Add support for new PHY IP101.
2. Re-enable GPIO0 output mode.
3. Clean up some docs.

5 years agoMerge branch 'feat/spi_slave_timing' into 'master'
Ivan Grokhotkov [Tue, 29 Jan 2019 06:03:55 +0000 (14:03 +0800)]
Merge branch 'feat/spi_slave_timing' into 'master'

feat(spi_slave): fine tune the timing of SPI slave

See merge request idf/esp-idf!3925

5 years agoci: Remove ALLOW_TO_SYNC_FROM_PUBLIC from esptool mirror repo
Angus Gratton [Tue, 29 Jan 2019 04:06:11 +0000 (15:06 +1100)]
ci: Remove ALLOW_TO_SYNC_FROM_PUBLIC from esptool mirror repo

5 years agoconfgen: disable config override warnings
Renz Christian Bagaporo [Tue, 29 Jan 2019 03:17:02 +0000 (11:17 +0800)]
confgen: disable config override warnings

5 years agokconfiglib: allow disabling of config override warnings
Renz Christian Bagaporo [Tue, 29 Jan 2019 03:16:25 +0000 (11:16 +0800)]
kconfiglib: allow disabling of config override warnings

Patches ESP-IDF copy of kconfiglib.py with modifications in commit
b65baa47f69ae4c3993876a7edf0da0075aa70ff from kconfiglib repository.

5 years agoesp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at
XiaXiaotian [Tue, 29 Jan 2019 02:55:45 +0000 (10:55 +0800)]
esp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at
the same time and both enable modem sleep

5 years agoci: remove `IDF_CI_BUILD` variable, no active users
Mahavir Jain [Mon, 28 Jan 2019 09:09:36 +0000 (14:39 +0530)]
ci: remove `IDF_CI_BUILD` variable, no active users

5 years agoMerge branch 'bugfix/backtrace_from_interrupts' into 'master'
Ivan Grokhotkov [Mon, 28 Jan 2019 08:40:12 +0000 (16:40 +0800)]
Merge branch 'bugfix/backtrace_from_interrupts' into 'master'

Make backtrace work across interrupts

See merge request idf/esp-idf!4084

5 years agoComponent/bt: add handle in gatts conf event for indication
zhiweijian [Mon, 24 Dec 2018 06:35:24 +0000 (14:35 +0800)]
Component/bt: add handle in gatts conf event for indication

5 years agofreertos: Make backtrace work across interrupts
Darian Leung [Fri, 4 Jan 2019 12:38:33 +0000 (20:38 +0800)]
freertos: Make backtrace work across interrupts

This commit adds the ability for backtracing to trace from the itnerrupt to the
task stack, and across nested interrupts. Test cases have also been added.

5 years agoMerge branch 'mesh/bugfix_0124' into 'master'
Jiang Jiang Jian [Mon, 28 Jan 2019 06:06:00 +0000 (14:06 +0800)]
Merge branch 'mesh/bugfix_0124' into 'master'

mesh: udpate libs

See merge request idf/esp-idf!4155

5 years agoexamples: aws_iot: fix cmake build issue which used to pick dummy certificates
Mahavir Jain [Fri, 25 Jan 2019 10:07:44 +0000 (15:37 +0530)]
examples: aws_iot: fix cmake build issue which used to pick dummy certificates

For CI build now `sdkconfig.ci` file is used which builds examples assuming certificate
stored on SDCard.

5 years agoMerge branch 'feature/modem_pppos' into 'master'
Ivan Grokhotkov [Mon, 28 Jan 2019 03:59:41 +0000 (11:59 +0800)]
Merge branch 'feature/modem_pppos' into 'master'

support cellular modem && refactor PPPoS client example

See merge request idf/esp-idf!3778

5 years agodocs: Correct priorities in the PATH string
Anton Maklakov [Thu, 24 Jan 2019 12:03:03 +0000 (20:03 +0800)]
docs: Correct priorities in the PATH string

Fixes https://github.com/espressif/esp-idf/pull/2944

5 years agoIncluded missing links between English and Chinese documentation, where translation...
krzychb [Sun, 27 Jan 2019 18:01:34 +0000 (19:01 +0100)]
Included missing links between English and Chinese documentation, where translation into Chinese is available

5 years agomodify test case to support ipv6
huchaoru [Tue, 17 Apr 2018 08:28:00 +0000 (16:28 +0800)]
modify test case to support ipv6

5 years agospi: add new test for timing and mode
michael [Fri, 21 Sep 2018 08:48:04 +0000 (16:48 +0800)]
spi: add new test for timing and mode

New unit tests added
------------------------

**Local:** Local test uses the GPIO matrix to connect the master and the
slave on the same board. When the master needs the iomux, the master
uses the GPIOs of its own, the slave connect to the pins by GPIO matrix;
When the slave needs the iomux, the slave uses the GPIOs of its own, the
master connects to the pins by GPIO matrix.

- Provide a new unit test which performs freq scanning in mode 0. It
scans frequency of 1M, 8M, 9M and all frequency steps up to the maximum
frequency allowed.

**M & S**: Master & slave tests performs the test with two boards. The
master and slave use iomux or gpio matrix according to the config.

- Provide a new unit test which performs freq scanning in mode 0. It
scans frequency of 1M, 8M, 9M and all frequency steps up to the maximum
frequency allowed.

- Provide a new unit test which performs mode test with significant
frequencies. It tests mode 0,1,2,3 with low frequency, and the maximum
frequency allowed.

5 years agospi_master: fix the timing a little so that can assign delay half clock manually
Michael (XIAO Xufeng) [Thu, 6 Dec 2018 09:32:48 +0000 (17:32 +0800)]
spi_master: fix the timing a little so that can assign delay half clock manually

5 years agospi_slave: improve the timing configuration
michael [Mon, 25 Jun 2018 04:34:31 +0000 (12:34 +0800)]
spi_slave: improve the timing configuration

SPI Slave
===========

- Correct the configuration of mode 0~3 using new config in the TRM
- Split the workaround for DMA in mode 0/2 out of normal config, to make it clear.
- Update timing and speed document for the SPI slave.

Resolves https://github.com/espressif/esp-idf/issues/1346, https://github.com/espressif/esp-idf/issues/2393

5 years agotest: add new test framework for different configurations
michael [Tue, 26 Jun 2018 08:23:39 +0000 (16:23 +0800)]
test: add new test framework for different configurations

Paremeterized Test Framework
-----------------------------

The SPI has a lot of parameters, which works in the same process.
This framework provides a way to easily test different parameter sets.
The framework can work in two different ways:

- local test: which requires only one board to perform the test - master
& slave test: which generates two sub test items which uses the same
config set to cooperate to perform the test.

The user defines a (pair if master/slave) set of init/deinit/loop
functions. Then the test framework will call init once, then call loop
several times with different configurations, then call deinit.

Then a unit test can be appended by add a parameter group, and pass it into
a macro.

5 years agoconfgen: disable redundant assignment warning
Renz Christian Bagaporo [Fri, 25 Jan 2019 10:24:53 +0000 (18:24 +0800)]
confgen: disable redundant assignment warning

5 years agokconfiglib: allow disabling of redundant definition warnings
Renz Christian Bagaporo [Fri, 25 Jan 2019 09:42:25 +0000 (17:42 +0800)]
kconfiglib: allow disabling of redundant definition warnings

Patches ESP-IDF copy of kconfiglib.py with modifications in commit
94c63de77c7a3422347e59e168b05174d0b9e84d from kconfiglib repository.

5 years agoMerge branch 'bugfix/ble_active_scan_not_wait_scan_rsp' into 'master'
Jiang Jiang Jian [Fri, 25 Jan 2019 03:53:06 +0000 (11:53 +0800)]
Merge branch 'bugfix/ble_active_scan_not_wait_scan_rsp' into 'master'

component/bt: add a option to make report adv data and scan response individually

See merge request idf/esp-idf!4131

5 years agoupdate translation of establish-serial-connection
suda-morris [Mon, 21 Jan 2019 15:45:31 +0000 (23:45 +0800)]
update translation of establish-serial-connection

5 years agoSmall updates of wording
krzychb [Mon, 21 Jan 2019 05:25:05 +0000 (06:25 +0100)]
Small updates of wording

5 years agodocs(en): dialout-linux added specific command for Arch linux the correct group is...
ShellAddicted [Fri, 11 Jan 2019 17:03:17 +0000 (18:03 +0100)]
docs(en): dialout-linux added specific command for Arch linux the correct group is 'uucp'

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

5 years agomesh: udpate libs
qiyueixa [Thu, 24 Jan 2019 07:15:09 +0000 (15:15 +0800)]
mesh: udpate libs

1. during parent selection, when scanning a MAP without ext-assoc IE, it will be handled as it has the same router BSSID as itself.
2. for MAP, when its client leaves, always post SYSTEM_EVENT_AP_STADISCONNECTED to mesh layer regardless of whether the client has passed the encrypted authentication or not.

5 years agoMerge branch 'feature/merge_multiple_github_prs' into 'master'
Ivan Grokhotkov [Thu, 24 Jan 2019 07:14:47 +0000 (15:14 +0800)]
Merge branch 'feature/merge_multiple_github_prs' into 'master'

Multiple Github PRs

See merge request idf/esp-idf!4146

5 years agocomponent/bt: add a option to make report adv data and scan response individually
Tian Hao [Wed, 23 Jan 2019 06:11:56 +0000 (14:11 +0800)]
component/bt: add a option to make report adv data and scan response individually

Originally, when doing BLE active scan, Bluedroid will not report adv to
application layer until receive scan response. This option is used to
disable the behavior. When enable this option, Bluedroid will report
adv data or scan response to application layer immediately.

5 years agoMerge branch 'doc/add_esp_ble_test_case' into 'master'
Angus Gratton [Thu, 24 Jan 2019 06:29:31 +0000 (14:29 +0800)]
Merge branch 'doc/add_esp_ble_test_case' into 'master'

add esp ble compatibility test case

See merge request idf/esp-idf!3989

5 years agoadd esp ble compatibility test case
Wang Fang [Thu, 24 Jan 2019 06:29:31 +0000 (14:29 +0800)]
add esp ble compatibility test case

5 years agoMerge branch 'bugfix/reduce_nvs_init_time' into 'master'
Angus Gratton [Thu, 24 Jan 2019 06:17:57 +0000 (14:17 +0800)]
Merge branch 'bugfix/reduce_nvs_init_time' into 'master'

nvs_flash: Improve nvs_flash_init_partition() speed

See merge request idf/esp-idf!4097

5 years agoMerge branch 'bugfix/sha_ownership' into 'master'
Jiang Jiang Jian [Thu, 24 Jan 2019 06:07:23 +0000 (14:07 +0800)]
Merge branch 'bugfix/sha_ownership' into 'master'

hwcrypto sha: Allow SHA contexts to be shared between tasks

See merge request idf/esp-idf!4010

5 years agoMerge branch 'feature/efuse_add_voltage_level' into 'master'
Ivan Grokhotkov [Thu, 24 Jan 2019 05:03:25 +0000 (13:03 +0800)]
Merge branch 'feature/efuse_add_voltage_level' into 'master'

feature(efuse): add support for setting core voltage in high performance cases

See merge request idf/esp-idf!4124

5 years agoapp_update: Fix a handling of version as string
KonstantinKondrashov [Wed, 23 Jan 2019 13:46:11 +0000 (21:46 +0800)]
app_update: Fix a handling of version as string

5 years agotools: Add unit tests
KonstantinKondrashov [Wed, 23 Jan 2019 12:27:28 +0000 (20:27 +0800)]
tools: Add unit tests

5 years agotools: Add --always option to git describe for Cmake
KonstantinKondrashov [Fri, 11 Jan 2019 10:09:12 +0000 (18:09 +0800)]
tools: Add --always option to git describe for Cmake

Fixed differences in getting of the project version for Make and Cmake.

5 years agoMerge branch 'bugfix/regenerate_sdkconfig_fails' into 'master'
Angus Gratton [Thu, 24 Jan 2019 03:56:52 +0000 (11:56 +0800)]
Merge branch 'bugfix/regenerate_sdkconfig_fails' into 'master'

Fix issues with regenerating sdkconfig on modification

Closes #58

See merge request idf/esp-idf!4115

5 years agoInitialized some uninitialized variables in rtc_clk.c and ringbuf.c.
Pieter du Preez [Mon, 24 Dec 2018 11:37:09 +0000 (11:37 +0000)]
Initialized some uninitialized variables in rtc_clk.c and ringbuf.c.

The following 2 compiler warnings are only reproducible when setting:
   OPTIMIZATION_FLAGS = -Ofast

esp-idf/components/soc/esp32/rtc_clk.c:
In function 'rtc_clk_cpu_freq_get':
esp-idf/components/soc/esp32/rtc_clk.c:506:12:
error: 'freq' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
return freq;

esp-idf/components/esp_ringbuf/ringbuf.c:
In function 'xRingbufferReceiveSplitFromISR':
esp-idf/components/esp_ringbuf/ringbuf.c:934:26:
error: 'pvTempTailItem' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
*ppvTailItem = pvTempTailItem;

Closes https://github.com/espressif/esp-idf/pull/2878

5 years agoHandle esp_tls_conn_read disconnection in ssl_read. Fixes #2805
rustyx [Sat, 19 Jan 2019 10:13:22 +0000 (11:13 +0100)]
Handle esp_tls_conn_read disconnection in ssl_read. Fixes #2805

Closes https://github.com/espressif/esp-idf/pull/2967

5 years agofix esp_http_client_open
Damian Reboredo [Sun, 6 Jan 2019 10:01:00 +0000 (07:01 -0300)]
fix esp_http_client_open

client->post_len was not bein set therefore content-length was 0

Closes https://github.com/espressif/esp-idf/pull/2917

5 years agoFix typo in error message in esp_bluedroid_init
Michael Reutman [Fri, 14 Dec 2018 01:23:27 +0000 (17:23 -0800)]
Fix typo in error message in esp_bluedroid_init

Closes https://github.com/espressif/esp-idf/pull/2835

5 years agoAdd static qualifier to s_light_sleep_wakeup variable to prevent it from being global.
Michael Reutman [Wed, 5 Dec 2018 04:22:55 +0000 (20:22 -0800)]
Add static qualifier to s_light_sleep_wakeup variable to prevent it from being global.

Closes https://github.com/espressif/esp-idf/pull/2793

5 years agoesp_http_client: Add support for mutual authentication
Anders Kalør [Sat, 10 Nov 2018 22:51:05 +0000 (23:51 +0100)]
esp_http_client: Add support for mutual authentication

Closes https://github.com/espressif/esp-idf/pull/2688

5 years agomodem: support modem facility and PPPoS
morris [Fri, 23 Nov 2018 03:53:20 +0000 (11:53 +0800)]
modem: support modem facility and PPPoS

1. add support for ESP32 DTE
2. add support for SIM800/BG96 DCE
3. add PPPoS setup procedure
4. add support for SMS
5. add mqtt example after PPP connection established

5 years agoMerge branch 'bugfix/bootloader_map_size' into 'master'
Ivan Grokhotkov [Wed, 23 Jan 2019 08:56:58 +0000 (16:56 +0800)]
Merge branch 'bugfix/bootloader_map_size' into 'master'

bootloader: fix incorrect mapping size

See merge request idf/esp-idf!3175

5 years agoMerge branch 'bugfix/wifi_fix_invalid_csi_data_index' into 'master'
Jiang Jiang Jian [Wed, 23 Jan 2019 06:58:49 +0000 (14:58 +0800)]
Merge branch 'bugfix/wifi_fix_invalid_csi_data_index' into 'master'

esp32: fix invalid channel state information(CSI) data index

See merge request idf/esp-idf!4048

5 years agoMerge branch 'feature/support_global_der_ca_store' into 'master'
Ivan Grokhotkov [Wed, 23 Jan 2019 05:30:49 +0000 (13:30 +0800)]
Merge branch 'feature/support_global_der_ca_store' into 'master'

Add esp_tls_init_global_ca_store function to esp-tls, called from esp_tls_set_global_ca_store

See merge request idf/esp-idf!3795

5 years agohwcrypto sha: Use spinlocks instead of semaphores for small state changes
Angus Gratton [Fri, 21 Dec 2018 05:16:16 +0000 (16:16 +1100)]
hwcrypto sha: Use spinlocks instead of semaphores for small state changes

Significant performance improvement and smaller RAM footprint.

5 years agohwcrypto sha: Allow SHA contexts to be shared between tasks
Angus Gratton [Fri, 21 Dec 2018 04:37:57 +0000 (15:37 +1100)]
hwcrypto sha: Allow SHA contexts to be shared between tasks

Previously, hardware SHA engine "locks" were mutex semaphores. This meant that the task which
started a particular SHA session (in hardware) needed to finalise that session, or an invalid
FreeRTOS state was created.

Replace with binary semaphore which can be shared between tasks.

Includes a unit test, but unit test doesn't crash even without this fix
(some other unknown condition is required).

5 years agonvs_flash: Improve nvs_flash_init_partition() speed
Gautier Seidel [Tue, 18 Dec 2018 16:12:35 +0000 (17:12 +0100)]
nvs_flash: Improve nvs_flash_init_partition() speed

Signed-off-by: Sagar Bijwe <sagar@espressif.com>
5 years agoMerge branch 'bugfix/examples_http_file_server_readme' into 'master'
Angus Gratton [Wed, 23 Jan 2019 01:06:46 +0000 (09:06 +0800)]
Merge branch 'bugfix/examples_http_file_server_readme' into 'master'

HTTP File Server : Fix README of example

See merge request idf/esp-idf!4112

5 years agoesp32: fix invalid channel state information(CSI) data index
XiaXiaotian [Thu, 27 Dec 2018 13:06:58 +0000 (21:06 +0800)]
esp32: fix invalid channel state information(CSI) data index

    Due to a hardware limitation in ESP32, the first four bytes of some
    CSI data is invalid, not the last four bytes.

    Correct a mistake of CSI sub-carrier index in documentation.

5 years agotinyfw: update to support new esptool argument
Ivan Grokhotkov [Tue, 22 Jan 2019 10:40:25 +0000 (18:40 +0800)]
tinyfw: update to support new esptool argument

5 years agofeature: add support for setting core voltage in high performance cases.
Wangjialin [Mon, 21 Jan 2019 10:14:49 +0000 (18:14 +0800)]
feature: add support for setting core voltage in high performance cases.

1. add definitions of EFUSE_RD_VOL_LEVEL_HP_INV in efuse_reg.h
2. modify the core voltage according to the record in efuse in high performance cases.

5 years agoMerge branch 'bugfix/http_server_uri_template' into 'master'
Ivan Grokhotkov [Tue, 22 Jan 2019 03:45:45 +0000 (11:45 +0800)]
Merge branch 'bugfix/http_server_uri_template' into 'master'

esp_http_server : Remove casual use of 'template' keyword

See merge request idf/esp-idf!4123