]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoComponent/bt: fix register multi service change when register multi gattc
zhiweijian [Tue, 26 Jun 2018 08:39:30 +0000 (16:39 +0800)]
Component/bt: fix register multi service change when register multi gattc

6 years agoMerge branch 'bugfix/esp_err_name_idf_path_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:23:49 +0000 (19:23 +0800)]
Merge branch 'bugfix/esp_err_name_idf_path_v3.1' into 'release/v3.1'

docs: fix error code reference build issue (v3.1)

See merge request idf/esp-idf!2607

6 years agoMerge branch 'bugfix/btdm_fix_stop_adv_error_in_dual_core_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:22:28 +0000 (19:22 +0800)]
Merge branch 'bugfix/btdm_fix_stop_adv_error_in_dual_core_v3.1' into 'release/v3.1'

component/bt: fix stop adv error in dual core for v3.1

See merge request idf/esp-idf!2661

6 years agoMerge branch 'bugfix/assert_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:20:35 +0000 (19:20 +0800)]
Merge branch 'bugfix/assert_v3.1' into 'release/v3.1'

assert: Fix. Move useful functions from wrapped assert functions (v3.1)

See merge request idf/esp-idf!2605

6 years agoMerge branch 'bugfix/read_rssi_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:18:15 +0000 (19:18 +0800)]
Merge branch 'bugfix/read_rssi_v3.1' into 'release/v3.1'

bt : fix read rssi conflict when in dual mode

See merge request idf/esp-idf!2618

6 years agoMerge branch 'bugfix/btdm_respond_error_when_receives_unsupported_request_v3.1' into...
Jiang Jiang Jian [Fri, 29 Jun 2018 11:15:03 +0000 (19:15 +0800)]
Merge branch 'bugfix/btdm_respond_error_when_receives_unsupported_request_v3.1' into 'release/v3.1'

component/bt: Fix bug: Respond with the Error Response when receiving a request…

See merge request idf/esp-idf!2662

6 years agoMerge branch 'bugfix/btdm_some_ble_hid_bugs_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:14:41 +0000 (19:14 +0800)]
Merge branch 'bugfix/btdm_some_ble_hid_bugs_v3.1' into 'release/v3.1'

component/bt: Fix some hid bugs of v3.1

See merge request idf/esp-idf!2663

6 years agoMerge branch 'bugfix/btdm_modem_sleep_prevent_dfs_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 10:45:47 +0000 (18:45 +0800)]
Merge branch 'bugfix/btdm_modem_sleep_prevent_dfs_for_v3.1' into 'release/v3.1'

bugfix/btdm_modem_sleep_prevent_dfs_for_v3.1(backport v3.1)

See merge request idf/esp-idf!2660

6 years agoMerge branch 'bugfix/btdm_rm_assert_in_isr_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 10:45:30 +0000 (18:45 +0800)]
Merge branch 'bugfix/btdm_rm_assert_in_isr_for_v3.1' into 'release/v3.1'

bugfix/btdm_rm_assert_in_isr_for_v3.1(backport v3.1)

See merge request idf/esp-idf!2659

6 years agoMerge branch 'bugfix/btdm_singular_sleep_time_corr_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 10:44:20 +0000 (18:44 +0800)]
Merge branch 'bugfix/btdm_singular_sleep_time_corr_for_v3.1' into 'release/v3.1'

bugfix/btdm_singular_sleep_time_correction_for_v3.1(backport v3.1)

See merge request idf/esp-idf!2658

6 years agocomponent/bt: Fix some hid bugs of v3.1
baohongde [Fri, 29 Jun 2018 07:42:46 +0000 (15:42 +0800)]
component/bt: Fix some hid bugs of v3.1

1. Property of HID Information is Read
2. Property of HID Control Point is WriteWithoutResponse

A cherry-pick of MR !2628

6 years agocomponent/bt: Fix bug: Respond with the Error Response when receiving a request that...
baohongde [Fri, 29 Jun 2018 07:19:19 +0000 (15:19 +0800)]
component/bt: Fix bug: Respond with the Error Response when receiving a request that it does not support into v3.1

A cherry-pick of MR !2591

6 years agoMerge branch 'feature/optimize_wifi_memory_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 07:13:00 +0000 (15:13 +0800)]
Merge branch 'feature/optimize_wifi_memory_v3.1' into 'release/v3.1'

Optimize WiFi memory (backport v3.1)

See merge request idf/esp-idf!2651

6 years agocomponent/bt: fix stop adv error in dual core
zwj [Fri, 15 Jun 2018 08:25:35 +0000 (16:25 +0800)]
component/bt: fix stop adv error in dual core

6 years agoMerge branch 'bugfix/btdm_fix_no_adv_packet_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 29 Jun 2018 06:59:10 +0000 (14:59 +0800)]
Merge branch 'bugfix/btdm_fix_no_adv_packet_v3.1' into 'release/v3.1'

component/bt: fix no adv packets for v3.1

See merge request idf/esp-idf!2653

6 years agoprevent Dynamic Frequency Scaling when using bluetooth modem sleep
wangmengyang [Thu, 28 Jun 2018 10:08:18 +0000 (18:08 +0800)]
prevent Dynamic Frequency Scaling when using bluetooth modem sleep

This constraint will be elimiated after the issue is fixed

6 years agocomponent/bt: remove the call of assert in time conversion functions which can be...
wangmengyang [Wed, 27 Jun 2018 09:23:23 +0000 (17:23 +0800)]
component/bt: remove the call of assert in time conversion functions which can be caused in ISR

6 years agocomponent/bt: fix the cornered case caused by singular finetime correction value...
wangmengyang [Wed, 27 Jun 2018 11:00:20 +0000 (19:00 +0800)]
component/bt: fix the cornered case caused by singular finetime correction value upon waking up from sleep

1. revert previous changes that adds 1-slot margin for first master Tx event, since this bugfix can handle that case

6 years agocomponent/bt: fix no adv packets
zwj [Thu, 28 Jun 2018 09:49:41 +0000 (17:49 +0800)]
component/bt: fix no adv packets

6 years agoOptimize WiFi memory
Liu Zhi Fu [Thu, 28 Jun 2018 13:24:44 +0000 (21:24 +0800)]
Optimize WiFi memory

Optimize wifi memory (b987c01d)
1. Decrease WiFi task stack size by 512 Bytes
2. Modify WiFi NVS configuration array from static to dynamic
3. Move interrupt/RX relating variables from .bss segment to .data segment
4. Modify WiFi management short buffer from static to dynamic
5. Remove some useless WiFi buffer space

6 years agoMerge branch 'mesh/update_libs_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 28 Jun 2018 08:09:29 +0000 (16:09 +0800)]
Merge branch 'mesh/update_libs_v3.1' into 'release/v3.1'

mesh: update libs(backport3.1)

See merge request idf/esp-idf!2630

6 years agoMerge branch 'bugfix/btdm_conn_stress_test_assert_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 28 Jun 2018 06:23:39 +0000 (14:23 +0800)]
Merge branch 'bugfix/btdm_conn_stress_test_assert_for_v3.1' into 'release/v3.1'

bugfix/btdm_conn_stress_test_assert_for_v3.1(backport v3.1)

See merge request idf/esp-idf!2632

6 years agocomponent/bt: add 1 slot margin to program the 1st master Tx event during BLE connection
wangmengyang [Wed, 27 Jun 2018 07:44:32 +0000 (15:44 +0800)]
component/bt: add 1 slot margin to program the 1st master Tx event during BLE connection

this will resolve the issue of failure of BLE connection stress test with sleep enabled

6 years agoMerge branch 'bugfix/btdm_slave_can_not_receive_long_packets_in_smp_v3.1' into 'relea...
Jiang Jiang Jian [Wed, 27 Jun 2018 10:10:24 +0000 (18:10 +0800)]
Merge branch 'bugfix/btdm_slave_can_not_receive_long_packets_in_smp_v3.1' into 'release/v3.1'

Component/bt: fix slave can not receive long packets in smp for v3.1

See merge request idf/esp-idf!2626

6 years agoMerge branch 'feature/move_to_soc_rtc_gpio_desc_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Wed, 27 Jun 2018 07:55:46 +0000 (15:55 +0800)]
Merge branch 'feature/move_to_soc_rtc_gpio_desc_v3.1' into 'release/v3.1'

soc: Fix check_long_hold_gpio and move def to soc (v3.1 backport)

See merge request idf/esp-idf!2622

6 years agomesh: update libs
qiyueixa [Tue, 19 Jun 2018 10:23:56 +0000 (18:23 +0800)]
mesh: update libs

1. add APIs to set/get announce interval values.
2. add API to enable/disable the min rate to 6Mbps for data packages.
3. add APIs to set/get RSSI threshold values.
4. fix ap_loss.

6 years agoMerge branch 'feature/btdm_controller_to_host_flow_control_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 26 Jun 2018 09:07:18 +0000 (17:07 +0800)]
Merge branch 'feature/btdm_controller_to_host_flow_control_v3.1' into 'release/v3.1'

component/bt: Add Controller to Host Flow Control into v3.1

See merge request idf/esp-idf!2613

6 years agoComponent/bt: fix slave can not receive long packets in smp
zhiweijian [Thu, 21 Jun 2018 07:16:01 +0000 (15:16 +0800)]
Component/bt: fix slave can not receive long packets in smp

6 years agosoc: Fix check_long_hold_gpio and move def to soc
Konstantin Kondrashov [Wed, 13 Jun 2018 04:52:44 +0000 (09:52 +0500)]
soc: Fix check_long_hold_gpio and move def to soc

Fix factory_reset_pin init as input
Move definition a structure rtc_gpio_desc to soc

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

6 years agobt : fix read rssi conflict when in dual mode
Tian Hao [Thu, 21 Jun 2018 13:43:46 +0000 (21:43 +0800)]
bt : fix read rssi conflict when in dual mode

6 years agocomponent/bt: Add Controller to Host Flow Control into v3.1
baohongde [Mon, 25 Jun 2018 12:38:21 +0000 (20:38 +0800)]
component/bt: Add Controller to Host Flow Control into v3.1

A cherry-pick of MR !2493

6 years agoMerge branch 'bugfix/app_partition_fallback_v31' into 'release/v3.1'
Ivan Grokhotkov [Mon, 25 Jun 2018 06:59:03 +0000 (14:59 +0800)]
Merge branch 'bugfix/app_partition_fallback_v31' into 'release/v3.1'

partition_table: Support same fallback logic as bootloader for default boot partition (v3.1 backport)

See merge request idf/esp-idf!2597

6 years agoMerge branch 'bugfix/wifi_support_null_mode_again_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 25 Jun 2018 06:54:40 +0000 (14:54 +0800)]
Merge branch 'bugfix/wifi_support_null_mode_again_v3.1' into 'release/v3.1'

support WiFi null mode again

See merge request idf/esp-idf!2578

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 agoesp_err_to_name.py: guess IDF_PATH if not set in environement
Ivan Grokhotkov [Thu, 21 Jun 2018 07:21:45 +0000 (15:21 +0800)]
esp_err_to_name.py: guess IDF_PATH if not set in environement

Fixes the issue that esp_err_to_name.py would fail when called in
documentation build process, when there was no IDF_PATH set.

6 years agopartition_table: Support same fallback logic as bootloader for default boot partition
Angus Gratton [Fri, 22 Jun 2018 01:14:22 +0000 (11:14 +1000)]
partition_table: Support same fallback logic as bootloader for default boot partition

Generates correct "make flash" command even when partition table has no factory partition.

Also adds unit tests for parttool.py

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

6 years agoassert: Fix. Move useful functions from wrapped assert functions
Konstantin Kondrashov [Fri, 22 Jun 2018 10:17:55 +0000 (15:17 +0500)]
assert: Fix. Move useful functions from wrapped assert functions

Moved useful functions from wrapped assert functions, because option `CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED=y` will remove this functions.

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

6 years agoMerge branch 'bugfix/btdm_modify_throught_demo_default_config_v3.1' into 'release...
Jiang Jiang Jian [Sun, 24 Jun 2018 02:52:44 +0000 (10:52 +0800)]
Merge branch 'bugfix/btdm_modify_throught_demo_default_config_v3.1' into 'release/v3.1'

Component/bt: modify throughput demo default config for v3.1

See merge request idf/esp-idf!2600

6 years agoComponent/bt: modify throughput demo default config
zhiweijian [Thu, 21 Jun 2018 12:13:05 +0000 (20:13 +0800)]
Component/bt: modify throughput demo default config

6 years agosupport WiFi null mode again
XiaXiaotian [Wed, 20 Jun 2018 09:21:56 +0000 (17:21 +0800)]
support WiFi null mode again

6 years agoMerge branch 'bugfix/btdm_k_mem_assert_bug_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 21 Jun 2018 07:23:24 +0000 (15:23 +0800)]
Merge branch 'bugfix/btdm_k_mem_assert_bug_v3.1' into 'release/v3.1'

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

See merge request idf/esp-idf!2584

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 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 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 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