]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'bugfix/sdspi_delayed_write_response' into 'master'
Angus Gratton [Tue, 15 May 2018 02:32:21 +0000 (10:32 +0800)]
Merge branch 'bugfix/sdspi_delayed_write_response' into 'master'

sdspi: handle delayed response to data write command

See merge request idf/esp-idf!2290

6 years agoMerge branch 'bugfix/rmt_tx_stop_bug' into 'master'
Jiang Jiang Jian [Tue, 15 May 2018 02:04:33 +0000 (10:04 +0800)]
Merge branch 'bugfix/rmt_tx_stop_bug' into 'master'

driver(rmt):  RMT tx stop  workaround

See merge request idf/esp-idf!1915

6 years agoMerge branch 'feature/adjust_log_level_about_uart' into 'master'
Jiang Jiang Jian [Tue, 15 May 2018 01:59:21 +0000 (09:59 +0800)]
Merge branch 'feature/adjust_log_level_about_uart' into 'master'

feat: Adjust log level about UART

See merge request idf/esp-idf!2047

6 years agoMerge branch 'feature/docs_translate_home_page' into 'master'
Jiang Jiang Jian [Tue, 15 May 2018 01:57:13 +0000 (09:57 +0800)]
Merge branch 'feature/docs_translate_home_page' into 'master'

Update index.rst. Merges https://github.com/espressif/esp-idf/pull/1747

See merge request idf/esp-idf!2368

6 years agoMerge branch 'bugfix/rename_clk_rst_bits_for_spi' into 'master'
Jiang Jiang Jian [Tue, 15 May 2018 01:49:56 +0000 (09:49 +0800)]
Merge branch 'bugfix/rename_clk_rst_bits_for_spi' into 'master'

rename clock enable and reset bits for SPI modules

See merge request idf/esp-idf!2293

6 years agoCorrected link rendering and additional translations
krzychb [Wed, 9 May 2018 05:45:54 +0000 (07:45 +0200)]
Corrected link rendering and additional translations

6 years agoMerge branch 'bugfix/btdm_fix_crash_without_smp_when_deinit_bluedroid' into 'master'
Jiang Jiang Jian [Mon, 14 May 2018 13:20:44 +0000 (21:20 +0800)]
Merge branch 'bugfix/btdm_fix_crash_without_smp_when_deinit_bluedroid' into 'master'

Component/bt: fix crash without SMP when deinit bluedroid

See merge request idf/esp-idf!2375

6 years agoMerge branch 'feature/wifi_add_sniffer_ctrl_pkt' into 'master'
Jiang Jiang Jian [Mon, 14 May 2018 12:42:15 +0000 (20:42 +0800)]
Merge branch 'feature/wifi_add_sniffer_ctrl_pkt' into 'master'

add sniffer control packet support

See merge request idf/esp-idf!1904

6 years agoMerge branch 'bugfix/btdm_reconnect_con_params_update_reject_in_smp' into 'master'
Jiang Jiang Jian [Mon, 14 May 2018 12:19:29 +0000 (20:19 +0800)]
Merge branch 'bugfix/btdm_reconnect_con_params_update_reject_in_smp' into 'master'

Component/bt: update con params is rejected in smp when reconnection

See merge request idf/esp-idf!2318

6 years agodriver(rmt):Fix rmt_tx_stop bug.
kooho [Sat, 24 Feb 2018 08:36:21 +0000 (16:36 +0800)]
driver(rmt):Fix rmt_tx_stop bug.

6 years agoMerge branch 'bugfix/logging_docs_cleanup' into 'master'
Angus Gratton [Mon, 14 May 2018 10:36:35 +0000 (18:36 +0800)]
Merge branch 'bugfix/logging_docs_cleanup' into 'master'

log: clean up docs, clarify esp_log_level_set usage

See merge request idf/esp-idf!2080

6 years ago rename clock enable and reset bits for SPI modules
jack [Tue, 24 Apr 2018 08:38:46 +0000 (16:38 +0800)]
rename clock enable and reset bits for SPI modules

    1.The names of clock enable and reset bits do not match with TRM, just rename them.

6 years agoMerge branch 'bugfix/bluedroid_const_char' into 'master'
Jiang Jiang Jian [Mon, 14 May 2018 07:25:45 +0000 (15:25 +0800)]
Merge branch 'bugfix/bluedroid_const_char' into 'master'

Bluedroid: remove warnings about discarding "const" for "const char*"

See merge request idf/esp-idf!2387

6 years agoadd sniffer control packet support
XiaXiaotian [Mon, 5 Feb 2018 03:52:56 +0000 (11:52 +0800)]
add sniffer control packet support

6 years agoMerge branch 'test/add_unit_test_jobs' into 'master'
He Yin Ling [Mon, 14 May 2018 06:06:05 +0000 (14:06 +0800)]
Merge branch 'test/add_unit_test_jobs' into 'master'

ci: increase number of unit test jobs, temporarily disable light sleep test for short durations

See merge request idf/esp-idf!2386

6 years agoMerge branch 'bugfix/ledc_error' into 'master'
Angus Gratton [Mon, 14 May 2018 01:16:02 +0000 (09:16 +0800)]
Merge branch 'bugfix/ledc_error' into 'master'

ledc driver: Clarify logging of function argument errors

See merge request idf/esp-idf!2380

6 years agoMerge branch 'feature/mbedtls_2_9_0' into 'master'
Angus Gratton [Mon, 14 May 2018 01:15:44 +0000 (09:15 +0800)]
Merge branch 'feature/mbedtls_2_9_0' into 'master'

Re-add mbedTLS as a submodule, update to 2.9.0

See merge request idf/esp-idf!2367

6 years agoMerge branch 'bugfix/add_comments_for_adc' into 'master'
Angus Gratton [Fri, 11 May 2018 10:54:40 +0000 (18:54 +0800)]
Merge branch 'bugfix/add_comments_for_adc' into 'master'

driver(adc): Add descriptions that starting ADC can trigger interrupt of GPIO36…

See merge request idf/esp-idf!1910

6 years agoesp32/test: temporarily disable test for light sleep duration
Ivan Grokhotkov [Fri, 11 May 2018 10:14:13 +0000 (18:14 +0800)]
esp32/test: temporarily disable test for light sleep duration

Until the issue in CI is debugged

6 years agoMerge branch 'bugfix/vfs_append' into 'master'
Angus Gratton [Fri, 11 May 2018 10:12:47 +0000 (18:12 +0800)]
Merge branch 'bugfix/vfs_append' into 'master'

VFS: use O_APPEND flag of open() correctly

See merge request idf/esp-idf!2382

6 years agoBluedroid: remove warnings about discarding "const" for "const char*"
Roland Dobai [Fri, 11 May 2018 09:08:58 +0000 (11:08 +0200)]
Bluedroid: remove warnings about discarding "const" for "const char*"

6 years agodriver(adc): add descriptions for the issue that starting ADC can trigger interrupt...
kooho [Mon, 5 Feb 2018 13:51:32 +0000 (21:51 +0800)]
driver(adc): add descriptions for the issue that starting ADC can trigger interrupt of GPIO36 and GPIO39.

6 years agoci: increase number of unit test jobs
Ivan Grokhotkov [Fri, 11 May 2018 08:42:52 +0000 (16:42 +0800)]
ci: increase number of unit test jobs

6 years agoMerge branch 'feature/wifi_refactor_smartconfig' into 'master'
Jiang Jiang Jian [Fri, 11 May 2018 08:23:22 +0000 (16:23 +0800)]
Merge branch 'feature/wifi_refactor_smartconfig' into 'master'

refactor smartconfig

See merge request idf/esp-idf!2205

6 years agoMerge branch 'bugfix/i2s_dma_buf_alloc' into 'master'
Jiang Jiang Jian [Fri, 11 May 2018 08:03:40 +0000 (16:03 +0800)]
Merge branch 'bugfix/i2s_dma_buf_alloc' into 'master'

i2s: fix issue in dma descriptor allocation if SPIRAM is enabled

See merge request idf/esp-idf!2383

6 years agoMerge branch 'bugfix/upate_ble_a2dsink_example' into 'master'
Jiang Jiang Jian [Fri, 11 May 2018 07:59:14 +0000 (15:59 +0800)]
Merge branch 'bugfix/upate_ble_a2dsink_example' into 'master'

example(ble):  Update ble a2d_sink example

See merge request idf/esp-idf!2105

6 years agoMerge branch 'bugfix/dhcp_server_max_limit' into 'master'
Jiang Jiang Jian [Fri, 11 May 2018 07:50:38 +0000 (15:50 +0800)]
Merge branch 'bugfix/dhcp_server_max_limit' into 'master'

dhcp/dhcpserver Fix max station limit check in dhcp server

See merge request idf/esp-idf!2298

6 years agoMerge branch 'bugfix/btdm_conn_fail_after_deinit_and_init_spp' into 'master'
Jiang Jiang Jian [Fri, 11 May 2018 07:38:03 +0000 (15:38 +0800)]
Merge branch 'bugfix/btdm_conn_fail_after_deinit_and_init_spp' into 'master'

component/bt: Fix can't be connected if init SPP again after SPP deinit

See merge request idf/esp-idf!2369

6 years agoMerge branch 'bugfix/btdm_fix_service_change_write_busy' into 'master'
Jiang Jiang Jian [Fri, 11 May 2018 07:20:04 +0000 (15:20 +0800)]
Merge branch 'bugfix/btdm_fix_service_change_write_busy' into 'master'

Component/bt: fix service change write busy

See merge request idf/esp-idf!2359

6 years agoMerge branch 'bugfix/btdm_a2dp_disconn_state_when_connecting_with_iphone' into 'master'
Jiang Jiang Jian [Fri, 11 May 2018 06:59:34 +0000 (14:59 +0800)]
Merge branch 'bugfix/btdm_a2dp_disconn_state_when_connecting_with_iphone' into 'master'

component/bt: Fix bug a2dp have disconnect state when connecting with iphone 7

See merge request idf/esp-idf!2288

6 years agoMerge branch 'bugfix/light_sleep_wdt_fix' into 'master'
Ivan Grokhotkov [Fri, 11 May 2018 06:55:51 +0000 (14:55 +0800)]
Merge branch 'bugfix/light_sleep_wdt_fix' into 'master'

Fix occasional WDT reset in light sleep test

See merge request idf/esp-idf!2374

6 years agorefactor smartconfig
XiaXiaotian [Mon, 9 Apr 2018 06:29:53 +0000 (14:29 +0800)]
refactor smartconfig

    move wifi part to wifi lib and lwip part to idf

6 years agoVFS: use O_APPEND flag of open() correctly
Roland Dobai [Thu, 10 May 2018 12:26:47 +0000 (14:26 +0200)]
VFS: use O_APPEND flag of open() correctly

Closes https://github.com/espressif/esp-idf/pull/1455

6 years agolog: clean up docs, clarify esp_log_level_set usage
Ivan Grokhotkov [Sat, 17 Mar 2018 04:26:08 +0000 (12:26 +0800)]
log: clean up docs, clarify esp_log_level_set usage

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

6 years agoMerge branch 'bugfix/tw18980_fix_some_potential_thread_safe_issue' into 'master'
Jiang Jiang Jian [Fri, 11 May 2018 02:25:58 +0000 (10:25 +0800)]
Merge branch 'bugfix/tw18980_fix_some_potential_thread_safe_issue' into 'master'

wifi: fix some potential thread safe issue

See merge request idf/esp-idf!2366

6 years agoi2s: fix issue in dma descriptor allocation if SPIRAM is enabled
Mahavir Jain [Thu, 10 May 2018 12:30:11 +0000 (18:00 +0530)]
i2s: fix issue in dma descriptor allocation if SPIRAM is enabled

It has been observed that, if external SPIRAM is enabled, then under
certain scenarios (e.g. internal memory being too much fragmented),
I2S tx/rx descriptors can land in external SPIRAM and hence resulting
in failure in DMA. Adding explicit capability to allocate in only DMA
capable memory.

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoledc driver: Clarify logging of function argument errors
Angus Gratton [Thu, 10 May 2018 09:18:17 +0000 (17:18 +0800)]
ledc driver: Clarify logging of function argument errors

Some parameter errors did not specify which parameter was invalid.

Adds a new macro to name the invalid param.

6 years agowifi: fix some potential thread safe issue
zhangyanjiao [Thu, 10 May 2018 08:22:43 +0000 (16:22 +0800)]
wifi: fix some potential thread safe issue

change some API function to throw event:

esp_wifi_deauth_sta
esp_wifi_get_country
esp_wifi_ap_get_sta_list
esp_wifi_sta_get_ap_info
esp_wifi_stop
esp_wifi_get_channel
esp_wifi_get_protocol
esp_wifi_get_bandwidth

6 years agocomponent/bt: Fix can't be connected if init SPP again after SPP deinit
baohongde [Thu, 10 May 2018 08:16:25 +0000 (16:16 +0800)]
component/bt: Fix can't be connected if init SPP again after SPP deinit

6 years agoMerge branch 'feature/vfs_small_fds' into 'master'
Ivan Grokhotkov [Thu, 10 May 2018 06:29:34 +0000 (14:29 +0800)]
Merge branch 'feature/vfs_small_fds' into 'master'

Use smaller numbers as file descriptors

See merge request idf/esp-idf!2300

6 years agoComponent/bt: fix crash without SMP when deinit bluedroid
zhiweijian [Thu, 10 May 2018 03:39:34 +0000 (11:39 +0800)]
Component/bt: fix crash without SMP when deinit bluedroid
- fix crash without SMP when bluedroid deinit
- modify default menuconfig in blufi demo

6 years agoci: add extra UT test job
Ivan Grokhotkov [Fri, 4 May 2018 07:53:59 +0000 (15:53 +0800)]
ci: add extra UT test job

6 years agombedtls: enable deprecation warnings when building unit tests
Ivan Grokhotkov [Tue, 8 May 2018 15:51:23 +0000 (23:51 +0800)]
mbedtls: enable deprecation warnings when building unit tests

6 years agombedtls: update usage of mbedtls_aes_encrypt/decrypt
Ivan Grokhotkov [Tue, 8 May 2018 15:50:22 +0000 (23:50 +0800)]
mbedtls: update usage of mbedtls_aes_encrypt/decrypt

6 years agombedtls/port: don’t re-declare mbedtls_shaX functions
Ivan Grokhotkov [Tue, 8 May 2018 15:22:57 +0000 (23:22 +0800)]
mbedtls/port: don’t re-declare mbedtls_shaX functions

ALT header files for sha1, sha256, sha512 are only supposed to declare
mbedtls_sha1_context data structure. Function prototypes should come
from original header files.

6 years agombedtls: update usage of deprecated mbedtls_shaX APIs
Ivan Grokhotkov [Tue, 8 May 2018 15:21:01 +0000 (23:21 +0800)]
mbedtls: update usage of deprecated mbedtls_shaX APIs

The following mbedTLS APIs have been deprecated and replaced with the
new ones which return error codes:

mbedtls_shaX_starts -> mbedtls_shaX_starts_ret
mbedtls_shaX_update -> mbedtls_shaX_update_ret
mbedtls_shaX_finish -> mbedtls_shaX_finish_ret
mbedtls_shaX_process -> mbedtls_shaX_internal_process

Update hardware implementations of SHA functions, and other IDF
components which used above functions, to use new versions.

6 years agombedtls: re-add version 2.9.0 as a submodule
Ivan Grokhotkov [Tue, 8 May 2018 13:45:10 +0000 (21:45 +0800)]
mbedtls: re-add version 2.9.0 as a submodule

6 years agosleep: fix deadlock in esp_timer_impl_advance after light sleep
Ivan Grokhotkov [Fri, 4 May 2018 04:50:39 +0000 (12:50 +0800)]
sleep: fix deadlock in esp_timer_impl_advance after light sleep

When light sleep is started, the other CPU gets halted using DPORT
stall mechanism. This can happen while it is inside an esp_timer
critical section, which may lead to a deadlock. This change adds
functions to take and release esp_timer lock before entering
DPORT critical section, preventing the deadlock.

6 years agoesp_timer: fix esp_timer_impl_advance not triggering expired timers
Ivan Grokhotkov [Thu, 3 May 2018 16:57:24 +0000 (00:57 +0800)]
esp_timer: fix esp_timer_impl_advance not triggering expired timers

6 years agoComponent/bt: fix service change write busy
zhiweijian [Fri, 4 May 2018 13:11:13 +0000 (21:11 +0800)]
Component/bt: fix service change write busy

6 years agoComponent/bt: update con params is rejected in smp when reconnection
zhiweijian [Thu, 26 Apr 2018 09:03:11 +0000 (17:03 +0800)]
Component/bt: update con params is rejected in smp when reconnection

6 years agoMerge branch 'feature/put_supplicant_source_code_from_VNC_to_IDF' into 'master'
Jiang Jiang Jian [Wed, 9 May 2018 07:19:37 +0000 (15:19 +0800)]
Merge branch 'feature/put_supplicant_source_code_from_VNC_to_IDF' into 'master'

wpa_supplicant: move part of codes to IDF

See merge request idf/esp-idf!2272

6 years agoUpdate index.rst. Merges https://github.com/espressif/esp-idf/pull/1747
XuanZe [Tue, 20 Mar 2018 08:52:11 +0000 (16:52 +0800)]
Update index.rst. Merges https://github.com/espressif/esp-idf/pull/1747

6 years agowpa_supplicant:move part of codes to IDF
Deng Xin [Fri, 20 Apr 2018 03:33:04 +0000 (11:33 +0800)]
wpa_supplicant:move part of codes to IDF

6 years agoMerge branch 'bugfix/uart_fix_get_baudrate_error_bug' into 'master'
Ivan Grokhotkov [Tue, 8 May 2018 12:25:13 +0000 (20:25 +0800)]
Merge branch 'bugfix/uart_fix_get_baudrate_error_bug' into 'master'

driver(uart):   Fix uart_get_baudrate incorrect return value when using ref_tick

See merge request idf/esp-idf!2295

6 years agoMerge branch 'feature/psram_configure_in_runtime' into 'master'
Angus Gratton [Tue, 8 May 2018 07:23:47 +0000 (15:23 +0800)]
Merge branch 'feature/psram_configure_in_runtime' into 'master'

feature(psram): update psram and flash SPI frequency in runtime

See merge request idf/esp-idf!1776

6 years agoMerge branch 'bugfix/optimize_coexist_performance' into 'master'
Jiang Jiang Jian [Tue, 8 May 2018 03:11:03 +0000 (11:11 +0800)]
Merge branch 'bugfix/optimize_coexist_performance' into 'master'

component/esp32 : improve wifi and bluetooth coexistence performance

See merge request idf/esp-idf!2349

6 years agocomponent/esp32 : improve wifi and bluetooth coexistence performance
Tian Hao [Sat, 5 May 2018 04:50:13 +0000 (12:50 +0800)]
component/esp32 : improve wifi and bluetooth coexistence performance

1. update coexistence and wifi libraries. Coexist version update to
v0.9.2
2. Cancel the restriction of use AMPDU when SW_COEXIST_ENABLE is y.

6 years agoMerge branch 'bugfix/docs_nvs_example_link' into 'master'
Ivan Grokhotkov [Mon, 7 May 2018 09:13:07 +0000 (17:13 +0800)]
Merge branch 'bugfix/docs_nvs_example_link' into 'master'

docs: Fix broken link in nvs examples

See merge request idf/esp-idf!2360

6 years agoMerge branch 'bugfix/update_emac_h' into 'master'
Jiang Jiang Jian [Mon, 7 May 2018 08:16:52 +0000 (16:16 +0800)]
Merge branch 'bugfix/update_emac_h' into 'master'

update emac_reg_v2.h

See merge request idf/esp-idf!2050

6 years agodocs: Fix broken link in nvs and jtag example
Anuj Deshpande [Mon, 7 May 2018 06:54:20 +0000 (12:24 +0530)]
docs: Fix broken link in nvs and jtag example

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

6 years agobluedroid: use the new socket registering API
Roland Dobai [Mon, 7 May 2018 07:01:56 +0000 (09:01 +0200)]
bluedroid: use the new socket registering API

6 years agoVFS: Use smaller numbers as file descriptors
Roland Dobai [Mon, 7 May 2018 07:01:56 +0000 (09:01 +0200)]
VFS: Use smaller numbers as file descriptors

6 years agoMerge branch 'doc/spi_master_thread_safety' into 'master'
Angus Gratton [Mon, 7 May 2018 06:49:41 +0000 (14:49 +0800)]
Merge branch 'doc/spi_master_thread_safety' into 'master'

driver: Add notes to SPI driver docs about thread safety

See merge request idf/esp-idf!2354

6 years agoMerge branch 'bugfix/fix_two_wifi_bugs' into 'master'
Jiang Jiang Jian [Mon, 7 May 2018 06:00:24 +0000 (14:00 +0800)]
Merge branch 'bugfix/fix_two_wifi_bugs' into 'master'

esp32: fix two wifi bugs

See merge request idf/esp-idf!2352

6 years agoMerge branch 'bugfix/mdns_print_results' into 'master'
Ivan Grokhotkov [Mon, 7 May 2018 05:50:52 +0000 (13:50 +0800)]
Merge branch 'bugfix/mdns_print_results' into 'master'

mdns: fix potential NULL pointer dereference in mdns_print_results

See merge request idf/esp-idf!2353

6 years agoMerge branch 'bugfix/nvs_page_compaction' into 'master'
Ivan Grokhotkov [Mon, 7 May 2018 01:08:23 +0000 (09:08 +0800)]
Merge branch 'bugfix/nvs_page_compaction' into 'master'

nvs: Fix recovery from power-off while page is being freed

See merge request idf/esp-idf!2327

6 years agoMerge branch 'bugfix/docs_conf_py3_compat' into 'master'
Ivan Grokhotkov [Mon, 7 May 2018 01:07:44 +0000 (09:07 +0800)]
Merge branch 'bugfix/docs_conf_py3_compat' into 'master'

docs: make conf.py python3 compatible

See merge request idf/esp-idf!2344

6 years agodriver: Add notes to SPI driver docs about thread safety
Angus Gratton [Mon, 7 May 2018 01:03:48 +0000 (09:03 +0800)]
driver: Add notes to SPI driver docs about thread safety

6 years agoesp32: fix two wifi bugs
Liu Zhi Fu [Sun, 6 May 2018 09:29:06 +0000 (17:29 +0800)]
esp32: fix two wifi bugs

1. Fix the bug that WiFi receives duplicate MPDU
2. Deauth the station if soft-AP already has max WiFi connections

6 years agocomponent/bt: Fix bug a2dp have disconnect state when connecting with iphone 7
baohongde [Fri, 4 May 2018 11:44:40 +0000 (19:44 +0800)]
component/bt: Fix bug a2dp have disconnect state when connecting with iphone 7

6 years agoMerge branch 'feature/btdm_get_end_handle_when_get_include_service' into 'master'
Jiang Jiang Jian [Fri, 4 May 2018 11:31:43 +0000 (19:31 +0800)]
Merge branch 'feature/btdm_get_end_handle_when_get_include_service' into 'master'

Component/bt: get end_handle when get include services

See merge request idf/esp-idf!2319

6 years agoMerge branch 'bugfix/btdm_fix_version_excahnge_issue' into 'master'
Jiang Jiang Jian [Fri, 4 May 2018 11:30:03 +0000 (19:30 +0800)]
Merge branch 'bugfix/btdm_fix_version_excahnge_issue' into 'master'

Component/bt: fix version exchange issue

See merge request idf/esp-idf!2329

6 years agoMerge branch 'bugfix/tw12351_wifi_lock_op' into 'master'
Jiang Jiang Jian [Fri, 4 May 2018 11:27:14 +0000 (19:27 +0800)]
Merge branch 'bugfix/tw12351_wifi_lock_op' into 'master'

esp32: optimize wifi lock

See merge request idf/esp-idf!2345

6 years agoMerge branch 'bugfix/modify_default_flash_freq_to_40M_for_iperf_example' into 'master'
Jiang Jiang Jian [Fri, 4 May 2018 11:25:20 +0000 (19:25 +0800)]
Merge branch 'bugfix/modify_default_flash_freq_to_40M_for_iperf_example' into 'master'

example: set default SPI flash mode to 40Mhz for iperf example

See merge request idf/esp-idf!1928

6 years agoMerge branch 'bugfix/tw20575_fix_potential_phy_calibration_bug' into 'master'
Jiang Jiang Jian [Fri, 4 May 2018 11:24:05 +0000 (19:24 +0800)]
Merge branch 'bugfix/tw20575_fix_potential_phy_calibration_bug' into 'master'

esp32: fix potential PHY calibration bug

See merge request idf/esp-idf!2339

6 years agoesp32: optimize wifi lock
Liu Zhi Fu [Fri, 4 May 2018 02:36:04 +0000 (10:36 +0800)]
esp32: optimize wifi lock

Replace portENTER_CRITICAL/portEXIT_CRITICAL with semaphore lock if
the protected resource is only accessed by different tasks

6 years agodriver(uart): Fix uart_get_baudrate incorrect return value when using ref_tick
kooho [Tue, 24 Apr 2018 08:11:02 +0000 (16:11 +0800)]
driver(uart): Fix uart_get_baudrate incorrect return value when using ref_tick

6 years agoMerge branch 'bugfix/fix_typos_in_docs' into 'master'
Angus Gratton [Fri, 4 May 2018 00:40:44 +0000 (08:40 +0800)]
Merge branch 'bugfix/fix_typos_in_docs' into 'master'

Fix few typos in the docs

See merge request idf/esp-idf!2343

6 years agodocs: make conf.py python3 compatible
Ivan Grokhotkov [Thu, 3 May 2018 18:06:04 +0000 (02:06 +0800)]
docs: make conf.py python3 compatible

6 years agoMerge branch 'feature/btdm_get_and_remove_bond_device' into 'master'
Jiang Jiang Jian [Thu, 3 May 2018 12:58:51 +0000 (20:58 +0800)]
Merge branch 'feature/btdm_get_and_remove_bond_device' into 'master'

component/bt: Add APIs of get and remove bond device

See merge request idf/esp-idf!2323

6 years agoFix few typos in the docs
Hrishikesh Dhayagude [Thu, 3 May 2018 12:49:57 +0000 (18:19 +0530)]
Fix few typos in the docs

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
6 years agocomponent/bt: Add APIs of get and remove bond device
baohongde [Thu, 3 May 2018 11:05:57 +0000 (19:05 +0800)]
component/bt: Add APIs of get and remove bond device

1. Add APIs of get and remove bond device
2. Add ESP_BT_GAP_AUTH_CMPL_EVT

6 years agoesp32: fix potential PHY calibration bug
Liu Zhi Fu [Thu, 3 May 2018 07:48:14 +0000 (15:48 +0800)]
esp32: fix potential PHY calibration bug

1. Add error log if failed to store calibration version/mac/data
2. Change the NVS calibration version/mac/data store sequence
3. Pass the init_data instead of NULL to esp_phy_rf_init() in esp_phy_load_cal_and_init()

6 years agoMerge branch 'example/spi_ili_document' into 'master'
Jeroen Domburg [Thu, 3 May 2018 04:39:34 +0000 (12:39 +0800)]
Merge branch 'example/spi_ili_document' into 'master'

example(spi_master): add documentation for LCD commands

See merge request idf/esp-idf!2269

6 years agoexample(spi_master): add descriptions about LCD example
Michael (XIAO Xufeng) [Wed, 18 Apr 2018 06:36:26 +0000 (14:36 +0800)]
example(spi_master): add descriptions about LCD example

6 years agoexample: set default SPI flash mode to 40Mhz for iperf example
Liu Zhi Fu [Thu, 8 Feb 2018 07:25:34 +0000 (15:25 +0800)]
example: set default SPI flash mode to 40Mhz for iperf example

Set default SPI flash frequency to 40Mhz for iperf example to avoid random crash for ESP32-WROVER-KIT (v3).

6 years agoMerge branch 'bugfix/mark_auto_connect_api_as_obsolete' into 'master'
Jiang Jiang Jian [Thu, 3 May 2018 02:40:27 +0000 (10:40 +0800)]
Merge branch 'bugfix/mark_auto_connect_api_as_obsolete' into 'master'

esp32: mark WiFi auto connect API as deprecated

See merge request idf/esp-idf!1970

6 years agoMerge branch 'bugfix/wifi_log_level' into 'master'
Angus Gratton [Thu, 3 May 2018 02:21:19 +0000 (10:21 +0800)]
Merge branch 'bugfix/wifi_log_level' into 'master'

wifi: Set default wifi library log level based on sdkconfig

See merge request idf/esp-idf!2334

6 years agoMerge branch 'bugfix/light_sleep_fixes' into 'master'
Ivan Grokhotkov [Wed, 2 May 2018 12:09:36 +0000 (20:09 +0800)]
Merge branch 'bugfix/light_sleep_fixes' into 'master'

light sleep fixes

See merge request idf/esp-idf!2242

6 years agoMerge branch 'bugfix/free_mem_console' into 'master'
Ivan Grokhotkov [Wed, 2 May 2018 07:48:31 +0000 (15:48 +0800)]
Merge branch 'bugfix/free_mem_console' into 'master'

Free allocations in command.c after error conditions

See merge request idf/esp-idf!2332

6 years agoMerge branch 'feature/aws_iot_mqtt_on_443' into 'master'
Ivan Grokhotkov [Wed, 2 May 2018 07:43:29 +0000 (15:43 +0800)]
Merge branch 'feature/aws_iot_mqtt_on_443' into 'master'

aws_iot: add support for MQTT TLS over port 443

See merge request idf/esp-idf!2292

6 years agoMerge branch 'bugfix/cjson_include_objs' into 'master'
Ivan Grokhotkov [Wed, 2 May 2018 07:42:59 +0000 (15:42 +0800)]
Merge branch 'bugfix/cjson_include_objs' into 'master'

cJSON : Include only source file objects

See merge request idf/esp-idf!2326

6 years agonvs: Fix recovery from power-off while page is being freed
Sagar Bijwe [Fri, 27 Apr 2018 07:10:29 +0000 (12:40 +0530)]
nvs: Fix recovery from power-off while page is being freed

Currently when page is being freed, items are individually moved from
FREEING page to ACTIVE page and erased. If power-off happens during the
process, the remaining entries are moved to ACTIVE page during recovery.
The problem with this approach is there may not be enough space on
ACTIVE page for all items if an item was partially written before
power-off and erased during recovery. This change moves all the items
from FREEING to ACTIVE page and then erased the FREEING page, If
power-off happens during the process, then ACTIVE page is erased and the
process is restarted.

6 years agowifi: Set default wifi library log level based on sdkconfig
Angus Gratton [Wed, 2 May 2018 05:11:21 +0000 (15:11 +1000)]
wifi: Set default wifi library log level based on sdkconfig

Has to be set at runtime, due to precompiled wifi libraries.

Prompted by discussion on forum: https://esp32.com/viewtopic.php?f=2&t=5570&p=24216#p24216

6 years agoMerge branch 'feature/mfg_bin_create_utility' into 'master'
Ivan Grokhotkov [Wed, 2 May 2018 03:58:38 +0000 (11:58 +0800)]
Merge branch 'feature/mfg_bin_create_utility' into 'master'

nvs_flash: Add external binary creation support for NVS partition.

See merge request idf/esp-idf!2031

6 years agoesp32: mark WiFi auto connect API as obsolete
Liu Zhi Fu [Thu, 22 Feb 2018 12:52:01 +0000 (20:52 +0800)]
esp32: mark WiFi auto connect API as obsolete

Mark esp_wifi_set/get_auto_connect as obsolete

6 years agoMerge branch 'bugfix/gap_appearance_fixes' into 'master'
Jiang Jiang Jian [Tue, 1 May 2018 15:00:24 +0000 (23:00 +0800)]
Merge branch 'bugfix/gap_appearance_fixes' into 'master'

components/bt: Make modifications to the support of GAP appearance/icon characteristic

See merge request idf/esp-idf!2249

6 years agoMerge branch 'bugfix/btdm_prepare_write_status_correct' into 'master'
Jiang Jiang Jian [Tue, 1 May 2018 14:57:20 +0000 (22:57 +0800)]
Merge branch 'bugfix/btdm_prepare_write_status_correct' into 'master'

component/bt: Check the value received from the peer device when sent the data used prepare write.

See merge request idf/esp-idf!2320

6 years agoMerge branch 'feature/btdm_read_bredr_rssi' into 'master'
Jiang Jiang Jian [Tue, 1 May 2018 14:55:50 +0000 (22:55 +0800)]
Merge branch 'feature/btdm_read_bredr_rssi' into 'master'

component/bt : add class bt read RSSI delta (golden range)

See merge request idf/esp-idf!2325