Wangjialin
7200b2cc11
bugfix(touch): registers of touchpad 8 and 9 are mismatched
...
1. All the registers of touch sensor 8 and 9 are mismatched except the ‘dac’ field in touch register of RTC IO
2. To swap the index for sensor 8 and 9 in APIs.
2017-11-14 18:47:56 +08:00
island
2a4af8b83c
component/bt: remove redundant open evt while calling gattc_open twice in the same app_id
2017-11-14 17:11:34 +08:00
Darian Leung
d1853dbbc0
FreeRTOS/make Queue Registry and Run Time Stats configurable
...
This commit makes the configQUEUE_REGISTRY_SIZE and
configGENERATE_RUN_TIME_STATS configurable in menuconfig.
- configQUEUE_REGISTRY_SIZE can now be set in menuconfig.
- The functions vQueueAddToRegistry() and vQueueUnregisterQueue() were made
SMP compatbile
- pcQueueGetName() was backported from FreeRTOS v9.0.0
- Added test case for Queue Registry functions
- configGENERATE_RUN_TIME_STATS can now be enabled in menuconfig. CCOUNT or
esp_timer can be selected as the FreeRTOS run time clock in menuconfig as
well, although CCOUNT will overflow quickly.
- Run time stats collection (in vTaskSwitchContext) and generation (in
uxTaskGetSystemState) have been made SMP compatible. Therefore
vTaskGetRunTimeStats() now displays the run time usage of each task as a
percentage of total runtime of both CPUs
Squash
2017-11-14 15:50:31 +08:00
Ivan Grokhotkov
8e180f6155
fatfs: update to R0.13a
...
- Remove ASCII-only configuration, CP437 is used instead
- Add dynamic code page configuration
See components/fatfs/src/00history.txt for FATFS changelog.
2017-11-14 12:57:55 +08:00
Yulong
1d13b58c62
component/bt: Added the queue event when the gattc command is full.
2017-11-13 22:44:27 -05:00
island
38b287593c
component/bt: fix not send indication confirm in case of server only
2017-11-14 11:43:57 +08:00
Ivan Grokhotkov
09d2791cfd
Merge branch 'feature/spi_variable_len' into 'master'
...
feat(spi_master): add new feature allow use variable command and address field length for the same device.
See merge request !1322
2017-11-14 00:08:50 +08:00
Ivan Grokhotkov
31d0c8eec5
Merge branch 'feature/emac_apll' into 'master'
...
feat(emac): add support for emac to use internal (APLL) clock outputs.
See merge request !1518
2017-11-14 00:07:35 +08:00
Ivan Grokhotkov
5404252e80
Merge branch 'bugfix/uart_fifo_bug_workaround' into 'master'
...
bugfix(uart): workaround for uart fifo reset issue
See merge request !1499
2017-11-13 17:46:42 +08:00
Ivan Grokhotkov
3726cd39ab
Merge branch 'bugfix/examples_ulp_gpio15' into 'master'
...
examples/ulp: disable pullup on GPIO15 to reduce current
See merge request !1486
2017-11-13 17:34:12 +08:00
Wangjialin
4052803e16
bugfix(uart): workaround for uart fifo reset issue
...
Reported from github:
https://github.com/espressif/esp-idf/issues/1219
https://github.com/espressif/esp-idf/issues/1202
After providing a simple code to digital team, they confirmed that this is a hardware bug.
Root cause:
The fifo reset signal is incorrectly connected
If we want to reset tx fifo of UART2, we have to set txfifo_rst bit of both UART1 and UART2
If we want to reset rx fifo of UART2, we have to set rxfifo_rst bit of both UART1 and UART2
Workaround:
we don't use fifo rst bit in driver.
Documentation:
Digital team would update TRM and give more explanation about this issue.
2017-11-13 15:23:00 +08:00
Yulong
2be5e73090
rebase the origin to the local
2017-11-13 02:20:02 -05:00
Yulong
8352eb6fa2
component/bt: Added the prepare write check.
2017-11-13 02:12:33 -05:00
Frank Sautter
f324458b6a
feat(emac): add support for emac to use internal (APLL) clock outputs.
2017-11-13 14:18:58 +08:00
Liu Zhi Fu
48ca949fd4
lwip: fix socket close crash issue
...
When lwip_close free the socket resource (netconn etc), any work
related to these resource (netconn etc) must be aborted.
2017-11-13 06:00:52 +00:00
He Yin Ling
e64b9ecaf4
Merge branch 'bugfix/ut_only_test_app_core_sleep_on_dual_core' into 'master'
...
test: only test app core sleep on dual core
See merge request !1517
2017-11-13 13:35:07 +08:00
Jiang Jiang Jian
004c391591
Merge branch 'feature/adjust_task_stack_size_according_to_nano' into 'master'
...
esp32/lwip: adjust task stack size according 'nano' print
See merge request !1510
2017-11-13 11:18:20 +08:00
Angus Gratton
36692dbac7
docs: Add esp_wifi_types.h items to wifi API reference
...
Previously only items defined esp_wifi.h in esp_wifi_crypto_types.h
were including in documentation reference.
2017-11-10 11:00:44 -08:00
Angus Gratton
bd9c5d9adc
Merge branch 'feature/fatfs_kconfig_options' into 'master'
...
fatfs: expose some configuration values in Kconfig
See merge request !1415
2017-11-11 02:48:15 +08:00
Angus Gratton
4468825028
Merge branch 'bugfix/TW#16106_esp_heap_trace.h_C++_include_guards' into 'master'
...
freertos/add C++ include guards for esp_heap_caps.h
See merge request !1516
2017-11-11 02:47:10 +08:00
He Yin Ling
be405d69d8
test: ut only test app core reset on dual core
2017-11-10 17:53:59 +08:00
Jiang Jiang Jian
e24ea6207b
Merge branch 'bugfix/btdm_osi_alarm' into 'master'
...
component/bt: use esp_timer instead of FreeRTOS timer to implement osi_alarm in bluedroid
See merge request !1506
2017-11-10 15:34:11 +08:00
Jiang Jiang Jian
b8694eeeb9
Merge branch 'bugfix/tw16339_sta_cant_connect_ap_in_channel_14' into 'master'
...
Bugfix/tw16339 sta cant connect ap in channel 14
See merge request !1514
2017-11-10 15:31:19 +08:00
He Yin Ling
b1d13ded1a
test: only test app core sleep on dual core
2017-11-10 13:26:11 +08:00
Darian Leung
fff482acd9
freertos/add C++ include guards for esp_heap_caps.h
2017-11-10 12:01:30 +08:00
wangmengyang
53273172fe
component/bt: modify the implementation and interface of osi_alarm module
...
1. use esp_timer instead of FreeRTOS timer to implement osi_alarm in bluedroid
2. Remove two APIs: osi_alarm_now() and osi_alarm_time_diff() and modify the hci layer logic that use them
3. Implement osi_alarm_get_remaining_ms()
4. Move the definition of struct alarm_t in source file "alarm.c"
5. Add definition of module error code
2017-11-10 11:53:55 +08:00
Ivan Grokhotkov
7632c6a80c
Merge branch 'test/UT_reset_check' into 'master'
...
Test/ut reset check
See merge request !1086
2017-11-10 11:30:46 +08:00
Ivan Grokhotkov
3eedf3ed18
Merge branch 'bugfix/to_docs_from_github' into 'master'
...
Documentation bugfixes from the github
See merge request !1501
2017-11-10 11:13:25 +08:00
Ivan Grokhotkov
d1f6030921
Merge branch 'bugfix/from_github' into 'master'
...
Bug fixes from Github
See merge request !1487
2017-11-10 11:13:04 +08:00
Ivan Grokhotkov
cfe1f4724c
Merge branch 'bugfix/cas_for_pthread_once' into 'master'
...
pthread: Fix pthread_once to use atomic compare and set
See merge request !1497
2017-11-10 11:12:46 +08:00
Liu Zhi Fu
2041ba9add
esp32: fix station can't connect esp32 softap in channel 14
...
Channel 14 only supports HT20 while ESP32 softap channel 14 is HT40, fix it.
2017-11-10 10:55:08 +08:00
Ivan Grokhotkov
8e04b86153
Merge branch 'bugfix/tg_wdt_reboot_uart_garbage' into 'master'
...
bootloader: wait for UART FIFO to be empty before switching frequency
See merge request !1511
2017-11-09 17:14:13 +08:00
Ivan Grokhotkov
772824d478
Merge branch 'bugfix/core_voltage_80m_flash' into 'master'
...
soc/rtc: raise core voltage when 80MHz flash frequency is used
See merge request !1508
2017-11-09 15:35:12 +08:00
Yulong
ee43527108
compoent/bt: Modify bta_gattc_utils.c The value pointer copy is overwritten when a write event occurs.
2017-11-09 14:47:11 +08:00
Yulong
e6b2c19eea
component/bt: Fix the write value not store in the queue command bug.
2017-11-09 14:47:11 +08:00
Yulong
68833fe94c
component/bt: Change the bta_gattc_pop_command_to_send function to static.
2017-11-09 14:47:11 +08:00
Yulong
0ae5320f50
component/bt: Added the gattc command queue support.
2017-11-09 14:47:11 +08:00
Yulong
7a27e3c74d
component/bt: added the queue to store the gattc commands.
2017-11-09 14:47:11 +08:00
Yulong
1ceef12238
compoent/bt: Modify bta_gattc_utils.c The value pointer copy is overwritten when a write event occurs.
2017-11-09 01:44:16 -05:00
Ivan Grokhotkov
4033a4bcda
Merge branch 'feature/docs_update_i2c_api' into 'master'
...
I2C API documenation update
See merge request !1404
2017-11-09 14:10:41 +08:00
Ivan Grokhotkov
afa9a85396
bootloader: wait for UART FIFO to be empty before switching frequency
2017-11-09 13:17:58 +08:00
Anton Maklakov
bb4838314c
doc: Add internal links for chapters and fix typos
...
Used 'git grep -i -E "see *\`[^\`]+\`[^_]"' to find the invalid links
2017-11-09 11:45:13 +08:00
Liu Zhi Fu
710055025e
esp32/lwip: adjust task stack size according 'nano' print
...
1. Adjust tcpip/main/event/timer task stack size according 'nano' print
2. If 'nano' print is disabled the task stack size reduces 512 bytes
2017-11-09 10:09:42 +08:00
krzychb
60f954448c
I2C API documenation update
2017-11-08 23:38:29 +01:00
Ivan Grokhotkov
f22c681c1c
soc/rtc: raise core voltage when 80MHz flash frequency is used
...
To achieve reliable operation with GD flash at 80MHz, need to raise
core voltage.
This causes the following current consumption increase:
At 80MHz: from 29mA to 33mA
At 160MHz: from 41mA to 47mA
Test conditions: 2 cores running code from IRAM, remaining peripherals
clock gated.
2017-11-08 21:13:02 +08:00
Ivan Grokhotkov
37169f0f10
Merge branch 'feature/illustrations_with_blockdiag' into 'master'
...
Implement ‘blockdiag - simple block-diagram image generator’ to illustrate docum…
See merge request !1495
2017-11-08 18:54:28 +08:00
Jiang Jiang Jian
793ea56204
Merge branch 'bugfix/fail_to_scan_all_matched_ap' into 'master'
...
Wifi: bugfix/fail_to_scan_all_matched_ap
See merge request !1493
2017-11-08 17:39:29 +08:00
Yulong
8ca40818eb
component/bt: Fix the write value not store in the queue command bug.
2017-11-08 04:23:12 -05:00
Anton Maklakov
27c1fc52ba
Added .command_timeout_ms = 0 to SDSPI_HOST_DEFAULT() too
2017-11-08 12:52:50 +08:00
He Yin Ling
c6f7a38536
CI: support customize test with @bot
2017-11-08 11:36:16 +08:00