]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'docs/spi_timing_wavedrom' into 'master'
Angus Gratton [Mon, 18 Jun 2018 04:13:31 +0000 (12:13 +0800)]
Merge branch 'docs/spi_timing_wavedrom' into 'master'

docs(spi_master): fix wavedrom image and comment mistake

See merge request idf/esp-idf!2563

6 years agoMerge branch 'mesh/bugfix_osi' into 'master'
Jiang Jiang Jian [Sun, 17 Jun 2018 10:56:52 +0000 (18:56 +0800)]
Merge branch 'mesh/bugfix_osi' into 'master'

mesh: update mesh libs

See merge request idf/esp-idf!2524

6 years agomesh: update mesh libs
qiyueixa [Thu, 14 Jun 2018 10:33:35 +0000 (18:33 +0800)]
mesh: update mesh libs

1. rename example internal_transceiver to internal_communication
2. bugfix
3. Closes https://github.com/espressif/esp-idf/issues/2014

6 years agodocs(spi_master): fix wavedrom image and comment mistake
Michael (XIAO Xufeng) [Fri, 15 Jun 2018 09:37:12 +0000 (17:37 +0800)]
docs(spi_master): fix wavedrom image and comment mistake

6 years agoMerge branch 'bugfix/https_redirect_example_test' into 'master'
Ivan Grokhotkov [Fri, 15 Jun 2018 09:18:26 +0000 (17:18 +0800)]
Merge branch 'bugfix/https_redirect_example_test' into 'master'

esp_http_client example test: Increase timeout when redirecting to HTTPS

See merge request idf/esp-idf!2558

6 years agoMerge branch 'doc/error_handling' into 'master'
Ivan Grokhotkov [Fri, 15 Jun 2018 08:55:33 +0000 (16:55 +0800)]
Merge branch 'doc/error_handling' into 'master'

docs: add information on error handling

See merge request idf/esp-idf!2539

6 years agodocs: add pages about error handling
Ivan Grokhotkov [Mon, 11 Jun 2018 12:49:35 +0000 (20:49 +0800)]
docs: add pages about error handling

6 years agodocs: add error codes reference
Ivan Grokhotkov [Wed, 13 Jun 2018 08:07:26 +0000 (16:07 +0800)]
docs: add error codes reference

6 years agoKconfig: split out compiler options, add them to reference
Ivan Grokhotkov [Wed, 13 Jun 2018 08:09:05 +0000 (16:09 +0800)]
Kconfig: split out compiler options, add them to reference

6 years agopanic: remove extra newline
Ivan Grokhotkov [Tue, 12 Jun 2018 10:50:59 +0000 (18:50 +0800)]
panic: remove extra newline

6 years agoesp32: esp_err_to_name_r: print error code as hex and decimal
Ivan Grokhotkov [Mon, 11 Jun 2018 12:52:30 +0000 (20:52 +0800)]
esp32: esp_err_to_name_r: print error code as hex and decimal

6 years agoesp_http_client example test: Increase timeout when redirecting to HTTPS
Angus Gratton [Fri, 15 Jun 2018 06:33:37 +0000 (16:33 +1000)]
esp_http_client example test: Increase timeout when redirecting to HTTPS

6 years agoMerge branch 'bugfix/ulp_doc_insn_time' into 'master'
Angus Gratton [Fri, 15 Jun 2018 03:50:14 +0000 (11:50 +0800)]
Merge branch 'bugfix/ulp_doc_insn_time' into 'master'

docs/ulp: fix instruction fetch and execution times

See merge request idf/esp-idf!1979

6 years agoMerge branch 'bugfix/tw23325_replace_WLOGE_to_printf_when_wifi_not_init' into 'master'
Jiang Jiang Jian [Fri, 15 Jun 2018 03:31:02 +0000 (11:31 +0800)]
Merge branch 'bugfix/tw23325_replace_WLOGE_to_printf_when_wifi_not_init' into 'master'

WLOGE/WLOGW/WLOGI/WLOGD do anything when wifi is not initialized

See merge request idf/esp-idf!2554

6 years agoMerge branch 'bugfix/tw22828_fix_tcp_bug_when_wifi_disconnect' into 'master'
Angus Gratton [Fri, 15 Jun 2018 00:03:06 +0000 (08:03 +0800)]
Merge branch 'bugfix/tw22828_fix_tcp_bug_when_wifi_disconnect' into 'master'

fix the bug that TCP connections don't abort when IP changed

See merge request idf/esp-idf!2521

6 years agodocs/ulp: fix instruction fetch and execution times
Ivan Grokhotkov [Sun, 25 Feb 2018 21:15:35 +0000 (00:15 +0300)]
docs/ulp: fix instruction fetch and execution times

6 years agoWLOGE, WLOGW, WLOGI, WLOGD do anything when wifi is not initialized
zhangyanjiao [Thu, 14 Jun 2018 11:29:23 +0000 (19:29 +0800)]
WLOGE, WLOGW, WLOGI, WLOGD do anything when wifi is not initialized

6 years agoMerge branch 'bugfix/spi_gpio_deinit' into 'master'
Ivan Grokhotkov [Thu, 14 Jun 2018 11:21:34 +0000 (19:21 +0800)]
Merge branch 'bugfix/spi_gpio_deinit' into 'master'

fix(spi): Fix several init/deinit issues of spi pins

See merge request idf/esp-idf!2522

6 years agoMerge branch 'bugfix/ext_wakeup_input_enable' into 'master'
Ivan Grokhotkov [Thu, 14 Jun 2018 11:03:01 +0000 (19:03 +0800)]
Merge branch 'bugfix/ext_wakeup_input_enable' into 'master'

sleep: make sure input enable is set for EXT0/EXT1 wakeup

See merge request idf/esp-idf!2542

6 years agofix the bug that TCP connections don't abort when IP changed
zhangyanjiao [Thu, 7 Jun 2018 03:24:03 +0000 (11:24 +0800)]
fix the bug that TCP connections don't abort when IP changed

6 years agoMerge branch 'bugfix/wifi_correct_modem_sleep_api_description' into 'master'
Jiang Jiang Jian [Thu, 14 Jun 2018 07:50:08 +0000 (15:50 +0800)]
Merge branch 'bugfix/wifi_correct_modem_sleep_api_description' into 'master'

correct modem sleep API description

See merge request idf/esp-idf!2548

6 years agoMerge branch 'bugfix/fix_two_times_full_calibration' into 'master'
Jiang Jiang Jian [Thu, 14 Jun 2018 07:49:03 +0000 (15:49 +0800)]
Merge branch 'bugfix/fix_two_times_full_calibration' into 'master'

esp32: fix the bug that the first two reboots do full calibration

See merge request idf/esp-idf!2540

6 years agoMerge branch 'bugfix/fix_console_performance' into 'master'
Angus Gratton [Thu, 14 Jun 2018 07:09:20 +0000 (15:09 +0800)]
Merge branch 'bugfix/fix_console_performance' into 'master'

idf_monitor: Fix the console performance issue

See merge request idf/esp-idf!2547

6 years agoMerge branch 'feature/fs_truncate_support' into 'master'
Angus Gratton [Thu, 14 Jun 2018 05:56:39 +0000 (13:56 +0800)]
Merge branch 'feature/fs_truncate_support' into 'master'

FATFS truncate support

See merge request idf/esp-idf!2541

6 years agoMerge branch 'doc/kconfig_item' into 'master'
Angus Gratton [Thu, 14 Jun 2018 04:51:50 +0000 (12:51 +0800)]
Merge branch 'doc/kconfig_item' into 'master'

doc: fix the level inconsistent issue in Kconfig document

See merge request idf/esp-idf!2460

6 years agobugfix(spi): resolve the glitch that happens during initialization
michael [Mon, 11 Jun 2018 04:13:10 +0000 (12:13 +0800)]
bugfix(spi): resolve the glitch that happens during initialization

6 years agofix(spi): reset gpios that used by spi when deinited
Michael (XIAO Xufeng) [Fri, 8 Jun 2018 07:33:04 +0000 (15:33 +0800)]
fix(spi): reset gpios that used by spi when deinited

6 years agorefactor(spi): move pin information into soc folder
Michael (XIAO Xufeng) [Fri, 8 Jun 2018 07:32:43 +0000 (15:32 +0800)]
refactor(spi): move pin information into soc folder

6 years agovfs, fatfs: Add file truncate for fatfs
Renz Bagaporo [Tue, 12 Jun 2018 10:29:05 +0000 (18:29 +0800)]
vfs, fatfs: Add file truncate for fatfs

6 years agoMerge branch 'test/driver_rmt' into 'master'
He Yin Ling [Wed, 13 Jun 2018 14:31:11 +0000 (22:31 +0800)]
Merge branch 'test/driver_rmt' into 'master'

test: add rmt test cases

See merge request idf/esp-idf!1797

6 years agoMerge branch 'test/driver_timer' into 'master'
He Yin Ling [Wed, 13 Jun 2018 14:28:17 +0000 (22:28 +0800)]
Merge branch 'test/driver_timer' into 'master'

test: add driver timer test cases

See merge request idf/esp-idf!1785

6 years agotest: add driver/rmt test case
houchenyao [Tue, 2 Jan 2018 12:17:49 +0000 (20:17 +0800)]
test: add driver/rmt test case

6 years agocorrect modem sleep API description
Xia Xiaotian [Wed, 13 Jun 2018 07:44:59 +0000 (15:44 +0800)]
correct modem sleep API description

6 years agoMerge branch 'test/driver_sigmadelta' into 'master'
He Yin Ling [Wed, 13 Jun 2018 07:19:35 +0000 (15:19 +0800)]
Merge branch 'test/driver_sigmadelta' into 'master'

test: add sigmadelta test

See merge request idf/esp-idf!1780

6 years agoMerge branch 'test/driver_gpio' into 'master'
He Yin Ling [Wed, 13 Jun 2018 07:02:43 +0000 (15:02 +0800)]
Merge branch 'test/driver_gpio' into 'master'

test: add gpio test cases

See merge request idf/esp-idf!1778

6 years agoFix the console performance issue
Roland Dobai [Wed, 13 Jun 2018 05:48:52 +0000 (07:48 +0200)]
Fix the console performance issue

The IDF monitor waits for one second before printing the last
unterminated line. This is necessary for the correct filtering.
However, this causes poor performance, for example, in the case of the
system/console example.

This fix reduces the waiting time which improves the response time of
the console example and doesn't seem to influence the monitor filter.

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

6 years agoMerge branch 'bugfix/crosscore_handle_yield_iram' into 'master'
Jiang Jiang Jian [Wed, 13 Jun 2018 03:54:04 +0000 (11:54 +0800)]
Merge branch 'bugfix/crosscore_handle_yield_iram' into 'master'

esp32: Move esp_crosscore_isr_handle_yield() to IRAM

See merge request idf/esp-idf!2544

6 years agotest: driver/sigmadelta test case
houchenyao [Wed, 27 Dec 2017 10:04:42 +0000 (18:04 +0800)]
test: driver/sigmadelta test case

6 years agotest: components/driver: timer case
houchenyao [Sun, 17 Dec 2017 02:24:49 +0000 (10:24 +0800)]
test: components/driver: timer case

6 years agoesp32: Move esp_crosscore_isr_handle_yield() to IRAM
Angus Gratton [Wed, 13 Jun 2018 01:35:48 +0000 (11:35 +1000)]
esp32: Move esp_crosscore_isr_handle_yield() to IRAM

Also adds a hint to inline, as this is only called in one place
it seems like a natural candidate...

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

6 years agoMerge branch 'bugfix/bt_rfcomm_pr1923' into 'master'
Angus Gratton [Wed, 13 Jun 2018 00:41:16 +0000 (08:41 +0800)]
Merge branch 'bugfix/bt_rfcomm_pr1923' into 'master'

bt: PORT_WriteDataCO: fixed a bug, reduced heap memory allocation

See merge request idf/esp-idf!2511

6 years agobt: PORT_WriteDataCO: fixed a bug, reduced heap memory allocation
Markus Becker [Mon, 7 May 2018 19:35:13 +0000 (21:35 +0200)]
bt: PORT_WriteDataCO: fixed a bug, reduced heap memory allocation

* a missing pointer increment caused error, if available was > 0 after the first iteration of while(available) loop.
* changed memory allocation strategy from large fixed size (RFCOMM_DATA_BUF_SIZE) to just the needed
  size, which will be below MTU

Cherry-picked from https://github.com/espressif/esp-idf/pull/1923/

6 years agoMerge branch 'bugfix/btdm_tx_power_value' into 'master'
Angus Gratton [Tue, 12 Jun 2018 23:43:13 +0000 (07:43 +0800)]
Merge branch 'bugfix/btdm_tx_power_value' into 'master'

fix bluetooth(dual-mode) tx power value

See merge request idf/esp-idf!2503

6 years agoMerge branch 'bugfix/esp_timer_set_alarm' into 'master'
Angus Gratton [Tue, 12 Jun 2018 23:39:34 +0000 (07:39 +0800)]
Merge branch 'bugfix/esp_timer_set_alarm' into 'master'

esp_timer: remove busy loop in esp_timer_impl_set_alarm

See merge request idf/esp-idf!2436

6 years agosleep: make sure input enable is set for EXT0/EXT1 wakeup
Ivan Grokhotkov [Tue, 12 Jun 2018 12:23:26 +0000 (20:23 +0800)]
sleep: make sure input enable is set for EXT0/EXT1 wakeup

Since commit 94250e4, EXT0 wakeup mechanism, when wakeup level was set
to 0, started waking up chip immediately after entering deep sleep.
This failure was triggered in that commit by a change of
RTC_CNTL_MIN_SLP_VAL (i.e. minimum time in sleep mode until wakeup
can happen) from 128 cycles to 2 cycles.

The reason for this behaviour is related to the way input enable (IE)
signal going into an RTC pad is obtained:

    PAD_IE = (SLP_SEL) ? SLP_IE & CHIP_SLEEP : IE,

where SLP_IE, SLP_SEL, and IE are bits of an RTC_IO register related
to the given pad. CHIP_SLEEP is the signal indicating that chip has
entered sleep mode.

The code in prepare_ext{0,1}_wakeup did not enable IE, but did enable
SLP_SEL and SLP_IE. This meant that until CHIP_SLEEP went high, PAD_IE
was 0, hence the input from the pad read 0 even if external signal
was 1. CHIP_SLEEP went high on the 2nd cycle of sleep. So when
RTC_CNTL_MIN_SLP_VAL was set to 2, the input signal from the pad was
latched as 0 at the moment when CHIP_SLEEP went high, causing EXT0
wakeup with level 0 to trigger.

This commit changes the way PAD_IE is enabled: SLP_SEL and SLP_IE are
no longer used, and IE is set to 1. If EXT0 wakeup is used, RTC_IO is
not powered down, so IE signal stays 1 both before CHIP_SLEEP goes
high and after. If EXT1 wakeup is used, RTC_IO may be powered down.
However prepare_ext1_wakeup enables Hold on the pad, locking states
of all the control signals, including IE.

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

6 years agofix bluetootm(dual-mode) tx power value
Tian Hao [Mon, 4 Jun 2018 10:28:30 +0000 (18:28 +0800)]
fix bluetootm(dual-mode) tx power value

6 years agotest: add driver/gpio test case
houchenyao [Sun, 17 Dec 2017 02:19:51 +0000 (10:19 +0800)]
test: add driver/gpio test case

6 years agoMerge branch 'bugfix/tw22485_dhcp_offer_mtu' into 'master'
Jiang Jiang Jian [Tue, 12 Jun 2018 08:32:26 +0000 (16:32 +0800)]
Merge branch 'bugfix/tw22485_dhcp_offer_mtu' into 'master'

modify dhcp offer MTU to 1500

See merge request idf/esp-idf!2461

6 years agoesp32: fix the bug that the first two reboots do full calibration
Liu Zhi Fu [Tue, 12 Jun 2018 07:51:51 +0000 (15:51 +0800)]
esp32: fix the bug that the first two reboots do full calibration

If the NVS is erased, the first two reboots will do full calibration.
This commit is to fix this issue and only need to do full calibration once.

6 years agoMerge branch 'bugfix/fixes_for_building_with_amazon_freertos' into 'master'
Angus Gratton [Tue, 12 Jun 2018 06:47:34 +0000 (14:47 +0800)]
Merge branch 'bugfix/fixes_for_building_with_amazon_freertos' into 'master'

Fixes for building with amazon freertos

See merge request idf/esp-idf!2523

6 years agofreertos: make task{ENTER/EXIT} macros deprecated for external use
Mahavir Jain [Mon, 11 Jun 2018 08:36:32 +0000 (14:06 +0530)]
freertos: make task{ENTER/EXIT} macros deprecated for external use

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoResolve required include header dependencies in component itself
Mahavir Jain [Thu, 7 Jun 2018 06:11:25 +0000 (11:41 +0530)]
Resolve required include header dependencies in component itself

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agovfs: change task{ENTER/EXIT}_CRITICAL with port{ENTER/EXIT}_CRITICAL
Mahavir Jain [Thu, 7 Jun 2018 06:10:52 +0000 (11:40 +0530)]
vfs: change task{ENTER/EXIT}_CRITICAL with port{ENTER/EXIT}_CRITICAL

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoMerge branch 'feature/unit_test_config_components' into 'master'
Ivan Grokhotkov [Tue, 12 Jun 2018 02:01:42 +0000 (10:01 +0800)]
Merge branch 'feature/unit_test_config_components' into 'master'

unit-test-app: allow building subset of tests for a configuration

See merge request idf/esp-idf!2331

6 years agoMerge branch 'feature/microecc_1_0' into 'master'
Ivan Grokhotkov [Mon, 11 Jun 2018 15:32:32 +0000 (23:32 +0800)]
Merge branch 'feature/microecc_1_0' into 'master'

micro-ecc: update to v1.0

See merge request idf/esp-idf!2534

6 years agounity: allow test task stack size to be configured
Ivan Grokhotkov [Wed, 2 May 2018 07:39:39 +0000 (15:39 +0800)]
unity: allow test task stack size to be configured

6 years agobuild: allow EXCLUDE_COMPONENTS to contain quotes
Ivan Grokhotkov [Sat, 28 Apr 2018 11:57:00 +0000 (19:57 +0800)]
build: allow EXCLUDE_COMPONENTS to contain quotes

'dequote' macro can’t be used at this point yet, use subst directly.
Also prevent EXCLUDE_COMPONENTS from being passed to bootloader build.

6 years agounit-test-app: allow specifying subset of tests for configuration
Ivan Grokhotkov [Sat, 28 Apr 2018 10:56:25 +0000 (18:56 +0800)]
unit-test-app: allow specifying subset of tests for configuration

For some test configurations, not all tests need to be run. This
change allows adding a comment in the configuration file of the
following form:

unit-test-app makefile will use it to determine which components to
build. If the comment is not present, all components will be built
(TESTS_ALL=1).

Also add test configuration for libsodium. It is a separate test
configuration due to the large binary size generated when building
libsodium tests.

6 years agoMerge branch 'bugfix/performance_tests' into 'master'
Ivan Grokhotkov [Mon, 11 Jun 2018 15:20:45 +0000 (23:20 +0800)]
Merge branch 'bugfix/performance_tests' into 'master'

test: Tweaks to reduce variation in CI unit tests

See merge request idf/esp-idf!2529

6 years agoMerge branch 'docs/update_eclipse-setup' into 'master'
Ivan Grokhotkov [Mon, 11 Jun 2018 15:20:24 +0000 (23:20 +0800)]
Merge branch 'docs/update_eclipse-setup' into 'master'

Docs/update_eclipse-setup

See merge request idf/esp-idf!2528

6 years agoMerge branch 'bugfix/ci_remove_stale_submodules' into 'master'
Ivan Grokhotkov [Mon, 11 Jun 2018 04:26:47 +0000 (12:26 +0800)]
Merge branch 'bugfix/ci_remove_stale_submodules' into 'master'

ci: remove stale submodules after checkout

See merge request idf/esp-idf!2533

6 years agoMerge branch 'feature/esp_timer_example' into 'master'
Angus Gratton [Mon, 11 Jun 2018 03:44:45 +0000 (11:44 +0800)]
Merge branch 'feature/esp_timer_example' into 'master'

examples: add esp_timer example

See merge request idf/esp-idf!2494

6 years agoMerge branch 'bugfix/tw23171_fix_espnow_bug_when_add_node_in_AP_STA_mode' into 'master'
Jiang Jiang Jian [Mon, 11 Jun 2018 03:39:01 +0000 (11:39 +0800)]
Merge branch 'bugfix/tw23171_fix_espnow_bug_when_add_node_in_AP_STA_mode' into 'master'

fix espnow bug when add node in AP+STA mode

See merge request idf/esp-idf!2518

6 years agoesp_timer: test for monotonic values of esp_timer_get_timer in CI
Ivan Grokhotkov [Wed, 23 May 2018 14:41:54 +0000 (22:41 +0800)]
esp_timer: test for monotonic values of esp_timer_get_timer in CI

Reduce test time by increasing overflow rate, make test more robust.

6 years agoesp_timer: add test for esp_timer_impl_set_alarm
Ivan Grokhotkov [Wed, 23 May 2018 14:40:29 +0000 (22:40 +0800)]
esp_timer: add test for esp_timer_impl_set_alarm

Ref https://github.com/espressif/esp-idf/issues/1891

6 years agoesp_timer: reduce overflow value in unit tests
Ivan Grokhotkov [Wed, 23 May 2018 14:39:49 +0000 (22:39 +0800)]
esp_timer: reduce overflow value in unit tests

This allows testing for race conditions which occur near timer
overflow point more effectively.

6 years agoesp_timer: don’t busy loop in esp_timer_impl_set_alarm
Ivan Grokhotkov [Wed, 23 May 2018 13:50:55 +0000 (21:50 +0800)]
esp_timer: don’t busy loop in esp_timer_impl_set_alarm

Previously the loop in esp_timer_impl_set_alarm was necessary to catch
the case when timer count wraps around (goes from 2^32 - 1 to 0).
Since ALARM_OVERFLOW_VAL was reduced from 2^32 - 1 to 0xefffffff,
this is no longer necessary.

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

6 years agoMerge branch 'bugfix/btdm_fix_include_service_start_handle_error' into 'master'
Angus Gratton [Mon, 11 Jun 2018 02:36:36 +0000 (10:36 +0800)]
Merge branch 'bugfix/btdm_fix_include_service_start_handle_error' into 'master'

Component/bt: fix include service start handle error

See merge request idf/esp-idf!2525

6 years agoci: remove stale submodules after checkout
Ivan Grokhotkov [Fri, 8 Jun 2018 11:41:18 +0000 (19:41 +0800)]
ci: remove stale submodules after checkout

When ‘fetch’ strategy is used, Gitlab removes untracked files before
checking out new revision. However if the new revision doesn’t
include some of the submodules which were present in the old
revision, such submodule directories would not be removed by the
checkout. This extra step ensures that these stale submodules are
removed.

6 years agomicro-ecc: update to v1.0
Ivan Grokhotkov [Sun, 10 Jun 2018 13:20:55 +0000 (21:20 +0800)]
micro-ecc: update to v1.0

6 years agoMerge branch 'feature/Add_noinit_rtc_noinit_sections' into 'master'
Ivan Grokhotkov [Fri, 8 Jun 2018 08:01:30 +0000 (16:01 +0800)]
Merge branch 'feature/Add_noinit_rtc_noinit_sections' into 'master'

esp32: Add .noinit and .rtc_noinit sections to the linker script

See merge request idf/esp-idf!1996

6 years agoComponent/bt: fix include service start handle error
zhiweijian [Thu, 7 Jun 2018 07:19:20 +0000 (15:19 +0800)]
Component/bt: fix include service start handle error

6 years agoMerge branch 'doc/jtag_startup_command_fix' into 'master'
Angus Gratton [Fri, 8 Jun 2018 07:15:29 +0000 (15:15 +0800)]
Merge branch 'doc/jtag_startup_command_fix' into 'master'

docs/jtag: use 'flushregs' instead of 'x $a1=0' in gdbinit

See merge request idf/esp-idf!2520

6 years agotest: Tweaks to reduce variation in CI unit tests
Angus Gratton [Fri, 8 Jun 2018 04:42:44 +0000 (14:42 +1000)]
test: Tweaks to reduce variation in CI unit tests

spi test: Prime the flash cache before each test to minimise flash cache misses.

VFS performance test: Increase the number of runs to minimise influence of an isolated bad run.

6 years agodocs/jtag: use ‘flushregs’ instead of ‘x $a1=0” in gdbinit
Ivan Grokhotkov [Wed, 6 Jun 2018 15:55:06 +0000 (23:55 +0800)]
docs/jtag: use ‘flushregs’ instead of ‘x $a1=0” in gdbinit

The old command caused was incorrect (x is “examine”, not “execute”)
and caused GDB register update only by chance. This replaces it with
“flushregs” command which purpose is exactly that — force GDB to
fetch registers from the remote.

6 years agoMerge branch 'feature/host_side_storage_components' into 'master'
Ivan Grokhotkov [Fri, 8 Jun 2018 03:42:37 +0000 (11:42 +0800)]
Merge branch 'feature/host_side_storage_components' into 'master'

Runnable FS components on host

See merge request idf/esp-idf!2431

6 years agoUpdate eclipse-setup.rst
Jin Fang Cheng Cheng [Fri, 8 Jun 2018 03:01:25 +0000 (11:01 +0800)]
Update eclipse-setup.rst
Ref https://github.com/espressif/esp-idf/pull/1990

6 years agoUpdate eclipse-setup.rst
Jin Fang Cheng Cheng [Fri, 8 Jun 2018 03:00:29 +0000 (11:00 +0800)]
Update eclipse-setup.rst

6 years agoMerge branch 'bugfix/wakeup_from_deep_sleep' into 'master'
Angus Gratton [Fri, 8 Jun 2018 02:40:47 +0000 (10:40 +0800)]
Merge branch 'bugfix/wakeup_from_deep_sleep' into 'master'

esp32: Fix not the right time spent in a deep sleep

See merge request idf/esp-idf!2501

6 years agoMerge branch 'feature/monitor_filter_output' into 'master'
Angus Gratton [Fri, 8 Jun 2018 00:09:40 +0000 (08:09 +0800)]
Merge branch 'feature/monitor_filter_output' into 'master'

idf_monitor: add support for filtering options

See merge request idf/esp-idf!2486

6 years agoMerge branch 'bugfix/get_power_down_flags' into 'master'
Ivan Grokhotkov [Thu, 7 Jun 2018 12:20:13 +0000 (20:20 +0800)]
Merge branch 'bugfix/get_power_down_flags' into 'master'

sleep_mode/esp32: Fix a condition to keep power domain enabled during sleep mode

See merge request idf/esp-idf!2515

6 years agoMerge branch 'feat/spi_master_timing' into 'master'
Ivan Grokhotkov [Thu, 7 Jun 2018 12:19:06 +0000 (20:19 +0800)]
Merge branch 'feat/spi_master_timing' into 'master'

feature(spi_master): fine tune the timing of spi master

See merge request idf/esp-idf!2301

6 years agoexamples: add esp_timer example
Ivan Grokhotkov [Fri, 1 Jun 2018 10:36:34 +0000 (12:36 +0200)]
examples: add esp_timer example

6 years agoMerge branch 'feature/ci_host_test_tag' into 'master'
Angus Gratton [Thu, 7 Jun 2018 03:59:25 +0000 (11:59 +0800)]
Merge branch 'feature/ci_host_test_tag' into 'master'

ci: Use new common host_test tag for host-side testing

See merge request idf/esp-idf!2514

6 years agomodify dhcp offer MTU to 1500
zhangyanjiao [Mon, 28 May 2018 11:46:46 +0000 (19:46 +0800)]
modify dhcp offer MTU to 1500

6 years agoMerge branch 'doc/api-guides_blufi' into 'master'
Angus Gratton [Thu, 7 Jun 2018 00:54:27 +0000 (08:54 +0800)]
Merge branch 'doc/api-guides_blufi' into 'master'

Doc/api guides blufi

See merge request idf/esp-idf!2376

6 years agoMerge branch 'bugfix/adjtime_attr' into 'master'
Angus Gratton [Thu, 7 Jun 2018 00:25:05 +0000 (08:25 +0800)]
Merge branch 'bugfix/adjtime_attr' into 'master'

newlib: Remove RTC_DATA_ATTR for adjtime

See merge request idf/esp-idf!2504

6 years agoMerge branch 'bugfix/few_typos_in_docs' into 'master'
Angus Gratton [Thu, 7 Jun 2018 00:24:23 +0000 (08:24 +0800)]
Merge branch 'bugfix/few_typos_in_docs' into 'master'

Fix few typos in documentation

See merge request idf/esp-idf!2519

6 years agoMerge branch 'bugfix/docs_ascii_art_2_blockdiag' into 'master'
Angus Gratton [Thu, 7 Jun 2018 00:23:01 +0000 (08:23 +0800)]
Merge branch 'bugfix/docs_ascii_art_2_blockdiag' into 'master'

Replaced ASCII art drawings with blockdiag drawings

See merge request idf/esp-idf!2243

6 years agoReplaced ASCII art drawings with blockdiag drawings
krzychb [Fri, 13 Apr 2018 17:50:14 +0000 (19:50 +0200)]
Replaced ASCII art drawings with blockdiag drawings

6 years agospi_flash: Enable flash emulation down to ROM function calls
Renz Bagaporo [Sat, 26 May 2018 06:58:01 +0000 (14:58 +0800)]
spi_flash: Enable flash emulation down to ROM function calls

6 years agoci: Add spiffs, fatfs host runs to CI
Renz Bagaporo [Tue, 22 May 2018 10:26:19 +0000 (18:26 +0800)]
ci: Add spiffs, fatfs host runs to CI

Adds running the fatfs, spiffs sanity check to CI.

6 years agospiffs: Make spiffs runnable on host
Renz Bagaporo [Tue, 22 May 2018 08:47:30 +0000 (16:47 +0800)]
spiffs: Make spiffs runnable on host

Makes spiffs component runnable on host. Depends on the host library build
of flash emulator. Includes a basic sanity test of
mounting a volume, opening a file, writing to the file, reading the file,
closing the file and unmounting volume.

6 years agofatfs: Make fatfs runnable on host
Renz Bagaporo [Thu, 17 May 2018 08:19:29 +0000 (16:19 +0800)]
fatfs: Make fatfs runnable on host

Makes fatfs component runnable on host. Depends on the host library build
of wear levelling and flash emulator. Includes a basic sanity test of
mounting a volume, opening a file, writing to the file, reading the file,
closing the file and unmounting volume.

6 years agowl, spi_flash: Make wl API runnable on host
Renz Bagaporo [Thu, 17 May 2018 10:56:52 +0000 (18:56 +0800)]
wl, spi_flash: Make wl API runnable on host

Makes the entirety of the wl API runnable on host. Flash emulator
is separated into spi_flash component directory to be reused by
other storage components.

6 years agoesp32: Fix not the right time spent in a deep sleep
Konstantin Kondrashov [Mon, 4 Jun 2018 07:39:18 +0000 (12:39 +0500)]
esp32: Fix not the right time spent in a deep sleep

Before entering the deep sleep, the RTC and FRC counters are synchronized. Updating the boot_time.
Added a unit test for this case.
Fixed warnings for MULTIPLE_STAGES

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

6 years agobt: fix typo in documentation
Mahavir Jain [Wed, 6 Jun 2018 12:52:32 +0000 (18:22 +0530)]
bt: fix typo in documentation

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agodocs: fix flash_encryption key generation command
Mahavir Jain [Wed, 6 Jun 2018 12:51:00 +0000 (18:21 +0530)]
docs: fix flash_encryption key generation command

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agofix espnow bug when add node in AP+STA mode
zhangyanjiao [Wed, 6 Jun 2018 12:44:19 +0000 (20:44 +0800)]
fix espnow bug when add node in AP+STA mode

6 years agosleep_mode/esp32: Fix a condition to keep power domain enabled during sleep mode
Konstantin Kondrashov [Wed, 6 Jun 2018 11:50:28 +0000 (16:50 +0500)]
sleep_mode/esp32: Fix a condition to keep power domain enabled during sleep mode