]> granicus.if.org Git - esp-idf/log
esp-idf
7 years agoMerge branch 'feature/btdm_ble_spp_docs_for_3.0' into 'release/v3.0'
Jiang Jiang Jian [Wed, 17 Jan 2018 02:19:43 +0000 (10:19 +0800)]
Merge branch 'feature/btdm_ble_spp_docs_for_3.0' into 'release/v3.0'

component/bt: add ble spp readme for 3.0

See merge request !1769

7 years agoMerge branch 'cherry-pick-f0ed4044' into 'release/v3.0'
Jiang Jiang Jian [Tue, 16 Jan 2018 11:43:52 +0000 (19:43 +0800)]
Merge branch 'cherry-pick-f0ed4044' into 'release/v3.0'

Merge branch 'bugfix/btdm_pair_fail_with_random_address' into 'master'

See merge request !1819

7 years agoMerge branch 'bugfix/btdm_pair_fail_with_random_address' into 'master'
Jiang Jiang Jian [Tue, 16 Jan 2018 10:17:45 +0000 (18:17 +0800)]
Merge branch 'bugfix/btdm_pair_fail_with_random_address' into 'master'

component/bt: Fix bug when pair with random address

See merge request !1784

7 years agoMerge branch 'bugfix/fix_rare_ci_example_build_errors' into 'release/v3.0'
Jiang Jiang Jian [Tue, 16 Jan 2018 09:13:08 +0000 (17:13 +0800)]
Merge branch 'bugfix/fix_rare_ci_example_build_errors' into 'release/v3.0'

cherry-pick fix rare ci example build errors to release v3.0

See merge request !1813

7 years agoMerge branch 'bugfix/btdm_discon_when_upd_conn_params_in_smp_for_v3.0' into 'release...
Jiang Jiang Jian [Tue, 16 Jan 2018 08:41:26 +0000 (16:41 +0800)]
Merge branch 'bugfix/btdm_discon_when_upd_conn_params_in_smp_for_v3.0' into 'release/v3.0'

component/bt: fix disconnect after connection params update in smp for v3.0

See merge request !1805

7 years agoMerge branch 'bugfix/btdm_fix_conn_params_update_failed_in_SMP_for_v3.0' into 'releas...
Jiang Jiang Jian [Tue, 16 Jan 2018 08:38:36 +0000 (16:38 +0800)]
Merge branch 'bugfix/btdm_fix_conn_params_update_failed_in_SMP_for_v3.0' into 'release/v3.0'

Component/bt: fix update connection params error in smp for v3.0

See merge request !1809

7 years agoCI: Fix an occasional error caused by reordering the commands along with 'tee' in...
Anton Maklakov [Fri, 5 Jan 2018 04:38:44 +0000 (12:38 +0800)]
CI: Fix an occasional error caused by reordering the commands along with 'tee' in the script

7 years agobuild system: Fix undefined variables
Anton Maklakov [Fri, 20 Oct 2017 04:14:41 +0000 (12:14 +0800)]
build system: Fix undefined variables

    make/project.mk:315: warning: undefined variable `CC'
    make/project.mk:316: warning: undefined variable `LD'
    make/project.mk:317: warning: undefined variable `AR'
    make/project.mk:62: warning: undefined variable `MAKECMDGOALS'
    components/partition_table/Makefile.projbuild:24: warning: undefined variable `quote'
    components/bootloader/Makefile.projbuild:123: warning: undefined variable 'BOOTLOADER_DIGEST_BIN'
    components/bootloader/Makefile.projbuild:123: warning: undefined variable 'SECURE_BOOTLOADER_KEY'

7 years agoCI: Fix a sporadic bug when building of the examples. Add logs to the artifacts
Anton Maklakov [Thu, 28 Dec 2017 10:20:14 +0000 (18:20 +0800)]
CI: Fix a sporadic bug when building of the examples. Add logs to the artifacts

7 years agoMerge branch 'bugfix/wifi_cal_real_rx_bcn_time_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Mon, 15 Jan 2018 14:30:54 +0000 (22:30 +0800)]
Merge branch 'bugfix/wifi_cal_real_rx_bcn_time_v3.0' into 'release/v3.0'

Fix two wifi bugs

See merge request !1798

7 years agoFix two wifi bugs
XiaXiaotian [Mon, 15 Jan 2018 06:16:42 +0000 (14:16 +0800)]
Fix two wifi bugs

1. Fix the bug that receiving beacon time is not correct.

2. close github issue#233 esp_wifi_restore() bug.

7 years agoComponent/bt: fix update connection params error in smp for v3.0
zhiweijian [Mon, 15 Jan 2018 11:55:50 +0000 (19:55 +0800)]
Component/bt: fix update connection params error in smp for v3.0

7 years agoMerge branch 'cherry-pick-c401a74b' into 'release/v3.0'
Jiang Jiang Jian [Mon, 15 Jan 2018 10:49:25 +0000 (18:49 +0800)]
Merge branch 'cherry-pick-c401a74b' into 'release/v3.0'

Merge branch 'bugfix/btdm_aes_encrypt_workaround' into 'master'

See merge request !1800

7 years agoMerge branch 'cherry-pick-0cd97cec' into 'release/v3.0'
Jiang Jiang Jian [Mon, 15 Jan 2018 10:49:11 +0000 (18:49 +0800)]
Merge branch 'cherry-pick-0cd97cec' into 'release/v3.0'

Merge branch 'bugfix/btdm_error_when_add_device_to_whitelist_twice' into 'master'

See merge request !1799

7 years agoMerge branch 'bugfix/fix_qos_bug_in_11g_mode_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Mon, 15 Jan 2018 10:26:30 +0000 (18:26 +0800)]
Merge branch 'bugfix/fix_qos_bug_in_11g_mode_v3.0' into 'release/v3.0'

Bugfix/fix qos bug in 11g mode v3.0

See merge request !1790

7 years agocomponent/bt: fix disconnect after connection params update in smp
zhiweijian [Mon, 15 Jan 2018 09:12:23 +0000 (17:12 +0800)]
component/bt: fix disconnect after connection params update in smp

7 years agoMerge branch 'bugfix/btdm_aes_encrypt_workaround' into 'master'
Jiang Jiang Jian [Tue, 2 Jan 2018 08:15:39 +0000 (16:15 +0800)]
Merge branch 'bugfix/btdm_aes_encrypt_workaround' into 'master'

component/bt: disable Secure Connections to workaround AES encryption issue

See merge request !1719

7 years agoMerge branch 'bugfix/btdm_error_when_add_device_to_whitelist_twice' into 'master'
Jiang Jiang Jian [Mon, 8 Jan 2018 11:16:34 +0000 (19:16 +0800)]
Merge branch 'bugfix/btdm_error_when_add_device_to_whitelist_twice' into 'master'

component/bt: Fix bug when add device to whitelist twice

See merge request !1700

7 years agocomponent/bt: add ble spp readme for 3.0
xiewenxiang [Tue, 9 Jan 2018 09:32:56 +0000 (17:32 +0800)]
component/bt: add ble spp readme for 3.0

7 years agoesp32: fix qos bug in 11g mode
Liu Zhi Fu [Fri, 12 Jan 2018 06:14:20 +0000 (14:14 +0800)]
esp32: fix qos bug in 11g mode

Fix qos bug in 11g mode (release/v3.0 - 8e861901)

7 years agoMerge branch 'feature/toolchain-80-g6c4433a-v30' into 'release/v3.0'
Ivan Grokhotkov [Thu, 11 Jan 2018 13:45:11 +0000 (21:45 +0800)]
Merge branch 'feature/toolchain-80-g6c4433a-v30' into 'release/v3.0'

Toolchain: Update to version 1.22.0-80-g6c4433a (v3.0 backport)

See merge request !1772

7 years agobuild: Remove explict -lstdc++-psram-workaround
Angus Gratton [Wed, 10 Jan 2018 23:30:36 +0000 (10:30 +1100)]
build: Remove explict -lstdc++-psram-workaround

This is now handled internally to the toolchain.

7 years agoMerge branch 'cherry-pick-675844c4' into 'release/v3.0'
Jiang Jiang Jian [Wed, 10 Jan 2018 12:58:47 +0000 (20:58 +0800)]
Merge branch 'cherry-pick-675844c4' into 'release/v3.0'

Merge branch 'bugfix/assert_in_PSRAM_WIFI' into 'master'

See merge request !1773

7 years agoMerge branch 'cherry-pick-16391c27' into 'release/v3.0'
Jiang Jiang Jian [Wed, 10 Jan 2018 12:58:33 +0000 (20:58 +0800)]
Merge branch 'cherry-pick-16391c27' into 'release/v3.0'

Merge branch 'bugfix/full_calibration_will_not_use_init_data' into 'master'

See merge request !1774

7 years agoMerge branch 'bugfix/btdm_fix_cant_remove_boned_device_if_its_connected_v30' into...
Jiang Jiang Jian [Wed, 10 Jan 2018 12:49:24 +0000 (20:49 +0800)]
Merge branch 'bugfix/btdm_fix_cant_remove_boned_device_if_its_connected_v30' into 'release/v3.0'

Component/bt: fix can not remove boned device if it is connected for v3.0

See merge request !1770

7 years agoMerge branch 'bugfix/full_calibration_will_not_use_init_data' into 'master'
Jiang Jiang Jian [Wed, 10 Jan 2018 09:01:53 +0000 (17:01 +0800)]
Merge branch 'bugfix/full_calibration_will_not_use_init_data' into 'master'

Fix bug that when we do full calibration init data bin is not used

See merge request !1746

7 years agoMerge branch 'bugfix/assert_in_PSRAM_WIFI' into 'master'
Jiang Jiang Jian [Wed, 10 Jan 2018 08:47:40 +0000 (16:47 +0800)]
Merge branch 'bugfix/assert_in_PSRAM_WIFI' into 'master'

bug fix of assert happen in PSRAM

See merge request !1745

7 years agoToolchain: Update to version 1.22.0-80-g6c4433a
Angus Gratton [Wed, 10 Jan 2018 03:29:10 +0000 (14:29 +1100)]
Toolchain: Update to version 1.22.0-80-g6c4433a

Includes updated prebuilt Windows MSYS2 environment.

7 years agoComponent/bt: fix can not remove boned device if it is connected
zhiweijian [Wed, 10 Jan 2018 02:46:11 +0000 (10:46 +0800)]
Component/bt: fix can not remove boned device if it is connected

7 years agoMerge branch 'bugfix/BLE_SM_Security_Flags_pr1320_v30' into 'release/v3.0'
Jiang Jiang Jian [Tue, 9 Jan 2018 07:49:04 +0000 (15:49 +0800)]
Merge branch 'bugfix/BLE_SM_Security_Flags_pr1320_v30' into 'release/v3.0'

bt: Fix ble sm security flags (v3.0 backport)

See merge request !1754

7 years agoMerge branch 'bugfix/btdm_avrc_connect_state_evt_for_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Tue, 9 Jan 2018 07:39:02 +0000 (15:39 +0800)]
Merge branch 'bugfix/btdm_avrc_connect_state_evt_for_v3.0' into 'release/v3.0'

component/bt: add AVRC event for remote features indication

See merge request !1734

7 years agocomponent/bt: add AVRC event for remote features indication
wangmengyang [Mon, 8 Jan 2018 11:43:54 +0000 (19:43 +0800)]
component/bt: add AVRC event for remote features indication

1. remove the feature mask parameter from AVRC connection state event, as the AVCTP connection can be initiated by remote device before service discovery to remote device is performed. \
In this case, AVRCP connection state event may not be reported after connection initated by remote device is established.
2. remove ESP_AVRC_CT_MAX_EVT
3. add more documentations to AVRC APIs

7 years agoMerge branch 'bugfix/btdm_standardize_code_3.0' into 'release/v3.0'
Jiang Jiang Jian [Mon, 8 Jan 2018 11:24:26 +0000 (19:24 +0800)]
Merge branch 'bugfix/btdm_standardize_code_3.0' into 'release/v3.0'

component/bt: Standardize code

See merge request !1751

7 years agon btm_sec_save_le_key() set BTM_SEC_LE_LINK_KEY_KNOWN (and BTM_SEC_LE_LINK_KEY_AUTHED...
Tim Cook [Sun, 26 Nov 2017 21:25:46 +0000 (16:25 -0500)]
n btm_sec_save_le_key() set BTM_SEC_LE_LINK_KEY_KNOWN (and BTM_SEC_LE_LINK_KEY_AUTHED if MITM was used) when process a local Long Term Key (key type BTM_LE_KEY_LENC). This is because these flags share bits with the BTM_SEC_FLAG_LKEY_KNOWN (and BTM_SEC_FLAG_LKEY_AUTHED) flag in btm_api.h. Without this code a link that is encrypted via SM pairing where only the local device exchanges the LTK (peer does not send its LTK) will not allow GATT operations that require encryption (request will be incorrectly rejected with insufficient authentication reason, regardless of if MITM is required).

Merges https://github.com/espressif/esp-idf/pull/1320

7 years agoset ble_rsp_key member of structure bte_appl_cfg in function bta_dm_co_ble_set_rsp_ke...
Tim Cook [Sun, 26 Nov 2017 21:24:21 +0000 (16:24 -0500)]
set ble_rsp_key member of structure bte_appl_cfg in function bta_dm_co_ble_set_rsp_key_req (function incorrectly uses ble_init_key member).

Merges https://github.com/espressif/esp-idf/pull/1320

7 years agocomponent/bt: Standardize code
baohongde [Wed, 3 Jan 2018 02:31:30 +0000 (10:31 +0800)]
component/bt: Standardize code

Reported from github:
https://github.com/espressif/esp-idf/issues/1402
https://github.com/espressif/esp-idf/issues/1403

7 years agoMerge branch 'feature/btdm_add_bluetooth_examples_tutorials_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Wed, 3 Jan 2018 05:06:13 +0000 (13:06 +0800)]
Merge branch 'feature/btdm_add_bluetooth_examples_tutorials_v3.0' into 'release/v3.0'

Feature/btdm add bluetooth examples tutorials v3.0

See merge request !1709

7 years agocomponent/bt: change pictures from .pdf to .png
island [Wed, 3 Jan 2018 03:11:44 +0000 (11:11 +0800)]
component/bt: change pictures from .pdf to .png

7 years agocomponent/bt: Modify docs to be compatible with "Github Standard Markdown"
island [Wed, 3 Jan 2018 03:07:55 +0000 (11:07 +0800)]
component/bt: Modify docs to be compatible with "Github Standard Markdown"

7 years agocomponent/bt: add link of tutorial in README.rst
island [Wed, 29 Nov 2017 07:40:55 +0000 (15:40 +0800)]
component/bt: add link of tutorial in README.rst

7 years agocomponent/bt: Add bluetooth example tutorials
island [Fri, 24 Nov 2017 02:42:08 +0000 (10:42 +0800)]
component/bt: Add bluetooth example tutorials

7 years agoMerge branch 'bugfix/i2c_regression_v30' into 'release/v3.0'
Angus Gratton [Tue, 2 Jan 2018 23:27:11 +0000 (07:27 +0800)]
Merge branch 'bugfix/i2c_regression_v30' into 'release/v3.0'

Fix regression in i2c_master_read() which rejected all data lengths (v3.0 backport)

See merge request !1731

7 years agoFix regression in i2c_master_read() which rejected all data lenths.
Per Malmberg [Thu, 28 Dec 2017 13:54:15 +0000 (14:54 +0100)]
Fix regression in i2c_master_read() which rejected all data lenths.

7 years agoMerge branch 'bugfix/recompile_with_new_psram_toolchain_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Fri, 29 Dec 2017 10:33:46 +0000 (18:33 +0800)]
Merge branch 'bugfix/recompile_with_new_psram_toolchain_v3.0' into 'release/v3.0'

recompile wifi lib with new toolchain 1.22.0-78-g4b87650

See merge request !1729

7 years agoMerge branch 'bugfix/build_bt_lib_with_updated_toolchain' into 'release/v3.0'
Jiang Jiang Jian [Fri, 29 Dec 2017 10:26:41 +0000 (18:26 +0800)]
Merge branch 'bugfix/build_bt_lib_with_updated_toolchain' into 'release/v3.0'

component/bt: build libbtdm_app.a with updated toolchain for ESP-IDF v3.0

See merge request !1727

7 years agorecompile wifi lib with new toolchain 1.22.0-78-g4b87650
XiaXiaotian [Fri, 29 Dec 2017 08:42:05 +0000 (16:42 +0800)]
recompile wifi lib with new toolchain 1.22.0-78-g4b87650

7 years agocomponent/bt: build libbtdm_app.a with updated toolchain for ESP-IDF v3.0
wangmengyang [Fri, 29 Dec 2017 07:24:02 +0000 (15:24 +0800)]
component/bt: build libbtdm_app.a with updated toolchain for ESP-IDF v3.0

7 years agoMerge branch 'bugfix/static_mem_workaround_v30' into 'release/v3.0'
Ivan Grokhotkov [Fri, 29 Dec 2017 04:56:39 +0000 (12:56 +0800)]
Merge branch 'bugfix/static_mem_workaround_v30' into 'release/v3.0'

esp32: Change 192KB runtime static limit workaround to a 176KB link time workaround

See merge request !1724

7 years agoesp32: Change 192KB runtime static limit workaround to a 176KB link time workaround
Angus Gratton [Fri, 22 Dec 2017 07:36:12 +0000 (18:36 +1100)]
esp32: Change 192KB runtime static limit workaround to a 176KB link time workaround

Turns out some app memory around 0x3ffdc000 is also used by APP CPU.

This is a workaround until code to remove the 176KB limit is committed.

7 years agoMerge branch 'cherry-pick-13a087a3' into 'release/v3.0'
Jiang Jiang Jian [Thu, 28 Dec 2017 14:07:55 +0000 (22:07 +0800)]
Merge branch 'cherry-pick-13a087a3' into 'release/v3.0'

Merge branch 'bugfix/iperf_example_bugfix' into 'master'

See merge request !1720

7 years agoMerge branch 'cherry-pick-566fab02' into 'release/v3.0'
Jiang Jiang Jian [Thu, 28 Dec 2017 14:07:46 +0000 (22:07 +0800)]
Merge branch 'cherry-pick-566fab02' into 'release/v3.0'

Merge branch 'bugfix/btdm_disconnect_fail_during_pairing' into 'master'

See merge request !1716

7 years agoMerge branch 'cherry-pick-7d0d2854' into 'release/v3.0'
Jiang Jiang Jian [Thu, 28 Dec 2017 14:07:27 +0000 (22:07 +0800)]
Merge branch 'cherry-pick-7d0d2854' into 'release/v3.0'

Merge branch 'bugfix/btdm_error_when_white_list_is_full' into 'master'

See merge request !1715

7 years agoMerge branch 'cherry-pick-into-3.0' into 'release/v3.0'
Jiang Jiang Jian [Thu, 28 Dec 2017 09:58:35 +0000 (17:58 +0800)]
Merge branch 'cherry-pick-into-3.0' into 'release/v3.0'

Cherry pick into 3.0

See merge request !1714

7 years agoMerge branch 'bugfix/iperf_example_bugfix' into 'master'
Angus Gratton [Wed, 27 Dec 2017 01:01:21 +0000 (09:01 +0800)]
Merge branch 'bugfix/iperf_example_bugfix' into 'master'

example: some modification about iperf example

See merge request !1603

7 years agoMerge branch 'bugfix/btdm_disconnect_fail_during_pairing' into 'master'
Jiang Jiang Jian [Wed, 27 Dec 2017 10:03:13 +0000 (18:03 +0800)]
Merge branch 'bugfix/btdm_disconnect_fail_during_pairing' into 'master'

component/bt: Fix bug of disconnected fail during pairing

See merge request !1672

7 years agoMerge branch 'bugfix/btdm_error_when_white_list_is_full' into 'master'
Jiang Jiang Jian [Wed, 27 Dec 2017 10:03:38 +0000 (18:03 +0800)]
Merge branch 'bugfix/btdm_error_when_white_list_is_full' into 'master'

component/bt: Fix bug of adding device to white list has no callback when while list is full

See merge request !1689

7 years agofreertos: prvCheckTasksWaitingTermination bugfix
Darian Leung [Mon, 18 Dec 2017 13:58:15 +0000 (21:58 +0800)]
freertos: prvCheckTasksWaitingTermination bugfix

Bugfix to prevent a self deleting no affinity task's memory from being freed by the
idle task of the other core before the self deleting no affinity task is able to context
switch out.  prvCheckTasksWaitingTermination now checks if the task is still on
pxCurrentTCB before freeing task memory.

7 years agoReview comments implemented
krzychb [Fri, 1 Dec 2017 06:29:54 +0000 (07:29 +0100)]
Review comments implemented

7 years agoRMT transmitter and receiver overview pictures
krzychb [Thu, 23 Nov 2017 22:53:06 +0000 (23:53 +0100)]
RMT transmitter and receiver overview pictures

7 years agoImplement review comments
krzychb [Wed, 22 Nov 2017 06:07:49 +0000 (07:07 +0100)]
Implement review comments

7 years agoRMT API docs update, new example
krzychb [Mon, 20 Nov 2017 03:51:30 +0000 (04:51 +0100)]
RMT API docs update, new example

7 years agoA workaround for MSYS2 / Windows system to be able to install 'blockdiag'
krzychb [Mon, 18 Dec 2017 04:31:39 +0000 (05:31 +0100)]
A workaround for MSYS2 / Windows system to be able to install 'blockdiag'

7 years agoadd NACK for the last byte to read
kooho [Tue, 21 Nov 2017 13:10:17 +0000 (21:10 +0800)]
add NACK for the last byte to read

7 years agoAdd support for Makefile.componentbuild files
Jeroen Domburg [Wed, 13 Dec 2017 07:48:49 +0000 (15:48 +0800)]
Add support for Makefile.componentbuild files

7 years agoAdd .editorconfig file
Tuan PM [Fri, 15 Dec 2017 16:37:10 +0000 (23:37 +0700)]
Add .editorconfig file

remove newlinet in binary file

editorconfig style guide

correct format for rst hyperlinks

7 years agoFix the clock subsystem so it doesn't undo the weird condition spiram_psram.c jams...
Jeroen Domburg [Tue, 19 Dec 2017 11:12:58 +0000 (19:12 +0800)]
Fix the clock subsystem so it doesn't undo the weird condition spiram_psram.c jams the enable/reset bits of SPI3 in when 80MHz mode is selected anymore

7 years agoesp32: Fix backwards compatibility for pre-v2.1 bootloaders
Angus Gratton [Thu, 14 Dec 2017 23:32:53 +0000 (10:32 +1100)]
esp32: Fix backwards compatibility for pre-v2.1 bootloaders

Older bootloaders don't set RTC_XTAL_FREQ_REG or call rtc_clk_init(),
app needs to pick this up.

Reported at
https://esp32.com/viewtopic.php?f=2&t=3939&p=17836

7 years agofreertos/ringbuf: Added an API xRingbufferCreateNoSplit()
Piyush Shah [Thu, 23 Nov 2017 10:09:17 +0000 (15:39 +0530)]
freertos/ringbuf: Added an API xRingbufferCreateNoSplit()

This is a wrapper API for creating a Ring Buffer, which ensures that
the ringbuffer can hold the given number of items, each item being of the
same given length.

Signed-off-by: Piyush Shah <piyush@espressif.com>
7 years agofreertos/ringbuf: Add an API xRingbufferIsNextItemWrapped()
Piyush Shah [Mon, 20 Nov 2017 14:52:20 +0000 (20:22 +0530)]
freertos/ringbuf: Add an API xRingbufferIsNextItemWrapped()

Useful to check if the next item to receive is wrapped or not.
This is valid only if the ring buffer is initialised with type
RINGBUF_TYPE_ALLOWSPLIT.

This is as per the feature request here:
https://github.com/espressif/esp-idf/issues/806

Signed-off-by: Piyush Shah <piyush@espressif.com>
7 years agofreertos/ringbuf: Add an API xRingbufferGetCurFreeSize() to fetch current free size...
Piyush Shah [Mon, 20 Nov 2017 13:53:25 +0000 (19:23 +0530)]
freertos/ringbuf: Add an API xRingbufferGetCurFreeSize() to fetch current free size available

The earlier available API (xRingbufferGetMaxItemSize())just gives
a static max entry value possible for given ring buffer.
There was a feature request for an API which could provide
a real time available buffer size. See below:

https://github.com/espressif/esp-idf/issues/806

Signed-off-by: Piyush Shah <piyush@espressif.com>
7 years agolog: Remove non-static TAG variables
Angus Gratton [Thu, 14 Dec 2017 23:39:07 +0000 (10:39 +1100)]
log: Remove non-static TAG variables

7 years agoi2c: rx <-> tx typo's, NULLing free'd variable, consistent CRITICAL sects
Chuck Todd [Fri, 27 Oct 2017 22:59:10 +0000 (16:59 -0600)]
i2c: rx <-> tx typo's, NULLing free'd variable, consistent CRITICAL sects

A couple of typos referencing tx_ring_buf when rx_ring_buf, slv_tx_mux
instead of slv_rx_mux.

Also, I2C_ENTER_CRITICAL()/I2C_EXIT_CRITICAL() usage was not consistent.
Only some of the _set_ functions had them.  Most of the _get_ function
had them?  It is my understanding that they should be wrapped around
writes, not reads? (I think we still need the lock for reading pairs of consistent values)

Also, the ticks_to_wait timeout handling in i2c_master_cmd_begin() would
not handle integer rollover correctly.

Merges https://github.com/espressif/esp-idf/pull/1180

7 years agodriver(i2c): corrected timeout range for i2c_set_timeout.
Fabiano Kovalski [Wed, 6 Dec 2017 05:54:59 +0000 (00:54 -0500)]
driver(i2c): corrected timeout range for i2c_set_timeout.

Merges https://github.com/espressif/esp-idf/pull/1353

7 years agobugfix(i2c): use queue instead of event group for internal commands
Wangjialin [Tue, 28 Nov 2017 07:05:36 +0000 (15:05 +0800)]
bugfix(i2c): use queue instead of event group for internal commands

Reported from github:
https://github.com/espressif/esp-idf/issues/1312
https://github.com/espressif/esp-idf/issues/1193

Issues:
1. We used to use event group in the driver, which would cause:
    a. longer operation time since the event group are based on FreeRTOS timer.
    b. Operation fails if the timer queue is not long enough.
2. There might be some issue with event group, we will still try to provide a small test code in other branch.

modification:
1. use queue instead of event-bit for internal commands
2. use queue overwrite for cmd_done event

7 years agofeat(monitor): add pause feature.
michael [Thu, 30 Nov 2017 04:46:08 +0000 (12:46 +0800)]
feat(monitor): add pause feature.

7 years agofeat(monitor): add new feature allowing disabling log display.
michael [Thu, 16 Nov 2017 06:39:57 +0000 (14:39 +0800)]
feat(monitor): add new feature allowing disabling log display.

7 years agofix typo for heap cap free size
Kewal [Wed, 13 Dec 2017 14:52:48 +0000 (22:52 +0800)]
fix typo for heap cap free size

7 years agoLinked ESP32 datasheet and regulatory certificates
krzychb [Tue, 12 Dec 2017 07:42:22 +0000 (08:42 +0100)]
Linked ESP32 datasheet and regulatory certificates

7 years agoFixed issues identified during review
krzychb [Mon, 11 Dec 2017 07:01:37 +0000 (08:01 +0100)]
Fixed issues identified during review

7 years agoThe WROOM and WROVER family of modules is now extended with ESP-WROOM-32D and ESP32...
krzychb [Fri, 8 Dec 2017 19:46:44 +0000 (20:46 +0100)]
The WROOM and WROVER family of modules is now extended with ESP-WROOM-32D and ESP32-WROOM-32U

7 years agobootloader: don't log anything before uart_console_configure is called
Ivan Grokhotkov [Fri, 8 Dec 2017 05:15:40 +0000 (13:15 +0800)]
bootloader: don't log anything before uart_console_configure is called

7 years agoesp32: fix incorrect clock enable bit name for UART0
Ivan Grokhotkov [Fri, 8 Dec 2017 05:14:36 +0000 (13:14 +0800)]
esp32: fix incorrect clock enable bit name for UART0

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

7 years agofatfs: fix double free in bailout path of esp_vfs_fat_sdmmc_mount
Ivan Grokhotkov [Mon, 11 Dec 2017 03:06:29 +0000 (11:06 +0800)]
fatfs: fix double free in bailout path of esp_vfs_fat_sdmmc_mount

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

7 years agosdspi: use response timeout passed from upper layer
Ivan Grokhotkov [Fri, 8 Dec 2017 04:23:54 +0000 (12:23 +0800)]
sdspi: use response timeout passed from upper layer

Previously SDSPI host driver would rely on retry count when waiting for
the card to read or write data. This caused different timeout times
depending on CPU frequency and card clock frequency. In practice, card
performance does not depend on these two factors.
This change uses timeout_ms field of sdmmc_command_t introduced
previously for SDMMC host.

Fixes https://esp32.com/viewtopic.php?f=2&t=3440&p=16037 and similar
issues related to SDSPI timeouts.

7 years agofatfs: fix deinit not called for SDSPI host
Ivan Grokhotkov [Fri, 8 Dec 2017 04:17:58 +0000 (12:17 +0800)]
fatfs: fix deinit not called for SDSPI host

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

7 years agoResolves: Warning '-s option given but default rule can be matched'. Closes https...
krzychb [Mon, 11 Dec 2017 21:53:39 +0000 (22:53 +0100)]
Resolves: Warning '-s option given but default rule can be matched'. Closes https://github.com/espressif/esp-idf/issues/1338

7 years agodocs: add information about execution time of ULP instructions
Ivan Grokhotkov [Mon, 11 Dec 2017 04:11:24 +0000 (12:11 +0800)]
docs: add information about execution time of ULP instructions

7 years agoulp: document the need to wait for RTC to be ready for wakeup
Ivan Grokhotkov [Thu, 7 Dec 2017 09:11:24 +0000 (17:11 +0800)]
ulp: document the need to wait for RTC to be ready for wakeup

7 years agoulp: mention that instructions array must be declared in local scope
Ivan Grokhotkov [Thu, 7 Dec 2017 06:41:17 +0000 (14:41 +0800)]
ulp: mention that instructions array must be declared in local scope

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

7 years agodocs: add description of ULP I2C instructions
Ivan Grokhotkov [Thu, 7 Dec 2017 03:50:39 +0000 (11:50 +0800)]
docs: add description of ULP I2C instructions

7 years agotime: rename time source option from FRC to "high-resolution timer"
Ivan Grokhotkov [Fri, 8 Dec 2017 08:14:20 +0000 (16:14 +0800)]
time: rename time source option from FRC to "high-resolution timer"

libc time function now rely on esp_timer_get_time as the source of
high-resolution time, rather than FRC1 timer. Internally, on the ESP32
esp_timer implementation uses FRC2 timer.

- Change help text and labels in Kconfig to use "high-resolution timer"
  instead of FRC1. Keep existing Kconfig option name to be backwards
  compatible.
- Change references to "FRC1" in the source code to "FRC".

7 years agonewlib/time: fix compilation error when only RTC is used as clock source
Ivan Grokhotkov [Fri, 8 Dec 2017 08:06:11 +0000 (16:06 +0800)]
newlib/time: fix compilation error when only RTC is used as clock source

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

7 years agovfs/fatfs: use structures with bit fields for FAT date/time
Ivan Grokhotkov [Fri, 8 Dec 2017 12:03:24 +0000 (20:03 +0800)]
vfs/fatfs: use structures with bit fields for FAT date/time

Replace explicit masks and shifts with bit fields when working with FATFS date and time representations. Also zero-initialize remaining members of struct tm.

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

7 years agovfs/fatfs: fix stat call failing when called for mount point
Ivan Grokhotkov [Fri, 8 Dec 2017 11:58:39 +0000 (19:58 +0800)]
vfs/fatfs: fix stat call failing when called for mount point

FATFS does not support f_stat call for drive root. When handling stat
for drive root, don't call f_stat and just return struct st with S_IFDIR
flag set.

Closes #984

7 years agospiffs: make OBJ_META_LEN configurable, make mtime support optional
Ivan Grokhotkov [Tue, 21 Nov 2017 16:17:11 +0000 (00:17 +0800)]
spiffs: make OBJ_META_LEN configurable, make mtime support optional

- SPIFFS_OBJ_META_LEN can be set in sdkconfig
- mtime support can be enabled in sdkconfig, if META_LENGTH is sufficient
- add test for mtime updates

7 years agoUnify the time file creation for SPIFFS and SD
luc lebosse [Sat, 14 Oct 2017 12:52:40 +0000 (14:52 +0200)]
Unify the time file creation for SPIFFS and SD

7 years ago1. Following https://esp32.com/viewtopic.php?f=14&t=3834 and https://github.com/espre...
krzychb [Thu, 7 Dec 2017 21:45:39 +0000 (22:45 +0100)]
1. Following https://esp32.com/viewtopic.php?f=14&t=3834 and https://github.com/espressif/esp-idf/issues/1351 updated information regarding selection of the main XTAL frequency. 2. Removed obsolete note about ': not a valid identifier...', as it does not show up anymore with the latests MSYS2 installation.

7 years agobugfix: io setting useless when io_num > 32
panfeng [Fri, 1 Dec 2017 10:48:12 +0000 (18:48 +0800)]
bugfix: io setting useless when io_num > 32

7 years agoAdd #include guards and __cplusplus guards to esp_debug.h
Paul Reimer [Wed, 6 Dec 2017 17:09:40 +0000 (09:09 -0800)]
Add #include guards and __cplusplus guards to esp_debug.h

Merges https://github.com/espressif/esp-idf/pull/1358

7 years agobuild system: Add *.cc files to list of file extensions compiled by default
Paul Reimer [Sun, 26 Nov 2017 00:28:34 +0000 (16:28 -0800)]
build system: Add *.cc files to list of file extensions compiled by default

Merges https://github.com/espressif/esp-idf/pull/1318