]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoMerge branch 'bugfix/mbedtls_add_source_files_to_appropriate_library' into 'master'
Angus Gratton [Thu, 15 Aug 2019 05:32:20 +0000 (13:32 +0800)]
Merge branch 'bugfix/mbedtls_add_source_files_to_appropriate_library' into 'master'

mbedtls: add source files to appropriate library

See merge request espressif/esp-idf!5761

5 years agombedtls: add source files to appropriate library
Renz Christian Bagaporo [Mon, 12 Aug 2019 12:32:14 +0000 (20:32 +0800)]
mbedtls: add source files to appropriate library

5 years agoMerge branch 'docs/order_toctree_alphabetically' into 'master'
Angus Gratton [Thu, 15 Aug 2019 04:41:54 +0000 (12:41 +0800)]
Merge branch 'docs/order_toctree_alphabetically' into 'master'

docs: Alphbetically sort toctree

See merge request espressif/esp-idf!5770

5 years agoMerge branch 'bugfix/fix_flash_read_error_in_dio_mode' into 'master'
Angus Gratton [Thu, 15 Aug 2019 03:28:19 +0000 (11:28 +0800)]
Merge branch 'bugfix/fix_flash_read_error_in_dio_mode' into 'master'

bugfix(flash): add spi dio address bitlen configure in psram init

See merge request espressif/esp-idf!5783

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

NimBLE: Fix bug in `protocomm_nimble` characteristic access callback

See merge request espressif/esp-idf!5752

5 years agoNimBLE: Fix bug in `protocomm_nimble` chararcteristic access callback
Prasad Alatkar [Thu, 15 Aug 2019 02:50:30 +0000 (10:50 +0800)]
NimBLE: Fix bug in `protocomm_nimble` chararcteristic access callback

Fixes bug in `protocomm_nimble` while writing to characteristic with length greater than MTU value.

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

mdns: fix missing bye packet if services removed with mdns_service_remove_all() or mdns_free()

See merge request espressif/esp-idf!5308

5 years agoMerge branch 'feature/exclude_rom_from_example_header_files' into 'master'
Angus Gratton [Thu, 15 Aug 2019 02:50:01 +0000 (10:50 +0800)]
Merge branch 'feature/exclude_rom_from_example_header_files' into 'master'

exclude rom headers in examples

Closes IDF-557

See merge request espressif/esp-idf!5051

5 years agobugfix(flash): add spi dio address bitlen configure in psram init
chenjianqiang [Wed, 14 Aug 2019 12:57:30 +0000 (20:57 +0800)]
bugfix(flash): add spi dio address bitlen configure in psram init

5 years agoMerge branch 'refactor/timerg_in_test' into 'master'
Angus Gratton [Wed, 14 Aug 2019 07:32:16 +0000 (15:32 +0800)]
Merge branch 'refactor/timerg_in_test' into 'master'

timer_group: refactoring to avoid direct register access in the ISR

See merge request espressif/esp-idf!5656

5 years agomdns: fix missing bye packet if services removed with mdns_service_remove_all() or...
David Cermak [Thu, 20 Jun 2019 15:27:29 +0000 (17:27 +0200)]
mdns: fix missing bye packet if services removed with mdns_service_remove_all() or mdns_free()

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

5 years agoMerge branch 'feature/ver-4.1' into 'master' v4.1-dev
Angus Gratton [Wed, 14 Aug 2019 01:01:48 +0000 (09:01 +0800)]
Merge branch 'feature/ver-4.1' into 'master'

global: bump version to 4.1

See merge request espressif/esp-idf!5771

5 years agobump version to 4.1
Ivan Grokhotkov [Tue, 13 Aug 2019 08:09:52 +0000 (10:09 +0200)]
bump version to 4.1

5 years agodocs: Alphbetically sort toctree
Darian Leung [Tue, 13 Aug 2019 08:01:50 +0000 (16:01 +0800)]
docs: Alphbetically sort toctree

This commit sorts the entries of variuos toctrees
alphabetically. Indentation was also fixed. The order
of some toctrees were not modified if the existing
order had some form of suggested reading order.

5 years agoMerge branch 'bugfix/fix_mbedtls_net_sockets_error_handling' into 'master'
Angus Gratton [Tue, 13 Aug 2019 06:38:28 +0000 (14:38 +0800)]
Merge branch 'bugfix/fix_mbedtls_net_sockets_error_handling' into 'master'

mbedtls: use `errno` instead of `SO_ERROR` for getting socket errors

See merge request espressif/esp-idf!5727

5 years agoMerge branch 'feature/migrate_gh_action_to_yaml' into 'master'
Angus Gratton [Tue, 13 Aug 2019 06:10:54 +0000 (14:10 +0800)]
Merge branch 'feature/migrate_gh_action_to_yaml' into 'master'

gh_action: converted main.workflow to Actions V2 yml files

See merge request espressif/esp-idf!5758

5 years agoMerge branch 'bugfix/fix_encrypted_project_flash_arg_file_gen' into 'master'
Angus Gratton [Tue, 13 Aug 2019 05:45:57 +0000 (13:45 +0800)]
Merge branch 'bugfix/fix_encrypted_project_flash_arg_file_gen' into 'master'

CMake: fix encrypted project flash arg file generation

See merge request espressif/esp-idf!5741

5 years agoMerge branch 'feature/dport_eco_revision2' into 'master'
Angus Gratton [Tue, 13 Aug 2019 04:13:22 +0000 (12:13 +0800)]
Merge branch 'feature/dport_eco_revision2' into 'master'

make dport workaround depend on chip revision

Closes IDF-809 and IDF-813

See merge request espressif/esp-idf!5606

5 years agoMerge branch 'bugfix/doc_pip_requirements' into 'master'
Angus Gratton [Tue, 13 Aug 2019 03:42:35 +0000 (11:42 +0800)]
Merge branch 'bugfix/doc_pip_requirements' into 'master'

Add -r flag to pip install command from file

Closes IDFGH-1670 and IDFGH-1622

See merge request espressif/esp-idf!5760

5 years agoexclude rom headers in examples
suda-morris [Wed, 22 May 2019 12:21:11 +0000 (20:21 +0800)]
exclude rom headers in examples

1. avoid including rom headers directly in examples
2. add common API interface for CRC calculation in esp_common component

5 years agoefuse: update the scheme of getting chip revision
suda-morris [Mon, 29 Jul 2019 03:35:00 +0000 (11:35 +0800)]
efuse: update the scheme of getting chip revision

5 years agoMerge branch 'bugfix/component_set_properties' into 'master'
Angus Gratton [Tue, 13 Aug 2019 02:23:30 +0000 (10:23 +0800)]
Merge branch 'bugfix/component_set_properties' into 'master'

CMake: Set component properties

See merge request espressif/esp-idf!5738

5 years agoMerge branch 'bugfix/reuse_pmk_without_set_config' into 'master'
Jiang Jiang Jian [Mon, 12 Aug 2019 15:33:45 +0000 (23:33 +0800)]
Merge branch 'bugfix/reuse_pmk_without_set_config' into 'master'

wifi: Avoid recalculating PMK when esp_wifi_set_config is not called

Closes IDFGH-1520

See merge request espressif/esp-idf!5745

5 years agoAdded -r flag to pip install command from file
Luke Bayes [Sun, 4 Aug 2019 21:05:03 +0000 (17:05 -0400)]
Added -r flag to pip install command from file

Closes https://github.com/espressif/esp-idf/pull/3874
Closes https://github.com/espressif/esp-idf/issues/3915

5 years agogh_action: converted main.workflow to Actions V2 yml files
suda-morris [Mon, 12 Aug 2019 11:45:48 +0000 (19:45 +0800)]
gh_action: converted main.workflow to Actions V2 yml files

5 years agoMerge branch 'bugfix/core_id_arg' into 'master'
Angus Gratton [Mon, 12 Aug 2019 07:16:51 +0000 (15:16 +0800)]
Merge branch 'bugfix/core_id_arg' into 'master'

doc: Add clarifications Xtensa Core ID and "Core ID" used in FreeRTOS are different

Closes IDFGH-407

See merge request espressif/esp-idf!5661

5 years agoMerge branch 'ci/disable_nimble_tests' into 'master'
Angus Gratton [Mon, 12 Aug 2019 07:14:23 +0000 (15:14 +0800)]
Merge branch 'ci/disable_nimble_tests' into 'master'

ci: Temporarily disable NimBLE tests in CI

See merge request espressif/esp-idf!5749

5 years agoMerge branch 'feature/tls_psk_authentication' into 'master'
Angus Gratton [Mon, 12 Aug 2019 04:45:34 +0000 (12:45 +0800)]
Merge branch 'feature/tls_psk_authentication' into 'master'

esp_tls: add psk verification mode

Closes IDFGH-992

See merge request espressif/esp-idf!5095

5 years agoMerge branch 'bugfix/check_include_dirs' into 'master'
Angus Gratton [Mon, 12 Aug 2019 04:45:11 +0000 (12:45 +0800)]
Merge branch 'bugfix/check_include_dirs' into 'master'

CMake: Check if component include dirs are directories

See merge request espressif/esp-idf!5701

5 years agofreertos: Rename CORE_ID_PRO/CORE_ID_APP macros to CORE_ID_REGVAL_xxx
Angus Gratton [Mon, 12 Aug 2019 01:12:34 +0000 (11:12 +1000)]
freertos: Rename CORE_ID_PRO/CORE_ID_APP macros to CORE_ID_REGVAL_xxx

Old values remain for compatibility.

As suggested in https://github.com/espressif/esp-idf/issues/2567

5 years agodoc: Add clarifications Xtensa Core ID and "Core ID" used in FreeRTOS are different
Angus Gratton [Wed, 31 Jul 2019 03:07:23 +0000 (11:07 +0800)]
doc: Add clarifications Xtensa Core ID and "Core ID" used in FreeRTOS are different

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

5 years agoci: Temporarily disable NimBLE tests in CI
Angus Gratton [Sun, 11 Aug 2019 23:38:44 +0000 (09:38 +1000)]
ci: Temporarily disable NimBLE tests in CI

5 years agoMerge branch 'bugfix/hwcrypt_fault_inj' into 'master'
Angus Gratton [Sun, 11 Aug 2019 07:02:25 +0000 (15:02 +0800)]
Merge branch 'bugfix/hwcrypt_fault_inj' into 'master'

hwcrypto: Add more AES & SHA fault injection checks

Closes IDF-786

See merge request espressif/esp-idf!5050

5 years agosha: Add fault injection checks reading hash digest state
Angus Gratton [Wed, 22 May 2019 00:18:55 +0000 (10:18 +1000)]
sha: Add fault injection checks reading hash digest state

Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.

5 years agoaes: Add fault injection checks when writing key to hardware
Angus Gratton [Tue, 21 May 2019 08:12:42 +0000 (18:12 +1000)]
aes: Add fault injection checks when writing key to hardware

Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.

5 years agocmake: set component properties
Renz Christian Bagaporo [Fri, 9 Aug 2019 04:30:23 +0000 (12:30 +0800)]
cmake: set component properties

5 years agowifi: Avoid recalculating PMK when esp_wifi_set_config is not called
Sagar Bijwe [Thu, 8 Aug 2019 10:32:33 +0000 (16:02 +0530)]
wifi: Avoid recalculating PMK when esp_wifi_set_config is not called

Scenarios where this fix is applicable.
1) Every time the system is powered-on/restarted without calling
   esp_wifi_set_config.
2) esp_wifi_init()/connect()/stop()/deinit() is called multiple
   times without esp_wifi_set_config.

Closes IDFGH-1520

5 years agocmake: fix encrypted project flash arg file generation
Renz Christian Bagaporo [Fri, 9 Aug 2019 08:35:31 +0000 (16:35 +0800)]
cmake: fix encrypted project flash arg file generation

5 years agoMerge branch 'bugfix/efuse_write_config' into 'master'
Jiang Jiang Jian [Fri, 9 Aug 2019 06:25:45 +0000 (14:25 +0800)]
Merge branch 'bugfix/efuse_write_config' into 'master'

efuse: set timing configuration before writing

See merge request espressif/esp-idf!4750

5 years agoMerge branch 'bugfix/confgen_sdkconfig_renames' into 'master'
Angus Gratton [Fri, 9 Aug 2019 06:21:19 +0000 (14:21 +0800)]
Merge branch 'bugfix/confgen_sdkconfig_renames' into 'master'

tools: Support sdkconfig.rename files from outside IDF in confgen.py

Closes IDF-659

See merge request espressif/esp-idf!5551

5 years agoMerge branch 'bugfix/httpd_sess_close' into 'master'
Angus Gratton [Fri, 9 Aug 2019 06:20:51 +0000 (14:20 +0800)]
Merge branch 'bugfix/httpd_sess_close' into 'master'

httpd_sess_close: Check for session validity before closing

See merge request espressif/esp-idf!5705

5 years agoesp_attr: add flag_attr to support enums used as flags
Michael (XIAO Xufeng) [Thu, 8 Aug 2019 09:49:12 +0000 (17:49 +0800)]
esp_attr: add flag_attr to support enums used as flags

5 years agotimer_group: use the LL
Michael (XIAO Xufeng) [Wed, 24 Jul 2019 15:18:19 +0000 (23:18 +0800)]
timer_group: use the LL

5 years agotimer_group: add LL functions for WDT
Michael (XIAO Xufeng) [Tue, 30 Jul 2019 09:22:51 +0000 (17:22 +0800)]
timer_group: add LL functions for WDT

5 years agotimer_group: support interrupt LL and some utility functions in ISR
Michael (XIAO Xufeng) [Thu, 25 Jul 2019 01:52:36 +0000 (09:52 +0800)]
timer_group: support interrupt LL and some utility functions in ISR

5 years agofeat(timer): refator timer group driver (partly pick)
chenjianqiang [Mon, 15 Jul 2019 06:21:36 +0000 (14:21 +0800)]
feat(timer): refator timer group driver (partly pick)

5 years agoesp_attr: support force_inline
Michael (XIAO Xufeng) [Mon, 29 Jul 2019 06:31:30 +0000 (14:31 +0800)]
esp_attr: support force_inline

5 years agoMerge branch 'feature/repl_suppl_crypto_by_mbedtls' into 'master'
Angus Gratton [Fri, 9 Aug 2019 04:52:03 +0000 (12:52 +0800)]
Merge branch 'feature/repl_suppl_crypto_by_mbedtls' into 'master'

wpa_supplicant: Port more crypto functions to use mbedtls

Closes WIFI-1590

See merge request espressif/esp-idf!5684

5 years agoMerge branch 'bugfix/docs/white-space' into 'master'
Angus Gratton [Fri, 9 Aug 2019 02:07:22 +0000 (10:07 +0800)]
Merge branch 'bugfix/docs/white-space' into 'master'

:bug: Fix the white space bug in docs

Closes IDFGH-809

See merge request espressif/esp-idf!5693

5 years ago:bug: Fix the white space bug in docs
Soumesh Banerjee [Fri, 9 Aug 2019 02:07:22 +0000 (10:07 +0800)]
:bug: Fix the white space bug in docs
Fix only the visual rendering the issue for selection of text still remains and have to be solved by updating the html generator
Closes #3208

5 years agocomponents: fix incorrect include dir args
Renz Christian Bagaporo [Tue, 6 Aug 2019 03:00:37 +0000 (11:00 +0800)]
components: fix incorrect include dir args

5 years agocmake: check include directories
Renz Christian Bagaporo [Tue, 6 Aug 2019 02:59:48 +0000 (10:59 +0800)]
cmake: check include directories

5 years agombedtls: use `errno` instead of `SO_ERROR` for getting socket errors
Mahavir Jain [Thu, 8 Aug 2019 08:12:47 +0000 (13:42 +0530)]
mbedtls: use `errno` instead of `SO_ERROR` for getting socket errors

As per upgrade notes of lwIP v2.1.0:
socket API: according to the standard, SO_ERROR now only returns asynchronous errors.
All other/normal/synchronous errors are (and always were) available via 'errno'.
LWIP_SOCKET_SET_ERRNO has been removed - 'errno' is always set - and required!

Refer: https://www.nongnu.org/lwip/2_1_x/upgrading.html

Fixes https://github.com/espressif/esp-azure/issues/51

5 years agoMerge branch 'bugfix/libsodium_test_timeouts' into 'master'
Angus Gratton [Thu, 8 Aug 2019 07:02:51 +0000 (15:02 +0800)]
Merge branch 'bugfix/libsodium_test_timeouts' into 'master'

test: Set timeout of libsodium ed25519_convert test to 60s

See merge request espressif/esp-idf!5552

5 years agoMerge branch 'bugfix/fix_ledc_clock_select_bug' into 'master'
Angus Gratton [Thu, 8 Aug 2019 05:56:21 +0000 (13:56 +0800)]
Merge branch 'bugfix/fix_ledc_clock_select_bug' into 'master'

driver(ledc): fixed ledc clock selection bug

See merge request espressif/esp-idf!3612

5 years agoMerge branch 'bugfix/config_panic_gdbstub_build_issue' into 'master'
Angus Gratton [Thu, 8 Aug 2019 05:53:40 +0000 (13:53 +0800)]
Merge branch 'bugfix/config_panic_gdbstub_build_issue' into 'master'

esp32_gdbstub: fix build error with esp32-2019r1 toolchain

See merge request espressif/esp-idf!5709

5 years agoMerge branch 'feat/sdio_slave_efuse_default_3v3' into 'master'
Angus Gratton [Thu, 8 Aug 2019 02:41:14 +0000 (10:41 +0800)]
Merge branch 'feat/sdio_slave_efuse_default_3v3' into 'master'

sdio_slave: updates the document about DAT2 pin, also the version value read from CCCR registers

See merge request espressif/esp-idf!4733

5 years agoMerge branch 'feature/lwip_prefer_allocate_memory_in_psram' into 'master'
Jiang Jiang Jian [Wed, 7 Aug 2019 13:00:14 +0000 (21:00 +0800)]
Merge branch 'feature/lwip_prefer_allocate_memory_in_psram' into 'master'

Try to allocate some memories in SPIRAM first. If failed, try to allocate in internal RAM then

See merge request espressif/esp-idf!5695

5 years agosdio_slave: update version read from CCCR to 2.0
Michael (XIAO Xufeng) [Wed, 17 Apr 2019 04:40:49 +0000 (12:40 +0800)]
sdio_slave: update version read from CCCR to 2.0

5 years agosdio_slave: rewrite the doc and highlight efuse-burning as the default option for...
Michael (XIAO Xufeng) [Tue, 9 Apr 2019 05:20:22 +0000 (13:20 +0800)]
sdio_slave: rewrite the doc and highlight efuse-burning as the default option for 3.3V modules

5 years agowpa_supplicant: Port more crypto functions to use mbedtls
Sagar Bijwe [Fri, 2 Aug 2019 08:58:33 +0000 (14:28 +0530)]
wpa_supplicant: Port more crypto functions to use mbedtls

Use mbedtls PBKDF2 and SHA1 for faster calculations during four-way
handshake.

Closes WIFI-1590

5 years agoesp32_gdbstub: fix build error with esp32-2019r1 toolchain
Mahavir Jain [Wed, 7 Aug 2019 06:19:55 +0000 (11:49 +0530)]
esp32_gdbstub: fix build error with esp32-2019r1 toolchain

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

5 years agoMerge branch 'bugfix/idf_tool_default_encoding' into 'master'
Angus Gratton [Wed, 7 Aug 2019 05:24:54 +0000 (13:24 +0800)]
Merge branch 'bugfix/idf_tool_default_encoding' into 'master'

idf_tool: fix UnicodeDecodeError

Closes IDFGH-1584

See merge request espressif/esp-idf!5323

5 years agoesp_tls: enable psk verification mode, added mqtt example using psk authentication
David Cermak [Thu, 23 May 2019 19:48:08 +0000 (21:48 +0200)]
esp_tls: enable psk verification mode, added mqtt example using psk authentication

5 years agohttpd_sess_close: Check for session validity before closing
Piyush Shah [Tue, 6 Aug 2019 14:00:58 +0000 (19:30 +0530)]
httpd_sess_close: Check for session validity before closing

If httpd_sess_trigger_close() gets called twice for the same socket,
the first httpd_sess_close() cb closes the correct socket, but the second
invocation closes the wrong socket which was just accepted and added to
the socket db. Checking for the lru counter will help identify this as the
counter is set only for requests actually served.

5 years agodriver(ledc): fixed ledc clock selection bug.
kooho [Thu, 1 Nov 2018 04:23:11 +0000 (12:23 +0800)]
driver(ledc): fixed ledc clock selection bug.

5 years agoMerge branch 'feature/coap_mbedtls_support' into 'master'
Mahavir Jain [Tue, 6 Aug 2019 06:23:54 +0000 (14:23 +0800)]
Merge branch 'feature/coap_mbedtls_support' into 'master'

Add DTLS support to libcoap using MbedTLS

See merge request espressif/esp-idf!5560

5 years agocoap: refactor examples, stylistic cleanups, move certs to independent dir
Mahavir Jain [Wed, 31 Jul 2019 10:52:49 +0000 (16:22 +0530)]
coap: refactor examples, stylistic cleanups, move certs to independent dir

5 years agocoap: kconfig cleanup, have component specific configuration for common options
Mahavir Jain [Wed, 31 Jul 2019 10:52:01 +0000 (16:22 +0530)]
coap: kconfig cleanup, have component specific configuration for common options

5 years agocoap: add mbedtls in depedency list for CMake build
Mahavir Jain [Wed, 31 Jul 2019 10:51:25 +0000 (16:21 +0530)]
coap: add mbedtls in depedency list for CMake build

5 years agoAdd DTLS support to libcoap using MbedTLS
Jon Shallow [Sat, 13 Apr 2019 11:15:28 +0000 (12:15 +0100)]
Add DTLS support to libcoap using MbedTLS

This update supports DTLS, TLS is a future TODO

components/coap/CMakeLists.txt:
components/coap/component.mk:

Add in the new files that have to be built
Replace libcoap/src/coap_notls.c with libcoap/src/coap_mbedtls.c

components/coap/libcoap:

Update the version to include the current version for supporting MbedTLS

components/coap/port/coap_debug.c:
components/coap/port/coap_mbedtls.c:
components/coap/port/include/coap/coap_dtls.h:

New port files for DTLS

components/coap/port/include/coap_config_posix.h:

Include building with MbedTLS

examples/protocols/coap_client/README.md:
examples/protocols/coap_client/main/CMakeLists.txt:
examples/protocols/coap_client/main/Kconfig.projbuild:
examples/protocols/coap_client/main/coap_client_example_main.c:
examples/protocols/coap_client/main/component.mk:

Update CoAP client to support DTLS

examples/protocols/coap_client/main/coap_ca.pem
examples/protocols/coap_client/main/coap_client.crt
examples/protocols/coap_client/main/coap_client.key

New PKI Certs for CoAP client (copied from wpa2_enterprise example)

examples/protocols/coap_server/README.md:
examples/protocols/coap_server/main/CMakeLists.txt:
examples/protocols/coap_server/main/Kconfig.projbuild:
examples/protocols/coap_server/main/coap_server_example_main.c:
examples/protocols/coap_server/main/component.mk:

Update CoAP server to support DTLS
Change "no data" to "Hello World!" to prevent confusion

examples/protocols/coap_server/main/coap_ca.pem
examples/protocols/coap_server/main/coap_server.crt
examples/protocols/coap_server/main/coap_server.key

New PKI Certs for CoAP server (copied from wpa2_enterprise example)

Closes https://github.com/espressif/esp-idf/pull/3345
Closes https://github.com/espressif/esp-idf/issues/1379

5 years agoMerge branch 'deprecate/spi_common_claim_macros' into 'master'
Angus Gratton [Tue, 6 Aug 2019 03:16:17 +0000 (11:16 +0800)]
Merge branch 'deprecate/spi_common_claim_macros' into 'master'

spi_common: remove deprecated spi_common_periph_claim macros

See merge request espressif/esp-idf!5677

5 years agoidf_tool: fix unicode decode error
suda-morris [Thu, 1 Aug 2019 02:40:10 +0000 (10:40 +0800)]
idf_tool: fix unicode decode error

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

5 years agoTry to allocate some LWIP memories in SPIRAM first. If failed, try to allocate in...
xueyunfei [Mon, 5 Aug 2019 09:33:37 +0000 (17:33 +0800)]
Try to allocate some LWIP memories in SPIRAM first. If failed, try to allocate in internal RAM then

5 years agoMerge branch 'bugfix/docs_broken_links' into 'master'
Krzysztof Budzynski [Mon, 5 Aug 2019 13:28:50 +0000 (21:28 +0800)]
Merge branch 'bugfix/docs_broken_links' into 'master'

Fix broken links in 'Getting Started' gudes

See merge request espressif/esp-idf!5685

5 years agoMerge branch 'doc/add_Chinese_translation_for_modules-and-boards_in_hw-reference...
Krzysztof Budzynski [Mon, 5 Aug 2019 13:25:15 +0000 (21:25 +0800)]
Merge branch 'doc/add_Chinese_translation_for_modules-and-boards_in_hw-reference' into 'master'

Add Chinese translation for modules-and-boards.rst in hw-reference folder.

See merge request espressif/esp-idf!5520

5 years agoAdd Chinese translation for modules-and-boards.rst in hw-reference folder.
Wang Fang [Mon, 5 Aug 2019 13:25:15 +0000 (21:25 +0800)]
Add Chinese translation for modules-and-boards.rst in hw-reference folder.

Note: Also modify the table in en version

5 years agoMerge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid' into 'master'
Jiang Jiang Jian [Mon, 5 Aug 2019 13:18:27 +0000 (21:18 +0800)]
Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid' into 'master'

wifi: fix wifi bugs for authmode and multi ssid

Closes WIFI-558, WIFI-560, WIFI-449, WIFI-567, and WIFI-597

See merge request espressif/esp-idf!5387

5 years agospi_common: remove deprecated spi_common_periph_claim macros
Michael (XIAO Xufeng) [Thu, 1 Aug 2019 05:54:31 +0000 (13:54 +0800)]
spi_common: remove deprecated spi_common_periph_claim macros

5 years agoMerge branch 'feature/idf_monitor_key_piority' into 'master'
Angus Gratton [Mon, 5 Aug 2019 01:55:45 +0000 (09:55 +0800)]
Merge branch 'feature/idf_monitor_key_piority' into 'master'

idf_monitor: improve the responding of console commands

See merge request espressif/esp-idf!5585

5 years agoMerge branch 'feature/transport_support_der_certs' into 'master'
Angus Gratton [Mon, 5 Aug 2019 01:52:08 +0000 (09:52 +0800)]
Merge branch 'feature/transport_support_der_certs' into 'master'

tcp transport ssl DER-support

See merge request espressif/esp-idf!5627

5 years agoMerge branch 'bugfix/strict_prototypes' into 'master'
Angus Gratton [Mon, 5 Aug 2019 01:38:39 +0000 (09:38 +0800)]
Merge branch 'bugfix/strict_prototypes' into 'master'

Enable strict prototypes checks

Closes IDFGH-757

See merge request espressif/esp-idf!4546

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

examples: change default build instructions in docs to CMake

See merge request espressif/esp-idf!5681

5 years agoMerge branch 'bugfix/btdm_sleep_twice' into 'master'
Jiang Jiang Jian [Sun, 4 Aug 2019 07:51:04 +0000 (15:51 +0800)]
Merge branch 'bugfix/btdm_sleep_twice' into 'master'

bugfix btdm sleep twice after wakeup request

See merge request espressif/esp-idf!5637

5 years agobugfix btdm sleep twice after wakeup request
Tian Hao [Sat, 27 Jul 2019 09:47:33 +0000 (17:47 +0800)]
bugfix btdm sleep twice after wakeup request

This problem may cause HCI send command timeout.

When host call VHCI api to do btdm_wakeup_request, then controller
wakeup process will be handled in ISR and controller task context.
As host task priority is lower than controller task and ISR,
it will cause an incorrect behavior that before VHCI take the
rx_flow_on_semaphore, controller sleep again, then VHCI cannot take
the semaphore and has to wait the automatic wakeup.

5 years agoMerge branch 'feature/file_length_validation' into 'master'
Mahavir Jain [Fri, 2 Aug 2019 11:18:44 +0000 (19:18 +0800)]
Merge branch 'feature/file_length_validation' into 'master'

esp_http_client: Add support to check the binary length of the recieved stream...

See merge request espressif/esp-idf!5635

5 years agoesp_http_client: Add support to check the binary length of the recieved stream and...
Hrudaynath Dhabe [Fri, 2 Aug 2019 11:18:44 +0000 (19:18 +0800)]
esp_http_client: Add support to check the binary length of the recieved stream and compare it with the size mentioned in the header.

While downloading OTA firmware, if their is a Origin Respnse Timeout or the binary is only partially downloaded, OTA failure is observed. Checking binary size can also be helpful for simple http client applications.

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

5 years agoexamples: change default build instructions in docs to CMake
Mahavir Jain [Fri, 2 Aug 2019 03:31:20 +0000 (09:01 +0530)]
examples: change default build instructions in docs to CMake

5 years agoMerge branch 'move/ble_example' into 'master'
Mahavir Jain [Fri, 2 Aug 2019 10:01:58 +0000 (18:01 +0800)]
Merge branch 'move/ble_example' into 'master'

examples/bluetooth: Move the demos to the appropriate locations

See merge request espressif/esp-idf!5667

5 years agoexamples/bluetooth: Move the demos to the appropriate locations
Hrishikesh Dhayagude [Fri, 2 Aug 2019 10:01:58 +0000 (18:01 +0800)]
examples/bluetooth: Move the demos to the appropriate locations

5 years agoMore link corrections
Krzysztof [Fri, 2 Aug 2019 09:58:08 +0000 (17:58 +0800)]
More link corrections

5 years agoMerge branch 'bugfix/example_ext_flash_dio' into 'master'
Ivan Grokhotkov [Fri, 2 Aug 2019 09:53:54 +0000 (17:53 +0800)]
Merge branch 'bugfix/example_ext_flash_dio' into 'master'

examples: ext_flash_fatfs: use DIO mode by default

See merge request espressif/esp-idf!5645

5 years agoFix broken links in 'Getting Started' gudes
Krzysztof [Fri, 2 Aug 2019 09:09:33 +0000 (17:09 +0800)]
Fix broken links in 'Getting Started' gudes

5 years agoMerge branch 'bugfix/gitignore_cmake_files' into 'master'
Angus Gratton [Fri, 2 Aug 2019 07:52:06 +0000 (15:52 +0800)]
Merge branch 'bugfix/gitignore_cmake_files' into 'master'

CMake: Added git ignore for cache files generated by cmake (PR)

See merge request espressif/esp-idf!5675

5 years agoesp-tls: Naming variables refering to certificates and keys in a neutral way to sugge...
David Cermak [Fri, 2 Aug 2019 07:20:02 +0000 (09:20 +0200)]
esp-tls: Naming variables refering to certificates and keys in a neutral way to suggest that both PEM and DER format could be used, added comments descibing important details about using these formats

5 years agoadd _der variants for esp_transport_ssl_set_(client_cert|client_key|cert_data)
Henning Fleddermann [Mon, 15 Jul 2019 15:53:39 +0000 (17:53 +0200)]
add _der variants for esp_transport_ssl_set_(client_cert|client_key|cert_data)

Signed-off-by: David Cermak <cermak@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/3783

5 years agomodify comments on esp_tls_cfg, to clarify that other formats besides PEM (such as...
Henning Fleddermann [Mon, 15 Jul 2019 15:51:25 +0000 (17:51 +0200)]
modify comments on esp_tls_cfg, to clarify that other formats besides PEM (such as DER) might be used as well depending on mbedtls-support

Signed-off-by: David Cermak <cermak@espressif.com>
5 years agomodify WIFI_CONN_0101 case for wrong authmode of AP
zhangyanjiao [Fri, 2 Aug 2019 02:22:46 +0000 (10:22 +0800)]
modify WIFI_CONN_0101 case for wrong authmode of AP

5 years agowifi: fix wifi bugs for authmode and multi ssid
zhangyanjiao [Fri, 2 Aug 2019 02:22:20 +0000 (10:22 +0800)]
wifi: fix wifi bugs for authmode and multi ssid

5 years agoMerge branch 'bugfix/fix_the_wrong_comment_in_esp_wifi_types.h' into 'master'
Jiang Jiang Jian [Thu, 1 Aug 2019 13:15:52 +0000 (21:15 +0800)]
Merge branch 'bugfix/fix_the_wrong_comment_in_esp_wifi_types.h' into 'master'

fix the wrong comment in esp_wifi_types.h

See merge request espressif/esp-idf!5676