]> granicus.if.org Git - esp-idf/log
esp-idf
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 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 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 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

5 years agofix the wrong comment in esp_wifi_types.h
zhangyanjiao [Thu, 1 Aug 2019 03:27:32 +0000 (11:27 +0800)]
fix the wrong comment in esp_wifi_types.h

5 years agoCMake: Added git ignore for cache files generated by cmake
RevoluPowered [Sun, 16 Jun 2019 14:15:48 +0000 (15:15 +0100)]
CMake: Added git ignore for cache files generated by cmake

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

5 years agoFix a build issue with replacing init_spi_flash() in the host tests
Anton Maklakov [Thu, 1 Aug 2019 04:23:41 +0000 (11:23 +0700)]
Fix a build issue with replacing init_spi_flash() in the host tests

5 years agotools: Fix the build examples script to run locally
Anton Maklakov [Tue, 30 Jul 2019 14:26:43 +0000 (21:26 +0700)]
tools: Fix the build examples script to run locally

5 years agoFix remaining -Wstrict-prototypes warnings
Anton Maklakov [Tue, 30 Jul 2019 04:53:48 +0000 (11:53 +0700)]
Fix remaining -Wstrict-prototypes warnings

5 years agoNimBLE: Update submodule to fix -Wstrict-prototypes warnings
Anton Maklakov [Wed, 31 Jul 2019 04:31:59 +0000 (11:31 +0700)]
NimBLE: Update submodule to fix -Wstrict-prototypes warnings

5 years agomdns: mdns_service_remove_all doesn't take an argument
Michael Zimmermann [Fri, 11 Jan 2019 08:40:34 +0000 (09:40 +0100)]
mdns: mdns_service_remove_all doesn't take an argument

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

5 years agobrownout: fix rtc_brownout_isr_handler signature
Michael Zimmermann [Fri, 11 Jan 2019 08:42:36 +0000 (09:42 +0100)]
brownout: fix rtc_brownout_isr_handler signature

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

5 years agoAdd -Wstrict-prototypes check in CI
Ivan Grokhotkov [Tue, 19 Mar 2019 08:02:35 +0000 (16:02 +0800)]
Add -Wstrict-prototypes check in CI

5 years agomake code conform to Wstrict-prototypes
Michael Zimmermann [Fri, 11 Jan 2019 08:43:11 +0000 (09:43 +0100)]
make code conform to Wstrict-prototypes

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

5 years agotools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
Anton Maklakov [Tue, 16 Jul 2019 09:33:30 +0000 (16:33 +0700)]
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)

5 years agotools: Add a script to fix up empty prototypes
Anton Maklakov [Tue, 16 Jul 2019 06:49:27 +0000 (13:49 +0700)]
tools: Add a script to fix up empty prototypes

5 years agoMerge branch 'bugfix/fix_i2s_channels_swapped_issue' into 'master'
Angus Gratton [Thu, 1 Aug 2019 08:53:37 +0000 (16:53 +0800)]
Merge branch 'bugfix/fix_i2s_channels_swapped_issue' into 'master'

Bugfix(i2s): fixed i2s left/right channels swapped issue

Closes IDFGH-1447

See merge request espressif/esp-idf!5669

5 years agoMerge branch 'bugfix/minor_cleanup_lwip_duplicate_files' into 'master'
Angus Gratton [Thu, 1 Aug 2019 04:13:55 +0000 (12:13 +0800)]
Merge branch 'bugfix/minor_cleanup_lwip_duplicate_files' into 'master'

lw_ip: remove duplicate (and stale) changelog and version files

See merge request espressif/esp-idf!5657

5 years agoidf_monitor: improve the responding of console commands
Michael (XIAO Xufeng) [Sat, 6 Jul 2019 04:43:35 +0000 (12:43 +0800)]
idf_monitor: improve the responding of console commands

5 years agoBugfix(i2s): fixed i2s left/right channels swapped issue.
redchenjs [Mon, 1 Jul 2019 11:48:47 +0000 (19:48 +0800)]
Bugfix(i2s): fixed i2s left/right channels swapped issue.

The right channel data is in the high position, so the I2S_TX_MSB_RIGHT & I2S_RX_MSB_RIGHT bits should be set.

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

closes https://github.com/espressif/esp-idf/issues/3399

5 years agoMerge branch 'bugfix/bt_example_typos' into 'master'
Angus Gratton [Wed, 31 Jul 2019 07:33:03 +0000 (15:33 +0800)]
Merge branch 'bugfix/bt_example_typos' into 'master'

Minor: Fix some typos in Bluetooth examples

See merge request espressif/esp-idf!5662

5 years agoMinor: Fix some typos in Bluetooth examples
Hrishikesh Dhayagude [Wed, 31 Jul 2019 07:33:03 +0000 (15:33 +0800)]
Minor: Fix some typos in Bluetooth examples

5 years agolwip: remove duplicate (and stale) changelog and version files
Mahavir Jain [Tue, 30 Jul 2019 11:19:53 +0000 (16:49 +0530)]
lwip: remove duplicate (and stale) changelog and version files

5 years agoMerge branch 'maint/update_tool_openocd-v0.10.0-esp32-20190708' into 'master'
Angus Gratton [Tue, 30 Jul 2019 04:51:05 +0000 (12:51 +0800)]
Merge branch 'maint/update_tool_openocd-v0.10.0-esp32-20190708' into 'master'

tools: Update recommended OpenOCD version to v0.10.0-esp32-20190708

See merge request espressif/esp-idf!5565

5 years agoMerge branch 'bugfix/fix_the_bug_in_wifi_doc' into 'master'
Ivan Grokhotkov [Tue, 30 Jul 2019 01:42:23 +0000 (09:42 +0800)]
Merge branch 'bugfix/fix_the_bug_in_wifi_doc' into 'master'

docs: fix the bug in wifi doc

Closes IDFGH-1590

See merge request espressif/esp-idf!5647

5 years agoMerge branch 'test/rtc_noinit_wdt_test' into 'master'
Angus Gratton [Tue, 30 Jul 2019 01:42:15 +0000 (09:42 +0800)]
Merge branch 'test/rtc_noinit_wdt_test' into 'master'

esp32: verify that RTC_NOINIT_ATTR vars are preserved after WDT reset

See merge request espressif/esp-idf!4936

5 years agoMerge branch 'bugfix/pthread_fixes' into 'master'
Angus Gratton [Tue, 30 Jul 2019 01:41:31 +0000 (09:41 +0800)]
Merge branch 'bugfix/pthread_fixes' into 'master'

pthread fixes

Closes IDFGH-1437

See merge request espressif/esp-idf!5646

5 years agoMerge branch 'bugfix/btdm_some_unallocated_memory' into 'master'
Angus Gratton [Tue, 30 Jul 2019 01:41:09 +0000 (09:41 +0800)]
Merge branch 'bugfix/btdm_some_unallocated_memory' into 'master'

Bugfix/btdm some unallocated memory

See merge request espressif/esp-idf!5629

5 years agoMerge branch 'bugfix/gpio_intr_enable_bug' into 'master'
Angus Gratton [Tue, 30 Jul 2019 01:35:42 +0000 (09:35 +0800)]
Merge branch 'bugfix/gpio_intr_enable_bug' into 'master'

bugfix(GPIO):  Fixed the  GPIO  interrupt  enable  bug

Closes IDFGH-495

See merge request espressif/esp-idf!5571

5 years agoMerge branch 'bugfix/ws_client_fix_static_analysis_warnings' into 'master'
Angus Gratton [Mon, 29 Jul 2019 11:25:30 +0000 (19:25 +0800)]
Merge branch 'bugfix/ws_client_fix_static_analysis_warnings' into 'master'

ws_client: fix double delete issue in ws client initialization

See merge request espressif/esp-idf!5309

5 years agoMerge branch 'feature/move_gettimeofday_in_clock_gettime' into 'master'
Angus Gratton [Mon, 29 Jul 2019 11:25:11 +0000 (19:25 +0800)]
Merge branch 'feature/move_gettimeofday_in_clock_gettime' into 'master'

newlib: Move _gettimeofday_r call in clock_gettime

Closes IDFGH-1525

See merge request espressif/esp-idf!5562

5 years agoMerge branch 'fix/esp_flash_compatible_with_rom' into 'master'
Angus Gratton [Mon, 29 Jul 2019 11:18:20 +0000 (19:18 +0800)]
Merge branch 'fix/esp_flash_compatible_with_rom' into 'master'

esp_flash: fix a compatibility issue working with the ROM

See merge request espressif/esp-idf!5462

5 years agoMerge branch 'feature/idf_tools_installer_ci' into 'master'
Angus Gratton [Mon, 29 Jul 2019 11:16:18 +0000 (19:16 +0800)]
Merge branch 'feature/idf_tools_installer_ci' into 'master'

Build Windows tools installer in CI

Closes IDF-201

See merge request espressif/esp-idf!5583

5 years agobugfix(GPIO): Fixed the bug that GPIO enables interrupts on one core,
kooho [Thu, 18 Jul 2019 03:34:49 +0000 (11:34 +0800)]
bugfix(GPIO): Fixed the bug that GPIO enables interrupts on one core,
              but registers interrupt service routines on another core

closes https://github.com/espressif/esp-idf/issues/2808
closes https://github.com/espressif/esp-idf/issues/2845

5 years agoMerge branch 'feat/sdmmc_io_cis_parse' into 'master'
Ivan Grokhotkov [Mon, 29 Jul 2019 11:05:30 +0000 (19:05 +0800)]
Merge branch 'feat/sdmmc_io_cis_parse' into 'master'

sdmmc_io: support to print CIS information

See merge request espressif/esp-idf!5515

5 years agoMerge branch 'bugfix/export_macos' into 'master'
Ivan Grokhotkov [Mon, 29 Jul 2019 11:01:50 +0000 (19:01 +0800)]
Merge branch 'bugfix/export_macos' into 'master'

tools: export.sh: fix ESP-IDF path detection on macos

See merge request espressif/esp-idf!5644

5 years agoMerge branch 'bugfix/make_link_libc_psram' into 'master'
Ivan Grokhotkov [Mon, 29 Jul 2019 11:01:12 +0000 (19:01 +0800)]
Merge branch 'bugfix/make_link_libc_psram' into 'master'

esp32: also add -mfix-esp32-psram-cache-issue to LDFLAGS

See merge request espressif/esp-idf!5643

5 years agoMerge branch 'bugfix/partition_tables_update_note' into 'master'
Ivan Grokhotkov [Mon, 29 Jul 2019 11:00:44 +0000 (19:00 +0800)]
Merge branch 'bugfix/partition_tables_update_note' into 'master'

global: update note in the partition tables

See merge request espressif/esp-idf!5636

5 years agoMerge branch 'nimble/submodule_update_fix' into 'master'
Angus Gratton [Mon, 29 Jul 2019 11:00:21 +0000 (19:00 +0800)]
Merge branch 'nimble/submodule_update_fix' into 'master'

NimBLE: Update submodule to fix bug in delete bond procedure

See merge request espressif/esp-idf!5605

5 years agoNimBLE: Update submodule to fix bug in delete bond procedure
Prasad Alatkar [Mon, 29 Jul 2019 11:00:21 +0000 (19:00 +0800)]
NimBLE: Update submodule to fix bug in delete bond procedure

- Fixes bug in `get_nvs_db_attribute` related to getting correct index while
  deleting bond in NVS.
- MR raised on esp-nimble branch: https://gitlab.espressif.cn:6688/espressif/esp-nimble/merge_requests/12

5 years agoMerge branch 'bugfix/examples_stale_options' into 'master'
Ivan Grokhotkov [Mon, 29 Jul 2019 11:00:04 +0000 (19:00 +0800)]
Merge branch 'bugfix/examples_stale_options' into 'master'

examples: remove non-existent options from sdkconfig.defaults

See merge request espressif/esp-idf!5633

5 years agodocs: fix the bug in wifi doc
zhangyanjiao [Mon, 29 Jul 2019 06:55:17 +0000 (14:55 +0800)]
docs: fix the bug in wifi doc

5 years agoci: add jobs to build idf_exe, cmdlinerunner, tools installer
Ivan Grokhotkov [Thu, 18 Jul 2019 15:34:36 +0000 (17:34 +0200)]
ci: add jobs to build idf_exe, cmdlinerunner, tools installer

5 years agoesp_flash: fix a compatibility issue working with the ROM
Michael (XIAO Xufeng) [Sun, 7 Jul 2019 10:11:02 +0000 (18:11 +0800)]
esp_flash: fix a compatibility issue working with the ROM

The esp_flash API has a side effects: it modifies the clock control
registers, and this makes the clock inconsistent with the ROM variable
`g_rom_spiflash_dummy_len_plus`.

This commit helps the ROM to get the correct dummy cycles required by
the latest clock settings. Every device on the SPI1 bus will update the
ROM variable when it modifies the clock registers.

5 years agoMerge branch 'bugfix/ws_transport_revert_masked_after_sending' into 'master'
Angus Gratton [Mon, 29 Jul 2019 03:00:05 +0000 (11:00 +0800)]
Merge branch 'bugfix/ws_transport_revert_masked_after_sending' into 'master'

tcp_transport: websocket layer modifies in-buffer data (for masked transports)....

See merge request espressif/esp-idf!5546

5 years agoexamples: remove non-existent options from sdkconfig.defaults
Ivan Grokhotkov [Fri, 26 Jul 2019 12:36:21 +0000 (14:36 +0200)]
examples: remove non-existent options from sdkconfig.defaults

5 years agoMerge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa' into 'master'
Angus Gratton [Mon, 29 Jul 2019 02:57:20 +0000 (10:57 +0800)]
Merge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa' into 'master'

esp32: Dis interrupts up to 5 lvl for DPORT

Closes IDF-728

See merge request espressif/esp-idf!5344

5 years agoMerge branch 'bugfix/get-started-legacy-links' into 'master'
Angus Gratton [Mon, 29 Jul 2019 02:56:01 +0000 (10:56 +0800)]
Merge branch 'bugfix/get-started-legacy-links' into 'master'

docs: getting-started: fix broken links

See merge request espressif/esp-idf!5549

5 years agopthread: remove ESP32_ prefix from Kconfig options
Ivan Grokhotkov [Sun, 28 Jul 2019 09:22:51 +0000 (11:22 +0200)]
pthread: remove ESP32_ prefix from Kconfig options

pthread implementation is not chip-specific, so this prefix is not
needed.

5 years agopthread: force linking pthread implementation from IDF
Ivan Grokhotkov [Sun, 28 Jul 2019 09:22:08 +0000 (11:22 +0200)]
pthread: force linking pthread implementation from IDF

Force linking pthread implementation from IDF, instead of the weak
functions provided by gthread library. Previously this would either
work or not depending on the linking order.

Thanks @bpietsch for suggesting the fix.

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

5 years agoMerge branch 'bugfix/add_flash_config_in_app_startup' into 'master'
Angus Gratton [Mon, 29 Jul 2019 02:42:27 +0000 (10:42 +0800)]
Merge branch 'bugfix/add_flash_config_in_app_startup' into 'master'

bugfix(flash): add flash config in app startup

See merge request espressif/esp-idf!5459

5 years agosdmmc_io: support to print CIS information
Michael (XIAO Xufeng) [Fri, 12 Jul 2019 05:20:04 +0000 (13:20 +0800)]
sdmmc_io: support to print CIS information

Currently only ESP slaves can be parsed correctly.

5 years agoMerge branch 'feature/gcc_reorder_blocks' into 'master'
Angus Gratton [Mon, 29 Jul 2019 02:16:49 +0000 (10:16 +0800)]
Merge branch 'feature/gcc_reorder_blocks' into 'master'

build system: add -freorder-blocks option for release config

See merge request espressif/esp-idf!3990

5 years agoexamples: ext_flash_fatfs: use DIO mode by default
Ivan Grokhotkov [Sun, 28 Jul 2019 08:14:04 +0000 (10:14 +0200)]
examples: ext_flash_fatfs: use DIO mode by default

DIO works with the same connections as Fast Read, so use it by
default. Also correct the note in README.md which says that DIO
requires additional pins.

5 years agotools: export.sh: fix ESP-IDF path detection on macos
Ivan Grokhotkov [Sun, 28 Jul 2019 08:04:36 +0000 (10:04 +0200)]
tools: export.sh: fix ESP-IDF path detection on macos

The argument passed to the function is in $1; $0 contains `-bash`.
Before this fix, IDF_PATH would be set to $PWD instead of the correct
path.

5 years agoesp32: also add -mfix-esp32-psram-cache-issue to LDFLAGS
Ivan Grokhotkov [Sun, 28 Jul 2019 05:48:21 +0000 (07:48 +0200)]
esp32: also add -mfix-esp32-psram-cache-issue to LDFLAGS

xtensa-esp32-elf-gcc selects among the multilib configurations based
on the presence of -mfix-esp32-psram-cache-issue flag. Pass this flag
in LDFLAGS so that the correct libraries are linked.

Reported in https://github.com/espressif/esp-idf/issues/3624

5 years agotools: idf_tools.py: allow downloading for a different platform
Ivan Grokhotkov [Thu, 18 Jul 2019 15:20:40 +0000 (17:20 +0200)]
tools: idf_tools.py: allow downloading for a different platform

5 years agobuild_system: add -freorder-blocks option for release config
Dmitry Plotnikov [Thu, 4 Jul 2019 07:02:20 +0000 (11:02 +0400)]
build_system: add -freorder-blocks option for release config

5 years agoMerge branch 'bugfix/malloc_warnings_rtc' into 'master'
Angus Gratton [Sat, 27 Jul 2019 09:27:24 +0000 (17:27 +0800)]
Merge branch 'bugfix/malloc_warnings_rtc' into 'master'

rtc: fix minor malloc issues found by static analyzer

See merge request espressif/esp-idf!5144

5 years agoMerge branch 'bugfix/mdns_fix_discard_packet_on_invalid_name' into 'master'
Angus Gratton [Sat, 27 Jul 2019 09:25:25 +0000 (17:25 +0800)]
Merge branch 'bugfix/mdns_fix_discard_packet_on_invalid_name' into 'master'

mdns: fix ignoring mdns packet if contained an invalid name entries in question field

See merge request espressif/esp-idf!5307

5 years agoglobal: update note in the partition tables
Ivan Grokhotkov [Sat, 27 Jul 2019 08:27:38 +0000 (10:27 +0200)]
global: update note in the partition tables

The build system automatically determines offsets of partitions from
the partition table, so no manual changes are needed. Instead, add a
note that partition offsets may need to be updated when increasing
the bootloader size.

5 years agoMerge branch 'bugfix/esp_event_add_missing_include' into 'master'
Mahavir Jain [Fri, 26 Jul 2019 10:30:34 +0000 (18:30 +0800)]
Merge branch 'bugfix/esp_event_add_missing_include' into 'master'

esp_event: add missing header include

See merge request espressif/esp-idf!5630

5 years agoMerge branch 'feature/ext_flash_example' into 'master'
Ivan Grokhotkov [Fri, 26 Jul 2019 08:30:37 +0000 (16:30 +0800)]
Merge branch 'feature/ext_flash_example' into 'master'

examples: add FATFS in external Flash example

See merge request espressif/esp-idf!5579

5 years agoesp_event: add missing header include
Mahavir Jain [Tue, 9 Jul 2019 06:38:31 +0000 (12:08 +0530)]
esp_event: add missing header include

Required header was indirectly getting resolved through lwip includes,
apparently does not work if application is not using lwip networking stack.

5 years agocomponent/bt: Fix BLE SMP free without init
baohongde [Fri, 26 Jul 2019 03:18:42 +0000 (11:18 +0800)]
component/bt: Fix BLE SMP free without init

5 years agocomponent/bt: Avoid A2DP demo to use unallocated memory
baohongde [Fri, 26 Jul 2019 03:17:06 +0000 (11:17 +0800)]
component/bt: Avoid A2DP demo to use unallocated memory

5 years agocomponent/bt: Avoid PLC to use unallocated memory
baohongde [Fri, 26 Jul 2019 06:39:50 +0000 (14:39 +0800)]
component/bt: Avoid PLC to use unallocated memory

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

5 years agoexamples: add FATFS in external Flash example
Ivan Grokhotkov [Thu, 18 Jul 2019 13:25:06 +0000 (15:25 +0200)]
examples: add FATFS in external Flash example

Demonstrates the usage of the new spi_bus_add_flash_device,
esp_flash_init, esp_partition_register_external functions.

5 years agoMerge branch 'bugfix/mesh_scan_done_crash' into 'master'
Jiang Jiang Jian [Thu, 25 Jul 2019 10:01:47 +0000 (18:01 +0800)]
Merge branch 'bugfix/mesh_scan_done_crash' into 'master'

Bugfix: mesh scan done crash caused by uint8_t overflow

See merge request espressif/esp-idf!5590