]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoadd chinese translation for timer.rst in api-reference folder
Hao Ning [Wed, 4 Sep 2019 09:09:13 +0000 (17:09 +0800)]
add chinese translation for timer.rst in api-reference folder

5 years agoMerge branch 'bugfix/idf_py_ccache_options' into 'master'
Angus Gratton [Tue, 3 Sep 2019 04:56:20 +0000 (12:56 +0800)]
Merge branch 'bugfix/idf_py_ccache_options' into 'master'

idf.py: Add way to enable CCache by default, remove dead CCache options code

Closes IDF-948

See merge request espressif/esp-idf!5971

5 years agoMerge branch 'bugfix/cmake_bootloader_python' into 'master'
Angus Gratton [Tue, 3 Sep 2019 04:55:58 +0000 (12:55 +0800)]
Merge branch 'bugfix/cmake_bootloader_python' into 'master'

build system: Pass Python executable through to bootloader build

See merge request espressif/esp-idf!5956

5 years agoMerge branch 'bugfix/hide_component_internal_targets' into 'master'
Angus Gratton [Tue, 3 Sep 2019 01:24:34 +0000 (09:24 +0800)]
Merge branch 'bugfix/hide_component_internal_targets' into 'master'

cmake: hide component internal targets

See merge request espressif/esp-idf!5866

5 years agoMerge branch 'bugfix/err_code_collision' into 'master'
Angus Gratton [Tue, 3 Sep 2019 00:30:40 +0000 (08:30 +0800)]
Merge branch 'bugfix/err_code_collision' into 'master'

Fix error code collisions and re-enable CI check

Closes IDF-832

See merge request espressif/esp-idf!5923

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 agoMerge branch 'bugfix/btdm_linking_fail_with_toolchain_8.2.0' into 'master'
Jiang Jiang Jian [Mon, 2 Sep 2019 14:21:59 +0000 (22:21 +0800)]
Merge branch 'bugfix/btdm_linking_fail_with_toolchain_8.2.0' into 'master'

components/bt: Fix linking fail with toolchain 8.2.0

See merge request espressif/esp-idf!5782

5 years agoMerge branch 'bugfix/btdm_remove_unused_macro_in_menuconfig' into 'master'
Jiang Jiang Jian [Mon, 2 Sep 2019 14:20:49 +0000 (22:20 +0800)]
Merge branch 'bugfix/btdm_remove_unused_macro_in_menuconfig' into 'master'

components/bt: Remove unused macro in menuconfig

See merge request espressif/esp-idf!5950

5 years agoMerge branch 'doc/add_ble_mesh_example_description' into 'master'
Jiang Jiang Jian [Mon, 2 Sep 2019 06:28:58 +0000 (14:28 +0800)]
Merge branch 'doc/add_ble_mesh_example_description' into 'master'

ble_mesh: add ble mesh example description

See merge request espressif/esp-idf!5711

5 years agoMerge branch 'bugfix/coex_bb_reset_lock' into 'master'
Jiang Jiang Jian [Mon, 2 Sep 2019 06:25:50 +0000 (14:25 +0800)]
Merge branch 'bugfix/coex_bb_reset_lock' into 'master'

fix bug that wifi start/stop may cause crash

See merge request espressif/esp-idf!5968

5 years agoMerge branch 'test/use_correct_config_for_nvs_compatible_case' into 'master'
Jiang Jiang Jian [Mon, 2 Sep 2019 04:40:38 +0000 (12:40 +0800)]
Merge branch 'test/use_correct_config_for_nvs_compatible_case' into 'master'

test: fix nvs compatible case error:

See merge request espressif/esp-idf!5890

5 years agoMerge branch 'test/fix_mesh_test_case' into 'master'
Jiang Jiang Jian [Mon, 2 Sep 2019 04:38:38 +0000 (12:38 +0800)]
Merge branch 'test/fix_mesh_test_case' into 'master'

test: fix test case MESH_EST_2403

See merge request espressif/esp-idf!5813

5 years agoble_mesh: add ble mesh example description
lly [Wed, 7 Aug 2019 08:33:42 +0000 (16:33 +0800)]
ble_mesh: add ble mesh example description

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 agofix some coex bugs
Tian Hao [Fri, 30 Aug 2019 13:18:34 +0000 (21:18 +0800)]
fix some coex bugs

1. fix the bug that bb reset lock unhandled may cause assert in vPortCPUReleaseMutexIntsDisabledInternal
2. fix wifi mac reset may blocking then cause wdt timeout
3. fix bug wifi mac reset before coex init

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 agocomponents/bt: Remove unused macro in menuconfig
baohongde [Thu, 29 Aug 2019 11:58:05 +0000 (19:58 +0800)]
components/bt: Remove unused macro in menuconfig

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 agobuild system: Pass Python executable through to bootloader build
Angus Gratton [Thu, 29 Aug 2019 08:53:16 +0000 (18:53 +1000)]
build system: Pass Python executable through to bootloader build

Fixes failures if the PYTHON cache setting doesn't match the
default of "python" on the PATH.

5 years agoFix error code collision and CI check
Roland Dobai [Tue, 27 Aug 2019 09:12:49 +0000 (11:12 +0200)]
Fix error code collision and CI check

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 agotest: fix nvs compatible case error:
He Yin Ling [Sun, 25 Aug 2019 06:09:17 +0000 (14:09 +0800)]
test: fix nvs compatible case error:

nvs compatible test case uses new test env and app. update test config
file.

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 agocmake: hide internal targets
Renz Christian Bagaporo [Thu, 22 Aug 2019 01:38:33 +0000 (09:38 +0800)]
cmake: hide internal targets

Use imported library, which does not create additional rules, but still
allows attaching arbitraty properties instead of custom targets. This
allows the targets to not appear in the target list of IDEs such as
CLion.

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