]> granicus.if.org Git - esp-idf/log
esp-idf
6 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

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

6 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

6 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

6 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

6 years agoMerge branch 'bugfix/ci_log_examples' into 'master'
Angus Gratton [Mon, 1 Jan 2018 23:55:26 +0000 (07:55 +0800)]
Merge branch 'bugfix/ci_log_examples' into 'master'

Fix a sporadic bug in building of the examples

See merge request !1723

6 years agoMerge branch 'bugfix/i2c_regression' into 'master'
Ivan Grokhotkov [Fri, 29 Dec 2017 07:19:38 +0000 (15:19 +0800)]
Merge branch 'bugfix/i2c_regression' into 'master'

Bugfix/i2c regression (Github PR 1443)

See merge request !1725

6 years agoMerge branch 'feature/docs_add_python3_support' into 'master'
Angus Gratton [Thu, 28 Dec 2017 22:11:50 +0000 (06:11 +0800)]
Merge branch 'feature/docs_add_python3_support' into 'master'

docs: Add build support for python3

See merge request !1712

6 years agoRemoved logging from pthread conditional variable which completely drowned out any...
Per Malmberg [Thu, 28 Dec 2017 14:21:00 +0000 (15:21 +0100)]
Removed logging from pthread conditional variable which completely drowned out any other logging and also had negative effects on the RMT due to sharing the same log system. Related to #1345 / TW#16842

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

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

6 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

6 years agoMerge branch 'bugfix/static_mem_workaround' into 'master'
Ivan Grokhotkov [Thu, 28 Dec 2017 10:52:47 +0000 (18:52 +0800)]
Merge branch 'bugfix/static_mem_workaround' into 'master'

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

See merge request !1704

6 years agocomponent/bt: disable Secure Connections(Host Supported) of classic Bluetooth to...
wangmengyang [Thu, 28 Dec 2017 06:51:19 +0000 (14:51 +0800)]
component/bt: disable Secure Connections(Host Supported) of classic Bluetooth to workaround AES encryption issue in controller

1. ESP32 is found to suffer from AES encryption start/resume failure with specific device. Therefore temporarily disable BR/EDR Secure Connections for a workaround
2. BR/EDR Secure Connections is a feature for BT Classic introduced in Bluetooth 4.1. This change disables the setting of Secure Connections(Host Supported), and will result in the use of legacy authentication instead of secure authentication, and E0 encryption(legacy) instead of AES-CCM encryption. BLE security procedures are not affected.

6 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

6 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

6 years agoMerge branch 'bugfix/idle_task_deletes_currently_running_task' into 'master'
Ivan Grokhotkov [Wed, 27 Dec 2017 08:44:06 +0000 (16:44 +0800)]
Merge branch 'bugfix/idle_task_deletes_currently_running_task' into 'master'

freertos: prvCheckTasksWaitingTermination bugfix

See merge request !1686

6 years agoMerge branch 'cherry-pick-4837f939-2' into 'master'
Jiang Jiang Jian [Wed, 27 Dec 2017 03:43:52 +0000 (11:43 +0800)]
Merge branch 'cherry-pick-4837f939-2' into 'master'

esp_timer:fix three bugs about timer get and timer alarm where overflow is not correct

See merge request !1695

6 years agoMerge branch 'refactor/btdm_spp_client_demo' into 'master'
Jiang Jiang Jian [Wed, 27 Dec 2017 03:43:35 +0000 (11:43 +0800)]
Merge branch 'refactor/btdm_spp_client_demo' into 'master'

component/bt: refactor spp client demo

See merge request !1366

6 years agoMerge branch 'bugfix/btdm_fix_memory_leak_for_SMP' into 'master'
Jiang Jiang Jian [Wed, 27 Dec 2017 03:43:18 +0000 (11:43 +0800)]
Merge branch 'bugfix/btdm_fix_memory_leak_for_SMP' into 'master'

component/bt: fix memory leak in SMP

See merge request !1690

6 years agoMerge branch 'feature/docs_update_rmt_api' into 'master'
Angus Gratton [Wed, 27 Dec 2017 01:23:47 +0000 (09:23 +0800)]
Merge branch 'feature/docs_update_rmt_api' into 'master'

RMT API docs update, new example

See merge request !1564

6 years agoMerge branch 'bugfix/blockdiag_windows_installation' into 'master'
Angus Gratton [Wed, 27 Dec 2017 01:05:12 +0000 (09:05 +0800)]
Merge branch 'bugfix/blockdiag_windows_installation' into 'master'

A workaround for MSYS2 / Windows system to be able to install 'blockdiag'

See merge request !1684

6 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

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

6 years agoMerge branch 'bugfix/add_iic_NACK' into 'master'
Angus Gratton [Wed, 27 Dec 2017 00:49:57 +0000 (08:49 +0800)]
Merge branch 'bugfix/add_iic_NACK' into 'master'

driver(i2c): to specify ack value for last I2C read in a transaction

See merge request !1580

6 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

6 years agodocs: Add build support for python3
Anuj Deshpande [Tue, 26 Dec 2017 10:31:18 +0000 (16:01 +0530)]
docs: Add build support for python3

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

6 years agocomponent/bt: Fix bug of disconnected fail during pairing
baohongde [Thu, 14 Dec 2017 12:19:55 +0000 (20:19 +0800)]
component/bt: Fix bug of disconnected fail during pairing

6 years agocomponent/bt: Fix bug of adding device to white list has no callback when while list...
baohongde [Tue, 19 Dec 2017 08:41:07 +0000 (16:41 +0800)]
component/bt: Fix bug of adding device to white list has no callback when while list is full

6 years agoMerge branch 'bugfix/modify_bt_h' into 'master'
Ivan Grokhotkov [Mon, 25 Dec 2017 06:27:35 +0000 (14:27 +0800)]
Merge branch 'bugfix/modify_bt_h' into 'master'

component/bt : change header file name bt.h to esp_bt.h in new bluetooth example

See merge request !1703

6 years agocomponent/bt : change header file name bt.h to esp_bt.h in new bluetooth example
Tian Hao [Fri, 22 Dec 2017 07:13:45 +0000 (15:13 +0800)]
component/bt : change header file name bt.h to esp_bt.h in new bluetooth example

6 years agoMerge branch 'feature/components_can_add_to_component_make_rules' into 'master'
Ivan Grokhotkov [Fri, 22 Dec 2017 03:40:54 +0000 (11:40 +0800)]
Merge branch 'feature/components_can_add_to_component_make_rules' into 'master'

Support Makefile.componentbuild so components can add to global component make rules

See merge request !1667

6 years agoMerge branch 'feature/editorconfig' into 'master'
Angus Gratton [Thu, 21 Dec 2017 23:37:46 +0000 (07:37 +0800)]
Merge branch 'feature/editorconfig' into 'master'

Add .editorconfig file

See merge request !1682

6 years agoMerge branch 'bugfix/spiram_fails_after_esp_restart' into 'master'
Ivan Grokhotkov [Thu, 21 Dec 2017 05:40:10 +0000 (13:40 +0800)]
Merge branch 'bugfix/spiram_fails_after_esp_restart' into 'master'

Make psram function after an esp_restart as well.

See merge request !1694

6 years agocomponent/bt: refactor spp client demo
xiewenxiang [Mon, 6 Nov 2017 07:35:11 +0000 (15:35 +0800)]
component/bt: refactor spp client demo

 - fix the bug that before free the db pointer, the db was set to NULL

6 years agoMerge branch 'feature/btdm_classic_discovery' into 'master'
Jiang Jiang Jian [Wed, 20 Dec 2017 05:30:31 +0000 (13:30 +0800)]
Merge branch 'feature/btdm_classic_discovery' into 'master'

component/bt: implement Classic Bluetooth GAP APIs for device and service discovery

See merge request !1576

6 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

6 years agoComponent/bt: fix memory leak in SMP
zhiweijian [Tue, 19 Dec 2017 07:00:01 +0000 (15:00 +0800)]
Component/bt: fix memory leak in SMP

6 years agoMerge branch 'bugfix/btdm_modify_code_format_and_comments' into 'master'
Jiang Jiang Jian [Tue, 19 Dec 2017 12:19:00 +0000 (20:19 +0800)]
Merge branch 'bugfix/btdm_modify_code_format_and_comments' into 'master'

component/bt: modify code format and comments

See merge request !1631

6 years agoMerge branch 'bugfix/btdm_send_data_length_req_after_read_feature_complete' into...
Jiang Jiang Jian [Tue, 19 Dec 2017 12:18:50 +0000 (20:18 +0800)]
Merge branch 'bugfix/btdm_send_data_length_req_after_read_feature_complete' into 'master'

component/bt: send data length request by host after read feature complete

See merge request !1639

6 years agoesp_timer:fix three bugs about timer get and timer alarm where overflow is not correct
Jack [Mon, 27 Nov 2017 14:10:15 +0000 (22:10 +0800)]
esp_timer:fix three bugs about timer get and timer alarm where overflow is not correct

6 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

6 years agoexample: some modification about iperf example
Liu Zhi Fu [Mon, 27 Nov 2017 06:34:41 +0000 (14:34 +0800)]
example: some modification about iperf example

Modify default sdkconfig since some WiFi menuconfig options are changed

6 years agoMerge branch 'feature/eth_set_mac_addr' into 'master'
Jiang Jiang Jian [Tue, 19 Dec 2017 09:40:36 +0000 (17:40 +0800)]
Merge branch 'feature/eth_set_mac_addr' into 'master'

emac:add set_eth_mac api

See merge request !1604

6 years agoMerge branch 'bugfix/btdm_optimiz_adv_cb_func' into 'master'
Jiang Jiang Jian [Tue, 19 Dec 2017 09:35:00 +0000 (17:35 +0800)]
Merge branch 'bugfix/btdm_optimiz_adv_cb_func' into 'master'

Bugfix/btdm optimiz adv cb func

See merge request !1619

6 years agoMerge branch 'bugfix/fix_some_wifi_bug' into 'master'
Jiang Jiang Jian [Tue, 19 Dec 2017 09:31:44 +0000 (17:31 +0800)]
Merge branch 'bugfix/fix_some_wifi_bug' into 'master'

Fix some wifi bugs

See merge request !1680

6 years agoMerge branch 'bugfix/btdm_mem_release' into 'master'
Jiang Jiang Jian [Tue, 19 Dec 2017 09:31:09 +0000 (17:31 +0800)]
Merge branch 'bugfix/btdm_mem_release' into 'master'

component/bt : fix btdm mem release cause 0x3ffbbb28-0x3ffbdb28 add to region but should not.

See merge request !1660

6 years agoMerge branch 'bugfix/bootloader_v10_backwards_compat' into 'master'
Ivan Grokhotkov [Mon, 18 Dec 2017 09:20:08 +0000 (17:20 +0800)]
Merge branch 'bugfix/bootloader_v10_backwards_compat' into 'master'

esp32: Fix backwards compatibility for pre-v2.1 bootloaders

See merge request !1673

6 years agoMerge branch 'feature/ringbuf_improvement' into 'master'
Jeroen Domburg [Mon, 18 Dec 2017 08:52:40 +0000 (16:52 +0800)]
Merge branch 'feature/ringbuf_improvement' into 'master'

Feature/ringbuf improvement

See merge request !1571

6 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

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

6 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

6 years agoMerge branch 'bugfix/log_tag_variables_static' into 'master'
Angus Gratton [Sun, 17 Dec 2017 23:06:36 +0000 (07:06 +0800)]
Merge branch 'bugfix/log_tag_variables_static' into 'master'

log: Remove non-static TAG variables

See merge request !1674

6 years agoMerge branch 'bugfix/i2c_fixes_pr1180' into 'master'
Angus Gratton [Sun, 17 Dec 2017 22:44:33 +0000 (06:44 +0800)]
Merge branch 'bugfix/i2c_fixes_pr1180' into 'master'

i2c: rx <-> tx typo's, NULLing free'd variable, consistent CRITICAL sects

See merge request !1551

6 years agoMerge branch 'bugfix/windows_10_idf_monitor_redux' into 'master'
Angus Gratton [Sun, 17 Dec 2017 22:42:11 +0000 (06:42 +0800)]
Merge branch 'bugfix/windows_10_idf_monitor_redux' into 'master'

idf_monitor: Fix Windows 10 bug in cases where second console write also fails

See merge request !1675

6 years agoFix some wifi bugs
XiaXiaotian [Fri, 15 Dec 2017 10:17:17 +0000 (18:17 +0800)]
Fix some wifi bugs

1. change first scanning channel to adjust different country code.

2. fix a bug that system crashes when station disconnects from AP.

6 years agocomponent/bt: Optimized broadcast callback function, send the callback function to...
Yulong [Wed, 29 Nov 2017 06:23:21 +0000 (01:23 -0500)]
component/bt: Optimized broadcast callback function, send the callback function to the application after the controller confirms receipt of the broadcast start.

1. optimiz the ble stop adv callback function.
2. added the osi_mutex_unlock in the bta_gattc_wait4_service_change_ccc_cback function when the p_timer_param == NULL ||  p_conn == NULL.

6 years agoemac:add set_eth_mac api
shangke [Mon, 27 Nov 2017 07:58:35 +0000 (15:58 +0800)]
emac:add set_eth_mac api

6 years agoMerge branch 'bugfix/i2c_use_queue_instead_of_eventbit' into 'master'
Angus Gratton [Fri, 15 Dec 2017 05:54:03 +0000 (13:54 +0800)]
Merge branch 'bugfix/i2c_use_queue_instead_of_eventbit' into 'master'

bugfix(i2c): use queue instead of event group for internal commands

See merge request !1616

6 years agoidf_monitor: Fix Windows 10 bug in cases where second console write also fails
Angus Gratton [Fri, 15 Dec 2017 05:45:44 +0000 (16:45 +1100)]
idf_monitor: Fix Windows 10 bug in cases where second console write also fails

Although in my tests the second write always passes, people have reported
different results.

Closes https://github.com/espressif/esp-idf/issues/1136 (again)

6 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

6 years agoMerge branch 'feature/monitor_log_toggle' into 'master'
Angus Gratton [Thu, 14 Dec 2017 22:27:53 +0000 (06:27 +0800)]
Merge branch 'feature/monitor_log_toggle' into 'master'

feat(monitor): add new feature allowing disabling log display.

See merge request !1548

6 years agoMerge branch 'bugfix/heap_alloc_typo' into 'master'
Angus Gratton [Thu, 14 Dec 2017 22:26:14 +0000 (06:26 +0800)]
Merge branch 'bugfix/heap_alloc_typo' into 'master'

fix typo for heap cap free size

See merge request !1669

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

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

6 years agoMerge branch 'feature/doc_wroom_modules_with_ESP32-D0WD' into 'master'
Ivan Grokhotkov [Thu, 14 Dec 2017 05:36:49 +0000 (13:36 +0800)]
Merge branch 'feature/doc_wroom_modules_with_ESP32-D0WD' into 'master'

The WROOM and WROVER family of modules is now extended with ESP-WROOM-32D and ESP32-WROOM-32U

See merge request !1654

6 years agoMerge branch 'bugfix/uart1_console' into 'master'
Ivan Grokhotkov [Thu, 14 Dec 2017 05:36:34 +0000 (13:36 +0800)]
Merge branch 'bugfix/uart1_console' into 'master'

Fixes for console output on UART1

See merge request !1649

6 years agoMerge branch 'bugfix/sdmmc_vfs_deinit' into 'master'
Ivan Grokhotkov [Thu, 14 Dec 2017 05:36:20 +0000 (13:36 +0800)]
Merge branch 'bugfix/sdmmc_vfs_deinit' into 'master'

SDSPI bug fixes

See merge request !1647

6 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

6 years agoMerge branch 'bugfix/eclipse_warning' into 'master'
Angus Gratton [Wed, 13 Dec 2017 22:15:56 +0000 (06:15 +0800)]
Merge branch 'bugfix/eclipse_warning' into 'master'

Resolves: Warning '-s option given but default rule can be matched'. Closes http…

See merge request !1658

6 years agoMerge branch 'master' into 'bugfix/btdm_modify_code_format_and_comments'
Zhi Wei Jian [Wed, 13 Dec 2017 07:42:41 +0000 (15:42 +0800)]
Merge branch 'master' into 'bugfix/btdm_modify_code_format_and_comments'

# Conflicts:
#   examples/bluetooth/gatt_server_service_table/main/gatts_table_creat_demo.c

6 years agoMerge branch 'feature/ulp_docs_update' into 'master'
Ivan Grokhotkov [Wed, 13 Dec 2017 07:36:36 +0000 (15:36 +0800)]
Merge branch 'feature/ulp_docs_update' into 'master'

ULP docs update

See merge request !1640

6 years agocomponent/bt : fix btdm mem release cause 0x3ffbbb28-0x3ffbdb28 add to region but...
Tian Hao [Tue, 12 Dec 2017 07:24:43 +0000 (15:24 +0800)]
component/bt : fix btdm mem release cause 0x3ffbbb28-0x3ffbdb28 add to region but should not.

1. fix the bug. Modify the condition that esp_bt_controller_mem_release() shoud be only called before esp_bt_controller_init() or after esp_bt_controller_deinit()
2. modify the example to use esp_bt_controller_mem_release()

6 years agoMerge branch 'bugfix/rtc_time' into 'master'
Ivan Grokhotkov [Wed, 13 Dec 2017 03:10:45 +0000 (11:10 +0800)]
Merge branch 'bugfix/rtc_time' into 'master'

Fix compilation issue when using RTC time only, update Kconfig help and source code

See merge request !1650

6 years agoMerge branch 'bugfix/fatfs_stat' into 'master'
Ivan Grokhotkov [Wed, 13 Dec 2017 03:10:27 +0000 (11:10 +0800)]
Merge branch 'bugfix/fatfs_stat' into 'master'

Fix stat behavior for FATFS mount point

See merge request !1652

6 years agoComponent/bt: send data length request by host after read feature complete
zhiweijian [Thu, 7 Dec 2017 07:00:06 +0000 (15:00 +0800)]
Component/bt: send data length request by host after read feature complete

6 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

6 years agoMerge branch 'feature/spiffs_mtime' into 'master'
Angus Gratton [Tue, 12 Dec 2017 06:43:03 +0000 (14:43 +0800)]
Merge branch 'feature/spiffs_mtime' into 'master'

Add optional mtime support in SPIFFS

See merge request !1579

6 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

6 years agoMerge branch 'bugfix/note_about_main_xtal_frequency_selection' into 'master'
Ivan Grokhotkov [Mon, 11 Dec 2017 07:45:01 +0000 (15:45 +0800)]
Merge branch 'bugfix/note_about_main_xtal_frequency_selection' into 'master'

Getting Started docs: Updated information about setting the main XTAL frequency

See merge request !1645

6 years agoMerge branch 'test/UT_master_slave_mode' into 'master'
Ivan Grokhotkov [Mon, 11 Dec 2017 07:22:51 +0000 (15:22 +0800)]
Merge branch 'test/UT_master_slave_mode' into 'master'

unit-test-app: support multiple devices test cases

See merge request !1220

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

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

6 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

6 years agoMerge branch 'bugfix/gpio_config_block' into 'master'
Angus Gratton [Mon, 11 Dec 2017 04:56:39 +0000 (12:56 +0800)]
Merge branch 'bugfix/gpio_config_block' into 'master'

driver(GPIO): use ULL for IO bit mask

See merge request !1627

6 years agoMerge branch 'bugfix/minor_fixes_github' into 'master'
Angus Gratton [Mon, 11 Dec 2017 04:51:41 +0000 (12:51 +0800)]
Merge branch 'bugfix/minor_fixes_github' into 'master'

Minor fixes from github

See merge request !1638

6 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".

6 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

6 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

6 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

6 years agoMerge branch 'bugfix/openssl_alpn' into 'master'
Angus Gratton [Mon, 11 Dec 2017 04:03:11 +0000 (12:03 +0800)]
Merge branch 'bugfix/openssl_alpn' into 'master'

openssl: add feature check for MBEDTLS_SSL_ALPN

See merge request !1648

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

6 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

6 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

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

6 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

6 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

6 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

6 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