]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agodocs: conf.py: check return code when calling os.system
Ivan Grokhotkov [Thu, 21 Jun 2018 07:22:47 +0000 (15:22 +0800)]
docs: conf.py: check return code when calling os.system

Several calls were made but results were not checked, obfuscating the
errors.

6 years agoMerge branch 'doc/examples_guide' into 'master'
Angus Gratton [Thu, 21 Jun 2018 05:59:44 +0000 (13:59 +0800)]
Merge branch 'doc/examples_guide' into 'master'

docs: Add "Creating Examples" docs page, template example README

See merge request idf/esp-idf!2536

6 years agoMerge branch 'bugfix/heap_int_overflow' into 'master'
Angus Gratton [Thu, 21 Jun 2018 05:58:08 +0000 (13:58 +0800)]
Merge branch 'bugfix/heap_int_overflow' into 'master'

heap: Add integer overflow checks

See merge request idf/esp-idf!2568

6 years agoMerge branch 'example/sdio_example' into 'master'
Ivan Grokhotkov [Thu, 21 Jun 2018 05:55:23 +0000 (13:55 +0800)]
Merge branch 'example/sdio_example' into 'master'

example(sdio): example to use sdmmc host to do SDIO communication with SDIO slave

See merge request idf/esp-idf!1946

6 years agoMerge branch 'bugfix/btdm_k_mem_assert_bug' into 'master'
Jiang Jiang Jian [Thu, 21 Jun 2018 03:15:11 +0000 (11:15 +0800)]
Merge branch 'bugfix/btdm_k_mem_assert_bug' into 'master'

component/bt: Fix the bug of when operating the list on interrupt function,…

See merge request idf/esp-idf!2575

6 years agoMerge branch 'bugfix/fix_http_client_header_bug' into 'master'
Angus Gratton [Thu, 21 Jun 2018 00:10:13 +0000 (08:10 +0800)]
Merge branch 'bugfix/fix_http_client_header_bug' into 'master'

esp_http_client: Fix content-type header overwritten by esp_http_client_set_post_field

See merge request idf/esp-idf!2552

6 years agoMerge branch 'test/driver_pcnt' into 'master'
He Yin Ling [Wed, 20 Jun 2018 10:31:24 +0000 (18:31 +0800)]
Merge branch 'test/driver_pcnt' into 'master'

test: add pcnt test cases

See merge request idf/esp-idf!1930

6 years agoexample(sdio): example to use sdmmc host to do SDIO communication with SDIO slave
Michael (XIAO Xufeng) [Tue, 29 May 2018 08:33:24 +0000 (16:33 +0800)]
example(sdio): example to use sdmmc host to do SDIO communication with SDIO slave

6 years agochore(sdio_slave): format source files
michael [Thu, 7 Jun 2018 12:11:08 +0000 (20:11 +0800)]
chore(sdio_slave): format source files

6 years agotest: components/driver: pcnt case
houchenyao [Wed, 6 Jun 2018 11:56:43 +0000 (19:56 +0800)]
test: components/driver: pcnt case

6 years agoMerge branch 'feat/sdio_pullup' into 'master' v3.2-dev
Ivan Grokhotkov [Wed, 20 Jun 2018 05:58:56 +0000 (13:58 +0800)]
Merge branch 'feat/sdio_pullup' into 'master'

feature(sdio): add features to make SDIO slave compatible with more devkits

See merge request idf/esp-idf!2454

6 years agoesp_http_client: Fix content-type header overwritten by esp_http_client_set_post_field
Jitin George [Thu, 14 Jun 2018 07:06:19 +0000 (12:36 +0530)]
esp_http_client: Fix content-type header overwritten by esp_http_client_set_post_field

Also, references of non-existent function `esp_http_client_finalize_open` is removed
from `esp_http_client` documentation.

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

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

6 years agoMerge branch 'bugfix/fix_touch_pad_can_not_wake_up' into 'master' v3.1-beta1
Angus Gratton [Wed, 20 Jun 2018 03:51:46 +0000 (11:51 +0800)]
Merge branch 'bugfix/fix_touch_pad_can_not_wake_up' into 'master'

bugfix(touch pad): modify deep-sleep example and add note for sleep api

See merge request idf/esp-idf!2553

6 years agobugfix(touch pad): modify deep-sleep example and add note for sleep api.
fuzhibo [Thu, 14 Jun 2018 08:33:46 +0000 (16:33 +0800)]
bugfix(touch pad): modify deep-sleep example and add note for sleep api.
Closes https://github.com/espressif/esp-idf/issues/2052

6 years agoMerge branch 'doc/use_docs_espressif_com' into 'master'
Angus Gratton [Tue, 19 Jun 2018 23:32:11 +0000 (07:32 +0800)]
Merge branch 'doc/use_docs_espressif_com' into 'master'

docs: Switch base URL from esp-idf.readthedocs.io to docs.espressif.com

See merge request idf/esp-idf!2569

6 years agoheap: Add integer overflow checks
Angus Gratton [Mon, 18 Jun 2018 06:24:49 +0000 (16:24 +1000)]
heap: Add integer overflow checks

6 years agocomponent/bt: Fix the bug of when operating the list on interrupt function, there...
yulong [Tue, 19 Jun 2018 13:01:50 +0000 (21:01 +0800)]
component/bt: Fix the bug of when operating the list on interrupt function, there is no lock protection.

6 years agodocs: Switch base URL from esp-idf.readthedocs.io to docs.espressif.com
Angus Gratton [Mon, 18 Jun 2018 07:07:16 +0000 (17:07 +1000)]
docs: Switch base URL from esp-idf.readthedocs.io to docs.espressif.com

6 years agoMerge branch 'bugfix/ESP_PARTITION_TABLE_OFFSET' into 'master'
Ivan Grokhotkov [Tue, 19 Jun 2018 11:13:30 +0000 (19:13 +0800)]
Merge branch 'bugfix/ESP_PARTITION_TABLE_OFFSET' into 'master'

spi_flash: Fix error unit tests on host

See merge request idf/esp-idf!2573

6 years agospi_flash: Fix error unit tests on host
Konstantin Kondrashov [Tue, 19 Jun 2018 03:23:01 +0000 (08:23 +0500)]
spi_flash: Fix error unit tests on host

IDF had two defines ESP_PARTITION_TABLE_OFFSET and ESP_PARTITION_TABLE_ADDR. They were the same and equal by 0x8000.
A define ESP_PARTITION_TABLE_ADDR was removed from IDF.
A define ESP_PARTITION_TABLE_OFFSET depends on option CONFIG_PARTITION_TABLE_OFFSET in Kconfig.

Now using only #define ESP_PARTITION_TABLE_OFFSET CONFIG_PARTITION_TABLE_OFFSET

6 years agoMerge branch 'test/driver_ledc' into 'master'
He Yin Ling [Tue, 19 Jun 2018 07:14:16 +0000 (15:14 +0800)]
Merge branch 'test/driver_ledc' into 'master'

test: add ledc test cases

See merge request idf/esp-idf!1782

6 years agoMerge branch 'feature/spi_functions_in_iram' into 'master'
Angus Gratton [Mon, 18 Jun 2018 23:25:12 +0000 (07:25 +0800)]
Merge branch 'feature/spi_functions_in_iram' into 'master'

feature(spi_master): allow to place functions into IRAM to get higher efficiency

See merge request idf/esp-idf!2538

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

6 years agoMerge branch 'feature/expansion_space_for_bootloader' into 'master'
Angus Gratton [Mon, 18 Jun 2018 04:34:53 +0000 (12:34 +0800)]
Merge branch 'feature/expansion_space_for_bootloader' into 'master'

partition_table: Moving to custom offset

See merge request idf/esp-idf!2263

6 years agoMerge branch 'feature/fatfs_without_wl' into 'master'
Angus Gratton [Mon, 18 Jun 2018 04:26:02 +0000 (12:26 +0800)]
Merge branch 'feature/fatfs_without_wl' into 'master'

FATFS support without wear levelling

See merge request idf/esp-idf!2526

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 agoFATFS support without wear levelling
Sagar Bijwe [Fri, 8 Jun 2018 12:09:00 +0000 (17:39 +0530)]
FATFS support without wear levelling

This change allows readonly FATFS to be mounted without wear levelling
support. This will provide the customers a simple way to mount FATFS images
generated on host and flashed onto the chip during factory provisioning.
Since NVS encryption is not supported yet and NVS entry size is limited,
the change will provide an easy alternative for securing the provisioning data
by just marking FATFS parition as encrypted.

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 agofeature(spi_master): allow to place functions into IRAM to get higher efficiency
Michael (XIAO Xufeng) [Mon, 11 Jun 2018 11:54:18 +0000 (19:54 +0800)]
feature(spi_master): allow to place functions into IRAM to get higher efficiency

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 agodocs: Add "Creating Examples" docs page, template example README
Angus Gratton [Fri, 8 Jun 2018 01:18:14 +0000 (11:18 +1000)]
docs: Add "Creating Examples" docs page, template example README

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 agodoc(sdio_slave): add descriptions about conflicts on MTDI pin
michael [Sun, 27 May 2018 16:58:19 +0000 (00:58 +0800)]
doc(sdio_slave): add descriptions about conflicts on MTDI pin

6 years agofix(sdio_slave): fix the intr_recv issue that trigger receiving too fast cause assert...
michael [Mon, 4 Jun 2018 17:23:37 +0000 (01:23 +0800)]
fix(sdio_slave): fix the intr_recv issue that trigger receiving too fast cause assertion failed.

also fix a race risk issue when recycle receiving buffers.

6 years agofeature(sdio): allow to enable internal pullups of the SDIO host and slave as a debug...
michael [Fri, 25 May 2018 11:44:53 +0000 (19:44 +0800)]
feature(sdio): allow to enable internal pullups of the SDIO host and slave as a debug feature

NOTE: the internal pullups are not totally reliable, please do add external pullups on your bus.

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.