]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoAdd Chinese translation for index.rst files and esp_wifi.rst file in api-reference...
Wang Fang [Wed, 15 May 2019 13:05:44 +0000 (21:05 +0800)]
Add Chinese translation for index.rst files and esp_wifi.rst file in api-reference following Kirill's English review, including:

-network/index.rst
-network/esp_wifi.rst
-peripherals/index.rst
-provisioning/index.rst

5 years agoMerge branch 'bugfix/win_py_case_insensitive' into 'master'
Angus Gratton [Wed, 15 May 2019 06:16:52 +0000 (14:16 +0800)]
Merge branch 'bugfix/win_py_case_insensitive' into 'master'

idf.py: Add more case-insensitive support on Win

See merge request idf/esp-idf!4991

5 years agoMerge branch 'bugfix/mdns_docs_usage' into 'master'
Angus Gratton [Wed, 15 May 2019 04:57:24 +0000 (12:57 +0800)]
Merge branch 'bugfix/mdns_docs_usage' into 'master'

mdns: documentation: fixed inconsistent enum in example of reading mdns results

See merge request idf/esp-idf!4997

5 years agoMerge branch 'bugfix/esp_efuse_fields_unused_variable' into 'master'
Angus Gratton [Wed, 15 May 2019 04:48:28 +0000 (12:48 +0800)]
Merge branch 'bugfix/esp_efuse_fields_unused_variable' into 'master'

efuse: Fix unused variable warning when NDEBUG

Closes IDFGH-1114

See merge request idf/esp-idf!4955

5 years agoMerge branch 'refactor/power_management' into 'master'
Angus Gratton [Wed, 15 May 2019 04:27:58 +0000 (12:27 +0800)]
Merge branch 'refactor/power_management' into 'master'

power_management: Using port*_CRITICAL_ISR to be consistent with FreeRTOS

See merge request idf/esp-idf!4412

5 years agomdns: documentation: fixed inconsistent enum in example of reading mdns results
David Cermak [Tue, 14 May 2019 14:41:07 +0000 (16:41 +0200)]
mdns: documentation: fixed inconsistent enum in example of reading mdns results

5 years agoMerge branch 'bugfix/httpd_log_purge' into 'master'
Angus Gratton [Tue, 14 May 2019 10:07:51 +0000 (18:07 +0800)]
Merge branch 'bugfix/httpd_log_purge' into 'master'

esp_http_server : Logging of purged data to monitor made configurable

Closes IDFGH-1034

See merge request idf/esp-idf!4941

5 years agoidf.py: Add more case-insensitive support
Anton Maklakov [Tue, 7 May 2019 09:56:41 +0000 (16:56 +0700)]
idf.py: Add more case-insensitive support

5 years agounit-test-app: freertos_compliance config added
Sachin Parekh [Mon, 25 Mar 2019 10:45:02 +0000 (16:15 +0530)]
unit-test-app: freertos_compliance config added

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
5 years agoref_clock: port*_CRITICAL vanilla FreeRTOS compliance
Sachin Parekh [Mon, 25 Mar 2019 10:44:09 +0000 (16:14 +0530)]
ref_clock: port*_CRITICAL vanilla FreeRTOS compliance

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
5 years agopower_management: port*_CRITICAL vanilla FreeRTOS compliance
Sachin Parekh [Mon, 25 Mar 2019 10:41:56 +0000 (16:11 +0530)]
power_management: port*_CRITICAL vanilla FreeRTOS compliance

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
5 years agointr_alloc: port*_CRITICAL vanilla FreeRTOS compliance
Sachin Parekh [Mon, 25 Mar 2019 10:39:55 +0000 (16:09 +0530)]
intr_alloc:  port*_CRITICAL vanilla FreeRTOS compliance

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
5 years agocrosscore_init: port*_CRITICAL vanilla FreeRTOS compliance
Sachin Parekh [Mon, 25 Mar 2019 10:39:21 +0000 (16:09 +0530)]
crosscore_init: port*_CRITICAL vanilla FreeRTOS compliance

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
5 years agotimer: port*_CRITICAL vanilla FreeRTOS compliance
Sachin Parekh [Mon, 25 Mar 2019 10:38:28 +0000 (16:08 +0530)]
timer: port*_CRITICAL vanilla FreeRTOS compliance

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
5 years agortc_module: port*_CRITICAL vanilla FreeRTOS compliance
Sachin Parekh [Mon, 25 Mar 2019 10:37:04 +0000 (16:07 +0530)]
rtc_module: port*_CRITICAL vanilla FreeRTOS compliance

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
5 years agormt: port*_CRITICAL vanilla FreeRTOS compliance
Sachin Parekh [Mon, 25 Mar 2019 10:36:22 +0000 (16:06 +0530)]
rmt: port*_CRITICAL vanilla FreeRTOS compliance

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
5 years agoperiph_ctrl: port*_CRITICAL vanilla FreeRTOS compliance
Sachin Parekh [Mon, 25 Mar 2019 10:32:15 +0000 (16:02 +0530)]
periph_ctrl: port*_CRITICAL vanilla FreeRTOS compliance

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
5 years agofreertos: port*_CRITICAL_SAFE API added
Sachin Parekh [Mon, 25 Mar 2019 10:25:57 +0000 (15:55 +0530)]
freertos: port*_CRITICAL_SAFE API added

port*_CRITICAL_SAFE API calls port*_CRITICAL or port*_CRITICAL_ISR
depending on the context (Non-ISR or ISR respectively).

FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE Kconfig option added

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
5 years agoMerge branch 'bugfix/xTaskIncrementTick' into 'master'
Angus Gratton [Mon, 13 May 2019 04:34:54 +0000 (12:34 +0800)]
Merge branch 'bugfix/xTaskIncrementTick' into 'master'

freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1

Closes IDF-183

See merge request idf/esp-idf!4792

5 years agoMerge branch 'feature/example_restful_server' into 'master'
Angus Gratton [Mon, 13 May 2019 04:33:21 +0000 (12:33 +0800)]
Merge branch 'feature/example_restful_server' into 'master'

add http restful server example

Closes IDF-584

See merge request idf/esp-idf!4829

5 years agoMerge branch 'feature/sha_rewrite_rom_functions' into 'master'
Angus Gratton [Mon, 13 May 2019 04:32:45 +0000 (12:32 +0800)]
Merge branch 'feature/sha_rewrite_rom_functions' into 'master'

esp32: Rewrite esp_sha() function with mbedtls APIs

See merge request idf/esp-idf!4236

5 years agoesp32: Rewrite esp_sha function
Konstantin Kondrashov [Mon, 13 May 2019 04:32:45 +0000 (12:32 +0800)]
esp32: Rewrite esp_sha function

It removes using a STALL_OTHER_CPU while sha operations.
It improves performance with SHA.

5 years agoMerge branch 'feature/update_cjson_lib_to_1.7.11' into 'master'
Angus Gratton [Mon, 13 May 2019 04:31:19 +0000 (12:31 +0800)]
Merge branch 'feature/update_cjson_lib_to_1.7.11' into 'master'

cJSON: update to v1.7.11

Closes IDFGH-1004

See merge request idf/esp-idf!4881

5 years agoMerge branch 'docs/translate-getting-started-guides-pico' into 'master'
Krzysztof Budzynski [Mon, 13 May 2019 03:19:52 +0000 (11:19 +0800)]
Merge branch 'docs/translate-getting-started-guides-pico' into 'master'

Add translation for ESP32-PICO-KIT Getting Started Guides

See merge request idf/esp-idf!4640

5 years agoAdd translation for ESP32-PICO-KIT Getting Started Guides
Natasha [Mon, 13 May 2019 03:19:52 +0000 (11:19 +0800)]
Add translation for ESP32-PICO-KIT Getting Started Guides

5 years agoMerge branch 'docs/translate_idf_versions' into 'master'
Krzysztof Budzynski [Fri, 10 May 2019 11:17:49 +0000 (19:17 +0800)]
Merge branch 'docs/translate_idf_versions' into 'master'

Add translation for version file

See merge request idf/esp-idf!4917

5 years agoAdd translation for version file
Natasha [Fri, 10 May 2019 11:17:49 +0000 (19:17 +0800)]
Add translation for version file

5 years agoesp_http_server : Logging of purged data to monitor made configurable
Anurag Kar [Mon, 6 May 2019 07:36:40 +0000 (13:06 +0530)]
esp_http_server : Logging of purged data to monitor made configurable

List of changes:
* Kconfig option HTTPD_LOG_PURGE_DATA enables logging of purged data
* Kconfig option HTTPD_PURGE_BUF_LEN sets purge buffer length
* Purged data is logged in hex

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

5 years agoMerge branch 'bugfix/modify_TCP_MSS_range' into 'master'
Jiang Jiang Jian [Fri, 10 May 2019 05:52:16 +0000 (13:52 +0800)]
Merge branch 'bugfix/modify_TCP_MSS_range' into 'master'

Change the default value of TCP_MSS to 1440 and TCP_MSS Range : [536 1460]

See merge request idf/esp-idf!4968

5 years agoadd RESTful API server example
suda-morris [Fri, 10 May 2019 05:21:14 +0000 (13:21 +0800)]
add RESTful API server example

5 years agoMerge branch 'feature/add_promiscuous_control_for_ethernet' into 'master'
Angus Gratton [Fri, 10 May 2019 04:51:15 +0000 (12:51 +0800)]
Merge branch 'feature/add_promiscuous_control_for_ethernet' into 'master'

add promiscuous mode control for Ethernet

See merge request idf/esp-idf!4953

5 years agoMerge branch 'feature/esp-https-ota-basic-auth' into 'master'
Angus Gratton [Fri, 10 May 2019 04:39:14 +0000 (12:39 +0800)]
Merge branch 'feature/esp-https-ota-basic-auth' into 'master'

esp_https_ota: component refactoring, bugfixes and feature additions

See merge request idf/esp-idf!4245

5 years agoMerge branch 'bugfix/fix_minor_gh_issues' into 'master'
Angus Gratton [Fri, 10 May 2019 04:31:30 +0000 (12:31 +0800)]
Merge branch 'bugfix/fix_minor_gh_issues' into 'master'

mdns: minor fixes mainly from GitHub

Closes #77

See merge request idf/esp-idf!4930

5 years agoMerge branch 'bugfix/issue_with_encryption_flag_for_partition' into 'master'
Angus Gratton [Fri, 10 May 2019 02:51:21 +0000 (10:51 +0800)]
Merge branch 'bugfix/issue_with_encryption_flag_for_partition' into 'master'

partition: Fix "encrypted" read/write when encryption is disabled

See merge request idf/esp-idf!4927

5 years agoMerge branch 'bugfix/spiffsgen_path_on_windows' into 'master'
Angus Gratton [Fri, 10 May 2019 02:23:28 +0000 (10:23 +0800)]
Merge branch 'bugfix/spiffsgen_path_on_windows' into 'master'

Fix issue with spiffsgen path when creating image in Windows

Closes IDFGH-1095

See merge request idf/esp-idf!4931

5 years agoMerge branch 'bugfix/restore_ccache_use' into 'master'
Angus Gratton [Fri, 10 May 2019 02:16:04 +0000 (10:16 +0800)]
Merge branch 'bugfix/restore_ccache_use' into 'master'

CMake : Restore ccache use

Closes IDFGH-673

See merge request idf/esp-idf!4944

5 years ago Change the default value of TCP_MSS to 1440 and TCP_MSS Range : [536 1460]
xiehang [Thu, 9 May 2019 11:49:10 +0000 (19:49 +0800)]
 Change the default value of TCP_MSS to 1440 and TCP_MSS Range : [536 1460]

5 years agoMerge branch 'bugfix/pass_IDF_TARGET_to_bootloader_build' into 'master'
Ivan Grokhotkov [Thu, 9 May 2019 11:45:20 +0000 (19:45 +0800)]
Merge branch 'bugfix/pass_IDF_TARGET_to_bootloader_build' into 'master'

pass IDF_TARGET variable to bootloader build process

See merge request idf/esp-idf!4963

5 years ago Change the default value of TCP_MSS to 1440 and TCP_MSS Range : [576 1460]
xiehang [Thu, 9 May 2019 09:59:25 +0000 (17:59 +0800)]
 Change the default value of TCP_MSS to 1440 and TCP_MSS Range : [576 1460]

5 years agopass IDF_TARGET variable to bootloader build process
suda-morris [Thu, 9 May 2019 06:19:02 +0000 (14:19 +0800)]
pass IDF_TARGET variable to bootloader build process

5 years agoMerge branch 'bugfix/https_doc_api' into 'master'
Ivan Grokhotkov [Thu, 9 May 2019 03:23:01 +0000 (11:23 +0800)]
Merge branch 'bugfix/https_doc_api' into 'master'

esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation

Closes IDFGH-1052

See merge request idf/esp-idf!4942

5 years agoMerge branch 'bugfix/err_to_name_include' into 'master'
Ivan Grokhotkov [Thu, 9 May 2019 03:21:52 +0000 (11:21 +0800)]
Merge branch 'bugfix/err_to_name_include' into 'master'

Fixes for error code generator

Closes IDFGH-1103

See merge request idf/esp-idf!4946

5 years agoadd promiscuous mode control in emac driver
suda-morris [Tue, 7 May 2019 10:30:10 +0000 (18:30 +0800)]
add promiscuous mode control in emac driver

1. add promiscuous mode control in emac driver
2. fix minor bugs in IP101 driver

5 years agoefuse: Fix unused variable warning when NDEBUG
V.Dudnik [Mon, 6 May 2019 06:52:53 +0000 (09:52 +0300)]
efuse: Fix unused variable warning when NDEBUG

Merges: https://github.com/espressif/esp-idf/pull/3429
Closes: https://github.com/espressif/esp-idf/issues/3432
5 years agoci: check that build uses ccache when present
Renz Christian Bagaporo [Mon, 6 May 2019 11:58:06 +0000 (19:58 +0800)]
ci: check that build uses ccache when present

5 years agotools/gen_esp_err_to_name.py: Don't include already included headers
Roland Dobai [Mon, 6 May 2019 13:06:19 +0000 (15:06 +0200)]
tools/gen_esp_err_to_name.py: Don't include already included headers

5 years agoFix paths to the new esp_common in the ESP error code generator
Roland Dobai [Mon, 6 May 2019 12:57:52 +0000 (14:57 +0200)]
Fix paths to the new esp_common in the ESP error code generator

5 years agoFix includes in esp_err_to_name.c.in.
Hagen Fritsch [Sat, 4 May 2019 13:16:15 +0000 (15:16 +0200)]
Fix includes in esp_err_to_name.c.in.

esp_err_t provided by esp_err.h and thus is required and not optional.
While the python script adds the header, it wraps it with an __has_include
directive that is not supported on all compilers (notably GCC 4.8).

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

5 years agocmake: restore ccache use when present
Renz Christian Bagaporo [Mon, 6 May 2019 11:57:45 +0000 (19:57 +0800)]
cmake: restore ccache use when present

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

5 years agoMerge branch 'bugfix/blockdiag_seqdiag_cn_fonts' into 'master'
Krzysztof Budzynski [Mon, 6 May 2019 10:09:21 +0000 (18:09 +0800)]
Merge branch 'bugfix/blockdiag_seqdiag_cn_fonts' into 'master'

Introduce separate fonts used by blockdiag, sequdiag, actdiag, nwdiag, rackdiag…

See merge request idf/esp-idf!4646

5 years agoesp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation
Anurag Kar [Mon, 6 May 2019 09:02:24 +0000 (14:32 +0530)]
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation

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

5 years agocJSON: update to v1.7.11
suda-morris [Thu, 25 Apr 2019 04:55:27 +0000 (12:55 +0800)]
cJSON: update to v1.7.11

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

5 years agoIntroduce separate fonts used by blockdiag, sequdiag, actdiag, nwdiag, rackdiag and...
Krzysztof [Mon, 1 Apr 2019 01:12:08 +0000 (09:12 +0800)]
Introduce separate fonts used by blockdiag, sequdiag, actdiag, nwdiag, rackdiag and packetdiag for Chinese and English version of documentation

5 years agoCorrect diagram layout to make text descriptions fit into blocks
Krzysztof [Mon, 8 Apr 2019 02:48:41 +0000 (10:48 +0800)]
Correct diagram layout to make text descriptions fit into blocks

5 years agoMerge branch 'bugifx/httpd_reuseaddr' into 'master'
Angus Gratton [Mon, 6 May 2019 00:45:09 +0000 (08:45 +0800)]
Merge branch 'bugifx/httpd_reuseaddr' into 'master'

esp_http_server : Allow binding to same address and port upon restarting server without delay

Closes IDFGH-1060

See merge request idf/esp-idf!4903

5 years agofix spiffsgen.py wrong path delimiter on windows
V.Dudnik [Sat, 4 May 2019 08:41:53 +0000 (11:41 +0300)]
fix spiffsgen.py wrong path delimiter on windows

5 years agoMerge branch 'bugfix/kconfig_no_split_headers' into 'master'
Ivan Grokhotkov [Sun, 5 May 2019 03:31:34 +0000 (11:31 +0800)]
Merge branch 'bugfix/kconfig_no_split_headers' into 'master'

kconfig: Don't create "split" directory structures under build/include/config

Closes IDFGH-962

See merge request idf/esp-idf!4768

5 years agoMerge branch 'bugfix/http_file_server' into 'master'
Ivan Grokhotkov [Sun, 5 May 2019 03:24:52 +0000 (11:24 +0800)]
Merge branch 'bugfix/http_file_server' into 'master'

File Server Example : Check longer than allowed filenames when converting from URIs to filepaths

See merge request idf/esp-idf!4886

5 years agomdns: fixed mdns crashing on reception of txt packet without a corresponding service
David Cermak [Fri, 3 May 2019 14:37:43 +0000 (16:37 +0200)]
mdns:  fixed mdns crashing on reception of txt packet without a corresponding service
closes #2866

5 years agomdns: use const char* for mdns txt items types to remove warning when assigning
David Cermak [Fri, 3 May 2019 14:31:11 +0000 (16:31 +0200)]
mdns: use const char* for mdns txt items types to remove warning when assigning

5 years agomdns: updated doxygen comments documenting mdns api
David Cermak [Fri, 22 Mar 2019 07:49:12 +0000 (08:49 +0100)]
mdns: updated doxygen comments documenting mdns api

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

5 years agomdns: update mdns_out_question_s to be in line with mdns_parsed_question_s struct
David Cermak [Fri, 15 Mar 2019 15:02:13 +0000 (16:02 +0100)]
mdns: update mdns_out_question_s to be in line with mdns_parsed_question_s struct

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

5 years agopartition: Fix "encrypted" read/write when encryption is disabled
Tim Nordell [Thu, 18 Apr 2019 19:10:18 +0000 (14:10 -0500)]
partition: Fix "encrypted" read/write when encryption is disabled

According to the documentation[1][2] for partitions, setting the encrypted
flag for partitions should be a no-op when system level encryption isn't
enabled.  The current implementation, however, does not actually match
the documentation and it ends up with an unreadable partition via the
partition API if a partition flag is marked as encrypted without
system-level encryption enabled.  (This is because the writes go through
the encryption block, and reads do not go through the encryption block
when this situation occurs causing unreadable data to the application
running.) This fixes up the read-back of the partition table to match
whether or not the partition is currently encrypted under the hood.

This should not affect the bootloader's code for reading/writing encrypted
partitions as the bootloader directly invokes the spi_flash_write*(...)
APIs.

[1] https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/partition-tables.html#flags
[2] https://docs.espressif.com/projects/esp-idf/en/latest/security/flash-encryption.html#encrypted-partition-flag

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

Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
5 years agoMerge branch 'bugfix/esp_http_client_event_name' into 'master'
Angus Gratton [Fri, 3 May 2019 06:57:09 +0000 (14:57 +0800)]
Merge branch 'bugfix/esp_http_client_event_name' into 'master'

esp-http-client: Fix incorrect event name HTTP_EVENT_HEADER_SENT

See merge request idf/esp-idf!4921

5 years agoMerge branch 'fix/nvs_console' into 'master'
Angus Gratton [Fri, 3 May 2019 06:47:27 +0000 (14:47 +0800)]
Merge branch 'fix/nvs_console' into 'master'

nvs_console: Fix type comparison

See merge request idf/esp-idf!4920

5 years agoMerge branch 'bugfix/win_fullclean_symlink' into 'master'
Angus Gratton [Fri, 3 May 2019 04:10:04 +0000 (12:10 +0800)]
Merge branch 'bugfix/win_fullclean_symlink' into 'master'

idf.py: Detect symlinks on Windows during fullclean

Closes IDFGH-1055

See merge request idf/esp-idf!4915

5 years agoesp-http-client: Fix incorrect event name HTTP_EVENT_HEADER_SENT
Jitin George [Thu, 2 May 2019 10:39:55 +0000 (16:09 +0530)]
esp-http-client: Fix incorrect event name HTTP_EVENT_HEADER_SENT

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

5 years agonvs_console: Fix type comparison
Shivani Tipnis [Thu, 2 May 2019 10:01:50 +0000 (15:31 +0530)]
nvs_console: Fix type comparison

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

5 years agoidf.py: Detect symlinks on Windows during fullclean
Roland Dobai [Tue, 30 Apr 2019 07:45:25 +0000 (09:45 +0200)]
idf.py: Detect symlinks on Windows during fullclean

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

5 years agoexamples/system/ota/advanced_https_ota: Add example for newly introduced APIs in...
Jitin George [Wed, 3 Apr 2019 14:28:26 +0000 (19:58 +0530)]
examples/system/ota/advanced_https_ota: Add example for newly introduced APIs in esp_https_ota component

5 years agoesp_http_server : Allow binding to same address and port upon restarting server witho...
Anurag Kar [Mon, 29 Apr 2019 13:16:20 +0000 (18:46 +0530)]
esp_http_server : Allow binding to same address and port upon restarting server without delay

Issue : Restarting the server without 30sec delay between httpd_stop() and httpd_start() causes EADDRINUSE error
Resolution : Use setsockopt() to enable SO_REUSEADDR on listener socket

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

5 years agoMerge branch 'bugfix/missing_ldgen_libraries_file_on_windows' into 'master'
Angus Gratton [Wed, 1 May 2019 05:08:23 +0000 (13:08 +0800)]
Merge branch 'bugfix/missing_ldgen_libraries_file_on_windows' into 'master'

make: fix missing rule for creating ldgen_libraries file

See merge request idf/esp-idf!4907

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

5 years agoMerge branch 'fix/spi_master_dio_qio_hal' into 'master'
Ivan Grokhotkov [Tue, 30 Apr 2019 08:14:53 +0000 (16:14 +0800)]
Merge branch 'fix/spi_master_dio_qio_hal' into 'master'

spi_master: fix the dual/quad io issue

See merge request idf/esp-idf!4894

5 years agoMerge branch 'bugfix/move_spiffsgen_example_to_storage' into 'master'
Ivan Grokhotkov [Tue, 30 Apr 2019 05:48:54 +0000 (13:48 +0800)]
Merge branch 'bugfix/move_spiffsgen_example_to_storage' into 'master'

spiffsgen follow-ups

See merge request idf/esp-idf!4893

5 years agomake: fix missing rule for creating ldgen_libraries file
Renz Christian Bagaporo [Tue, 30 Apr 2019 03:54:01 +0000 (11:54 +0800)]
make: fix missing rule for creating ldgen_libraries file

5 years agoesp_https_ota: Add support for URL redirection, basic auth and more control with...
Jitin George [Wed, 3 Apr 2019 14:25:27 +0000 (19:55 +0530)]
esp_https_ota: Add support for URL redirection, basic auth and more control with new APIs

Bugfixes:
- Fix http url redirection issue
- Fix basic/digest auth issue with http url

Features:
- Add support for adding custom http header
- Add support for reading firmware image header
- Add support for monitoring upgrade status
  - This requires breaking down esp_https_ota API such that it allows finer application level control
  - For simpler use-cases previous API is still supported

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

5 years agoFile Server Example : Check longer than allowed filenames when converting from URIs...
Anurag Kar [Thu, 25 Apr 2019 19:58:33 +0000 (01:28 +0530)]
File Server Example : Check longer than allowed filenames when converting from URIs to filepaths

This change prevents buffer overflows in case of really long file paths.

Other changes:
* Remove query (?) and fragment (#) component from URI when converting to file path
* /index.html and favicon.ico can be overridden by files with same name and path in SPIFFS
* README.md updated

5 years agoesp_http_client: Add API for adding authorization info
Jitin George [Wed, 3 Apr 2019 14:13:13 +0000 (19:43 +0530)]
esp_http_client: Add API for adding authorization info

There was existing support for adding authorization info in esp_http_client
but it was functional only while using `esp_http_client_perform` API. This commit just moves
existing authorization addition logic into publicly exposed API.

5 years agoMerge branch 'doc/review_api-reference_indexes' into 'master'
Krzysztof Budzynski [Mon, 29 Apr 2019 02:53:42 +0000 (10:53 +0800)]
Merge branch 'doc/review_api-reference_indexes' into 'master'

Doc/review api reference indexes

See merge request idf/esp-idf!4876

5 years agoDoc/review api reference indexes
Kirill Chalov [Mon, 29 Apr 2019 02:53:42 +0000 (10:53 +0800)]
Doc/review api reference indexes

5 years agoMerge branch 'bugfix/udp_multicast_example_errors' into 'master'
Angus Gratton [Mon, 29 Apr 2019 01:21:07 +0000 (09:21 +0800)]
Merge branch 'bugfix/udp_multicast_example_errors' into 'master'

udp_multicast_example: better handling wrong addresses

Closes IDFGH-979

See merge request idf/esp-idf!4784

5 years agoMerge branch 'feature/use_libraries_directly_with_ldgen' into 'master'
Angus Gratton [Mon, 29 Apr 2019 00:49:42 +0000 (08:49 +0800)]
Merge branch 'feature/use_libraries_directly_with_ldgen' into 'master'

Pass libraries as arguments to ldgen directly

See merge request idf/esp-idf!4887

5 years agoMerge branch 'bugfix/ldgen_fails_when_wifi_ram_opt_off' into 'master'
Angus Gratton [Mon, 29 Apr 2019 00:44:13 +0000 (08:44 +0800)]
Merge branch 'bugfix/ldgen_fails_when_wifi_ram_opt_off' into 'master'

ldgen: do not generate rules when no condition is true

See merge request idf/esp-idf!4757

5 years agospi_master: fix the dual/quad io issue
michael [Fri, 26 Apr 2019 17:29:48 +0000 (01:29 +0800)]
spi_master: fix the dual/quad io issue

introduced in f871cc5ffa951032adf435997ed7688e31afb3ba

The issue is caused by

1. The hal didn't pass the io_mode to LL.
2. The setup_device function overwrite the trans-specific settings.

5 years agoexample: use mbedtls to compute hash in spiffsgen example
Renz Christian Bagaporo [Fri, 26 Apr 2019 14:36:29 +0000 (22:36 +0800)]
example: use mbedtls to compute hash in spiffsgen example

5 years agospiffs: move spiffsgen example with other storage related examples
Renz Christian Bagaporo [Fri, 26 Apr 2019 10:09:08 +0000 (18:09 +0800)]
spiffs: move spiffsgen example with other storage related examples

5 years agofreertos/test: Add unit tests for xTaskIncrementTick
Konstantin Kondrashov [Thu, 25 Apr 2019 05:04:31 +0000 (13:04 +0800)]
freertos/test: Add unit tests for xTaskIncrementTick

5 years agoldgen: pass component libraries directly
Renz Christian Bagaporo [Fri, 26 Apr 2019 05:42:10 +0000 (13:42 +0800)]
ldgen: pass component libraries directly

5 years agoMerge branch 'bugfix/fix_build_cmake_example_failing' into 'master'
Ivan Grokhotkov [Fri, 26 Apr 2019 10:20:53 +0000 (18:20 +0800)]
Merge branch 'bugfix/fix_build_cmake_example_failing' into 'master'

Fix false positive errors with CMake example builds

See merge request idf/esp-idf!4608

5 years agoMerge branch 'feature/make_bootloader_support_target_dependent' into 'master'
Angus Gratton [Fri, 26 Apr 2019 07:36:48 +0000 (15:36 +0800)]
Merge branch 'feature/make_bootloader_support_target_dependent' into 'master'

make bootloader_support depend on IDF_TARGET

See merge request idf/esp-idf!4798

5 years agoMerge branch 'test/always_deploy_test_result_on_master' into 'master'
Angus Gratton [Fri, 26 Apr 2019 06:34:57 +0000 (14:34 +0800)]
Merge branch 'test/always_deploy_test_result_on_master' into 'master'

CI: always deploy test result to Jira on master

See merge request idf/esp-idf!4840

5 years agoMerge branch 'feature/kconfig_backward_comp' into 'master'
Angus Gratton [Fri, 26 Apr 2019 02:09:29 +0000 (10:09 +0800)]
Merge branch 'feature/kconfig_backward_comp' into 'master'

Rename deprecated Kconfig options in a backward compatible way

Closes IDF-155

See merge request idf/esp-idf!4551

5 years agoMerge branch 'fix/fix_soc_dram_low_addr' into 'master'
Angus Gratton [Fri, 26 Apr 2019 00:43:22 +0000 (08:43 +0800)]
Merge branch 'fix/fix_soc_dram_low_addr' into 'master'

fix the dram low addr defined in the soc.h header

See merge request idf/esp-idf!4882

5 years agoMerge branch 'bugfix/btdm_abort_if_deinit_spp_without_init' into 'master'
Jiang Jiang Jian [Thu, 25 Apr 2019 12:38:37 +0000 (20:38 +0800)]
Merge branch 'bugfix/btdm_abort_if_deinit_spp_without_init' into 'master'

components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init

See merge request idf/esp-idf!4859

5 years agoMerge branch 'feature/btdm_add_ble_link_timeout_config' into 'master'
Jiang Jiang Jian [Thu, 25 Apr 2019 12:04:53 +0000 (20:04 +0800)]
Merge branch 'feature/btdm_add_ble_link_timeout_config' into 'master'

Component/bt: add ble link timeout config in menuconfig

See merge request idf/esp-idf!4786

5 years agoMerge branch 'bugfix/select_init_sem' into 'master'
Ivan Grokhotkov [Thu, 25 Apr 2019 11:10:08 +0000 (19:10 +0800)]
Merge branch 'bugfix/select_init_sem' into 'master'

VFS: Allocate socket select semaphore outside ISR

See merge request idf/esp-idf!4591

5 years agofix the dram low addr defined in the soc.h header
Michael (XIAO Xufeng) [Thu, 25 Apr 2019 09:29:48 +0000 (17:29 +0800)]
fix the dram low addr defined in the soc.h header

5 years agoMerge branch 'bugfix/wifi_fix_wps_fail_when_ap_is_encrypted' into 'master'
Jiang Jiang Jian [Thu, 25 Apr 2019 09:05:48 +0000 (17:05 +0800)]
Merge branch 'bugfix/wifi_fix_wps_fail_when_ap_is_encrypted' into 'master'

esp_wifi: fix the bug that WPS fails when AP is encrypted

Closes IDF-623

See merge request idf/esp-idf!4827

5 years agofreertos: Fix xTaskIncrementTick for unwind the Tick for CPU1
Konstantin Kondrashov [Thu, 25 Apr 2019 05:03:01 +0000 (13:03 +0800)]
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1

xTaskIncrementTick have to unwind uxPendedTicks on CPU1 and CPU0.

Use case: If an erase operation was run on the CPU1 then it leads
to starving other tasks which waiting time. Waited tasks just skipped.

Closes: https://github.com/espressif/esp-idf/issues/1952
Closes: IDF-183
5 years agoRename deprecated Kconfig options in a backward compatible way
Roland Dobai [Thu, 14 Mar 2019 08:54:04 +0000 (09:54 +0100)]
Rename deprecated Kconfig options in a backward compatible way