]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoAdd CRC APIs usage
jack [Tue, 26 Feb 2019 08:38:20 +0000 (16:38 +0800)]
Add CRC APIs usage

5 years agoMerge branch 'bugfix/nvs_hash_blocks_eager_cleanup' into 'master'
Ivan Grokhotkov [Tue, 26 Feb 2019 04:28:10 +0000 (12:28 +0800)]
Merge branch 'bugfix/nvs_hash_blocks_eager_cleanup' into 'master'

nvs: do eager cleanup of HashListBlocks

See merge request idf/esp-idf!4337

5 years agoMerge branch 'feature/add_api_get_rmt_idle_level' into 'master'
Angus Gratton [Tue, 26 Feb 2019 03:57:10 +0000 (11:57 +0800)]
Merge branch 'feature/add_api_get_rmt_idle_level' into 'master'

feature(rmt):  fixed some RMT related issues.

See merge request idf/esp-idf!3864

5 years agoMerge branch 'bugfix/fix_dig_gpio_unable_hold_bug' into 'master'
Angus Gratton [Tue, 26 Feb 2019 03:56:27 +0000 (11:56 +0800)]
Merge branch 'bugfix/fix_dig_gpio_unable_hold_bug' into 'master'

bugfix(gpio):  fixed digital gpio unable hold bug during deep-sleep.

See merge request idf/esp-idf!3877

5 years agoMerge branch 'bugfix/i2s_pdm_adc_use_apll' into 'master'
Angus Gratton [Tue, 26 Feb 2019 03:47:49 +0000 (11:47 +0800)]
Merge branch 'bugfix/i2s_pdm_adc_use_apll' into 'master'

bugfix(i2s): allow to use apll in pdm/adc/dac mode

See merge request idf/esp-idf!3800

5 years agoMerge branch 'bugfix/update_ledc_register_and_fix_fade_scale' into 'master'
Angus Gratton [Tue, 26 Feb 2019 03:46:28 +0000 (11:46 +0800)]
Merge branch 'bugfix/update_ledc_register_and_fix_fade_scale' into 'master'

Bugfix (ledc):  Fixed ledc fade scale  bug

See merge request idf/esp-idf!4109

5 years agoMerge branch 'bugfix/btdm_fix_comment_error' into 'master'
Angus Gratton [Tue, 26 Feb 2019 03:45:26 +0000 (11:45 +0800)]
Merge branch 'bugfix/btdm_fix_comment_error' into 'master'

Component/bt: fix comment error

See merge request idf/esp-idf!3769

5 years agoMerge branch 'bugfix/idf_monitor_test' into 'master'
Angus Gratton [Tue, 26 Feb 2019 03:12:58 +0000 (11:12 +0800)]
Merge branch 'bugfix/idf_monitor_test' into 'master'

CI: Test IDF Monitor after it is ready to receive data

See merge request idf/esp-idf!4055

5 years agoMerge branch 'feature/http_server_err_handling' into 'master'
Angus Gratton [Tue, 26 Feb 2019 03:12:06 +0000 (11:12 +0800)]
Merge branch 'feature/http_server_err_handling' into 'master'

http_server : Add feature for invoking user configurable handlers during server errors

See merge request idf/esp-idf!4229

5 years agonvs: add a blob fragmentation test case
Ivan Grokhotkov [Fri, 22 Feb 2019 10:14:48 +0000 (18:14 +0800)]
nvs: add a blob fragmentation test case

Ref. TW12937

5 years agonvs: do eager cleanup of HashListBlocks
Ivan Grokhotkov [Fri, 22 Feb 2019 09:28:43 +0000 (17:28 +0800)]
nvs: do eager cleanup of HashListBlocks

Previously when HashList was removing items, HashListBlocks were
removed lazily. This resulted in empty HashListBlocks dangling around
in full pages, even when all items have been erased. These blocks
would only be deleted when NVS was re-initialized
(nvs_flash_deinit/nvs_flash_init).

This change does eager cleanup instead, based on the code from
@negativekelvin offered in
https://github.com/espressif/esp-idf/issues/1642#issuecomment-367227994.

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

5 years agoMerge branch 'feature/poll' into 'master'
Ivan Grokhotkov [Tue, 26 Feb 2019 00:11:22 +0000 (08:11 +0800)]
Merge branch 'feature/poll' into 'master'

VFS: Implement poll() based on select()

See merge request idf/esp-idf!4315

5 years agotools: Test IDF Monitor after it is ready to receive data
Roland Dobai [Fri, 25 Jan 2019 14:02:43 +0000 (15:02 +0100)]
tools: Test IDF Monitor after it is ready to receive data

5 years agoVFS: Implement poll() based on select()
Roland Dobai [Tue, 19 Feb 2019 12:18:40 +0000 (13:18 +0100)]
VFS: Implement poll() based on select()

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

5 years agohttps_server : Missing uri_match_fn paramater added to default config
Anurag Kar [Fri, 1 Feb 2019 13:13:22 +0000 (18:43 +0530)]
https_server : Missing uri_match_fn paramater added to default config

5 years agohttp_server examples : Updated tests and examples to demonstrate usage of `httpd_regi...
Anurag Kar [Fri, 1 Feb 2019 13:11:46 +0000 (18:41 +0530)]
http_server examples : Updated tests and examples to demonstrate usage of `httpd_register_err_handler()` and accommodate for changes in default error handler behavior

5 years agohttp_server : Added feature for invoking user configurable handlers during server...
Anurag Kar [Fri, 1 Feb 2019 12:17:41 +0000 (17:47 +0530)]
http_server : Added feature for invoking user configurable handlers during server errors

Added APIs :
  * httpd_resp_send_err()        : for sending HTTP error responses for error codes given by httpd_err_code_t. It uses TCP_NODELAY option to ensure that HTTP error responses reach the client before socket is closed.
  * httpd_register_err_handler() : for registering HTTP error handler functions of type httpd_err_handler_func_t.

The default behavior, on encountering errors during processing of HTTP requests, is now to send HTTP error response (if possible) and close the underlying socket. User configurable handlers can be used to override this behavior for each error individually (except for 500 Internal Server Error).

Also fixed some typos.

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

5 years agoMerge branch 'bugfix/multiple_can_bugs' into 'master'
Ivan Grokhotkov [Mon, 25 Feb 2019 07:43:56 +0000 (15:43 +0800)]
Merge branch 'bugfix/multiple_can_bugs' into 'master'

CAN: Add functions to clear queues and fix multiple bugs

See merge request idf/esp-idf!4279

5 years agoMerge branch 'ci/retry_submodule_sync' into 'master'
Angus Gratton [Mon, 25 Feb 2019 06:11:51 +0000 (14:11 +0800)]
Merge branch 'ci/retry_submodule_sync' into 'master'

ci: Retry submodule sync 2 more times before failing

See merge request idf/esp-idf!4323

5 years agoci: Only use "github_sync" tagged runners to talk to GitHub
Angus Gratton [Sun, 24 Feb 2019 23:41:39 +0000 (10:41 +1100)]
ci: Only use "github_sync" tagged runners to talk to GitHub

5 years agoci: Retry submodule sync 2 more times before failing
Angus Gratton [Wed, 20 Feb 2019 23:48:55 +0000 (10:48 +1100)]
ci: Retry submodule sync 2 more times before failing

5 years agoMerge branch 'bugfix/make_extra_component_dirs' into 'master'
Ivan Grokhotkov [Fri, 22 Feb 2019 08:00:31 +0000 (16:00 +0800)]
Merge branch 'bugfix/make_extra_component_dirs' into 'master'

make: fix issues related to EXTRA_COMPONENT_DIRS

See merge request idf/esp-idf!4253

5 years agoMerge branch 'bugfix/kconfig_flex_arg' into 'master'
Ivan Grokhotkov [Fri, 22 Feb 2019 07:49:11 +0000 (15:49 +0800)]
Merge branch 'bugfix/kconfig_flex_arg' into 'master'

kconfig: fix compatibility with very old versions of flex

See merge request idf/esp-idf!4263

5 years agoMerge branch 'bugfix/psram_move_qsort_setlocale_flash' into 'master'
Ivan Grokhotkov [Fri, 22 Feb 2019 04:30:04 +0000 (12:30 +0800)]
Merge branch 'bugfix/psram_move_qsort_setlocale_flash' into 'master'

psram: Move qsort and setlocale to flash

See merge request idf/esp-idf!4321

5 years agonewlib: When using psram, link setlocale() to flash not IRAM
Angus Gratton [Wed, 20 Feb 2019 23:26:07 +0000 (10:26 +1100)]
newlib: When using psram, link setlocale() to flash not IRAM

5 years agonewlib: When using psram, link qsort to flash not IRAM
Angus Gratton [Wed, 20 Feb 2019 23:06:29 +0000 (10:06 +1100)]
newlib: When using psram, link qsort to flash not IRAM

5 years agoMerge branch 'bugfix/remove_lddeps_resolution' into 'master'
Ivan Grokhotkov [Fri, 22 Feb 2019 03:28:10 +0000 (11:28 +0800)]
Merge branch 'bugfix/remove_lddeps_resolution' into 'master'

Remove lddeps resolution for linker script generator template

See merge request idf/esp-idf!4326

5 years agoldgen: remove resolution of template includes
Renz Christian Bagaporo [Thu, 21 Feb 2019 06:11:09 +0000 (14:11 +0800)]
ldgen: remove resolution of template includes

5 years agoMerge branch 'feature/coredump_improvements_refactoring' into 'master'
Ivan Grokhotkov [Thu, 21 Feb 2019 03:04:19 +0000 (11:04 +0800)]
Merge branch 'feature/coredump_improvements_refactoring' into 'master'

coredump: improvements, refactoring (separate FLASH and UART functionality)

See merge request idf/esp-idf!4207

5 years agoMerge branch 'bugfix/mdns_service_memory_leak' into 'master'
Angus Gratton [Wed, 20 Feb 2019 22:03:48 +0000 (06:03 +0800)]
Merge branch 'bugfix/mdns_service_memory_leak' into 'master'

mdns: fix memory leak when query for service plus various other fixes

See merge request idf/esp-idf!4270

5 years agoMerge branch 'feature/anti_rollback_efuse' into 'master'
Angus Gratton [Wed, 20 Feb 2019 08:11:00 +0000 (16:11 +0800)]
Merge branch 'feature/anti_rollback_efuse' into 'master'

Support anti-rollback

See merge request idf/esp-idf!3682

5 years agoMerge branch 'revert-23a03cf6' into 'master'
Angus Gratton [Wed, 20 Feb 2019 07:09:35 +0000 (15:09 +0800)]
Merge branch 'revert-23a03cf6' into 'master'

Revert "Merge branch 'bugfix/external_rtc_start_fail' into 'master'"

See merge request idf/esp-idf!4292

5 years agoMerge branch 'bugfix/btdm_fix_connection_params_update_issues' into 'master'
Angus Gratton [Wed, 20 Feb 2019 06:18:11 +0000 (14:18 +0800)]
Merge branch 'bugfix/btdm_fix_connection_params_update_issues' into 'master'

component/bt: fix connection params issues

See merge request idf/esp-idf!4276

5 years agoMerge branch 'bugfix/doc_master_branch_clone_note' into 'master'
Angus Gratton [Wed, 20 Feb 2019 00:31:05 +0000 (08:31 +0800)]
Merge branch 'bugfix/doc_master_branch_clone_note' into 'master'

doc: Fix invalid 'This command will clone master' note in docs

See merge request idf/esp-idf!4240

5 years agoMerge branch 'bugfix/coex_lc_protect' into 'master'
Jiang Jiang Jian [Tue, 19 Feb 2019 18:11:37 +0000 (02:11 +0800)]
Merge branch 'bugfix/coex_lc_protect' into 'master'

component/esp32 : fix coexist lc protect cause memory corrupted

See merge request idf/esp-idf!4265

5 years agoReduce part of IRAM consumption in wifi libnet80211.a
Tian Hao [Tue, 19 Feb 2019 07:43:03 +0000 (15:43 +0800)]
Reduce part of IRAM consumption in wifi libnet80211.a

It might be a little effect of WIFI max TX throughput if the limitation is cache hit rate

5 years agoMerge branch 'bugfix/spiram_linker_wildcards' into 'master'
Angus Gratton [Tue, 19 Feb 2019 05:28:10 +0000 (13:28 +0800)]
Merge branch 'bugfix/spiram_linker_wildcards' into 'master'

newlib: Provide library name for ROM libc object files linked as PSRAM workarounds

See merge request idf/esp-idf!4152

5 years agoRevert "Merge branch 'bugfix/external_rtc_start_fail' into 'master'"
Ivan Grokhotkov [Tue, 19 Feb 2019 04:39:47 +0000 (12:39 +0800)]
Revert "Merge branch 'bugfix/external_rtc_start_fail' into 'master'"

This reverts merge request !2441

5 years agodoc: Fix invalid 'This command will clone master' note in docs
Angus Gratton [Thu, 7 Feb 2019 06:13:52 +0000 (17:13 +1100)]
doc: Fix invalid 'This command will clone master' note in docs

Was accidentally considering the extra_note text as a tuple, resulted in
corrupt ..note section.

5 years agocomponent/esp32 : fix coexist lc protect cause memory corrupted
Tian Hao [Thu, 14 Feb 2019 08:52:17 +0000 (16:52 +0800)]
component/esp32 : fix coexist lc protect cause memory corrupted

The bug will cause memory corrupted (the largest range is from 0x3ffc0000 ~ 0x3ffc8000),
some strange error will happen, like IllegalInstruction, LoadProhibited and .etc.

5 years agoMerge branch 'bugfix/freertos_unused_xSize' into 'master'
Angus Gratton [Tue, 19 Feb 2019 02:48:04 +0000 (10:48 +0800)]
Merge branch 'bugfix/freertos_unused_xSize' into 'master'

freertos: Fix unused variable warning

See merge request idf/esp-idf!4281

5 years agoMerge branch 'bugfix/wdt_compability_app_with_old_bootloader' into 'master'
Angus Gratton [Tue, 19 Feb 2019 02:42:33 +0000 (10:42 +0800)]
Merge branch 'bugfix/wdt_compability_app_with_old_bootloader' into 'master'

esp32: Fix wdt settings in esp_restart_noos

See merge request idf/esp-idf!4098

5 years agoMerge branch 'bugfix/nvs_key_part_check_err' into 'master'
Angus Gratton [Tue, 19 Feb 2019 02:22:04 +0000 (10:22 +0800)]
Merge branch 'bugfix/nvs_key_part_check_err' into 'master'

nvs_flash: Detect key partition as uninitialised even if encrypted by bootloader

See merge request idf/esp-idf!4224

5 years agoMerge branch 'feature/docs_add-ons_and_extensions' into 'master'
Angus Gratton [Mon, 18 Feb 2019 22:06:31 +0000 (06:06 +0800)]
Merge branch 'feature/docs_add-ons_and_extensions' into 'master'

docs: This is a quick reference of more than a dozen and-ons and extensions prepared over the last two years to add contents, improve look & feel and cut on maintenance of the ESP-IDF documentation.

See merge request idf/esp-idf!4244

5 years agoMerge branch 'feature/get_started_steps' into 'master'
Angus Gratton [Mon, 18 Feb 2019 22:04:54 +0000 (06:04 +0800)]
Merge branch 'feature/get_started_steps' into 'master'

Introduced installation steps to improve navigation through the installation…

See merge request idf/esp-idf!4234

5 years agoCAN: Add functions to clear queues and fix multiple bugs
Darian Leung [Mon, 11 Feb 2019 06:57:43 +0000 (14:57 +0800)]
CAN: Add functions to clear queues and fix multiple bugs

This commits adds the functions can_clear_transmit_queue() and
can_clear_receive_queue(). Closes #2906

The following bug are fixed:

- CAN_IO_UNUSED is now explicitly cast to enum type. Closes #2825
- Fix multiple documentation errors. Closes #2898, Closes #2794
- can_reconfigure_alerts() returns incorrect current_alerts. Closes #3028
- Add missing header file. Closes #3065

5 years agocomponent/bt: fix connection params update issues
zwj [Mon, 18 Feb 2019 11:52:16 +0000 (19:52 +0800)]
component/bt: fix connection params update issues

5 years agoMerge branch 'feature/wifi_provisioning_handler_ctx' into 'master'
Angus Gratton [Mon, 18 Feb 2019 00:06:12 +0000 (08:06 +0800)]
Merge branch 'feature/wifi_provisioning_handler_ctx' into 'master'

Provisioning : Various fixes in protocomm and wifi_provisioning components

See merge request idf/esp-idf!4188

5 years agodocs: This is a quick reference of more than a dozen and-ons and extensions prepared...
krzychb [Sun, 10 Feb 2019 18:14:28 +0000 (19:14 +0100)]
docs: This is a quick reference of more than a dozen and-ons and extensions prepared over the last two years to add contents, improve look & feel and cut on maintenance of the ESP-IDF documentation.

5 years agoIntroduced installation steps to improve navigation through the installation process...
krzychb [Mon, 4 Feb 2019 20:51:50 +0000 (21:51 +0100)]
Introduced installation steps to improve navigation through the installation process. Included some updates from GNU make section.

5 years agoMerge branch 'fix/spi_on_readonly_pins' into 'master'
Ivan Grokhotkov [Sun, 17 Feb 2019 05:03:28 +0000 (13:03 +0800)]
Merge branch 'fix/spi_on_readonly_pins' into 'master'

spi: fix the bug of connecting SPI peripheral to read-only pins

See merge request idf/esp-idf!4246

5 years agospi: fix the bug of connecting SPI peripheral to read-only pins
Michael (XIAO Xufeng) [Mon, 11 Feb 2019 06:17:31 +0000 (14:17 +0800)]
spi: fix the bug of connecting SPI peripheral to read-only pins

The requirements of pin capabilites is different for spi master and
slave.  The master needs CS, SCLK, MOSI to be output-able, while slave
needs MISO to be output-able.

Previous code is for master only.

This commit allows to place other 3 pins than MISO on input-only pins
for slaves. Refactoring for spi_common is also included.

Resolves https://github.com/espressif/esp-idf/issues/2455

5 years agoMerge branch 'bugfix/btdm_crash_when_inquiry_cancel' into 'master'
Jiang Jiang Jian [Sat, 16 Feb 2019 08:27:49 +0000 (16:27 +0800)]
Merge branch 'bugfix/btdm_crash_when_inquiry_cancel' into 'master'

Bugfix/btdm crash when inquiry cancel

See merge request idf/esp-idf!4142

5 years agofreertos: Fix unused variable warning
Darian Leung [Fri, 15 Feb 2019 17:42:00 +0000 (01:42 +0800)]
freertos: Fix unused variable warning

This commit fixes an unused variable warning when
configASSERT is undefined.

5 years agomdns: fix memory leak in pbuf if tcpipadapter failed to get netif
David Cermak [Fri, 15 Feb 2019 14:59:11 +0000 (15:59 +0100)]
mdns: fix memory leak in pbuf if tcpipadapter failed to get netif

5 years agomdns example: fix print result for IPv6 addresses
David Cermak [Fri, 15 Feb 2019 14:54:18 +0000 (15:54 +0100)]
mdns example: fix print result for IPv6 addresses

5 years agomdns: fix malfuctional query_txt
David Cermak [Fri, 15 Feb 2019 12:46:51 +0000 (13:46 +0100)]
mdns: fix malfuctional query_txt

when running a query for a single txt, result entries were not created and attached to result structure. this issue was introduced when fixing memory leak in txt structure, which worked correctly for PTR queries, but caused trouble for TXT query.

5 years agomdns: fix possible crash when mdns_free called while action queue not empty
David Cermak [Fri, 15 Feb 2019 12:23:21 +0000 (13:23 +0100)]
mdns: fix possible crash when mdns_free called while action queue not empty

5 years agoprovisioning examples : typos fixed and minor change in timer callback execution
Anurag Kar [Fri, 8 Feb 2019 10:28:57 +0000 (15:58 +0530)]
provisioning examples : typos fixed and minor change in timer callback execution

Note : Examples have been updated to prevent invocation of bluedroid/wifi APIs from inside timer callback when stopping provisioning. Workaround is to spawn new task from inside the timer callback.

5 years agoprotocomm : typos fixed and descriptions corrected
Anurag Kar [Fri, 8 Feb 2019 09:51:33 +0000 (15:21 +0530)]
protocomm : typos fixed and descriptions corrected

5 years agoprotocomm unit_tests : test cases updated
Anurag Kar [Fri, 8 Feb 2019 09:21:19 +0000 (14:51 +0530)]
protocomm unit_tests : test cases updated

Changes:
* Version endpoint test added
* Memory leak test updated to include corner case exceptions in protocomm

5 years agoprotocomm security : memory leaks fixed
Anurag Kar [Fri, 8 Feb 2019 09:12:49 +0000 (14:42 +0530)]
protocomm security : memory leaks fixed

List of changes:
* Corner case exceptions are properly handled to ensure release of memory occupied by security infrastructure
* fixed erroneous cleanup of security instance by protocomm_console

5 years agoprotocomm : version endpoint behavior simplified
Anurag Kar [Fri, 8 Feb 2019 06:36:23 +0000 (12:06 +0530)]
protocomm : version endpoint behavior simplified

List of changes:
* Version endpoint now sends the set version string instead of verifying the incoming version string. This simplifies fetching version info from the provisioning application.
* esp_prov script updated to expect version string as response.

5 years agowifi_provisioning : context pointer added to wifi_config_t structure and related...
Anurag Kar [Mon, 28 Jan 2019 09:51:28 +0000 (15:21 +0530)]
wifi_provisioning : context pointer added to wifi_config_t structure and related examples/docs updated

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

5 years agoprovisioning framework : 'extern C' directives added for C++ support
Anurag Kar [Mon, 28 Jan 2019 09:48:47 +0000 (15:18 +0530)]
provisioning framework : 'extern C' directives added for C++ support

5 years agoMerge branch 'doc/cleanup_apptrace2host_example' into 'master'
Ivan Grokhotkov [Fri, 15 Feb 2019 09:06:57 +0000 (17:06 +0800)]
Merge branch 'doc/cleanup_apptrace2host_example' into 'master'

cleanup app_trace_to_host example

See merge request idf/esp-idf!4160

5 years agomdns: fix memory leak when query for service receives multiple ptr entries for one...
David Cermak [Thu, 14 Feb 2019 15:39:11 +0000 (16:39 +0100)]
mdns: fix memory leak when query for service receives multiple ptr entries for one instance

fixes redmine issue 27300

5 years agoMerge branch 'feature/protocomm_httpd_changes' into 'master'
Angus Gratton [Fri, 15 Feb 2019 06:21:44 +0000 (14:21 +0800)]
Merge branch 'feature/protocomm_httpd_changes' into 'master'

Feature/protocomm httpd changes

See merge request idf/esp-idf!4227

5 years agoMerge branch 'feature/lwip_add_linker_fragment' into 'master'
Angus Gratton [Fri, 15 Feb 2019 05:55:25 +0000 (13:55 +0800)]
Merge branch 'feature/lwip_add_linker_fragment' into 'master'

add linker fragment for lwip

See merge request idf/esp-idf!4255

5 years agoMerge branch 'bugfix/fix_some_wifi_bugs_0131' into 'master'
Jiang Jiang Jian [Fri, 15 Feb 2019 04:14:41 +0000 (12:14 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs_0131' into 'master'

esp32: fix some wifi bugs

See merge request idf/esp-idf!4216

5 years agoMerge branch 'bugfix/cmake_unit_test_fail' into 'master'
Angus Gratton [Fri, 15 Feb 2019 00:55:14 +0000 (08:55 +0800)]
Merge branch 'bugfix/cmake_unit_test_fail' into 'master'

Use flasher_args.json for flashing CMake CI unit test

See merge request idf/esp-idf!4225

5 years agoMerge branch 'test/disable_sdio_example_ci' into 'master'
Angus Gratton [Fri, 15 Feb 2019 00:54:06 +0000 (08:54 +0800)]
Merge branch 'test/disable_sdio_example_ci' into 'master'

sdio: temporarily disable the sdio example ci, since the runners have some power issue

See merge request idf/esp-idf!4264

5 years agoMerge branch 'bugfix/default_event_loop_example_failure' into 'master'
Ivan Grokhotkov [Fri, 15 Feb 2019 00:50:18 +0000 (08:50 +0800)]
Merge branch 'bugfix/default_event_loop_example_failure' into 'master'

Fix failures in running esp_event example test

Closes #64

See merge request idf/esp-idf!4252

5 years agoMerge branch 'docs/translate-cmake-notes' into 'master'
Angus Gratton [Fri, 15 Feb 2019 00:19:05 +0000 (08:19 +0800)]
Merge branch 'docs/translate-cmake-notes' into 'master'

Translate notes regarding CMake-based build system

See merge request idf/esp-idf!4231

5 years agoMerge branch 'bugfix/relink_on_included_linker_script_change' into 'master'
Angus Gratton [Fri, 15 Feb 2019 00:16:04 +0000 (08:16 +0800)]
Merge branch 'bugfix/relink_on_included_linker_script_change' into 'master'

Re-link when linker script included from template file are modified

See merge request idf/esp-idf!4001

5 years agomake: remove unecessary inclusion of ldgen.mk
Renz Christian Bagaporo [Thu, 14 Feb 2019 10:51:35 +0000 (18:51 +0800)]
make: remove unecessary inclusion of ldgen.mk

5 years agoci: test relink on template included file change
Renz Christian Bagaporo [Thu, 20 Dec 2018 01:30:01 +0000 (09:30 +0800)]
ci: test relink on template included file change

5 years agocmake,make: add dependencies on template included scripts
Renz Christian Bagaporo [Wed, 19 Dec 2018 14:16:58 +0000 (22:16 +0800)]
cmake,make: add dependencies on template included scripts

5 years agoldgen: create python script to find linker script includes
Renz Christian Bagaporo [Tue, 5 Feb 2019 03:05:16 +0000 (11:05 +0800)]
ldgen: create python script to find linker script includes

5 years agobootloader: Add support of anti-rollback
Konstantin Kondrashov [Wed, 13 Feb 2019 09:32:23 +0000 (17:32 +0800)]
bootloader: Add support of anti-rollback

Added:
* set a secure version in app/bootloader.
* description anti-rollback to ota part
* emulate the secure_version write and read operations
* efuse_em partition.
* a description about a rollback for native_ota_example.

Closes: TW26335
5 years agoci: use flasher_args.json for cmake ci run
Renz Christian Bagaporo [Tue, 12 Feb 2019 01:55:08 +0000 (09:55 +0800)]
ci: use flasher_args.json for cmake ci run

5 years agoci: copy flasher_args.json to unit test output folder
Renz Christian Bagaporo [Fri, 1 Feb 2019 07:07:32 +0000 (15:07 +0800)]
ci: copy flasher_args.json to unit test output folder

5 years agosdio: temporarily disable the sdio example ci, since the runners have
Michael (XIAO Xufeng) [Thu, 14 Feb 2019 07:51:21 +0000 (15:51 +0800)]
sdio: temporarily disable the sdio example ci, since the runners have
some power issue

5 years agoexamples: fix specified location for event loop example test
Renz Christian Bagaporo [Wed, 13 Feb 2019 02:52:22 +0000 (10:52 +0800)]
examples: fix specified location for event loop example test

5 years agoexample: fix expected logging output order for esp_event example
Renz Christian Bagaporo [Wed, 13 Feb 2019 02:51:31 +0000 (10:51 +0800)]
example: fix expected logging output order for esp_event example

5 years agolwip: add linker fragment
morris [Wed, 13 Feb 2019 07:57:11 +0000 (15:57 +0800)]
lwip: add linker fragment

Add linker fragment file for lwip component.

5 years agokconfig: fix compatibility with very old versions of flex
Ivan Grokhotkov [Thu, 14 Feb 2019 03:17:48 +0000 (11:17 +0800)]
kconfig: fix compatibility with very old versions of flex

See https://github.com/crosstool-ng/crosstool-ng/commit/4e762e4918d8755e762db1db328760dfa5fc7a14

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

5 years agoMerge branch 'bugfix/external_rtc_start_fail' into 'master'
Angus Gratton [Thu, 14 Feb 2019 02:40:48 +0000 (10:40 +0800)]
Merge branch 'bugfix/external_rtc_start_fail' into 'master'

soc/rtc: bypass touchpad8 and touchpad9 current to external 32k crystal oscillator

See merge request idf/esp-idf!2441

5 years agomake: fix issues related to EXTRA_COMPONENT_DIRS
Ivan Grokhotkov [Wed, 13 Feb 2019 03:40:48 +0000 (11:40 +0800)]
make: fix issues related to EXTRA_COMPONENT_DIRS

1. When one of the COMPONENT_DIRS points to a component directory
(i.e. a directory containing component.mk, not a directory of multiple
components), and there is a subdirectory in it which also contains
a component, the subdirectory was mistakenly added to the list of
components and compiled.

For example:

    main/
        component.mk
        main.c
        test/
            component.mk
            test_main.c

Would compile test_main.c and link libtest.a.

2. When one of the COMPONENT_DIRS points to a component directory, and
the parent directory contained a directory with the same name as
another component, that directory would be mistakenly added to the
COMPONENT_PATHS.

For example:

    esp/
        esp-idf/
        esp32/
            (random stuff)
        mycomponent/
            component.mk
            mycomponent.c
        myproject/
            main/
            Makefile

and Makefile sets EXTRA_COMPONENT_DIRS=$(realpath ../mycomponent),
then "esp32" directory which is at the same level as mycomponent
was added to COMPONENT_PATHS.

3. If EXTRA_COMPONENT_DIRS pointed to a directory with a list of
components, and one of the subdirectories was not a component, but
had the same name as another component, than that directory would be
mistakenly added to COMPONENT_PATHS instead of the real esp32
component directory.

For example:

    my_components/
        my_component/
            component.mk
            my_component.c
        esp32/
            (some random stuff)

and EXTRA_COMPONENT_DIRS would point to my_components/, then "esp32"
directory would be added to COMPONENT_PATHS instead of the real esp32
component directory.

5 years agotranslate cmake notes
liying [Sat, 2 Feb 2019 06:36:08 +0000 (14:36 +0800)]
translate cmake notes

5 years agoMerge branch 'feature/himem_readme' into 'master'
Angus Gratton [Wed, 13 Feb 2019 03:26:39 +0000 (11:26 +0800)]
Merge branch 'feature/himem_readme' into 'master'

Proper README.md for himem example

See merge request idf/esp-idf!3599

5 years agosoc/rtc: fix RTC_TOUCH_TRIG_EN or RTC_ULP_TRIG_EN should keep RTC_PERIPH power on
maojianxin [Sat, 22 Dec 2018 06:19:46 +0000 (14:19 +0800)]
soc/rtc: fix RTC_TOUCH_TRIG_EN or RTC_ULP_TRIG_EN should keep RTC_PERIPH power on

5 years agosoc/rtc: Bypass touchpad current to external 32k crystal oscillator
Zhang Jun Yi [Wed, 23 May 2018 07:24:09 +0000 (15:24 +0800)]
soc/rtc: Bypass touchpad current to external 32k crystal oscillator

5 years agoProper README.md for himem example
Jeroen Domburg [Wed, 31 Oct 2018 10:56:21 +0000 (18:56 +0800)]
Proper README.md for himem example

5 years agocoredump:fix test artifacts
aleks [Tue, 12 Feb 2019 09:16:04 +0000 (10:16 +0100)]
coredump:fix test artifacts

Move existing core dump files into espcoredump component folder
Add KConfig, linker.lf, make and CMakeList.txt for new component
Existing functionality separated into core_dump_common, core_dump_flash, core_dump_uart
Update test_core_dump.c and make files to link it as unit test
Update according to review:
Move target and RTOS related functionality into separated file (core_dump_port.c).
Fix test logs and test elf files

5 years agocoredump: improvements refactoring
aleks [Tue, 29 Jan 2019 14:49:56 +0000 (15:49 +0100)]
coredump: improvements refactoring

Move existing core dump files into espcoredump component folder
Add KConfig, linker.lf, make and CMakeList.txt for new component
Existing functionality separated into core_dump_common, core_dump_flash, core_dump_uart
Update test_core_dump.c and make files to link it as unit test
Update according to review:
Move target and RTOS related functionality into separated file (core_dump_port.c).

5 years agoMerge branch 'feature/sysview_max_tasks_configuration' into 'master'
Angus Gratton [Mon, 11 Feb 2019 23:37:34 +0000 (07:37 +0800)]
Merge branch 'feature/sysview_max_tasks_configuration' into 'master'

sys_view: expose max tasks configuration parameter

See merge request idf/esp-idf!4239

5 years agosys_view: expose max tasks configuration parameter
Mahavir Jain [Tue, 5 Feb 2019 12:48:24 +0000 (18:18 +0530)]
sys_view: expose max tasks configuration parameter

5 years agoMerge branch 'bugfix/invoke_ota_operations_on_windows' into 'master'
Angus Gratton [Tue, 5 Feb 2019 01:15:22 +0000 (09:15 +0800)]
Merge branch 'bugfix/invoke_ota_operations_on_windows' into 'master'

Fix permission denied error on Windows for otatool, parttool

See merge request idf/esp-idf!4086

5 years agoMerge branch 'feature/predictable_event_dispatch_via_duplication' into 'master'
Angus Gratton [Tue, 5 Feb 2019 00:47:03 +0000 (08:47 +0800)]
Merge branch 'feature/predictable_event_dispatch_via_duplication' into 'master'

Predictable event handler dispatch

See merge request idf/esp-idf!3932