]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoldgen: use user input filename for processed template
Renz Christian Bagaporo [Fri, 31 May 2019 03:30:44 +0000 (11:30 +0800)]
ldgen: use user input filename for processed template

Previously ldgen determines the output file name on its own. This commit
makes it so that user can dictate what the output file name will be
for the processed template, if the user needs it for something else.

5 years agombedtls: component CMakeLists.txt corrections
Renz Christian Bagaporo [Tue, 4 Jun 2019 12:19:25 +0000 (20:19 +0800)]
mbedtls: component CMakeLists.txt corrections

Since !4452 the common component requirements automatically get
privately linked to libraries built under ESP-IDF build system (this
includes targets from third-party libraries). This removes a variable
that was used for that purpose before !4452.

Since the internal target names were changed, the compile definition for
warning on using deprecated functions is not being passed. Since using
the internal name is unreliable, prefer passing this compile definition
from the test itself.

5 years agocmake: evaluate component requirements in one go
Renz Christian Bagaporo [Tue, 28 May 2019 13:43:03 +0000 (21:43 +0800)]
cmake: evaluate component requirements in one go

!4452 simplified early expansion by using an early expansion script that
only does one thing: get the public and private requirements for each
component, albeit one by one. This was also dependent on parsing
the command output of the expansion script.  This commit makes it so that a list of all
components to be processed to passed to the expansion script, generating a cmake
file that sets each component requirements in one go.

This also makes sure that only components that registered themselves get
included in the final build list.

5 years agocmake: expand build components before generating config
Renz Christian Bagaporo [Fri, 24 May 2019 10:32:42 +0000 (18:32 +0800)]
cmake: expand build components before generating config

!4452 had config generation first before building the component list
to be used in the build. This proved to be detrimental when a new target
is added as config generation would consider configs from both targets.

5 years agoMerge branch 'bugfix/check_for_new_cmakecache_vars' into 'master'
Angus Gratton [Tue, 11 Jun 2019 06:16:14 +0000 (14:16 +0800)]
Merge branch 'bugfix/check_for_new_cmakecache_vars' into 'master'

idf.py: Add check for new cmake cache values

Closes IDF-658

See merge request idf/esp-idf!5106

5 years agoMerge branch 'bugfix/confgen_compat_defs' into 'master'
Angus Gratton [Tue, 11 Jun 2019 06:13:20 +0000 (14:13 +0800)]
Merge branch 'bugfix/confgen_compat_defs' into 'master'

confgen.py: don't output compatibility definitions for options which are not defined

See merge request idf/esp-idf!5162

5 years agoMerge branch 'feature/prov_mgr' into 'master'
Angus Gratton [Tue, 11 Jun 2019 01:46:50 +0000 (09:46 +0800)]
Merge branch 'feature/prov_mgr' into 'master'

Wi-Fi Provisioning Manager

See merge request idf/esp-idf!4805

5 years agoMerge branch 'fix/mfg_util' into 'master'
Angus Gratton [Tue, 11 Jun 2019 01:22:07 +0000 (09:22 +0800)]
Merge branch 'fix/mfg_util' into 'master'

mfg_util: Fix incorrect number of csv files creation for multiple values with REPEAT tags

See merge request idf/esp-idf!5044

5 years agoMerge branch 'bugfix/ticks_to_wait_for_uart_and_i2c' into 'master'
Angus Gratton [Tue, 11 Jun 2019 00:41:44 +0000 (08:41 +0800)]
Merge branch 'bugfix/ticks_to_wait_for_uart_and_i2c' into 'master'

driver: Fix ticks_to_wait for uart and i2c

Closes IDFGH-964

See merge request idf/esp-idf!5021

5 years agoMerge branch 'feature/console_nvs_iterators' into 'master'
Angus Gratton [Tue, 11 Jun 2019 00:36:13 +0000 (08:36 +0800)]
Merge branch 'feature/console_nvs_iterators' into 'master'

Feature/nvs iterators

Closes IDF-92

See merge request idf/esp-idf!3846

5 years agoMerge branch 'bugfix/remove_secure_boot_test_mode' into 'master'
Angus Gratton [Mon, 10 Jun 2019 23:25:07 +0000 (07:25 +0800)]
Merge branch 'bugfix/remove_secure_boot_test_mode' into 'master'

remove secure boot test mode

See merge request idf/esp-idf!5059

5 years agoMerge branch 'doc/update_translation_for_get-started-cmake' into 'master'
Krzysztof Budzynski [Mon, 10 Jun 2019 18:09:27 +0000 (02:09 +0800)]
Merge branch 'doc/update_translation_for_get-started-cmake' into 'master'

Update Chinese translation of .rst files in get-started-guide according to the...

See merge request idf/esp-idf!4935

5 years agoUpdate Chinese translation of .rst files in get-started-guide according to the change...
Wang Fang [Mon, 10 Jun 2019 18:09:26 +0000 (02:09 +0800)]
Update Chinese translation of .rst files in get-started-guide according to the changes made in English files in these months.

5 years agoMerge branch 'doc/add_ulp_cmake_translation' into 'master'
Krzysztof Budzynski [Mon, 10 Jun 2019 17:48:37 +0000 (01:48 +0800)]
Merge branch 'doc/add_ulp_cmake_translation' into 'master'

Doc/add ulp cmake translation

See merge request idf/esp-idf!4163

5 years agoadd translation for ulp cmake
Wang Fang [Mon, 10 Jun 2019 17:48:36 +0000 (01:48 +0800)]
add translation for ulp cmake

fix formatting

update translation

update translation

formatting

5 years agoAdded support for NVS iterators
MartinValik [Mon, 5 Nov 2018 08:03:04 +0000 (09:03 +0100)]
Added support for NVS iterators
Closes https://github.com/espressif/esp-idf/issues/129

5 years agoMerge branch 'bugfix/cmake_check_crosstool_ng_version' into 'master'
Ivan Grokhotkov [Mon, 10 Jun 2019 12:23:57 +0000 (20:23 +0800)]
Merge branch 'bugfix/cmake_check_crosstool_ng_version' into 'master'

cmake: fix crosstool-NG version check regex

See merge request idf/esp-idf!5163

5 years agomfg_util: Fix unnecessary csv files creation for values with REPEAT tags
Shivani Tipnis [Wed, 22 May 2019 05:47:56 +0000 (11:17 +0530)]
mfg_util: Fix unnecessary csv files creation for values with REPEAT tags

5 years agocmake: fix crosstool-NG version check regex
Sergei Silnov [Fri, 7 Jun 2019 12:06:15 +0000 (14:06 +0200)]
cmake: fix crosstool-NG version check regex

5 years agoesp_prov : Support new JSON format of version string while maintaining backward compa...
Anurag Kar [Tue, 23 Apr 2019 17:47:28 +0000 (23:17 +0530)]
esp_prov : Support new JSON format of version string while maintaining backward compatibility

Other changes:
* Version check only happens if command line argument is specified
* Minor bugfix in processing apply_config response

5 years agoProvisioning : Added Wi-Fi Provisioning Manager example and test script
Anurag Kar [Tue, 23 Apr 2019 17:45:51 +0000 (23:15 +0530)]
Provisioning : Added Wi-Fi Provisioning Manager example and test script

5 years agowifi_provisioning : Docs updated with information about new provisioning manager
Anurag Kar [Sun, 21 Apr 2019 14:53:31 +0000 (20:23 +0530)]
wifi_provisioning : Docs updated with information about new provisioning manager

5 years agowifi_provisioning : Wi-Fi Provisioning Manager added
Anurag Kar [Tue, 16 Apr 2019 11:44:10 +0000 (17:14 +0530)]
wifi_provisioning : Wi-Fi Provisioning Manager added

5 years agoMerge branch 'bugfix/cmake_ndebug' into 'master'
Ivan Grokhotkov [Mon, 10 Jun 2019 07:07:41 +0000 (15:07 +0800)]
Merge branch 'bugfix/cmake_ndebug' into 'master'

cmake: fix setting NDEBUG definition

Closes IDFGH-1305

See merge request idf/esp-idf!5165

5 years agoconfgen.py: don't output compatibility definitions for options which are not defined
Ivan Grokhotkov [Fri, 7 Jun 2019 11:57:47 +0000 (19:57 +0800)]
confgen.py: don't output compatibility definitions for options which are not defined

For example, if a renamed option CONFIG_NEW is a bool with value “n”,
kconfiglib will not generate a define for it in the Kconfig file. The
define (#define CONFIG_NEW 1) will only be generated if the option is
“y” or “m”. However the compatibility definition was always
generated: #define CONFIG_OLD CONFIG_NEW. This broke the #ifdef
checks which depended on the old option names.

This commit wraps each compatibility definition:

    #ifdef CONFIG_NEW
    #define CONFIG_OLD CONFIG_NEW
    #endif

so that the CONFIG_OLD definition is only generated if CONFIG_NEW is
defined.

5 years agoMerge branch 'bugfix/cmake_build_system_test' into 'master'
Ivan Grokhotkov [Mon, 10 Jun 2019 05:54:36 +0000 (13:54 +0800)]
Merge branch 'bugfix/cmake_build_system_test' into 'master'

ci: fix idf.py syntax in new build system tests

See merge request idf/esp-idf!5167

5 years agoMerge branch 'feature/config_option_for_mbedtls_debug_level' into 'master'
Mahavir Jain [Mon, 10 Jun 2019 03:44:40 +0000 (11:44 +0800)]
Merge branch 'feature/config_option_for_mbedtls_debug_level' into 'master'

mbedtls: add config option for setting debug level

See merge request idf/esp-idf!5154

5 years agoMerge branch 'bugfix/stack_protection_crash_due_to_incorrect_cflag' into 'master'
Mahavir Jain [Mon, 10 Jun 2019 03:43:31 +0000 (11:43 +0800)]
Merge branch 'bugfix/stack_protection_crash_due_to_incorrect_cflag' into 'master'

esp_common: fix stack protection crash due to incorrect CFLAG

See merge request idf/esp-idf!5155

5 years agoci: fix idf.py syntax in new build system tests
Ivan Grokhotkov [Fri, 7 Jun 2019 14:03:15 +0000 (22:03 +0800)]
ci: fix idf.py syntax in new build system tests

5 years agocmake: fix setting NDEBUG definition
Ivan Grokhotkov [Fri, 7 Jun 2019 13:23:42 +0000 (21:23 +0800)]
cmake: fix setting NDEBUG definition

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

5 years agoMerge branch 'bugfix/target_test_no_setup_tools' into 'master'
Ivan Grokhotkov [Fri, 7 Jun 2019 13:04:41 +0000 (21:04 +0800)]
Merge branch 'bugfix/target_test_no_setup_tools' into 'master'

ci: don't do idf_tools.py install in target_test stage

See merge request idf/esp-idf!5158

5 years agoMerge branch 'bugfix/cmake_extra_component_dirs' into 'master'
Angus Gratton [Thu, 6 Jun 2019 23:49:30 +0000 (07:49 +0800)]
Merge branch 'bugfix/cmake_extra_component_dirs' into 'master'

CI: additional CMake build system tests wrt EXTRA_COMPONENT_DIRS

See merge request idf/esp-idf!5104

5 years agoMerge branch 'bugfix/psram_io_struct_uninitialized' into 'master'
Angus Gratton [Thu, 6 Jun 2019 23:36:16 +0000 (07:36 +0800)]
Merge branch 'bugfix/psram_io_struct_uninitialized' into 'master'

Make sure the psram_io struct is initialized

See merge request idf/esp-idf!5147

5 years agoci: don't do idf_tools.py install in target_test stage
Ivan Grokhotkov [Thu, 6 Jun 2019 17:17:29 +0000 (01:17 +0800)]
ci: don't do idf_tools.py install in target_test stage

5 years agoMerge branch 'feature/action_specific_flags' into 'master'
Ivan Grokhotkov [Thu, 6 Jun 2019 16:44:09 +0000 (00:44 +0800)]
Merge branch 'feature/action_specific_flags' into 'master'

idf.py: add support for action specific options

Closes IDF-501, IDFGH-1276, and IDFGH-1275

See merge request idf/esp-idf!5029

5 years agoesp_common: fix stack protection crash due to incorrect CFLAG
Mahavir Jain [Thu, 6 Jun 2019 13:21:52 +0000 (18:51 +0530)]
esp_common: fix stack protection crash due to incorrect CFLAG

5 years agombedtls: add config option for setting debug level
Mahavir Jain [Thu, 6 Jun 2019 12:58:19 +0000 (18:28 +0530)]
mbedtls: add config option for setting debug level

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

5 years agoMerge branch 'feature/docs_get-started_ESP32-Ethernet-Kit' into 'master'
Krzysztof Budzynski [Thu, 6 Jun 2019 10:04:26 +0000 (18:04 +0800)]
Merge branch 'feature/docs_get-started_ESP32-Ethernet-Kit' into 'master'

Provide getting started guide for 'ESP32-Ethernet-Kit' board

See merge request idf/esp-idf!4981

5 years agoMerge branch 'feature/fixed_static_dram_size_pr3222' into 'master'
Angus Gratton [Thu, 6 Jun 2019 09:11:46 +0000 (17:11 +0800)]
Merge branch 'feature/fixed_static_dram_size_pr3222' into 'master'

esp32: Allow fixed static RAM size and DRAM heap size

Closes IDFGH-780

See merge request idf/esp-idf!5043

5 years agoMake unknown psram package version more obvious
Jeroen Domburg [Thu, 6 Jun 2019 08:57:01 +0000 (16:57 +0800)]
Make unknown psram package version more obvious

5 years agoesp32: Allow fixed static RAM size and DRAM heap size
Gautier Seidel [Mon, 25 Mar 2019 14:45:57 +0000 (15:45 +0100)]
esp32: Allow fixed static RAM size and DRAM heap size

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

5 years agoadd translation for ESP32-Ethernet-Kit Getting Started Guide
liying [Tue, 4 Jun 2019 08:57:07 +0000 (16:57 +0800)]
add translation for ESP32-Ethernet-Kit Getting Started Guide

5 years agoProvide getting started guide for 'ESP32-Ethernet-Kit' board
Krzysztof [Sat, 11 May 2019 11:58:59 +0000 (19:58 +0800)]
Provide getting started guide for 'ESP32-Ethernet-Kit' board

5 years agoMerge branch 'feature/net_test_suite' into 'master'
Angus Gratton [Thu, 6 Jun 2019 07:25:03 +0000 (15:25 +0800)]
Merge branch 'feature/net_test_suite' into 'master'

execute net test suite for esp32 network stack in ci as weekend tests

Closes IDF-210

See merge request idf/esp-idf!3439

5 years agoMerge branch 'bugfix/idf_tools_noninteractive' into 'master'
Ivan Grokhotkov [Thu, 6 Jun 2019 06:58:58 +0000 (14:58 +0800)]
Merge branch 'bugfix/idf_tools_noninteractive' into 'master'

tools, ci: Use non-interactive mode for idf_tools in CI

See merge request idf/esp-idf!5129

5 years agoMake sure the psram_io struct is initialized
Jeroen Domburg [Thu, 6 Jun 2019 01:03:16 +0000 (09:03 +0800)]
Make sure the psram_io struct is initialized

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

5 years agoMerge branch 'bugfix/support_tcp_window_scale' into 'master'
Jiang Jiang Jian [Wed, 5 Jun 2019 12:08:18 +0000 (20:08 +0800)]
Merge branch 'bugfix/support_tcp_window_scale' into 'master'

esp_wifi/tcpip: support TCP window scale

See merge request idf/esp-idf!5102

5 years ago idf.py: Add check for new cmake cache values
Sergei Silnov [Mon, 3 Jun 2019 10:37:52 +0000 (12:37 +0200)]
 idf.py: Add check for new cmake cache values

5 years agoMerge branch 'bugfix/keep_sco_data_path_on_hci_reset' into 'master'
Jiang Jiang Jian [Wed, 5 Jun 2019 09:10:21 +0000 (17:10 +0800)]
Merge branch 'bugfix/keep_sco_data_path_on_hci_reset' into 'master'

Bugfix/keep_sco_data_path_on_hci_reset

See merge request idf/esp-idf!4949

5 years agotools, ci: Use non-interactive mode for idf_tools in CI
Anton Maklakov [Wed, 5 Jun 2019 07:16:19 +0000 (14:16 +0700)]
tools, ci: Use non-interactive mode for idf_tools in CI

5 years agoMerge branch 'feature/gcc_8' into 'master'
Angus Gratton [Wed, 5 Jun 2019 04:53:01 +0000 (12:53 +0800)]
Merge branch 'feature/gcc_8' into 'master'

Switch GCC to 8.2 (esp32-2019r1 toolchain release)

Closes IDF-103

See merge request idf/esp-idf!5068

5 years agoMerge branch 'feature/mqtt_support_event_loop' into 'master'
Angus Gratton [Wed, 5 Jun 2019 03:04:16 +0000 (11:04 +0800)]
Merge branch 'feature/mqtt_support_event_loop' into 'master'

MQTT: Support for esp event loop

See merge request idf/esp-idf!4815

5 years agodriver: Add uart and i2c UTs to check ticks_to_wait in some functions
Konstantin Kondrashov [Tue, 4 Jun 2019 04:17:55 +0000 (12:17 +0800)]
driver: Add uart and i2c UTs to check ticks_to_wait in some functions

5 years agodocs/idf_monitor: remove the mention of addr2line bug
Ivan Grokhotkov [Tue, 4 Jun 2019 15:39:42 +0000 (23:39 +0800)]
docs/idf_monitor: remove the mention of addr2line bug

Related to https://github.com/espressif/esp-idf/issues/2149.
Since the new toolchain includes the updated version of binutils,
remove the mention of this bug.

5 years agoupdate toolchain to esp32-2019r1 release
Ivan Grokhotkov [Fri, 24 May 2019 06:05:21 +0000 (14:05 +0800)]
update toolchain to esp32-2019r1 release

Closes https://github.com/espressif/esp-idf/issues/1445 (std::to_string)
Closes https://github.com/espressif/esp-idf/issues/1876 (std::chrono_steady_clock)
Closes https://github.com/espressif/esp-idf/issues/1995 (std::timed_mutex)
Closes https://github.com/espressif/esp-idf/issues/2149 (addr2line)
Closes https://github.com/espressif/esp-idf/issues/2308 (lsiu/lsip)
Closes https://github.com/espressif/esp-idf/issues/2449 (c++17)
Closes https://github.com/espressif/esp-idf/issues/3258 (objdump)

5 years agoci: use the toolchain from tools.json
Ivan Grokhotkov [Fri, 24 May 2019 04:35:43 +0000 (12:35 +0800)]
ci: use the toolchain from tools.json

5 years agocomponent/bt: Allow configuration of default SCO_DATA_PATH in bluetooth controller
baohongde [Tue, 4 Jun 2019 08:31:21 +0000 (16:31 +0800)]
component/bt: Allow configuration of default SCO_DATA_PATH in bluetooth controller

5 years agoMerge branch 'bugfix/btdm_a2dp_src_pkt_overflow' into 'master'
Jiang Jiang Jian [Tue, 4 Jun 2019 08:07:31 +0000 (16:07 +0800)]
Merge branch 'bugfix/btdm_a2dp_src_pkt_overflow' into 'master'

component/bt: fix some performance issues in A2DP source data flow control

See merge request idf/esp-idf!4932

5 years agoci: added standard set of network suite for lwip as a part of weekend test
David Cermak [Tue, 28 Aug 2018 16:06:14 +0000 (18:06 +0200)]
ci: added standard set of network suite for lwip as a part of weekend test

5 years agoesp_wifi/lwip: support TCP window scale
liu zhifu [Thu, 30 May 2019 01:41:05 +0000 (09:41 +0800)]
esp_wifi/lwip: support TCP window scale

Support enable/disable TCP Window scale feature via menuconfig

5 years agomqtt: added support for esp event loop, updating examples to register and use event...
David Cermak [Wed, 17 Apr 2019 13:56:59 +0000 (15:56 +0200)]
mqtt: added support for esp event loop, updating examples to register and use event loop handler

5 years agoci: additional Cmake tests for EXTRA_COMPONENT_DIRS
Renz Christian Bagaporo [Thu, 30 May 2019 10:23:00 +0000 (18:23 +0800)]
ci: additional Cmake tests for EXTRA_COMPONENT_DIRS

Tests from
https://gitlab.espressif.cn:6688/idf/esp-idf/merge_requests/4253

5 years agoMerge branch 'bugfix/httpd_open_fn' into 'master'
Angus Gratton [Tue, 4 Jun 2019 05:29:14 +0000 (13:29 +0800)]
Merge branch 'bugfix/httpd_open_fn' into 'master'

HTTP Server : Close new session immediately if `open_fn` fails

Closes IDFGH-1165

See merge request idf/esp-idf!5019

5 years agoMerge branch 'feature/add_xxx_periph_h' into 'master'
Angus Gratton [Tue, 4 Jun 2019 05:24:14 +0000 (13:24 +0800)]
Merge branch 'feature/add_xxx_periph_h' into 'master'

soc: Add xxx_periph.h for all modules

Closes IDF-192

See merge request idf/esp-idf!4952

5 years agoMerge branch 'bugfix/cmake_wifi_ut_md5' into 'master'
Angus Gratton [Tue, 4 Jun 2019 05:23:06 +0000 (13:23 +0800)]
Merge branch 'bugfix/cmake_wifi_ut_md5' into 'master'

esp_wifi: fix MD5 unit tests with CMake

See merge request idf/esp-idf!5090

5 years agoMerge branch 'bugfix/set_default_eth_handler' into 'master'
Angus Gratton [Tue, 4 Jun 2019 05:06:55 +0000 (13:06 +0800)]
Merge branch 'bugfix/set_default_eth_handler' into 'master'

esp_event: fix bug in set_default_eth_handler

See merge request idf/esp-idf!5103

5 years agouart: Fix ticks_to_wait when 0 or expired
Konstantin Kondrashov [Fri, 17 May 2019 13:29:45 +0000 (21:29 +0800)]
uart: Fix ticks_to_wait when 0 or expired

Closes: https://github.com/espressif/esp-idf/issues/3301
Closes: IDFGH-964
5 years agoi2c: Fix ticks_to_wait when 0 or time expired
Konstantin Kondrashov [Fri, 17 May 2019 13:27:05 +0000 (21:27 +0800)]
i2c: Fix ticks_to_wait when 0 or time expired

Closes: https://github.com/espressif/esp-idf/issues/3301
Closes: IDFGH-964
5 years agoMerge branch 'bugfix/libgcc_fpu_functions' into 'master'
Angus Gratton [Tue, 4 Jun 2019 00:41:58 +0000 (08:41 +0800)]
Merge branch 'bugfix/libgcc_fpu_functions' into 'master'

esp32: Use FPU for floating point divide, power, complex multiplications

See merge request idf/esp-idf!5005

5 years agoMerge branch 'bugfix/cmake_menuconfig' into 'master'
Angus Gratton [Mon, 3 Jun 2019 23:06:40 +0000 (07:06 +0800)]
Merge branch 'bugfix/cmake_menuconfig' into 'master'

Tools: Fix CMake menuconfig used with combination of MSYS and CMD

Closes IDFGH-1248

See merge request idf/esp-idf!5089

5 years agoMerge branch 'bugfix/event_minor_leak' into 'master'
Ivan Grokhotkov [Mon, 3 Jun 2019 14:37:06 +0000 (22:37 +0800)]
Merge branch 'bugfix/event_minor_leak' into 'master'

esp_event: fix minor memory leak when overwriting already registered handler

See merge request idf/esp-idf!5108

5 years agoMerge branch 'bugfix/wpa2_ent_vulnerability' into 'master'
Jiang Jiang Jian [Mon, 3 Jun 2019 13:57:59 +0000 (21:57 +0800)]
Merge branch 'bugfix/wpa2_ent_vulnerability' into 'master'

esp_wifi: wpa2 enterprise vulnerability

See merge request idf/esp-idf!4992

5 years agoMerge branch 'bugfix/set_ccount_overflow' into 'master'
Ivan Grokhotkov [Mon, 3 Jun 2019 11:50:04 +0000 (19:50 +0800)]
Merge branch 'bugfix/set_ccount_overflow' into 'master'

clk: Fix the overflow when setting ccount

See merge request idf/esp-idf!4309

5 years agoidf.py: Add support for action specific options
Sergei Silnov [Wed, 10 Apr 2019 16:06:52 +0000 (18:06 +0200)]
idf.py: Add support for action specific options

Changes argument parsing mechanism from argparse to a new one, that provides better support for extensions and options that are only applicable to specific subcommands,

Breaking changes:

1. All global options should go before subcommands, i.e. `idf.py build -C ~/some/project` will not work anymore, only `idf.py -C ~/some/project build` is acceptable
2. To provide multiple values to an option like `--define-cache-entry` it's necessary to repeat option many times, i.e. `idf.py -D entry1 entry2 entry3` will not work, right way is: `idf.py -D entry1 -D entry2 -D entry3`
At the moment there are 3 options like this:  `--define-cache-entry` in base list and `--test-components` and `--test-exclude-components` in the unit test extensions
3. Drops `defconfig` and `bootloader-clean` subcommands

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

5 years agoclk: Fix the overflow when setting ccount
Wu Jian Gang [Wed, 20 Feb 2019 09:12:15 +0000 (17:12 +0800)]
clk: Fix the overflow when setting ccount

The multiplication will be overflow when using 160 or 240 MHz, this can lead the inaccuracy of log time stamp in startup.

5 years agoMerge branch 'feature/multiple_github_prs' into 'master'
Ivan Grokhotkov [Mon, 3 Jun 2019 10:50:46 +0000 (18:50 +0800)]
Merge branch 'feature/multiple_github_prs' into 'master'

Fixes from github PRs

See merge request idf/esp-idf!5040

5 years agoall: Using xxx_periph.h
Konstantin Kondrashov [Mon, 13 May 2019 10:02:45 +0000 (18:02 +0800)]
all: Using xxx_periph.h

Using xxx_periph.h in whole IDF instead of xxx_reg.h, xxx_struct.h, xxx_channel.h ... .

Cleaned up header files from unnecessary headers (releated to soc/... headers).

5 years agosoc: Add xxx_periph.h for all modules
Konstantin Kondrashov [Mon, 13 May 2019 10:00:53 +0000 (18:00 +0800)]
soc: Add xxx_periph.h for all modules

The "xxx_periph" header file includes all SOC-level definitions for that peripheral.

Closes: IDF-192
5 years agoMerge branch 'bugfix/pc_ble_example_uuid' into 'master'
Angus Gratton [Mon, 3 Jun 2019 05:23:46 +0000 (13:23 +0800)]
Merge branch 'bugfix/pc_ble_example_uuid' into 'master'

protocomm_ble : Example updated to use custom 128bit service UUID

See merge request idf/esp-idf!5100

5 years agoMerge branch 'bugfix/protocomm_sec_mult_inst' into 'master'
Angus Gratton [Mon, 3 Jun 2019 03:46:24 +0000 (11:46 +0800)]
Merge branch 'bugfix/protocomm_sec_mult_inst' into 'master'

Protocomm : Session security now supports multiple instances of the same type

See merge request idf/esp-idf!4756

5 years agoMerge branch 'bugfix/protocomm_minor' into 'master'
Angus Gratton [Mon, 3 Jun 2019 01:48:03 +0000 (09:48 +0800)]
Merge branch 'bugfix/protocomm_minor' into 'master'

Protocomm : Minor fixes

See merge request idf/esp-idf!5094

5 years agoadd missing source files to CMakeLists for HFP
wangmengyang [Tue, 7 May 2019 04:00:36 +0000 (12:00 +0800)]
add missing source files to CMakeLists for HFP

5 years agoMerge branch 'feature/btdm_modem_sleep_with_32K_XTAL_under_light_sleep' into 'master'
Jiang Jiang Jian [Fri, 31 May 2019 10:51:10 +0000 (18:51 +0800)]
Merge branch 'feature/btdm_modem_sleep_with_32K_XTAL_under_light_sleep' into 'master'

Feature/btdm modem sleep with 32 k xtal under light sleep

See merge request idf/esp-idf!4744

5 years agoMerge branch 'bugfix/docs_rtd_failure_on_missing_submodule' into 'master'
Angus Gratton [Fri, 31 May 2019 08:26:45 +0000 (16:26 +0800)]
Merge branch 'bugfix/docs_rtd_failure_on_missing_submodule' into 'master'

docs: Add mqtt submodule to RTD build configuration. Now any submodule included in...

See merge request idf/esp-idf!5096

5 years agoMerge branch 'feature/config_spi_pins_based_on_efuse_value' into 'master'
Angus Gratton [Fri, 31 May 2019 08:15:56 +0000 (16:15 +0800)]
Merge branch 'feature/config_spi_pins_based_on_efuse_value' into 'master'

feat(psram): config SPI psram pins based on efuse value

See merge request idf/esp-idf!4950

5 years agoesp_event: fix bug in set_default_eth_handler
suda-morris [Thu, 30 May 2019 04:55:09 +0000 (12:55 +0800)]
esp_event: fix bug in set_default_eth_handler

5 years agoesp_event: fix minor memory leak when overwriting alredy registered handler
David Cermak [Thu, 30 May 2019 14:59:24 +0000 (16:59 +0200)]
esp_event: fix minor memory leak when overwriting alredy registered handler

5 years agoesp_event: extend register/unregister test case to cover overwriting existing handler...
David Cermak [Fri, 31 May 2019 06:29:55 +0000 (08:29 +0200)]
esp_event: extend register/unregister test case to cover overwriting existing handler works as expected

5 years agoesp_wifi: fix wpa2 enterprise vulnerability issues
liu zhifu [Thu, 30 May 2019 13:16:15 +0000 (21:16 +0800)]
esp_wifi: fix wpa2 enterprise vulnerability issues

Fix following wpa2 enterprise vulnerability issues:
1. The station can complete 4-way handshake after EAP-FAIL is received
2. The station crashes if EAP-SUCCESS is received before PMK is setup

5 years agoesp_wifi: fix MD5 unit tests with CMake
Ivan Grokhotkov [Tue, 28 May 2019 03:48:10 +0000 (11:48 +0800)]
esp_wifi: fix MD5 unit tests with CMake

5 years agoMerge branch 'feature/kconfig_format_docs' into 'master'
Krzysztof Budzynski [Thu, 30 May 2019 02:11:56 +0000 (10:11 +0800)]
Merge branch 'feature/kconfig_format_docs' into 'master'

docs: Kconfig formatting rules and backward compatibility of options

See merge request idf/esp-idf!5052

5 years agoAdd floating point performance test
Angus Gratton [Thu, 16 May 2019 03:19:32 +0000 (11:19 +0800)]
Add floating point performance test

5 years agodocs: Kconfig formatting rules and backward compatibility of options
Roland Dobai [Wed, 22 May 2019 11:01:19 +0000 (13:01 +0200)]
docs: Kconfig formatting rules and backward compatibility of options

5 years agoTools: Fix CMake menuconfig used with combination of MSYS and CMD
Roland Dobai [Mon, 27 May 2019 15:50:31 +0000 (17:50 +0200)]
Tools: Fix CMake menuconfig used with combination of MSYS and CMD

5 years agoDelete unneeded code fragments from GPIO-example
Christian [Tue, 11 Dec 2018 10:06:41 +0000 (11:06 +0100)]
Delete unneeded code fragments from GPIO-example

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

5 years agoUpdate i2c.rst
technosf [Fri, 10 May 2019 06:51:38 +0000 (23:51 -0700)]
Update i2c.rst

I2C mode is set during configuration, not the 'op(eration) mode'

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

5 years agoImprove Linux cmake getting started documentation
Roosted7 [Mon, 22 Apr 2019 21:11:53 +0000 (23:11 +0200)]
Improve Linux cmake getting started documentation

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

5 years agoMinor fix on Scheduler Suspension subtitle
Ozan Müyesseroğlu [Mon, 22 Apr 2019 12:31:47 +0000 (15:31 +0300)]
Minor fix on Scheduler Suspension subtitle

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

5 years agoCorrect seconds calculation from TLM data field
Alois Mbutura [Fri, 12 Apr 2019 10:18:44 +0000 (13:18 +0300)]
Correct seconds calculation from TLM data field

The SEC_CNT field in the eddystone TLM frame represents the number of centiseconds
elapsed since reboot. A divisor of 10 has been placed within the code to derive seconds from SEC_CNT.

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

5 years agoUpdate esp_eddystone_api.h
Alois Mbutura [Fri, 12 Apr 2019 10:13:21 +0000 (13:13 +0300)]
Update esp_eddystone_api.h

Change incorrect bitshifts in big_endian_read_32() function.
This was giving wrong values of of the 4 byte fieldswithin the eddystone TLM message, namely 'ADV_CNT' and 'SEC_CNT'