]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoidf.py: Add environment variable to enable ccache by default
Angus Gratton [Mon, 2 Sep 2019 00:56:56 +0000 (10:56 +1000)]
idf.py: Add environment variable to enable ccache by default

5 years agoidf.py: Remove dead code around ccache base dir
Angus Gratton [Mon, 2 Sep 2019 00:56:43 +0000 (10:56 +1000)]
idf.py: Remove dead code around ccache base dir

5 years agoMerge branch 'bugfix/idf_py_fix_property_dict' into 'master'
Angus Gratton [Mon, 2 Sep 2019 00:51:13 +0000 (08:51 +0800)]
Merge branch 'bugfix/idf_py_fix_property_dict' into 'master'

idf.py: Fix PropertyDict implementation

See merge request espressif/esp-idf!5775

5 years agoMerge branch 'bugfix/secure_boot_ecdsa_config' into 'master'
Angus Gratton [Mon, 2 Sep 2019 00:31:18 +0000 (08:31 +0800)]
Merge branch 'bugfix/secure_boot_ecdsa_config' into 'master'

secure boot: Ensure mbedTLS enables ECDSA if signatures are checked in app

See merge request espressif/esp-idf!5960

5 years agoMerge branch 'doc/ncurses5_dependency_pr3236' into 'master'
Angus Gratton [Mon, 2 Sep 2019 00:25:22 +0000 (08:25 +0800)]
Merge branch 'doc/ncurses5_dependency_pr3236' into 'master'

docs: Explain ncurses5 for other distributions as well

Closes IDFGH-884

See merge request espressif/esp-idf!5966

5 years agoMerge branch 'bugfix/error_out_on_uninit_git' into 'master'
Angus Gratton [Fri, 30 Aug 2019 08:27:28 +0000 (16:27 +0800)]
Merge branch 'bugfix/error_out_on_uninit_git' into 'master'

cmake: fix build failure when git repo is initialized but no first commit

Closes IDFGH-1676

See merge request espressif/esp-idf!5914

5 years agoMerge branch 'bugfix/make_build_issue_if_build_dir_symlink' into 'master'
Angus Gratton [Fri, 30 Aug 2019 08:27:21 +0000 (16:27 +0800)]
Merge branch 'bugfix/make_build_issue_if_build_dir_symlink' into 'master'

ldgen: fix build issue on make when build dir is a symlink

Closes IDFGH-1340

See merge request espressif/esp-idf!5915

5 years agoMerge branch 'refactor/move_smartconfig_ack_to_wifi' into 'master'
Angus Gratton [Fri, 30 Aug 2019 08:27:11 +0000 (16:27 +0800)]
Merge branch 'refactor/move_smartconfig_ack_to_wifi' into 'master'

smartconfig: move smartconfig_ack to esp_wifi conponent

Closes IDFGH-1758

See merge request espressif/esp-idf!5881

5 years agoMerge branch 'bugfix/unicore_config_prevent_ipc_code' into 'master'
Angus Gratton [Fri, 30 Aug 2019 08:26:47 +0000 (16:26 +0800)]
Merge branch 'bugfix/unicore_config_prevent_ipc_code' into 'master'

ipc: prevent code getting pulled in for unicore configuration

See merge request espressif/esp-idf!5795

5 years agodocs: Explain ncurses5 for other distributions as well
joedeveloper [Sat, 30 Mar 2019 22:45:20 +0000 (05:45 +0700)]
docs: Explain ncurses5 for other distributions as well

Ran into ncurses5 dependency issue on popOS

stub section for covering libncurses 5 workarounds on distributions that need it, when only Arch was
mentioned it was too easy to skip over the section

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

5 years agombedtls: Make ECDHE-PSK config item depend on ECDHE
Angus Gratton [Fri, 30 Aug 2019 05:01:43 +0000 (15:01 +1000)]
mbedtls: Make ECDHE-PSK config item depend on ECDHE

5 years agosecure boot: Ensure mbedTLS enables ECDSA if signatures are checked in app
Angus Gratton [Thu, 29 Aug 2019 23:35:47 +0000 (09:35 +1000)]
secure boot: Ensure mbedTLS enables ECDSA if signatures are checked in app

and all ECDSA to be disabled if secure boot is not enabled

Previously if ECDSA disabled in config then secure_boot_signatures.c would
fail to build (whether or not secure boot was enabled).

To avoid breaking apps that might be using the signature scheme with custom OTA
without enabling secure boot signatures in config, this change just disables
this functionality if unavailable in mbedTLS config.

Possible fix for root cause of https://github.com/espressif/esp-idf/pull/3703

5 years agoMerge branch 'feature/enable_cfg_for_tls_asymmetric_content_length' into 'master'
Mahavir Jain [Thu, 29 Aug 2019 11:45:06 +0000 (19:45 +0800)]
Merge branch 'feature/enable_cfg_for_tls_asymmetric_content_length' into 'master'

mbedtls: keep asymmetric tls buffer length option enabled by default

See merge request espressif/esp-idf!5678

5 years agoLwIP: Make IP_PKTINFO support configurable
Jon Shallow [Wed, 28 Aug 2019 21:08:58 +0000 (22:08 +0100)]
LwIP: Make IP_PKTINFO support configurable

LwIP has support for IP_PKTINFO, but it cannot be activated as it is
not configurable. This fix adds in the ability to configure it.

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

5 years agosmartconfig: move smartconfig_ack to esp_wifi conponent
suda-morris [Fri, 23 Aug 2019 04:51:05 +0000 (12:51 +0800)]
smartconfig: move smartconfig_ack to esp_wifi conponent

5 years agoMerge branch 'bugfix/test_esp_efuse_table_on_host' into 'master'
Angus Gratton [Thu, 29 Aug 2019 02:15:47 +0000 (10:15 +0800)]
Merge branch 'bugfix/test_esp_efuse_table_on_host' into 'master'

CI: Fix path in the Efuse table test

See merge request espressif/esp-idf!5924

5 years agoMerge branch 'docs/update_system_examples_readmes' into 'master'
Angus Gratton [Thu, 29 Aug 2019 02:12:19 +0000 (10:12 +0800)]
Merge branch 'docs/update_system_examples_readmes' into 'master'

examples: Update system examples README

See merge request espressif/esp-idf!5755

5 years agoMerge branch 'bugfix/pass_esp_platform_to_early_expansion' into 'master'
Angus Gratton [Thu, 29 Aug 2019 02:09:51 +0000 (10:09 +0800)]
Merge branch 'bugfix/pass_esp_platform_to_early_expansion' into 'master'

CMake: Pass ESP_PLATFORM to early expansion

See merge request espressif/esp-idf!5932

5 years agoMerge branch 'bugfix/bootloader_factory_reset_with_wake_up_from_deep_sleep' into...
Angus Gratton [Thu, 29 Aug 2019 01:35:08 +0000 (09:35 +0800)]
Merge branch 'bugfix/bootloader_factory_reset_with_wake_up_from_deep_sleep' into 'master'

bootloader: Blocking the Factory reset during wake up from deep sleep

Closes IDFGH-1536

See merge request espressif/esp-idf!5673

5 years agoMerge branch 'bugfix/bootloader_efuse_build_regression' into 'master'
Angus Gratton [Thu, 29 Aug 2019 00:35:48 +0000 (08:35 +0800)]
Merge branch 'bugfix/bootloader_efuse_build_regression' into 'master'

bootloader: add definition of esp_clk_apb_freq

Closes IDFGH-1734

See merge request espressif/esp-idf!5913

5 years agoMerge branch 'bugfix/fix_the_bug_for_softap_set_authmode' into 'master'
Jiang Jiang Jian [Wed, 28 Aug 2019 11:05:00 +0000 (19:05 +0800)]
Merge branch 'bugfix/fix_the_bug_for_softap_set_authmode' into 'master'

wifi: fix the bug for softAP set authmode

Closes WIFI-449

See merge request espressif/esp-idf!5823

5 years agoexamples: Update system examples README
Darian Leung [Tue, 25 Jun 2019 18:41:19 +0000 (02:41 +0800)]
examples: Update system examples README

The following commit updates the first half of the the system
example README files. Some other changes were also made:

* Updated base_mac_address example
* Moved contents in GCOV README to GCOV docs
* Some *main.c file names updated
* Updated example README template

5 years agoipc: prevent code getting pulled in for unicore configuration
Mahavir Jain [Thu, 15 Aug 2019 07:05:59 +0000 (12:35 +0530)]
ipc: prevent code getting pulled in for unicore configuration

5 years agombedtls: keep asymmetric tls buffer length option enabled by default
Mahavir Jain [Tue, 30 Jul 2019 11:18:03 +0000 (16:48 +0530)]
mbedtls: keep asymmetric tls buffer length option enabled by default

5 years agocmake: fix build failure when git repo is initialized but no first commit
Renz Christian Bagaporo [Tue, 27 Aug 2019 01:24:17 +0000 (09:24 +0800)]
cmake: fix build failure when git repo is initialized but no first commit

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

5 years agoMake sure ESP_PLATFORM is defined when processing CMake files.
Per Malmberg [Tue, 20 Aug 2019 18:56:24 +0000 (20:56 +0200)]
Make sure ESP_PLATFORM is defined when processing CMake files.

5 years agoMerge branch 'bugfix/tools_shebang' into 'master'
Angus Gratton [Wed, 28 Aug 2019 01:07:52 +0000 (09:07 +0800)]
Merge branch 'bugfix/tools_shebang' into 'master'

Tools: Fix shebang for MacOs

See merge request espressif/esp-idf!5906

5 years agoMerge branch 'feature/deep_sleep_fast_wake' into 'master'
Angus Gratton [Wed, 28 Aug 2019 00:54:28 +0000 (08:54 +0800)]
Merge branch 'feature/deep_sleep_fast_wake' into 'master'

bootloader: Reduce the time spent in image validation when waking from deep sleep

See merge request espressif/esp-idf!5140

5 years agoMerge branch 'bugfix/btdm_fix_ble_data_loss_and_send_same_pkt_twice' into 'master'
Jiang Jiang Jian [Tue, 27 Aug 2019 10:48:45 +0000 (18:48 +0800)]
Merge branch 'bugfix/btdm_fix_ble_data_loss_and_send_same_pkt_twice' into 'master'

Component/bt: fix some BLE bugs

See merge request espressif/esp-idf!5896

5 years agobootloader: add definition of esp_clk_apb_freq
Ivan Grokhotkov [Mon, 26 Aug 2019 22:22:10 +0000 (00:22 +0200)]
bootloader: add definition of esp_clk_apb_freq

Commit 8cd04c80 has added a dependency of efuse component on
esp_clk_apb_freq, however there was no definition of this function in
the bootloader context.

Reported at https://esp32.com/viewtopic.php?f=13&t=12035

5 years agoFix path in the Efuse table test
Roland Dobai [Tue, 27 Aug 2019 09:58:45 +0000 (11:58 +0200)]
Fix path in the Efuse table test

5 years agoldgen: fix build issue on make when build dir is a symlink
Renz Christian Bagaporo [Tue, 27 Aug 2019 02:26:34 +0000 (10:26 +0800)]
ldgen: fix build issue on make when build dir is a symlink

Fixes an issue where build fails if the build directory is a symlink.
The issue is caused by the rule target and the final executable dependency
not matching.

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

5 years agoMerge branch 'feature/bat_scripts_to_ps1' into 'master'
Ivan Grokhotkov [Tue, 27 Aug 2019 05:45:50 +0000 (13:45 +0800)]
Merge branch 'feature/bat_scripts_to_ps1' into 'master'

Create Powershell versions of "install.bat" and "export.bat"

See merge request espressif/esp-idf!5816

5 years agotools: add install.ps1, export.ps1
Andrei Gramakov [Tue, 27 Aug 2019 05:45:50 +0000 (13:45 +0800)]
tools: add install.ps1, export.ps1

Closes IDF-855

5 years agoTools: Fix shebang for MacOs
Roland Dobai [Mon, 26 Aug 2019 11:32:23 +0000 (13:32 +0200)]
Tools: Fix shebang for MacOs

Revert a change introduced in d296aad2a99f16978031b1561a64927d771f76be
for intended compatibility with BSD which breaks the build on MacOs:
"clang: error: unknown argument: '-n'" for "echo".

BSD users will have to use some workaround since MacOs is a supported
OS of IDF and BSD is not.

5 years agoMerge branch 'bugfix/add_openocd_arm' into 'master'
Ivan Grokhotkov [Mon, 26 Aug 2019 11:36:22 +0000 (19:36 +0800)]
Merge branch 'bugfix/add_openocd_arm' into 'master'

Tools: Add OpenOCD for the ARM architecture

See merge request espressif/esp-idf!5878

5 years agoMerge branch 'bugfix/reset_periph_modules' into 'master'
Angus Gratton [Mon, 26 Aug 2019 08:38:23 +0000 (16:38 +0800)]
Merge branch 'bugfix/reset_periph_modules' into 'master'

driver: Add a reset before enabling if a module is off

Closes IDF-188

See merge request espressif/esp-idf!4843

5 years agoComponent/bt: fix dome BLE bugs
zhiweijian [Mon, 26 Aug 2019 03:19:23 +0000 (11:19 +0800)]
Component/bt: fix dome BLE bugs
- fix data loss and send same pkt twice sometimes
- fix adv data error in air sometimes
- fix adv start/stop crash sometimes

5 years agoMerge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size' into 'master'
Jiang Jiang Jian [Mon, 26 Aug 2019 06:08:22 +0000 (14:08 +0800)]
Merge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size' into 'master'

bugfix/btdm_security_vulnerability_on_encryption_key_size

See merge request espressif/esp-idf!5868

5 years agoMerge branch 'bugfix/confgen_msys_path' into 'master'
Angus Gratton [Mon, 26 Aug 2019 01:35:33 +0000 (09:35 +0800)]
Merge branch 'bugfix/confgen_msys_path' into 'master'

Fix sdkconfig.rename paths for confgen.py in MSYS

Closes IDFGH-1712

See merge request espressif/esp-idf!5864

5 years agoapp_update: Fix UTs for FACTORY_RESET and APP_TEST
KonstantinKondrashov [Wed, 31 Jul 2019 14:35:23 +0000 (22:35 +0800)]
app_update: Fix UTs for FACTORY_RESET and APP_TEST

5 years agobootloader: Factory reset not for deep sleep
KonstantinKondrashov [Wed, 31 Jul 2019 14:31:58 +0000 (22:31 +0800)]
bootloader: Factory reset not for deep sleep

Closes: https://github.com/espressif/esp-idf/issues/3800
Closes: IDFGH-1536
5 years agoMerge branch 'bugfix/wps_workaround_for_Telstra_AP' into 'master'
Jiang Jiang Jian [Fri, 23 Aug 2019 09:32:46 +0000 (17:32 +0800)]
Merge branch 'bugfix/wps_workaround_for_Telstra_AP' into 'master'

wps: Relax the check on older config methods in case of WPS2.0

See merge request espressif/esp-idf!5781

5 years agoMerge branch 'doc/cbor_copyright' into 'master'
Angus Gratton [Fri, 23 Aug 2019 07:49:10 +0000 (15:49 +0800)]
Merge branch 'doc/cbor_copyright' into 'master'

docs: Add TinyCBOR copyright line

See merge request espressif/esp-idf!5880

5 years agowifi: fix the bug for softAP set authmode
zhangyanjiao [Fri, 23 Aug 2019 06:37:08 +0000 (14:37 +0800)]
wifi: fix the bug for softAP set authmode

5 years agoMerge branch 'bugfix/fix_code_snippet_in_http_server_docs' into 'master'
Mahavir Jain [Fri, 23 Aug 2019 06:26:03 +0000 (14:26 +0800)]
Merge branch 'bugfix/fix_code_snippet_in_http_server_docs' into 'master'

Fixed syntax error in esp_http_server.rst

See merge request espressif/esp-idf!5844

5 years agoMerge branch 'bugfix/cmake_src_exclude_issue' into 'master'
Mahavir Jain [Fri, 23 Aug 2019 06:21:16 +0000 (14:21 +0800)]
Merge branch 'bugfix/cmake_src_exclude_issue' into 'master'

cmake: fix issue with handling of EXCLUDE_SRCS

See merge request espressif/esp-idf!5869

5 years agoMerge branch 'bugfix/flash_encryption_regressions' into 'master'
Angus Gratton [Fri, 23 Aug 2019 04:37:55 +0000 (12:37 +0800)]
Merge branch 'bugfix/flash_encryption_regressions' into 'master'

fix flash encryption regressions, add tests

Closes IDFGH-1538, IDFGH-1661, and IDF-770

See merge request espressif/esp-idf!5634

5 years agospi_flash: remove duplicate definition of spi_flash_unlock
Ivan Grokhotkov [Fri, 23 Aug 2019 04:37:55 +0000 (12:37 +0800)]
spi_flash: remove duplicate definition of spi_flash_unlock

The other (static) definition is in flash_ops.c, all references are
also in flash_ops.c.

5 years agoMerge branch 'bugfix/openocd_ulp_install_instructions' into 'master'
Angus Gratton [Fri, 23 Aug 2019 01:38:47 +0000 (09:38 +0800)]
Merge branch 'bugfix/openocd_ulp_install_instructions' into 'master'

docs: ulp: update for IDF Tools installation method

Closes IDF-825

See merge request espressif/esp-idf!5860

5 years agocomponents/bt: set the minimum encryption key size to be 7 octects for BR/EDR link...
wangmengyang [Fri, 23 Aug 2019 00:26:15 +0000 (08:26 +0800)]
components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link for preventing KNOB attack

This patch is to address the CVE-2019-9506 vulnerability.

5 years agodocs: Add TinyCBOR copyright line
Angus Gratton [Thu, 22 Aug 2019 23:20:08 +0000 (09:20 +1000)]
docs: Add TinyCBOR copyright line

5 years agoMerge branch 'feature/add_tinycbor_library' into 'master'
Angus Gratton [Thu, 22 Aug 2019 23:14:19 +0000 (07:14 +0800)]
Merge branch 'feature/add_tinycbor_library' into 'master'

add tinycbor library and example

See merge request espressif/esp-idf!5794

5 years agoTools: Add OpenOCD for the ARM architecture
Roland Dobai [Thu, 22 Aug 2019 14:10:17 +0000 (16:10 +0200)]
Tools: Add OpenOCD for the ARM architecture

5 years agoMerge branch 'doc/update_ulp_install_translation' into 'bugfix/openocd_ulp_install_in...
Ivan Grokhotkov [Thu, 22 Aug 2019 11:45:02 +0000 (19:45 +0800)]
Merge branch 'doc/update_ulp_install_translation' into 'bugfix/openocd_ulp_install_instructions'

update translation of ulp install instuctions

See merge request espressif/esp-idf!5862

5 years agoFix sdkconfig.rename paths for confgen.py in MSYS
Roland Dobai [Wed, 21 Aug 2019 14:45:01 +0000 (16:45 +0200)]
Fix sdkconfig.rename paths for confgen.py in MSYS

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

5 years agocbor: add tinycbor library and example
suda-morris [Mon, 12 Aug 2019 14:07:47 +0000 (22:07 +0800)]
cbor: add tinycbor library and example

5 years agocmake: fix issue with handling of EXCLUDE_SRCS
Mahavir Jain [Thu, 22 Aug 2019 07:47:10 +0000 (13:17 +0530)]
cmake: fix issue with handling of EXCLUDE_SRCS

5 years agoMerge branch 'bugfix/fix_project_ver_issue' into 'master'
Angus Gratton [Thu, 22 Aug 2019 02:47:06 +0000 (10:47 +0800)]
Merge branch 'bugfix/fix_project_ver_issue' into 'master'

CMake: fix retrieving PROJECT_VER

See merge request espressif/esp-idf!5842

5 years agodoc: update translation of ulp install instuctions
suda-morris [Wed, 21 Aug 2019 13:52:48 +0000 (21:52 +0800)]
doc: update translation of ulp install instuctions

5 years agoMerge branch 'feature/wifi_use_new_event_api' into 'master'
Jiang Jiang Jian [Wed, 21 Aug 2019 13:12:28 +0000 (21:12 +0800)]
Merge branch 'feature/wifi_use_new_event_api' into 'master'

esp_wifi/event: wifi use new event api

Closes WIFI-696

See merge request espressif/esp-idf!5454

5 years agodocs: ulp: update for IDF Tools installation method
Ivan Grokhotkov [Wed, 21 Aug 2019 12:45:33 +0000 (14:45 +0200)]
docs: ulp: update for IDF Tools installation method

binutils-esp32ulp is installed automatically by install.sh/install.bat
or the IDF Tools Installer for Windows.

5 years agobootloader: API for the fast wakeup and custom using RTC mem
KonstantinKondrashov [Fri, 5 Jul 2019 10:18:58 +0000 (18:18 +0800)]
bootloader: API for the fast wakeup and custom using RTC mem

Added "Reserve RTC FAST memory for custom purposes" option.
Added a boot counter.

5 years agodocs: Add a description of the fast wakeup
KonstantinKondrashov [Fri, 5 Jul 2019 10:11:33 +0000 (18:11 +0800)]
docs: Add a description of the fast wakeup

5 years agoexamples: Add the fast wakeup option for deep sleep examples
KonstantinKondrashov [Fri, 5 Jul 2019 10:05:35 +0000 (18:05 +0800)]
examples: Add the fast wakeup option for deep sleep examples

The CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP option is enabled
by default for the following examples:
 - system/deep_sleep,
 - system/ulp,
 - system/ulp_adc.

5 years agobootloader: Support for skipping validation upon wake from deep sleep
Tim Nordell [Fri, 12 Apr 2019 20:32:47 +0000 (15:32 -0500)]
bootloader: Support for skipping validation upon wake from deep sleep

This saves time when waking up from deep sleep, but potentially decreases
the security of the system.  If the application able to modify itself
(especially areas that are loaded into RAM) in flash while running
without crashing or is modifies the cached bits of information about
what was last booted from the bootloader, this could cause security
issues if the user does a "deep sleep reset" since the full validation
is skipped.

Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
5 years agobootloader: Do not obfuscate RAM if we are not doing image validation
Tim Nordell [Fri, 12 Apr 2019 20:34:46 +0000 (15:34 -0500)]
bootloader: Do not obfuscate RAM if we are not doing image validation

No need to take this step if we are not doing image validation.  The
obfuscation only buys us a tiny bit of "security" anyways since the
main parts of flash are memory mapped, too.  This saves a little bit of
wake-up time when waking up from deep sleep when the
BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP option is set.

Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
5 years agobootloader: Remove extraneous newlines from some debug statements
Tim Nordell [Fri, 12 Apr 2019 20:35:34 +0000 (15:35 -0500)]
bootloader: Remove extraneous newlines from some debug statements

ESP_LOGD(...) provides its own new lines so remove these from these
debug strings.

Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
5 years agoMerge branch 'nimble/misc_menuconfig_options' into 'master'
Mahavir Jain [Wed, 21 Aug 2019 11:28:47 +0000 (19:28 +0800)]
Merge branch 'nimble/misc_menuconfig_options' into 'master'

NimBLE: Add misc menuconfig options

See merge request espressif/esp-idf!5843

5 years agoNimBLE: Add misc menuconfig options
Prasad Alatkar [Wed, 21 Aug 2019 11:28:47 +0000 (19:28 +0800)]
NimBLE: Add misc menuconfig options

- Add option to configure stack size of NimBLE host task, update NimBLE
  submodule for the same.
- Change max concurrent connections supported to 9 inline with controller.

5 years agoMerge branch 'Bugfix/nonblocking_udp_is_zero' into 'master'
Jiang Jiang Jian [Wed, 21 Aug 2019 08:44:11 +0000 (16:44 +0800)]
Merge branch 'Bugfix/nonblocking_udp_is_zero' into 'master'

fix bug for nonblocking udp is zero

Closes WIFI-756

See merge request espressif/esp-idf!5792

5 years agoMerge branch 'update/cjson_v1_7_12' into 'master'
Angus Gratton [Wed, 21 Aug 2019 08:40:35 +0000 (16:40 +0800)]
Merge branch 'update/cjson_v1_7_12' into 'master'

Update cJSON to v1.7.12

See merge request espressif/esp-idf!5776

5 years agoMerge branch 'bugfix_kconfig_deps_missing' into 'master'
Angus Gratton [Wed, 21 Aug 2019 08:19:59 +0000 (16:19 +0800)]
Merge branch 'bugfix_kconfig_deps_missing' into 'master'

kconfig: Add -MP option so .d files include empty targets

See merge request espressif/esp-idf!5820

5 years agoMerge branch 'feature/freebsd_build_system' into 'master'
Angus Gratton [Wed, 21 Aug 2019 08:18:47 +0000 (16:18 +0800)]
Merge branch 'feature/freebsd_build_system' into 'master'

build systems: Changes to work on FreeBSD

Closes IDFGH-1657

See merge request espressif/esp-idf!5821

5 years agoMerge branch 'bugfix/esp_timer_null_checks' into 'master'
Angus Gratton [Wed, 21 Aug 2019 08:17:15 +0000 (16:17 +0800)]
Merge branch 'bugfix/esp_timer_null_checks' into 'master'

esp_timer: Add parameter NULL checks to public API

See merge request espressif/esp-idf!5804

5 years agoFixed syntax error in esp_http_server.rst
Michael [Mon, 19 Aug 2019 17:46:47 +0000 (19:46 +0200)]
Fixed syntax error in esp_http_server.rst

Changed the "const char[] name" into "const char name[]", so now the code doesn't produce the "expected identifier or '(' before '[' token" error.

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

5 years agocmake: make default version 1
Renz Christian Bagaporo [Wed, 21 Aug 2019 04:43:19 +0000 (12:43 +0800)]
cmake: make default version 1

5 years agocmake: fix issue with checking build process args
Renz Christian Bagaporo [Wed, 21 Aug 2019 04:00:55 +0000 (12:00 +0800)]
cmake: fix issue with checking build process args

5 years agofix bug for nonblocking udp is zero
xueyunfei [Thu, 15 Aug 2019 03:17:15 +0000 (11:17 +0800)]
fix bug for nonblocking udp is zero

5 years agoMerge branch 'bugfix/openocd_ulp_install_instructions' into 'master'
Ivan Grokhotkov [Tue, 20 Aug 2019 13:34:45 +0000 (21:34 +0800)]
Merge branch 'bugfix/openocd_ulp_install_instructions' into 'master'

docs: jtag-debugging: update for IDF Tools installation method

Closes IDF-824

See merge request espressif/esp-idf!5803

5 years agodocs: jtag-debugging: update translation
suda-morris [Fri, 16 Aug 2019 07:34:49 +0000 (15:34 +0800)]
docs: jtag-debugging: update translation

5 years agodocs: jtag-debugging: update for IDF Tools installation method
Ivan Grokhotkov [Thu, 15 Aug 2019 16:37:52 +0000 (18:37 +0200)]
docs: jtag-debugging: update for IDF Tools installation method

- rely on OPENOCD_SCRIPTS variable in all cases, remove -s flags
- replace installation section with a reference to the Getting Started
  guides
- add Windows-specific commands in a few cases

5 years agoMerge branch 'feature/ulp_macro_updates' into 'master'
Ivan Grokhotkov [Tue, 20 Aug 2019 12:40:09 +0000 (20:40 +0800)]
Merge branch 'feature/ulp_macro_updates' into 'master'

ulp: updates for ULP macros (PRs from Github)

Closes IDFGH-1492

See merge request espressif/esp-idf!5801

5 years agowps: Relax the check on older config methods in case of WPS2.0
Nachiket Kukade [Fri, 9 Aug 2019 11:49:37 +0000 (17:19 +0530)]
wps: Relax the check on older config methods in case of WPS2.0

Some APs incorrectly advertize newer WPS2.0 config method bits
without setting bits for the corresponding older methods. This
results in failures during 8-way handshake. Add a workaround to
relax this check so that WPS handshake can proceed.

5 years agoesp_wifi: wifi support new event mechanism
liu zhifu [Fri, 5 Jul 2019 08:58:04 +0000 (16:58 +0800)]
esp_wifi: wifi support new event mechanism

1. WiFi support new event mechanism
2. Update examples to use new event mechanism

5 years agoMerge branch 'bugfix/newlib_time_test' into 'master'
Ivan Grokhotkov [Tue, 20 Aug 2019 08:24:30 +0000 (16:24 +0800)]
Merge branch 'bugfix/newlib_time_test' into 'master'

newlib: Fix UT - test time adjustment happens linearly

See merge request espressif/esp-idf!5712

5 years agoMerge branch 'bugfix/set_mconf_idf_build_dir' into 'master'
Angus Gratton [Tue, 20 Aug 2019 05:10:36 +0000 (13:10 +0800)]
Merge branch 'bugfix/set_mconf_idf_build_dir' into 'master'

cmake: set build dir for mconf-idf

See merge request espressif/esp-idf!5819

5 years agoMerge branch 'feat/idf_py_set_target' into 'master'
Angus Gratton [Tue, 20 Aug 2019 04:30:50 +0000 (12:30 +0800)]
Merge branch 'feat/idf_py_set_target' into 'master'

idf_py: support new command set-target

See merge request espressif/esp-idf!5785

5 years agoMerge branch 'doc/bootloader_zh_CN' into 'master'
Krzysztof Budzynski [Mon, 19 Aug 2019 21:14:17 +0000 (05:14 +0800)]
Merge branch 'doc/bootloader_zh_CN' into 'master'

zh_CN translation of bootloader document

See merge request espressif/esp-idf!4746

5 years agoMerge branch 'cleanup/make_supp_headers_private' into 'master'
Jiang Jiang Jian [Mon, 19 Aug 2019 09:11:34 +0000 (17:11 +0800)]
Merge branch 'cleanup/make_supp_headers_private' into 'master'

wpa_supplicant: Make internally used crypto headers private

Closes IDF-476

See merge request espressif/esp-idf!5666

5 years agobuild systems: Changes to work on FreeBSD
Tomoyuki Sakurai [Sun, 18 Aug 2019 05:30:48 +0000 (14:30 +0900)]
build systems: Changes to work on FreeBSD

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

5 years agoMerge branch 'feature/cmake_check_mconf_version' into 'master'
Angus Gratton [Mon, 19 Aug 2019 05:08:33 +0000 (13:08 +0800)]
Merge branch 'feature/cmake_check_mconf_version' into 'master'

cmake: check mconf-idf binary version

Closes IDF-835

See merge request espressif/esp-idf!5799

5 years agoMerge branch 'feat/idf_monitor_event_queue_block' into 'master'
Angus Gratton [Mon, 19 Aug 2019 05:06:31 +0000 (13:06 +0800)]
Merge branch 'feat/idf_monitor_event_queue_block' into 'master'

idf_monitor: fix the bug that idf_monitor not blocked when no log printed

See merge request espressif/esp-idf!5805

5 years agozh_CN translation of bootloader document
suda-morris [Tue, 9 Apr 2019 08:35:58 +0000 (16:35 +0800)]
zh_CN translation of bootloader document

5 years agoMerge branch 'bugfix/remove_transport_strcasestr' into 'master'
Angus Gratton [Mon, 19 Aug 2019 02:36:32 +0000 (10:36 +0800)]
Merge branch 'bugfix/remove_transport_strcasestr' into 'master'

tcp_transport: replace transport_strcasestr with strcasestr

Closes IDF-548

See merge request espressif/esp-idf!5802

5 years agokconfig: Add -MP option so .d files include empty targets
Angus Gratton [Mon, 19 Aug 2019 01:42:39 +0000 (11:42 +1000)]
kconfig: Add -MP option so .d files include empty targets

Prevents make-level errors when switching IDF versions, as headers may be removed.

Similar to some mentioned here:
https://github.com/espressif/esp-idf/issues/712

5 years agoMerge branch 'bugfix/confserver_temporaryfile_windows' into 'master'
Angus Gratton [Mon, 19 Aug 2019 00:23:02 +0000 (08:23 +0800)]
Merge branch 'bugfix/confserver_temporaryfile_windows' into 'master'

confserver: Fix NamedTemporaryFile use on Windows

See merge request espressif/esp-idf!5814

5 years agowpa_supplicant: Make internally used crypto headers private
Nachiket Kukade [Tue, 6 Aug 2019 11:40:16 +0000 (17:10 +0530)]
wpa_supplicant: Make internally used crypto headers private

A lot of internally used crypto headers are publicly includeable
in user projects. This leads to bug reports when these headers
are incorrectly used or the API's are not used as intended.

Move all crypto headers into private crypto src folder, also move
crypto_ops into Supplicant to remove dependecy on crypto headers.

Closes IDF-476

5 years agoidf_py: support new command set-target
Michael (XIAO Xufeng) [Wed, 14 Aug 2019 13:19:06 +0000 (21:19 +0800)]
idf_py: support new command set-target

Instead of using -DIDF_TARGET, this command is more intuitive:

1. Can limit the choice of targets
2. Easy to understand this is a destructive command
3. Easy to remember, and have an entry in the --help menu

5 years agoidf_monitor: fix the bug that idf_monitor not blocked when no log printed
Michael (XIAO Xufeng) [Fri, 16 Aug 2019 03:24:57 +0000 (11:24 +0800)]
idf_monitor: fix the bug that idf_monitor not blocked when no log printed

Inspired by @no1seman, @negativekelvin and @pglen on Github. (In post oder)

Resolves https://github.com/espressif/esp-idf/issues/3884