]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoMerge branch 'bugfix/pthread_thread_size' into 'master'
Ivan Grokhotkov [Thu, 28 Feb 2019 02:24:34 +0000 (10:24 +0800)]
Merge branch 'bugfix/pthread_thread_size' into 'master'

pthread: Transform the units of the stack size to the FreeRTOS domain

Closes IDFGH-603

See merge request idf/esp-idf!4375

5 years agoMerge branch 'feature/sniffer_app_trace' into 'master'
Angus Gratton [Wed, 27 Feb 2019 23:38:52 +0000 (07:38 +0800)]
Merge branch 'feature/sniffer_app_trace' into 'master'

capture WiFi packets to host via JTAG

See merge request idf/esp-idf!4203

5 years agoMerge branch 'esp_http_server/lru_counter_for_timestamp' into 'master'
Angus Gratton [Wed, 27 Feb 2019 23:04:21 +0000 (07:04 +0800)]
Merge branch 'esp_http_server/lru_counter_for_timestamp' into 'master'

esp_http_server/lru_counter_for_timestamp:Added LRU counter for timer

See merge request idf/esp-idf!4205

5 years agopthread: Transform the units of the stack size to the FreeRTOS domain
Roland Dobai [Tue, 26 Feb 2019 15:55:20 +0000 (16:55 +0100)]
pthread: Transform the units of the stack size to the FreeRTOS domain

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

5 years agoMerge branch 'bugfix/make_get_coreid_volatile' into 'master'
Jeroen Domburg [Wed, 27 Feb 2019 09:58:57 +0000 (17:58 +0800)]
Merge branch 'bugfix/make_get_coreid_volatile' into 'master'

freertos: Make xPortGetCoreID() volatile

See merge request idf/esp-idf!4359

5 years agoMerge branch 'bugfix/btdm_fix_remove_bonded_device_warnning' into 'master'
Jiang Jiang Jian [Wed, 27 Feb 2019 09:54:37 +0000 (17:54 +0800)]
Merge branch 'bugfix/btdm_fix_remove_bonded_device_warnning' into 'master'

Component/bt: fix remove bonded device warnning

See merge request idf/esp-idf!3704

5 years agoMerge branch 'bugfix/ble_reconn_rescan_readv_crash' into 'master'
Jiang Jiang Jian [Wed, 27 Feb 2019 09:37:46 +0000 (17:37 +0800)]
Merge branch 'bugfix/ble_reconn_rescan_readv_crash' into 'master'

component/bt : fix bug that there's low ratio crash when BLE do re-connect/re-scan/re-adv

See merge request idf/esp-idf!4324

5 years agoMerge branch 'bugfix/lack_of_break_in_tcp_client' into 'master'
Jiang Jiang Jian [Wed, 27 Feb 2019 08:44:00 +0000 (16:44 +0800)]
Merge branch 'bugfix/lack_of_break_in_tcp_client' into 'master'

fix the bug in tcp_client

See merge request idf/esp-idf!4330

5 years agoMerge branch 'bugfix/tw28146_make_wifi_iram_optimization_configurable' into 'master'
Angus Gratton [Wed, 27 Feb 2019 08:33:05 +0000 (16:33 +0800)]
Merge branch 'bugfix/tw28146_make_wifi_iram_optimization_configurable' into 'master'

esp32: make WiFi IRAM optimization configurable

See merge request idf/esp-idf!4037

5 years agoMerge branch 'feature/embed_elf_sha256' into 'master'
Angus Gratton [Wed, 27 Feb 2019 08:31:47 +0000 (16:31 +0800)]
Merge branch 'feature/embed_elf_sha256' into 'master'

build system: include SHA256 hash of ELF file into app_desc structure

See merge request idf/esp-idf!4093

5 years agosniffer: capture packets to host via JTAG
morris [Fri, 25 Jan 2019 09:03:01 +0000 (17:03 +0800)]
sniffer: capture packets to host via JTAG

Based on app-trace component, it's able to send sniffer packets to host via JTAG interface.

5 years agoesp32: print ELF file SHA256 in panic handler
Ivan Grokhotkov [Thu, 24 Jan 2019 13:05:08 +0000 (21:05 +0800)]
esp32: print ELF file SHA256 in panic handler

5 years agobuild system: include SHA256 hash of ELF file into app_desc structure
Ivan Grokhotkov [Wed, 9 Jan 2019 12:06:01 +0000 (20:06 +0800)]
build system: include SHA256 hash of ELF file into app_desc structure

5 years agoMerge branch 'example/freertos_real_time_stats' into 'master'
Angus Gratton [Wed, 27 Feb 2019 05:22:59 +0000 (13:22 +0800)]
Merge branch 'example/freertos_real_time_stats' into 'master'

freertos: Add real time stats example

See merge request idf/esp-idf!4334

5 years agoMerge branch 'bugfix/bootloader_freq_check_runtime' into 'master'
Angus Gratton [Wed, 27 Feb 2019 05:22:47 +0000 (13:22 +0800)]
Merge branch 'bugfix/bootloader_freq_check_runtime' into 'master'

bootloader: check previously used clock frequency at run time

See merge request idf/esp-idf!3827

5 years agoMerge branch 'bugfix/cmake_psram_fix_flag' into 'master'
Angus Gratton [Wed, 27 Feb 2019 05:20:21 +0000 (13:20 +0800)]
Merge branch 'bugfix/cmake_psram_fix_flag' into 'master'

cmake: Fix psram workaround compiler flag application

See merge request idf/esp-idf!4335

5 years agoMerge branch 'bugfix/esp_timer_monotonic_test' into 'master'
Ivan Grokhotkov [Wed, 27 Feb 2019 03:08:53 +0000 (11:08 +0800)]
Merge branch 'bugfix/esp_timer_monotonic_test' into 'master'

esp_timer: fix occasional failures in "esp_timer_get_time returns monotonic values" test

See merge request idf/esp-idf!4340

5 years agofreertos: Make xPortGetCoreID() volatile
Darian Leung [Tue, 26 Feb 2019 12:58:02 +0000 (20:58 +0800)]
freertos: Make xPortGetCoreID() volatile

When xPortGetCoreID() is called twice within a function,
it might only be called once after compilation. This
commit makes the inline assembly of the function volatile.

Closes #3093

5 years agoesp32: make WiFi IRAM optimization configurable
Liu Zhi Fu [Thu, 27 Dec 2018 12:53:45 +0000 (20:53 +0800)]
esp32: make WiFi IRAM optimization configurable

With this feature, the WiFi IRAM optimization can be disabled/enabled via menuconfig.

5 years agofix the bug in tcp_client
xiehang [Thu, 21 Feb 2019 08:25:07 +0000 (16:25 +0800)]
fix the bug in tcp_client

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

5 years agosoc: define named constants for DPORT_CPUPERIOD_SEL values
Ivan Grokhotkov [Tue, 26 Feb 2019 09:07:59 +0000 (17:07 +0800)]
soc: define named constants for DPORT_CPUPERIOD_SEL values

5 years agobootloader: check previously used clock frequency at run time
Ivan Grokhotkov [Thu, 29 Nov 2018 07:18:11 +0000 (15:18 +0800)]
bootloader: check previously used clock frequency at run time

In the situation when bootloader was compiled for 240MHz, and app was
compiled for 160MHz, and the chip is a revision 0 chip, the
bootloader will assume that the application has also been running at
240MHz. This will cause the chip to lock up later. Modify this to use
a run time check of DPORT_CPUPERIOD_SEL, which indicates which of the
PLL frequencies was used.

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

5 years agosoc/rtc_clk: don’t clear DPORT_CPUPERIOD_SEL when switching to XTAL
Ivan Grokhotkov [Thu, 29 Nov 2018 07:15:21 +0000 (15:15 +0800)]
soc/rtc_clk: don’t clear DPORT_CPUPERIOD_SEL when switching to XTAL

This is not necessary since RTC_CNTL_SOC_CLK_SEL is set before this.

5 years agofreertos: Add real time stats example
Darian Leung [Mon, 18 Feb 2019 19:04:17 +0000 (03:04 +0800)]
freertos: Add real time stats example

The following commit adds a real time stats example demonstrating how to
obtain task CPU usage statistics over a period of time, as opposed to the current
run time stats in FreeRTOS which measures task CPU usage as a percentage of
total system run time.

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 agocmake: Fix psram workaround compiler flag application
Angus Gratton [Fri, 22 Feb 2019 01:20:11 +0000 (12:20 +1100)]
cmake: Fix psram workaround compiler flag application

Previously, this compiler flag was not being applied
regardless of CONFIG_SPIRAM_CACHE_WORKAROUND setting.

Explanation: add_compile_options() only applies to
source files added after the function is run, or in
subdirectories added after the function is run. In
this case, no new source files were being added after
this function was run.

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 agoesp_timer: fix occasional failures in "monotonic values" test
Ivan Grokhotkov [Fri, 22 Feb 2019 13:27:43 +0000 (21:27 +0800)]
esp_timer: fix occasional failures in "monotonic values" test

1. ref_clock used in unit tests occasionally produces time off by ~100
microseconds shortly after being started. Add a delay to let
ref_clock stabilise, until the cause is found.

2. Reduce roundoff error accumulation which would occasionally cause
the test to fail, by choosing an overflow value which can be divided
by APB frequency.

3. Move time sampling part of the test into an IRAM function to
reduce variations due to cache behavior.

4. Remove calculation of "standard deviation" in the test, as what was
calculated was not actually standard deviation, and it did not add any
useful information.

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 agoesp_http_server/lru_counter_for_timestamp:Added LRU counter for timer
Supreet Deshpande [Wed, 30 Jan 2019 14:27:02 +0000 (19:57 +0530)]
esp_http_server/lru_counter_for_timestamp:Added LRU counter for timer

Replaced the os timer in http server by LRU counter. The timestamp is
unnecessary for LRU.

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 agocomponent/bt : fix bug that there's low ratio crash when BLE do re-connect/re-scan...
Tian Hao [Thu, 21 Feb 2019 04:18:30 +0000 (12:18 +0800)]
component/bt : fix bug that there's low ratio crash when BLE do re-connect/re-scan/re-adv

fix 3 bugs:
1. do BLE connect (both of slave and master), it mgiht cause crash due to there's much interrupts happens effect ble code running, for example, wifi run on the same core as bluetooth controller and wifi run throughtput test.
2. do BLE scan stop or adv stop or connection stop, it might cause ASSERT or crash due to memory corrupted in controller memory poll.
3. minor bug fix, not really effect bluetooth.

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