]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoMerge branch 'doc/review_api-ref_periph-sdspi_host' into 'master'
Krzysztof Budzynski [Mon, 9 Sep 2019 11:59:56 +0000 (19:59 +0800)]
Merge branch 'doc/review_api-ref_periph-sdspi_host' into 'master'

Review the file api-reference/peripherals/sdspi_host.rst

See merge request espressif/esp-idf!5732

5 years agoReview the file api-reference/peripherals/sdspi_host.rst
Kirill Chalov [Thu, 8 Aug 2019 12:15:48 +0000 (20:15 +0800)]
Review the file api-reference/peripherals/sdspi_host.rst

5 years agoMerge branch 'bugfix/mbedtls_client_only_config_build_failure' into 'master'
Mahavir Jain [Fri, 6 Sep 2019 13:12:04 +0000 (21:12 +0800)]
Merge branch 'bugfix/mbedtls_client_only_config_build_failure' into 'master'

Fix build issues in coap library with mbedtls client only config

See merge request espressif/esp-idf!5955

5 years agoMerge branch 'doc/add_Chinese_translation_to_README_files_in_components_and_tools_fol...
Krzysztof Budzynski [Fri, 6 Sep 2019 12:18:20 +0000 (20:18 +0800)]
Merge branch 'doc/add_Chinese_translation_to_README_files_in_components_and_tools_folders_1st_batch' into 'master'

Add Chinese translation for storage documents linked to README files in components and tools folders (1st batch)

See merge request espressif/esp-idf!5620

5 years agoAdd Chinese translation for README files in components and tools folders, including:
Wang Fang [Fri, 6 Sep 2019 12:18:19 +0000 (20:18 +0800)]
Add Chinese translation for README files in components and tools folders, including:

1. components/nvs_flash/nvs_partition_generator/README_CN.rst
2. components/wear_levelling/README_CN.rst
3. tools/mass_mfg/docs/README_CN.rst

5 years agoMerge branch 'doc/add_Chinese_translation_to_rst_files_in_storage_folder_1st_batch...
Krzysztof Budzynski [Fri, 6 Sep 2019 11:12:37 +0000 (19:12 +0800)]
Merge branch 'doc/add_Chinese_translation_to_rst_files_in_storage_folder_1st_batch' into 'master'

Doc/add chinese translation to rst files in storage folder 1st batch

See merge request espressif/esp-idf!5613

5 years agoAdd Chinese translation for the rst documents in storage folder, including:
Wang Fang [Fri, 6 Sep 2019 11:12:36 +0000 (19:12 +0800)]
Add Chinese translation for the rst documents in storage folder, including:

1. docs/zh_CN/api-reference/storage/fatfs.rst
2. docs/zh_CN/api-reference/storage/index.rst
3. docs/zh_CN/api-reference/storage/sdmmc.rst
4. docs/zh_CN/api-reference/storage/spiffs.rst
5. docs/zh_CN/api-reference/storage/wear-levelling.rst

5 years agoFix libcoap building with various MbedTLS compile time options
Jon Shallow [Wed, 28 Aug 2019 09:03:17 +0000 (10:03 +0100)]
Fix libcoap building with various MbedTLS compile time options

components/coap/port/coap_mbedtls.c:

Add in additional compile time check wrappers for different MbedTLS
configurations.

components/coap/CMakeLists.txt:
components/coap/component.mk:
components/coap/port/coap_notls.c:
components/coap/port/include/coap_config_posix.h:

Add in the ability to compile and run if MbedTLS does not have any TLS
mode enabled.

examples/protocols/coap_client/main/coap_client_example_main.c:

Inform user that MbedTLS Client Mode is required for DTLS if not enabled,
and coaps:// has been requested.
[Lower libcoap library will still error and report this condition]

examples/protocols/coap_server/main/coap_server_example_main.c:

Inform user that MbedTLS Server Mode is required for DTLS if not enabled.
[Lower libcoap library will still error and report this condition]

Closes https://github.com/espressif/esp-idf/issues/3961
Closes https://github.com/espressif/esp-idf/issues/3971
Closes https://github.com/espressif/esp-idf/pull/3977

5 years agoMerge branch 'fix/add_parentheses_to_spi_swap_data_tx' into 'master'
Angus Gratton [Fri, 6 Sep 2019 08:04:56 +0000 (16:04 +0800)]
Merge branch 'fix/add_parentheses_to_spi_swap_data_tx' into 'master'

spi: Put argument of macro SPI_SWAP_DATA_TX in parentheses

See merge request espressif/esp-idf!5982

5 years agoMerge branch 'bugfix/ethernet_rx_length_check' into 'master'
Angus Gratton [Fri, 6 Sep 2019 07:39:20 +0000 (15:39 +0800)]
Merge branch 'bugfix/ethernet_rx_length_check' into 'master'

ethernet: bugfix and optimize

Closes IDF-864, IDF-865, IDF-866, and IDF-867

See merge request espressif/esp-idf!5944

5 years agoMerge branch 'feature/coredump_data_in_elf_format_cpu_cache_enable' into 'master'
Angus Gratton [Fri, 6 Sep 2019 07:37:56 +0000 (15:37 +0800)]
Merge branch 'feature/coredump_data_in_elf_format_cpu_cache_enable' into 'master'

espcoredump: Enable cpu cache in panic handler for core dump

See merge request espressif/esp-idf!5496

5 years agoespcoredump: fix issue with spi_flash access
Alex Lisitsyn [Fri, 6 Sep 2019 07:37:55 +0000 (15:37 +0800)]
espcoredump: fix issue with spi_flash access

spi_flash has been updated and its functions work from flash by default instead of IRAM that cause issue
add Kconfig value into espcoredump to enable spi_flash legacy mode (CONFIG_SPI_FLASH_USE_LEGACY_IMPL) when core dump is selected
fix spi_flash issues to work correctly with legacy mode when CONFIG_SPI_FLASH_USE_LEGACY_IMPL is used

5 years agoMerge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail' into 'master'
Jiang Jiang Jian [Fri, 6 Sep 2019 06:34:47 +0000 (14:34 +0800)]
Merge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail' into 'master'

fix the bug for WPA_WPA2_PSK connection fail

See merge request espressif/esp-idf!6009

5 years agoMerge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack' into 'master'
Jiang Jiang Jian [Fri, 6 Sep 2019 06:29:45 +0000 (14:29 +0800)]
Merge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack' into 'master'

bugfix/btdm_a2dp_sink_media_suspend_cmd_unack

See merge request espressif/esp-idf!5937

5 years agoMerge branch 'bugfix/rom_miniz_notes' into 'master'
Jiang Jiang Jian [Fri, 6 Sep 2019 06:18:57 +0000 (14:18 +0800)]
Merge branch 'bugfix/rom_miniz_notes' into 'master'

rom: Add warnings for miniz functions that won't work due to missing malloc

Closes IDFGH-1814

See merge request espressif/esp-idf!6012

5 years agoMerge branch 'bugfix/http_header_parser_resolution' into 'master'
Mahavir Jain [Fri, 6 Sep 2019 03:02:37 +0000 (11:02 +0800)]
Merge branch 'bugfix/http_header_parser_resolution' into 'master'

esp_http_server : Bugfix in parsing of empty header values

Closes IDFGH-1539

See merge request espressif/esp-idf!5663

5 years agoesp_http_server : Bugfix in parsing of empty header values
Chinmay Chhajed [Fri, 6 Sep 2019 03:02:36 +0000 (11:02 +0800)]
esp_http_server : Bugfix in parsing of empty header values

This MR is intended to fix incorrect parsing of HTTP requests when empty header values are present.

The issue is was due to asymmetric behavior of `http_parser` library, which in case of:

    non-empty header values : invokes callbacks with the pointer to the start of a value
    empty header values : invokes callbacks with pointer to the start of next header or section

Since HTTP server relies on this pointer (along with length of the value) to locate the end of a value, and replace the line terminators (CRLFs) with null characters, the second case needed to be handled correctly.

Closes IDFGH-1539

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

5 years agorom: Add warnings for miniz functions that won't work due to missing malloc
Angus Gratton [Fri, 6 Sep 2019 01:01:34 +0000 (11:01 +1000)]
rom: Add warnings for miniz functions that won't work due to missing malloc

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

5 years agofix the bug that STA fails to connect WPA_WPA2_PSK Apple AP
zhangyanjiao [Thu, 5 Sep 2019 12:20:42 +0000 (20:20 +0800)]
fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP

5 years agoMerge branch 'bugfix/btdm_crash_in_sket_ist' into 'master'
Jiang Jiang Jian [Thu, 5 Sep 2019 04:01:35 +0000 (12:01 +0800)]
Merge branch 'bugfix/btdm_crash_in_sket_ist' into 'master'

Fix 2 bugs in r_ld_fm_sket_isr

See merge request espressif/esp-idf!5946

5 years agoMerge branch 'bugfix/btdm_config_but_task_size_fail' into 'master'
Jiang Jiang Jian [Thu, 5 Sep 2019 03:26:50 +0000 (11:26 +0800)]
Merge branch 'bugfix/btdm_config_but_task_size_fail' into 'master'

Use CONFIG value instead of hard-coded value.

See merge request espressif/esp-idf!5961

5 years agoMerge branch 'doc/add_chinese_translation_for_timer_in_api-reference_folder' into...
Krzysztof Budzynski [Wed, 4 Sep 2019 09:09:13 +0000 (17:09 +0800)]
Merge branch 'doc/add_chinese_translation_for_timer_in_api-reference_folder' into 'master'

add chinese translation for timer.rst in api-reference folder

See merge request espressif/esp-idf!5692

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 agospi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses
Martin Thierer [Sun, 1 Sep 2019 19:41:34 +0000 (21:41 +0200)]
spi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses

Close https://github.com/espressif/esp-idf/pull/3996

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 agoethernet: bugfix and optimize
suda-morris [Wed, 28 Aug 2019 08:04:50 +0000 (16:04 +0800)]
ethernet: bugfix and optimize

1. check frame length before pass to stack
2. replace semaphore with task notify

5 years agocomponents/bt: Rename some macros
baohongde [Fri, 30 Aug 2019 02:58:28 +0000 (10:58 +0800)]
components/bt: Rename some macros

5 years agoUse CONFIG value instead of hard-coded value.
Zac Bond [Wed, 28 Aug 2019 21:30:07 +0000 (17:30 -0400)]
Use CONFIG value instead of hard-coded value.

Add intermediate defines.

Use CONFIG_BTU_TASK_STACK_SIZE instead of hard-coded value in Bluedroid component

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 agoFix 2 bugs in r_ld_fm_sket_isr
baohongde [Thu, 29 Aug 2019 03:27:57 +0000 (11:27 +0800)]
Fix 2 bugs in r_ld_fm_sket_isr

1. When remove two elt in the 1st isr, then assert in then 2nd one.
2. When timestamp of first elt is equal to sket_clkn, then crash.

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 agobugfix that call of esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_SUSPEND) will not get an...
wangmengyang [Wed, 28 Aug 2019 07:16:10 +0000 (15:16 +0800)]
bugfix that call of esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_SUSPEND) will not get an ACK from callback on A2DP sink

# Conflicts:
# components/bootloader/subproject/components/micro-ecc/micro-ecc

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