Jiang Jiang Jian
9e90baf5a0
Merge branch 'bugfix/tw15564_fix_socket_close_crash' into 'master'
...
Bugfix/tw15564 fix socket close crash
See merge request !1496
2017-11-14 20:40:39 +08:00
Ivan Grokhotkov
3c33807689
Merge branch 'feature/freeRTOS_make_debug_functions_configurable' into 'master'
...
FreeRTOS/make Queue Registry and Run Time Stats configurable
See merge request !1480
2017-11-14 19:41:50 +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
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
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
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
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
Anton Maklakov
27c1fc52ba
Added .command_timeout_ms = 0 to SDSPI_HOST_DEFAULT() too
2017-11-08 12:52:50 +08:00
krzychb
9cee2f9558
Linked API reference of 'Application Level Tracing' with description in the 'API Guides'
2017-11-07 20:27:19 +01:00
Seppe Stas
264315ab81
Fix markdown and format of GPIO example README
...
Fixed headers so they work (requires space between hash and text) and have a sensible structure and removed trailing spaces.
Signed-off-by: krzychb
2017-11-07 20:27:10 +01:00
Raphael Luba
05c4a76202
Fix reference to partition table documentation
...
… and link to it.
Signed-off-by: krzychb
2017-11-07 20:26:46 +01:00
Seppe Stas
a106dc183d
Clean up documentation of esp_wifi_set_country
...
Signed-off-by: krzychb
2017-11-07 20:26:22 +01:00
krzychb
3a1521f965
Implement ‘blockdiag - simple block-diagram image generator’ to illustrate documentation with block diagrams, sequence diagrams, activity diagrams and logical network diagrams
2017-11-07 18:17:53 +01:00
Ivan Grokhotkov
d78ba789cf
Merge branch 'feature/unit-tests-psram' into 'master'
...
unit tests: add psram configuration
See merge request !1488
2017-11-07 20:11:54 +08:00
Jiang Jiang Jian
dfe4e68cc3
Merge branch 'bugfix/btdm_lib_update_for_psram' into 'master'
...
component/bt: update toolchain and add compile options to build libbtdm_app.a to support PSRAM
See merge request !1491
2017-11-07 20:01:14 +08:00
Ivan Grokhotkov
5f9ac5fadb
Merge branch 'doc/freertos_port_comments' into 'master'
...
freertos: Update comments in "port" section (portMUX/etc)
See merge request !1431
2017-11-07 19:31:21 +08:00
Ivan Grokhotkov
744896bde2
Merge branch 'bugfix/hardware_mpi_sign' into 'master'
...
hwcrypto mpi: Fix losing sign when multiplying by -1 (github PR)
Contribution from github: https://github.com/espressif/esp-idf/pull/1181/
See merge request !1471
2017-11-07 19:30:31 +08:00
Mahavir Jain
158ecdcfd5
pthread: Fix pthread_once to use atomic compare and set
...
Earlier recursive mutex was being used for this but since
SCOMPARE1 is already being saved/restored during context
switch, atomic compare and set can be used for this.
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2017-11-07 14:28:43 +05:30
wangmengyang
016a49f8e3
component/bt: update toolchain and add compile options to build libbtdm_app.a to support PSRAM
2017-11-07 16:08:47 +08:00
houchenyao
f80824a2d8
test: support test for UT cases expect to reset
2017-11-07 12:19:39 +08:00
Ivan Grokhotkov
1613044aef
Merge branch 'bugfix/restart_reconfigure_flash_pins' into 'master'
...
esp32: reconfigure SPI flash pins in esp_restart
See merge request !1492
2017-11-07 12:08:52 +08:00
Ivan Grokhotkov
a45e9c806d
Merge branch 'bugfix/new_task_watchdog_API_false_trigger' into 'master'
...
feat/New Task Watchdog API
See merge request !1380
2017-11-07 10:43:56 +08:00