]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agocomponent/bt: Fix exception when there is no device name
baohongde [Tue, 10 Apr 2018 09:55:33 +0000 (17:55 +0800)]
component/bt: Fix exception when there is no device name

6 years agoMerge branch 'feature/build_ssc_in_multiple_ci_jobs' into 'master'
Ivan Grokhotkov [Tue, 3 Apr 2018 10:20:38 +0000 (18:20 +0800)]
Merge branch 'feature/build_ssc_in_multiple_ci_jobs' into 'master'

CI: support build SSC in multiple jobs

See merge request idf/esp-idf!1622

6 years agoMerge branch 'test/support_multi_stage_unit_test_case' into 'master'
Ivan Grokhotkov [Tue, 3 Apr 2018 10:20:16 +0000 (18:20 +0800)]
Merge branch 'test/support_multi_stage_unit_test_case' into 'master'

unit-test-app: support multi stage unit test case

See merge request idf/esp-idf!2139

6 years agoMerge branch 'feature/deactivate_wakeup_trigger' into 'master'
Ivan Grokhotkov [Tue, 3 Apr 2018 07:19:10 +0000 (15:19 +0800)]
Merge branch 'feature/deactivate_wakeup_trigger' into 'master'

esp32: Add deactivation of wake up trigger for different sources

See merge request idf/esp-idf!2079

6 years agoMerge branch 'doc/spi_speed' into 'master'
Ivan Grokhotkov [Tue, 3 Apr 2018 07:17:25 +0000 (15:17 +0800)]
Merge branch 'doc/spi_speed' into 'master'

doc(spi_master): add descriptions about the SPI master speed

See merge request idf/esp-idf!2145

6 years agoMerge branch 'feature/btdm_add_get_local_used_addr_API' into 'master'
Jiang Jiang Jian [Mon, 2 Apr 2018 14:28:00 +0000 (22:28 +0800)]
Merge branch 'feature/btdm_add_get_local_used_addr_API' into 'master'

Component/bt: add esp_ble_gap_get_local_used_addr() API

See merge request idf/esp-idf!2137

6 years agoMerge branch 'feature/wifi_bt_new_coex' into 'master'
Jiang Jiang Jian [Mon, 2 Apr 2018 14:20:31 +0000 (22:20 +0800)]
Merge branch 'feature/wifi_bt_new_coex' into 'master'

Feature/wifi bt new coex

See merge request idf/esp-idf!2087

6 years agodoc(spi_master): add descriptions about the SPI master speed
michael [Wed, 28 Mar 2018 10:30:10 +0000 (18:30 +0800)]
doc(spi_master): add descriptions about the SPI master speed

Closes https://github.com/espressif/esp-idf/issues/1542, Closes https://github.com/espressif/esp-idf/issues/1008

6 years agotest: use SSC_BLE_WIFI to test NVS cases
He Yin Ling [Mon, 2 Apr 2018 10:13:52 +0000 (18:13 +0800)]
test: use SSC_BLE_WIFI to test NVS cases

6 years agoMerge branch 'bugfix/sdspi_init_v1_card' into 'master'
Ivan Grokhotkov [Mon, 2 Apr 2018 05:48:46 +0000 (13:48 +0800)]
Merge branch 'bugfix/sdspi_init_v1_card' into 'master'

sdspi: compatibility fixes for SD v1.0 cards

See merge request idf/esp-idf!1927

6 years agosupport wifi&bt coexist (v0.9.1)
island [Fri, 10 Nov 2017 02:54:50 +0000 (10:54 +0800)]
support wifi&bt coexist (v0.9.1)

1. refactor wifi modem sleep
2. refactor wifi and bt phy enable/diable coexistence
3. support wifi&bt coexist (v0.9.1)
3. add coex pause resume
4. fix bt library interrupt reaction slowly
5. make a2dp more smooth when coex
6. add coexist preference option
7. Make CI do not check libcoexist.a printf/ets_printf
8. disable Wifi RX AMPDU when software coexistence enable && update wifi lib
9. bluetooth call modem sleep api

6 years agofatfs/test: enable tests on SD card
Ivan Grokhotkov [Fri, 30 Mar 2018 10:44:13 +0000 (18:44 +0800)]
fatfs/test: enable tests on SD card

6 years agoMerge branch 'bugfix/flash_mapp' into 'master'
Jiang Jiang Jian [Fri, 30 Mar 2018 11:32:35 +0000 (19:32 +0800)]
Merge branch 'bugfix/flash_mapp' into 'master'

spi_flash: add api to get valid mmu table pages number

See merge request idf/esp-idf!2070

6 years agoMerge branch 'bugfix/btdm_fix_get_PID_key_error' into 'master'
Jiang Jiang Jian [Fri, 30 Mar 2018 11:26:31 +0000 (19:26 +0800)]
Merge branch 'bugfix/btdm_fix_get_PID_key_error' into 'master'

Component/bt: fix get PID key error

See merge request idf/esp-idf!2156

6 years agofatfs/test: use 16k cluster size to speed up formatting
Ivan Grokhotkov [Fri, 30 Mar 2018 10:40:06 +0000 (18:40 +0800)]
fatfs/test: use 16k cluster size to speed up formatting

6 years agosdspi: fix compatibility issue in multi block read
Ivan Grokhotkov [Mon, 12 Mar 2018 07:47:06 +0000 (15:47 +0800)]
sdspi: fix compatibility issue in multi block read

SDSPI driver optimized polling of the response tokens by requesting
two extra bytes on top of the block size (512) and CRC (2), and
checking whether these bytes contained the data response token or
not. In case the token was there, further polling would not need to
happen, thereby reducing latency between two consecutive blocks
transferred. However this caused compatibility issues when these two
extra bytes were sent after reading the final block. When
STOP_TRANSMISSION command was sent, these extra two bytes were
treated as part of the command, causing an invalid command error.

This fixes the logic by only requesting extra two bytes if the block
being read is not the final block. In addition to that, more strict
error checking is implemented for command response tokens.

6 years agosdspi: handle delayed R1 responses for data read commands
Ivan Grokhotkov [Thu, 8 Feb 2018 17:57:48 +0000 (01:57 +0800)]
sdspi: handle delayed R1 responses for data read commands

6 years agosdspi: handle error flags for R3/R7 responses
Ivan Grokhotkov [Tue, 6 Feb 2018 02:53:41 +0000 (10:53 +0800)]
sdspi: handle error flags for R3/R7 responses

Previously error flags were only handled for R1 responses. This change
moves error handling into a separate function and calls it for R1/R3/R7.

6 years agoMerge branch 'bugfix/btdm_fix_connect_fail_when_remote_addr_is_random' into 'master'
Jiang Jiang Jian [Fri, 30 Mar 2018 09:00:19 +0000 (17:00 +0800)]
Merge branch 'bugfix/btdm_fix_connect_fail_when_remote_addr_is_random' into 'master'

Component/bt: modify open API params

See merge request idf/esp-idf!2116

6 years agoMerge branch 'feature/support_enrollee_feature_in_APSTA_mode' into 'master'
Jiang Jiang Jian [Fri, 30 Mar 2018 08:14:43 +0000 (16:14 +0800)]
Merge branch 'feature/support_enrollee_feature_in_APSTA_mode' into 'master'

feature/support WPS enrollee in APSTA mode

See merge request idf/esp-idf!2120

6 years agoMerge branch 'bugfix/btdm_fix_no_set_rand_addr_event_callback' into 'master'
Jiang Jiang Jian [Fri, 30 Mar 2018 08:05:32 +0000 (16:05 +0800)]
Merge branch 'bugfix/btdm_fix_no_set_rand_addr_event_callback' into 'master'

Component/bt: fix no set rand add callback

See merge request idf/esp-idf!2140

6 years agoMerge branch 'bugfix/btdm_fix_service_change_event_param_error' into 'master'
Jiang Jiang Jian [Fri, 30 Mar 2018 06:57:13 +0000 (14:57 +0800)]
Merge branch 'bugfix/btdm_fix_service_change_event_param_error' into 'master'

Component/bt: fix service change event params error

See merge request idf/esp-idf!2150

6 years agoMerge branch 'feature/i2s_add_expand_function' into 'master'
Jiang Jiang Jian [Fri, 30 Mar 2018 06:51:23 +0000 (14:51 +0800)]
Merge branch 'feature/i2s_add_expand_function' into 'master'

add a new i2s feature to expand the original i2s width

See merge request idf/esp-idf!1617

6 years agoMerge branch 'bugfix/btdm_fix_strncpy_error_in_blufi' into 'master'
Jiang Jiang Jian [Fri, 30 Mar 2018 06:10:09 +0000 (14:10 +0800)]
Merge branch 'bugfix/btdm_fix_strncpy_error_in_blufi' into 'master'

Component/bt: fix strncpy error in blufi

See merge request idf/esp-idf!2141

6 years agoMerge branch 'bugfix/btdm_add_some_comment' into 'master'
Jiang Jiang Jian [Fri, 30 Mar 2018 06:07:30 +0000 (14:07 +0800)]
Merge branch 'bugfix/btdm_add_some_comment' into 'master'

Component/bt: add some comments

See merge request idf/esp-idf!1949

6 years agoMerge branch 'bugfix/btdm_xQueueGenericSend_assertion' into 'master'
Jiang Jiang Jian [Fri, 30 Mar 2018 06:02:24 +0000 (14:02 +0800)]
Merge branch 'bugfix/btdm_xQueueGenericSend_assertion' into 'master'

component/bt: Fix xQueueGenericSend assertion

See merge request idf/esp-idf!2130

6 years agoMerge branch 'bugfix/btdm_ble_spp_client_heartbeat' into 'master'
Jiang Jiang Jian [Fri, 30 Mar 2018 06:01:28 +0000 (14:01 +0800)]
Merge branch 'bugfix/btdm_ble_spp_client_heartbeat' into 'master'

component/bt: fix type error for ble_spp_client when SUPPORT_HEARTBEAT is enabled

See merge request idf/esp-idf!1876

6 years agounit-test-app: support multi stages test
He Yin Ling [Fri, 9 Mar 2018 06:50:34 +0000 (14:50 +0800)]
unit-test-app: support multi stages test

6 years agoComponent/bt: fix get PID key error
zhiweijian [Fri, 30 Mar 2018 03:31:15 +0000 (11:31 +0800)]
Component/bt: fix get PID key error

6 years agoComponent/bt: fix connect fail when remote addr type is random
zhiweijian [Fri, 23 Mar 2018 03:08:03 +0000 (11:08 +0800)]
Component/bt: fix connect fail when remote addr  type is random

6 years agoComponent/bt: fix no set rand add callback event
zhiweijian [Mon, 26 Mar 2018 03:40:14 +0000 (11:40 +0800)]
Component/bt: fix no set rand add callback event

6 years agoComponent/bt: add esp_ble_gap_get_local_used_addr() API
zhiweijian [Tue, 27 Mar 2018 12:12:57 +0000 (20:12 +0800)]
Component/bt: add esp_ble_gap_get_local_used_addr() API

6 years agotest: change SSC binary path
He Yin Ling [Fri, 1 Dec 2017 07:03:04 +0000 (15:03 +0800)]
test: change SSC binary path

6 years agoCI: support build SSC in multiple jobs
He Yin Ling [Fri, 1 Dec 2017 04:00:40 +0000 (12:00 +0800)]
CI: support build SSC in multiple jobs

6 years agofix CI failed when flash chip size if 2MBytes
Tian Zhong Xing [Thu, 29 Mar 2018 09:48:59 +0000 (17:48 +0800)]
fix CI failed when flash chip size if 2MBytes

6 years agoComponent/bt: fix service change event params error
zhiweijian [Thu, 29 Mar 2018 08:11:16 +0000 (16:11 +0800)]
Component/bt: fix service change event params error

6 years agoesp32: Deactivate wakeup trigger after first wakeup
Alex Lisitsyn [Thu, 29 Mar 2018 06:24:59 +0000 (11:24 +0500)]
esp32: Deactivate wakeup trigger after first wakeup

The files updated according to code review discussions.
In the sleep_modes.c removed immidiate disable of ULP  mode and leave just trigger deactivation.
The esp_sleep.h is updated to have the same defines for source as esp_sleep_wakeup_cause_t.
Updated documentation in sleep_modes.rst file to include cross references and address esp_sleep_wakeup_cause_t type.
The get_time_ms() is updated to explicitly use fabs(dt) instead of abs(dt) in  test_sleep.c.
Some other minor changes in test_sleep.c unit test.

(TW#18952)
Closes https://github.com/espressif/esp-idf/issues/1677

6 years agoMerge branch 'feat/add_efuse_cpu_freq_rating' into 'master'
Angus Gratton [Wed, 28 Mar 2018 21:59:52 +0000 (05:59 +0800)]
Merge branch 'feat/add_efuse_cpu_freq_rating' into 'master'

efuse/add cpu freq rating

See merge request idf/esp-idf!1994

6 years agoMerge branch 'bugfix/make_error_codes_unique' into 'master'
Angus Gratton [Wed, 28 Mar 2018 21:57:04 +0000 (05:57 +0800)]
Merge branch 'bugfix/make_error_codes_unique' into 'master'

Make error codes globally unique

See merge request idf/esp-idf!1935

6 years agoMerge branch 'bugfix/btdm_slow_interrupt_reaction' into 'master'
Jiang Jiang Jian [Wed, 28 Mar 2018 13:49:19 +0000 (21:49 +0800)]
Merge branch 'bugfix/btdm_slow_interrupt_reaction' into 'master'

component/bt : fix interrupt slow reaction cause assert(interrupt wdt)

See merge request idf/esp-idf!2143

6 years agocomponent/bt: Fix xQueueGenericSend assertion
baohongde [Wed, 28 Mar 2018 12:25:57 +0000 (20:25 +0800)]
component/bt: Fix xQueueGenericSend assertion

6 years agoMerge branch 'doc/adc1_channel_config' into 'master'
Ivan Grokhotkov [Wed, 28 Mar 2018 11:11:44 +0000 (19:11 +0800)]
Merge branch 'doc/adc1_channel_config' into 'master'

adc: Add doc details about configure not needed before each read

See merge request idf/esp-idf!2132

6 years agoMerge branch 'bugfix/build_fix_conf' into 'master'
Ivan Grokhotkov [Wed, 28 Mar 2018 11:11:12 +0000 (19:11 +0800)]
Merge branch 'bugfix/build_fix_conf' into 'master'

build: Fix problems with building kconfig and generating sdkconfig

See merge request idf/esp-idf!2138

6 years agocomponent/bt : fix interrupt slow reaction cause assert(interrupt wdt)
Tian Hao [Wed, 28 Mar 2018 04:04:13 +0000 (12:04 +0800)]
component/bt : fix interrupt slow reaction cause assert(interrupt wdt)

Some application lock interrupt(portENTER_CRITICAL) too long time,
it will cause bluetooth cannot react interrupt in time, then t will
cause some assert, assert info following:
1. ld_acl.c 1900
2. ld_fm.c 340
3. other assert reference to this.

6 years agoComponent/bt: fix strncp error in blufi
zhiweijian [Fri, 23 Mar 2018 08:12:47 +0000 (16:12 +0800)]
Component/bt: fix strncp error in blufi

6 years agoMerge branch 'feature/btdm_add_compile_version' into 'master'
Jiang Jiang Jian [Wed, 28 Mar 2018 02:56:06 +0000 (10:56 +0800)]
Merge branch 'feature/btdm_add_compile_version' into 'master'

component/bt : add bluetooth controller library compile version

See merge request idf/esp-idf!2135

6 years agobuild: Fix problems with building kconfig and generating sdkconfig
Anton Maklakov [Tue, 27 Mar 2018 05:13:35 +0000 (13:13 +0800)]
build: Fix problems with building kconfig and generating sdkconfig

We had some problems:
    simultaneous compiling of kconfig in the same tree;
    attempt to use menuconfig in some examples and ut in batch mode (w/o interactive console)

Also increase debug abilities in CI:
    force non-interactive building;
    add variable DEBUG_SHELL to toggle verbosity of scripts

6 years agoadc: Add doc details about configure not needed before each read
Angus Gratton [Mon, 26 Mar 2018 23:46:11 +0000 (10:46 +1100)]
adc: Add doc details about configure not needed before each read

6 years agocomponent/bt : add bluetooth controller library compile version
Tian Hao [Tue, 27 Mar 2018 08:35:00 +0000 (16:35 +0800)]
component/bt : add bluetooth controller library compile version

6 years agoMerge branch 'bugfix/adc2_cct' into 'master'
Ivan Grokhotkov [Tue, 27 Mar 2018 08:23:43 +0000 (16:23 +0800)]
Merge branch 'bugfix/adc2_cct' into 'master'

fix(adc2): fix cct and xpd configurations to improve precision of ADCs

See merge request idf/esp-idf!2020

6 years agoMerge branch 'bugfix/no_link_key_notify_on_repairing' into 'master'
Jiang Jiang Jian [Tue, 27 Mar 2018 06:51:25 +0000 (14:51 +0800)]
Merge branch 'bugfix/no_link_key_notify_on_repairing' into 'master'

component/bt: bugfix for no link key notification event on repairing

See merge request idf/esp-idf!2118

6 years agoMake error codes globally unique
Roland Dobai [Fri, 9 Feb 2018 13:43:11 +0000 (14:43 +0100)]
Make error codes globally unique

6 years agoMerge branch 'bugfix/i2c_ack_error_bug' into 'master'
Ivan Grokhotkov [Tue, 27 Mar 2018 04:29:23 +0000 (12:29 +0800)]
Merge branch 'bugfix/i2c_ack_error_bug' into 'master'

driver(i2c):  Fixed i2c interrupt wdt timeout bug

See merge request idf/esp-idf!2049

6 years agoMerge branch 'feature/use_esp_err_to_name' into 'master'
Ivan Grokhotkov [Tue, 27 Mar 2018 03:50:21 +0000 (11:50 +0800)]
Merge branch 'feature/use_esp_err_to_name' into 'master'

Use esp_err_to_name in examples & optionally disable it in Kconfig

See merge request idf/esp-idf!2013

6 years agoMerge branch 'feature/spi_dummy_bit' into 'master'
Ivan Grokhotkov [Tue, 27 Mar 2018 03:28:58 +0000 (11:28 +0800)]
Merge branch 'feature/spi_dummy_bit' into 'master'

feat(spi_master): allow output high speed data when dummy bits are not used.

See merge request idf/esp-idf!2113

6 years agocomponent/bt: bugfix for no link key notification event on repairing for initiating...
wangmengyang [Tue, 27 Mar 2018 03:22:47 +0000 (11:22 +0800)]
component/bt: bugfix for no link key notification event on repairing for initiating side of simple pairing

In response to: https://github.com/espressif/esp-idf/issues/1275

6 years agofeat(spi_master): allow output high speed data when dummy bits are not used.
Michael (Xiao Xufeng) [Tue, 20 Mar 2018 03:33:42 +0000 (11:33 +0800)]
feat(spi_master): allow output high speed data when dummy bits are not used.

6 years agofix(adc2): fix cct and xpd configurations to improve precision of ADCs
michael [Wed, 7 Mar 2018 07:04:43 +0000 (15:04 +0800)]
fix(adc2): fix cct and xpd configurations to improve precision of ADCs

6 years agoMerge branch 'feature/docs_check_lang_folder_sync' into 'master'
Ivan Grokhotkov [Mon, 26 Mar 2018 08:54:04 +0000 (16:54 +0800)]
Merge branch 'feature/docs_check_lang_folder_sync' into 'master'

Introduced a CI check if folders with localized documentation are in sync, i.e.…

See merge request idf/esp-idf!2073

6 years agodriver(i2c): Fixed ack_err interrupt can't exit bug.
kooho [Tue, 13 Mar 2018 12:14:51 +0000 (20:14 +0800)]
driver(i2c): Fixed ack_err interrupt can't exit bug.

6 years agoMerge branch 'bugfix/rtc_xtal_unit_test' into 'master'
Ivan Grokhotkov [Mon, 26 Mar 2018 07:41:25 +0000 (15:41 +0800)]
Merge branch 'bugfix/rtc_xtal_unit_test' into 'master'

Fix 32k RTC XTAL unit test failures

See merge request idf/esp-idf!2124

6 years agoMerge branch 'feat/add_FatFs_encoding_options_in_menuconfig' into 'master'
Ivan Grokhotkov [Mon, 26 Mar 2018 06:14:48 +0000 (14:14 +0800)]
Merge branch 'feat/add_FatFs_encoding_options_in_menuconfig' into 'master'

fatfs/add menuconfig options for different encodings

See merge request idf/esp-idf!2112

6 years agospi_flash:
Tian Zhong Xing [Fri, 16 Mar 2018 07:47:31 +0000 (15:47 +0800)]
spi_flash:
1. add test code for new api
2. resolve some comments

6 years agosoc/rtc: run 32k XTAL startup test only in PSRAM config
Ivan Grokhotkov [Mon, 26 Mar 2018 02:14:13 +0000 (10:14 +0800)]
soc/rtc: run 32k XTAL startup test only in PSRAM config

PSRAM tests run on ESP-WROVER-KIT boards, which have the 32k XTAL
installed.

6 years agofeature/support WPS enrollee in APSTA mode
Deng Xin [Fri, 23 Mar 2018 07:41:59 +0000 (15:41 +0800)]
feature/support WPS enrollee in APSTA mode

Add the feature WPS enrollee in APSTA mode

close github issue: https://github.com/espressif/esp-idf/issues/1608

6 years agofatfs/add menuconfig options for different encodings
Darian Leung [Thu, 30 Nov 2017 12:57:37 +0000 (20:57 +0800)]
fatfs/add menuconfig options for different encodings

This commit adds character encoding configurations in for the fatfs component.
The FF_LFN_UNICODE definition in ffconf.h can now be changed to accept UTF-8 or
UTF-16 encoded filernames. Test cases using UTF-8 encoded file paths and names in
FatFs have also been added.

Closes #1183

6 years agoMerge branch 'test/wifi_stop_deinit' into 'master'
Ivan Grokhotkov [Fri, 23 Mar 2018 05:45:20 +0000 (13:45 +0800)]
Merge branch 'test/wifi_stop_deinit' into 'master'

test(wifi): add test for wifi stop and deinit.

See merge request idf/esp-idf!2022

6 years agoMerge branch 'bugfix/http2_add_authority_field' into 'master'
Ivan Grokhotkov [Fri, 23 Mar 2018 05:28:55 +0000 (13:28 +0800)]
Merge branch 'bugfix/http2_add_authority_field' into 'master'

http2: Include 'authority' header by default in the request

See merge request idf/esp-idf!2097

6 years agoAdd a new i2s feature to expand the original i2s width
Zhang Zhao Xiang [Wed, 29 Nov 2017 05:16:26 +0000 (13:16 +0800)]
Add a new i2s feature to expand the original i2s width

6 years agoMerge branch 'bugfix/btdm_spp_handle_error' into 'master'
Jiang Jiang Jian [Thu, 22 Mar 2018 02:08:47 +0000 (10:08 +0800)]
Merge branch 'bugfix/btdm_spp_handle_error' into 'master'

component/bt: Fix bug of SPP handle error

See merge request idf/esp-idf!2026

6 years agoMerge branch 'bugfix/btdm_fix_error_when_close_SMP_for_master' into 'master'
Jiang Jiang Jian [Thu, 22 Mar 2018 02:07:57 +0000 (10:07 +0800)]
Merge branch 'bugfix/btdm_fix_error_when_close_SMP_for_master' into 'master'

Component/bt: fix build error when close SMP

See merge request idf/esp-idf!2110

6 years agoMerge branch 'bugfix/rtc_clk_32k_bootstrap' into 'master'
Ivan Grokhotkov [Wed, 21 Mar 2018 10:38:49 +0000 (18:38 +0800)]
Merge branch 'bugfix/rtc_clk_32k_bootstrap' into 'master'

bugfix/rtc_clk_32k_bootstrap: Fix starting 32k RTC

See merge request idf/esp-idf!2085

6 years agobugfix/rtc_clk_32k_bootstrap: Fix starting 32k RTC
Konstantin Kondrashov [Mon, 19 Mar 2018 08:05:32 +0000 (13:05 +0500)]
bugfix/rtc_clk_32k_bootstrap: Fix starting 32k RTC

1. External 32kHz crystal is started for too long or it may not start at all. It is often observed at the first start.
2. At the first start, it is possible that the crystal did not start. And the recorded period was recorded as 0. Which led to a division error by zero during the transition to the deep sleep mode (Maybe somewhere else).
3. Added a unit test to test a new method of oscillation an external crystal.
4. Added a new method of oscillating of an external crystal. The legs of the crystal are fed with a 32 kHz frequency.

The new method eliminates these errors.

Added unit test: `\esp-idf\components\soc\esp32\test\test_rtc_clk.c`: `make TEST_COMPONENTS=soc`
- 8 Test starting external RTC crystal. Will pass.

`Bootstrap cycles for external 32kHz crystal` - is specified in the file Kconfig by default 100.

QA tested a new method of oscillation the crystal on 25 boards. The supply of square waves on the crystal showed a 100% result in contrast to the previous method of launching the crystal. After the tests, the old method was deleted.

Closes TW19143

6 years agoComponent/bt: fix build error when close SMP
zhiweijian [Wed, 21 Mar 2018 05:48:05 +0000 (13:48 +0800)]
Component/bt: fix build error when close SMP

6 years agoMerge branch 'bugfix/dfs_rtc_fixes' into 'master'
Jiang Jiang Jian [Wed, 21 Mar 2018 04:02:48 +0000 (12:02 +0800)]
Merge branch 'bugfix/dfs_rtc_fixes' into 'master'

DFS related fixes

See merge request idf/esp-idf!2102

6 years agoMerge branch 'bugfix/wifi_lwip_set_ip_post_wrong_event' into 'master'
Jiang Jiang Jian [Wed, 21 Mar 2018 03:45:24 +0000 (11:45 +0800)]
Merge branch 'bugfix/wifi_lwip_set_ip_post_wrong_event' into 'master'

Fix the bug that incorrect event is posted when setting static ip of softap and ethernet

See merge request idf/esp-idf!2095

6 years agoFix the bug that incorrect event is posted when setting static ip of softap and ethernet
XiaXiaotian [Tue, 20 Mar 2018 07:32:22 +0000 (15:32 +0800)]
Fix the bug that incorrect event is posted when setting static ip of softap and ethernet

6 years agoMerge branch 'feature/configure_pthread_behaviour' into 'master'
Ivan Grokhotkov [Tue, 20 Mar 2018 16:41:20 +0000 (00:41 +0800)]
Merge branch 'feature/configure_pthread_behaviour' into 'master'

pthread: Allow configuration of priority and stacksize

See merge request idf/esp-idf!1978

6 years agopthread: Allow configuration of priority and stacksize
Kedar Sovani [Sun, 25 Feb 2018 09:26:04 +0000 (14:56 +0530)]
pthread: Allow configuration of priority and stacksize

The expected usage is:
  esp_pthread_set_cfg(cfg);
  pthread_create()

If the inherit flag is set, then all subsequent threads forked by this
thread will also inherit this configuration. This avoids having to
change/prefix this for each and every pthread_create() call.

6 years agoMerge branch 'cherry-pick-7f2a9f03' into 'master'
Jiang Jiang Jian [Tue, 20 Mar 2018 12:23:43 +0000 (20:23 +0800)]
Merge branch 'cherry-pick-7f2a9f03' into 'master'

cherry pick 'bugfix/btdm_fix_reconnect_fail_in_smp_v30' into 'Master'

See merge request idf/esp-idf!2101

6 years agohttp2: Include 'authority' field by default in the request
Kedar Sovani [Tue, 20 Mar 2018 08:02:45 +0000 (13:32 +0530)]
http2: Include 'authority' field by default in the request

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

6 years agoMerge branch 'bugfix/btdm_fix_reconnect_fail_in_smp_v30' into 'release/v3.0'
Jiang Jiang Jian [Tue, 20 Mar 2018 10:49:13 +0000 (18:49 +0800)]
Merge branch 'bugfix/btdm_fix_reconnect_fail_in_smp_v30' into 'release/v3.0'

Component/bt: fix reconnect fail in smp for v3.0

See merge request idf/esp-idf!2075

(cherry picked from commit 7f2a9f0359431deb87b1a64b050982dedbe90440)

d0e55335 Component/bt: fix reconnect fail in smp

6 years agoMerge branch 'bugfix/btdm_add_char_descr_uuid_error' into 'master'
Jiang Jiang Jian [Tue, 20 Mar 2018 10:43:42 +0000 (18:43 +0800)]
Merge branch 'bugfix/btdm_add_char_descr_uuid_error' into 'master'

component/bt: Change the char_uuid to descr_uuid in the add descriptor callback params.

See merge request idf/esp-idf!2065

6 years agosoc/rtc: wait for frequency switch to complete
Ivan Grokhotkov [Tue, 20 Mar 2018 10:27:32 +0000 (18:27 +0800)]
soc/rtc: wait for frequency switch to complete

The fast path of CPU frequency switch function, used in DFS, was not
waiting for the frequency switch to complete when switching from XTAL
to PLL. This resulted in incorrect reads from peripherals on APB,
where two consecutive reads could return the same value. For example,
in esp_timer, read of FRC_COUNT_REG would return same value as the
preceding read of FRC_ALARM_REG, causing time to jump by the value of
FRC_ALARM_REG / apb_freq_mhz.

6 years agoMerge branch 'bugfix/btdm_avrc_remote_bda_error_when_disconnect' into 'master'
Jiang Jiang Jian [Tue, 20 Mar 2018 10:24:01 +0000 (18:24 +0800)]
Merge branch 'bugfix/btdm_avrc_remote_bda_error_when_disconnect' into 'master'

component/bt: Fix bug: AVRC remote_bda error when disconnect

See merge request idf/esp-idf!2093

6 years agoMerge branch 'feature/optimize_wifi_tx' into 'master'
Jiang Jiang Jian [Tue, 20 Mar 2018 10:21:11 +0000 (18:21 +0800)]
Merge branch 'feature/optimize_wifi_tx' into 'master'

esp32: optimize WiFi TX

See merge request idf/esp-idf!2091

6 years agopm: improve debug output from esp_pm_dump_locks
Ivan Grokhotkov [Tue, 20 Mar 2018 10:08:19 +0000 (18:08 +0800)]
pm: improve debug output from esp_pm_dump_locks

- separate mode stats from lock stats by an extra comment line
- add CPU frequency column to the mode stats
- don’t print a row for light sleep if light sleep is not enabled

6 years agopm: fix incorrect configuration at startup
Ivan Grokhotkov [Tue, 20 Mar 2018 10:06:58 +0000 (18:06 +0800)]
pm: fix incorrect configuration at startup

s_cpu_freq_by_mode array was statically initialised with 80MHz CPU
frequency in CPU_MAX and APB_MAX modes, but sdkconfig setting for the
CPU frequency could have been different. For the case of 240MHz CPU
frequency, this would cause a frequency switch between 240MHz and
80MHz to happen, even though such switch is not supported in the fast
path switching functions used by the DFS implementation.

This fixes the issue by moving initialisation into esp_pm_impl_init,
which is called at startup before the first mode switch can happen.

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

6 years agoesp32: Deactivate wakeup trigger after first wakeup
Alex Lisitsyn [Tue, 20 Mar 2018 09:58:43 +0000 (14:58 +0500)]
esp32: Deactivate wakeup trigger after first wakeup

The files updated according to code review discussions.
In the sleep_modes.c removed immidiate disable of ULP  mode and leave just trigger deactivation.
The esp_sleep.h is updated to have the same defines for source as esp_sleep_wakeup_cause_t.
Updated documentation in sleep_modes.rst file to include cross references and address esp_sleep_wakeup_cause_t type.
Some minor changes in test_sleep.c unit test.

(TW#18952)
Closes https://github.com/espressif/esp-idf/issues/1677

6 years agoesp32: optimize WiFi TX
Liu Zhi Fu [Mon, 19 Mar 2018 14:19:49 +0000 (22:19 +0800)]
esp32: optimize WiFi TX

1. Optimize TX retry counter
2. Optimize TX timeout

6 years agoesp32: Deactivate wakeup trigger after first wakeup
Alex Lisitsyn [Tue, 20 Mar 2018 06:43:48 +0000 (11:43 +0500)]
esp32: Deactivate wakeup trigger after first wakeup

The files updated according to code review discussions.
In the sleep_modes.c removed immidiate disable of ULP  mode and leave just trigger deactivation.
The esp_sleep.h is updated to have the same defines for source as esp_sleep_wakeup_cause_t.
Updated documentation in sleep_modes.rst file to include cross references.
Some minor changes in test_sleep.c unit test.

(TW#18952)
Closes https://github.com/espressif/esp-idf/issues/1677

6 years agoMerge branch 'bugfix/wpa2_assert_when_use_sha256_signature' into 'master'
Jiang Jiang Jian [Tue, 20 Mar 2018 07:19:55 +0000 (15:19 +0800)]
Merge branch 'bugfix/wpa2_assert_when_use_sha256_signature' into 'master'

bugfix of wpa2 assert when use sha256 do signature

See merge request idf/esp-idf!2089

6 years agoMerge branch 'bugfix/tw19041_esp_wifi_stop_not_return' into 'master'
Jiang Jiang Jian [Tue, 20 Mar 2018 07:18:09 +0000 (15:18 +0800)]
Merge branch 'bugfix/tw19041_esp_wifi_stop_not_return' into 'master'

esp32: Fix esp_wifi_stop never returns issue

See merge request idf/esp-idf!2059

6 years agocomponent/bt: Fix bug: AVRC remote_bda error when disconnect
baohongde [Tue, 20 Mar 2018 07:12:36 +0000 (15:12 +0800)]
component/bt: Fix bug: AVRC remote_bda error when disconnect

6 years agobugfix of wpa2 assert when use sha256 do signature
Deng Xin [Mon, 19 Mar 2018 13:18:37 +0000 (21:18 +0800)]
bugfix of wpa2 assert when use sha256 do signature

The order of wpa2_crypto_funcs_t structure mismatch between IDF and wifi libray

close github issue https://github.com/espressif/esp-idf/issues/1297

6 years agoMerge branch 'bugfix/gpio_timer_doc_fixes' into 'master'
Ivan Grokhotkov [Tue, 20 Mar 2018 02:49:36 +0000 (10:49 +0800)]
Merge branch 'bugfix/gpio_timer_doc_fixes' into 'master'

Minor fixes of GPIO and timer group driver docs

See merge request idf/esp-idf!2081

6 years agoMerge branch 'bugfix/docs_updates_from_github' into 'master'
Ivan Grokhotkov [Tue, 20 Mar 2018 01:50:43 +0000 (09:50 +0800)]
Merge branch 'bugfix/docs_updates_from_github' into 'master'

Bugfix/docs updates from github

See merge request idf/esp-idf!2057

6 years agoMerge branch 'feature/doc_common_conf' into 'master'
Angus Gratton [Tue, 20 Mar 2018 01:02:12 +0000 (09:02 +0800)]
Merge branch 'feature/doc_common_conf' into 'master'

doc: Move non-language-specific RTD/Sphinx config to conf_common.py

See merge request idf/esp-idf!2058

6 years agoComponent/bt: add some comment
zhiweijian [Tue, 13 Feb 2018 08:03:48 +0000 (16:03 +0800)]
Component/bt: add some comment

6 years agoesp32: Fix wifi stop never return issue
Liu Zhi Fu [Mon, 19 Mar 2018 13:16:29 +0000 (21:16 +0800)]
esp32: Fix wifi stop never return issue

Fix esp_wifi_stop() never return issue