]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agosoc/rtc: don't power down BIAS_I2C along with APLL if other PLL is used
Ivan Grokhotkov [Mon, 20 Nov 2017 07:27:16 +0000 (15:27 +0800)]
soc/rtc: don't power down BIAS_I2C along with APLL if other PLL is used

If enable == false, and SOC_CLK_SEL == PLL, the code would would
erroneously set RTC_CNTL_BIAS_I2C_FORCE_PD. This change fixes the logic.

6 years agoMerge branch 'feature/spi_flash_lock_recursive' into 'master'
Angus Gratton [Mon, 20 Nov 2017 05:24:41 +0000 (13:24 +0800)]
Merge branch 'feature/spi_flash_lock_recursive' into 'master'

spi_flash: Expose recursive op_lock for atomic multi-part flash operations

See merge request !1556

6 years agospi_flash: Expose an accessor the current SPI flash guard functions
Angus Gratton [Fri, 17 Nov 2017 04:00:51 +0000 (15:00 +1100)]
spi_flash: Expose an accessor the current SPI flash guard functions

Change places which uses g_flash_guard_default_ops to use this. Probably exact same data, but a bit
cleaner.

6 years agospi_flash: Make spi_flash op_lock/op_unlock recursive
Angus Gratton [Fri, 17 Nov 2017 04:00:16 +0000 (15:00 +1100)]
spi_flash: Make spi_flash op_lock/op_unlock recursive

Allows chaining of multiple flash operations as an atomic operation.

6 years agoMerge branch 'feature/fatfs_r013a' into 'master'
Ivan Grokhotkov [Mon, 20 Nov 2017 02:16:39 +0000 (10:16 +0800)]
Merge branch 'feature/fatfs_r013a' into 'master'

fatfs: update to R0.13a

See merge request !1524

6 years agoMerge branch 'feature/esp32_stack_protector' into 'master'
Ivan Grokhotkov [Mon, 20 Nov 2017 02:16:15 +0000 (10:16 +0800)]
Merge branch 'feature/esp32_stack_protector' into 'master'

esp32: Adds Stack Smashing Protection Feature

See merge request !1537

6 years agoMerge branch 'bugfix/spi_master_cs' into 'master'
Ivan Grokhotkov [Mon, 20 Nov 2017 02:15:44 +0000 (10:15 +0800)]
Merge branch 'bugfix/spi_master_cs' into 'master'

fix(spi_master): fix the CS pin issue with GPIO 0.

See merge request !1536

6 years agoesp32: Adds Stack Smashing Protection Feature
Alexey Gerenkov [Wed, 15 Nov 2017 08:09:54 +0000 (11:09 +0300)]
esp32: Adds Stack Smashing Protection Feature

These changes add posibility to enable GCC stack protector via menuconfig
for all source files in project.

6 years agofix(spi_master): release temporary memory when queue new trans timeout.
michael [Fri, 17 Nov 2017 03:25:44 +0000 (11:25 +0800)]
fix(spi_master): release temporary memory when queue new trans timeout.

6 years agotest(spi): internal connection test master with slave for address and command field.
michael [Sat, 30 Sep 2017 06:36:31 +0000 (14:36 +0800)]
test(spi): internal connection test master with slave for address and command field.

6 years agofix(spi_master): fix the CS pin issue with GPIO 0.
michael [Wed, 15 Nov 2017 07:31:22 +0000 (15:31 +0800)]
fix(spi_master): fix the CS pin issue with GPIO 0.

Closes #909

6 years agofix(spi_slave): add interrupt free into bus free process.
michael [Sat, 30 Sep 2017 10:26:55 +0000 (18:26 +0800)]
fix(spi_slave): add interrupt free into bus free process.

6 years agoMerge branch 'bugfix/newlib_strptime' into 'master'
Ivan Grokhotkov [Thu, 16 Nov 2017 09:40:27 +0000 (17:40 +0800)]
Merge branch 'bugfix/newlib_strptime' into 'master'

newlib: Add strptime(), qsort_r(), nanf() to libc & libc_nano

See merge request !1547

6 years agoMerge branch 'bugfix/btdm_delete_gattc_cache_write' into 'master'
Jiang Jiang Jian [Thu, 16 Nov 2017 09:39:22 +0000 (17:39 +0800)]
Merge branch 'bugfix/btdm_delete_gattc_cache_write' into 'master'

component/bt: delete gattc cache write operation

See merge request !1543

6 years agoMerge branch 'bugfix/rebind_pcb_when_ip_changed' into 'master'
Jiang Jiang Jian [Thu, 16 Nov 2017 09:28:06 +0000 (17:28 +0800)]
Merge branch 'bugfix/rebind_pcb_when_ip_changed' into 'master'

lwip: rebind UDP/TCP pcb to valid ip address when ip is changed

See merge request !1535

6 years agoMerge branch 'bugfix/fix_airkiss_macro_typo' into 'master'
Jiang Jiang Jian [Thu, 16 Nov 2017 09:25:45 +0000 (17:25 +0800)]
Merge branch 'bugfix/fix_airkiss_macro_typo' into 'master'

Fix an airkiss macro error

See merge request !1532

6 years agocomponent/bt: delete api bta_gattc_cache_write
island [Thu, 16 Nov 2017 08:40:18 +0000 (16:40 +0800)]
component/bt: delete api bta_gattc_cache_write

6 years agonewlib: Remove out of date libc_discard.list
Angus Gratton [Thu, 16 Nov 2017 06:43:05 +0000 (17:43 +1100)]
newlib: Remove out of date libc_discard.list

6 years agonewlib: Add strptime(), qsort_r(), nanf() to libc & libc_nano
Angus Gratton [Thu, 16 Nov 2017 06:27:37 +0000 (17:27 +1100)]
newlib: Add strptime(), qsort_r(), nanf() to libc & libc_nano

These functions were discarded but not provided in ROM.

Generated from commit 8ad0aa7d6 in newlib script repo. Didn't rebuild most of libc/libc_nano,
only appended the missing object files to the existing archives (should save some git churn).

6 years agoMerge branch 'bugfix/heap_region_add' into 'master'
Jiang Jiang Jian [Thu, 16 Nov 2017 05:45:10 +0000 (13:45 +0800)]
Merge branch 'bugfix/heap_region_add' into 'master'

component/heap : fix heap_region_add check bug

See merge request !1523

6 years agocomponent/bt: delete gattc cache write operation
island [Thu, 16 Nov 2017 03:18:17 +0000 (11:18 +0800)]
component/bt: delete gattc cache write operation

6 years agocomponent/heap : fix heap_region_add check bug
Tian Hao [Tue, 14 Nov 2017 03:52:12 +0000 (11:52 +0800)]
component/heap : fix heap_region_add check bug

6 years agoFix an airkiss macro error
XiaXiaotian [Wed, 15 Nov 2017 06:02:22 +0000 (14:02 +0800)]
Fix an airkiss macro error

6 years agoMerge branch 'bugfix/scan_example_cosmetic_fixes' into 'master'
Jiang Jiang Jian [Wed, 15 Nov 2017 13:19:24 +0000 (21:19 +0800)]
Merge branch 'bugfix/scan_example_cosmetic_fixes' into 'master'

Bugfix/Wi-Fi scan example cosmetic fixes

See merge request !1539

6 years agowifi_scan_example: Comments improved for readability
Piyush Shah [Wed, 15 Nov 2017 09:29:13 +0000 (14:59 +0530)]
wifi_scan_example: Comments improved for readability

Rephrased the example's description to make it easier to understand
and made other grammatical fixes.

Signed-off-by: Piyush Shah <piyush@espressif.com>
6 years agowifi_scan_example: Indentation Fixes
Piyush Shah [Wed, 15 Nov 2017 07:34:21 +0000 (13:04 +0530)]
wifi_scan_example: Indentation Fixes

- Trailing white spaces removed
- Re-formatted switch-case

Basic indentation fixes were done using tools/format.sh and switch-case
formatting was done manually (to identify different levels for "switch"
and "case")

Signed-off-by: Piyush Shah <piyush@espressif.com>
6 years agolwip: rebind UDP/TCP pcb to valid ip address when ip is changed
Liu Zhi Fu [Wed, 15 Nov 2017 08:15:24 +0000 (16:15 +0800)]
lwip: rebind UDP/TCP pcb to valid ip address when ip is changed

This change fix the issue UDP/TCP pcb failed to rebind to correct ip address when ip is changed

6 years agoMerge branch 'doc/esp_wifi_types' into 'master'
Angus Gratton [Wed, 15 Nov 2017 07:03:02 +0000 (15:03 +0800)]
Merge branch 'doc/esp_wifi_types' into 'master'

docs: Add esp_wifi_types.h items to wifi API reference

See merge request !1320

6 years agoMerge branch 'bugfix/touch_pad_register_mismatch' into 'master'
Ivan Grokhotkov [Wed, 15 Nov 2017 06:52:13 +0000 (14:52 +0800)]
Merge branch 'bugfix/touch_pad_register_mismatch' into 'master'

Bugfix/touch pad register mismatch

See merge request !1469

6 years agoMerge branch 'features/http2_demo' into 'master'
Ivan Grokhotkov [Wed, 15 Nov 2017 06:51:51 +0000 (14:51 +0800)]
Merge branch 'features/http2_demo' into 'master'

HTTP2 Client Demo

See merge request !1475

6 years agoMerge branch 'bugfix/tw16355' into 'master'
Ivan Grokhotkov [Wed, 15 Nov 2017 06:51:41 +0000 (14:51 +0800)]
Merge branch 'bugfix/tw16355' into 'master'

fix(tw16355): examples/protocols/coap_client(server)

See merge request !1531

6 years agoMerge branch 'bugfix/emac_rx_process' into 'master'
Ivan Grokhotkov [Wed, 15 Nov 2017 06:51:33 +0000 (14:51 +0800)]
Merge branch 'bugfix/emac_rx_process' into 'master'

component/emac: fix process rx err

See merge request !1529

6 years agoMerge branch 'bugfix/queue_registry_test' into 'master'
Ivan Grokhotkov [Wed, 15 Nov 2017 06:51:18 +0000 (14:51 +0800)]
Merge branch 'bugfix/queue_registry_test' into 'master'

unit tests: fix queue registry test

See merge request !1528

6 years agodocs: Remove internal header esp_wifi_crypto_types.h from documentation
Angus Gratton [Wed, 27 Sep 2017 01:17:32 +0000 (11:17 +1000)]
docs: Remove internal header esp_wifi_crypto_types.h from documentation

6 years agodocs: Add introduction section for WiFi, replace boilerplate
Angus Gratton [Wed, 27 Sep 2017 01:13:20 +0000 (11:13 +1000)]
docs: Add introduction section for WiFi, replace boilerplate

6 years agodocs: Add esp_wifi_types.h descriptions
Angus Gratton [Wed, 27 Sep 2017 01:09:21 +0000 (11:09 +1000)]
docs: Add esp_wifi_types.h descriptions

6 years agoMerge branch 'bugfix/component_depends' into 'master'
Angus Gratton [Wed, 15 Nov 2017 05:53:26 +0000 (13:53 +0800)]
Merge branch 'bugfix/component_depends' into 'master'

build system: Fix COMPONENT_DEPENDS

See merge request !1530

6 years agofix(tw16355): examples/protocols/coap_client(server)
zhangjunhao [Wed, 15 Nov 2017 03:58:19 +0000 (11:58 +0800)]
fix(tw16355): examples/protocols/coap_client(server)

fix coap example can not work properly

6 years agocomponent/emac: fix process rx err
shangke [Wed, 15 Nov 2017 03:04:32 +0000 (11:04 +0800)]
component/emac: fix process rx err

6 years agoMerge branch 'bugfix/btdm_gattc_command_queue_fix' into 'master'
Jiang Jiang Jian [Wed, 15 Nov 2017 02:54:02 +0000 (10:54 +0800)]
Merge branch 'bugfix/btdm_gattc_command_queue_fix' into 'master'

Bugfix/btdm gattc command queue fix

See merge request !1317

6 years agoMerge branch 'bugfix/update_wifi_lib_for_some_fixes' into 'master'
Jiang Jiang Jian [Wed, 15 Nov 2017 02:12:39 +0000 (10:12 +0800)]
Merge branch 'bugfix/update_wifi_lib_for_some_fixes' into 'master'

esp32: update wifi lib to fix some wifi bugs

See merge request !1525

6 years agounit tests: fix queue registry test
Ivan Grokhotkov [Tue, 14 Nov 2017 12:35:16 +0000 (20:35 +0800)]
unit tests: fix queue registry test

In the queue registry test, start_sem is given twice to let both tasks
start the test. Each task takes start_sem, does some work, gives done_sem,
and goes on to wait for start_sem again.
It may happen that one task can grab start_sem, add queues to the
registry, give done_sem, then grab start_sem again, delete the queues
from the registry, and give done_sem again. At this point, main test
task takes done_sem twice and proceeds to verify that queues have been
added to the registry. But in fact, the first task has already deleted
its queues from the registry, and the second one might not have added
the queues yet. This causes test to fail.

This changes the test to use separate start semaphores for each task,
to avoid the race condition.

6 years agoMerge branch 'bugfix/btdm_modify_logs' into 'master'
Jiang Jiang Jian [Tue, 14 Nov 2017 13:13:00 +0000 (21:13 +0800)]
Merge branch 'bugfix/btdm_modify_logs' into 'master'

component/bt: modify some log

See merge request !1485

6 years agoMerge branch 'bugfix/btdm_remove_redundant_open_evt_for_same_app' into 'master'
Jiang Jiang Jian [Tue, 14 Nov 2017 13:12:05 +0000 (21:12 +0800)]
Merge branch 'bugfix/btdm_remove_redundant_open_evt_for_same_app' into 'master'

component/bt: remove redundant open evt while calling gattc_open twice in the same app_id

See merge request !1526

6 years agoMerge branch 'bugfix/btdm_no_ind_ack_for_server_only' into 'master'
Jiang Jiang Jian [Tue, 14 Nov 2017 13:09:26 +0000 (21:09 +0800)]
Merge branch 'bugfix/btdm_no_ind_ack_for_server_only' into 'master'

component/bt: fix not send indication confirm in case of server only

See merge request !1522

6 years agoesp32: update wifi lib to fix some wifi bugs
Liu Zhi Fu [Tue, 14 Nov 2017 08:39:39 +0000 (16:39 +0800)]
esp32: update wifi lib to fix some wifi bugs

1. Fix resend eapol cause crash issue
2. Don't asser the system when the channel is in 14

6 years agoMerge branch 'bugfix/tw15564_fix_socket_close_crash' into 'master'
Jiang Jiang Jian [Tue, 14 Nov 2017 12:40:39 +0000 (20:40 +0800)]
Merge branch 'bugfix/tw15564_fix_socket_close_crash' into 'master'

Bugfix/tw15564 fix socket close crash

See merge request !1496

6 years agocomponent/bt: Change the gattc prepare write callback params.
Yulong [Tue, 14 Nov 2017 12:00:45 +0000 (07:00 -0500)]
component/bt: Change the gattc prepare write callback params.

6 years agoMerge branch 'feature/freeRTOS_make_debug_functions_configurable' into 'master'
Ivan Grokhotkov [Tue, 14 Nov 2017 11:41:50 +0000 (19:41 +0800)]
Merge branch 'feature/freeRTOS_make_debug_functions_configurable' into 'master'

FreeRTOS/make Queue Registry and Run Time Stats configurable

See merge request !1480

6 years agobugfix(touch): registers of touchpad 8 and 9 are mismatched
Wangjialin [Mon, 30 Oct 2017 06:23:51 +0000 (14:23 +0800)]
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.

6 years agocomponent/bt: remove redundant open evt while calling gattc_open twice in the same...
island [Tue, 14 Nov 2017 09:11:34 +0000 (17:11 +0800)]
component/bt: remove redundant open evt while calling gattc_open twice in the same app_id

6 years agoFreeRTOS/make Queue Registry and Run Time Stats configurable
Darian Leung [Mon, 30 Oct 2017 08:03:56 +0000 (16:03 +0800)]
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

6 years agofatfs: update to R0.13a
Ivan Grokhotkov [Tue, 14 Nov 2017 04:57:55 +0000 (12:57 +0800)]
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.

6 years agocomponent/bt: Added the queue event when the gattc command is full.
Yulong [Tue, 14 Nov 2017 03:44:27 +0000 (22:44 -0500)]
component/bt: Added the queue event when the gattc command is full.

6 years agocomponent/bt: fix not send indication confirm in case of server only
island [Tue, 14 Nov 2017 03:43:57 +0000 (11:43 +0800)]
component/bt: fix not send indication confirm in case of server only

6 years agoMerge branch 'feature/spi_variable_len' into 'master'
Ivan Grokhotkov [Mon, 13 Nov 2017 16:08:50 +0000 (00:08 +0800)]
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

6 years agoMerge branch 'feature/emac_apll' into 'master'
Ivan Grokhotkov [Mon, 13 Nov 2017 16:07:35 +0000 (00:07 +0800)]
Merge branch 'feature/emac_apll' into 'master'

feat(emac): add support for emac to use internal (APLL) clock outputs.

See merge request !1518

6 years agoMerge branch 'bugfix/uart_fifo_bug_workaround' into 'master'
Ivan Grokhotkov [Mon, 13 Nov 2017 09:46:42 +0000 (17:46 +0800)]
Merge branch 'bugfix/uart_fifo_bug_workaround' into 'master'

bugfix(uart): workaround for uart fifo reset issue

See merge request !1499

6 years agoMerge branch 'bugfix/examples_ulp_gpio15' into 'master'
Ivan Grokhotkov [Mon, 13 Nov 2017 09:34:12 +0000 (17:34 +0800)]
Merge branch 'bugfix/examples_ulp_gpio15' into 'master'

examples/ulp: disable pullup on GPIO15 to reduce current

See merge request !1486

6 years agobugfix(uart): workaround for uart fifo reset issue
Wangjialin [Tue, 7 Nov 2017 10:19:23 +0000 (18:19 +0800)]
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.

6 years agorebase the origin to the local
Yulong [Mon, 13 Nov 2017 07:20:02 +0000 (02:20 -0500)]
rebase the origin to the local

6 years agocomponent/bt: Added the prepare write check.
Yulong [Mon, 13 Nov 2017 07:12:33 +0000 (02:12 -0500)]
component/bt: Added the prepare write check.

6 years agofeat(emac): add support for emac to use internal (APLL) clock outputs.
Frank Sautter [Mon, 16 Oct 2017 21:05:27 +0000 (05:05 +0800)]
feat(emac): add support for emac to use internal (APLL) clock outputs.

6 years agolwip: fix socket close crash issue
Liu Zhi Fu [Tue, 7 Nov 2017 12:10:02 +0000 (20:10 +0800)]
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.

6 years agoMerge branch 'bugfix/ut_only_test_app_core_sleep_on_dual_core' into 'master'
He Yin Ling [Mon, 13 Nov 2017 05:35:07 +0000 (13:35 +0800)]
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

6 years agoMerge branch 'feature/adjust_task_stack_size_according_to_nano' into 'master'
Jiang Jiang Jian [Mon, 13 Nov 2017 03:18:20 +0000 (11:18 +0800)]
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

6 years agodocs: Add esp_wifi_types.h items to wifi API reference
Angus Gratton [Tue, 26 Sep 2017 07:02:52 +0000 (17:02 +1000)]
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.

6 years agoMerge branch 'feature/fatfs_kconfig_options' into 'master'
Angus Gratton [Fri, 10 Nov 2017 18:48:15 +0000 (02:48 +0800)]
Merge branch 'feature/fatfs_kconfig_options' into 'master'

fatfs: expose some configuration values in Kconfig

See merge request !1415

6 years agoMerge branch 'bugfix/TW#16106_esp_heap_trace.h_C++_include_guards' into 'master'
Angus Gratton [Fri, 10 Nov 2017 18:47:10 +0000 (02:47 +0800)]
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

6 years agotest: ut only test app core reset on dual core
He Yin Ling [Fri, 10 Nov 2017 09:53:59 +0000 (17:53 +0800)]
test: ut only test app core reset on dual core

6 years agoMerge branch 'bugfix/btdm_osi_alarm' into 'master'
Jiang Jiang Jian [Fri, 10 Nov 2017 07:34:11 +0000 (15:34 +0800)]
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

6 years agoMerge branch 'bugfix/tw16339_sta_cant_connect_ap_in_channel_14' into 'master'
Jiang Jiang Jian [Fri, 10 Nov 2017 07:31:19 +0000 (15:31 +0800)]
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

6 years agotest: only test app core sleep on dual core
He Yin Ling [Fri, 10 Nov 2017 05:26:11 +0000 (13:26 +0800)]
test: only test app core sleep on dual core

6 years agofreertos/add C++ include guards for esp_heap_caps.h
Darian Leung [Fri, 10 Nov 2017 04:01:30 +0000 (12:01 +0800)]
freertos/add C++ include guards for esp_heap_caps.h

6 years agocomponent/bt: modify the implementation and interface of osi_alarm module
wangmengyang [Wed, 8 Nov 2017 09:12:08 +0000 (17:12 +0800)]
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

6 years agoMerge branch 'test/UT_reset_check' into 'master'
Ivan Grokhotkov [Fri, 10 Nov 2017 03:30:46 +0000 (11:30 +0800)]
Merge branch 'test/UT_reset_check' into 'master'

Test/ut reset check

See merge request !1086

6 years agoMerge branch 'bugfix/to_docs_from_github' into 'master'
Ivan Grokhotkov [Fri, 10 Nov 2017 03:13:25 +0000 (11:13 +0800)]
Merge branch 'bugfix/to_docs_from_github' into 'master'

Documentation bugfixes from the github

See merge request !1501

6 years agoMerge branch 'bugfix/from_github' into 'master'
Ivan Grokhotkov [Fri, 10 Nov 2017 03:13:04 +0000 (11:13 +0800)]
Merge branch 'bugfix/from_github' into 'master'

Bug fixes from Github

See merge request !1487

6 years agoMerge branch 'bugfix/cas_for_pthread_once' into 'master'
Ivan Grokhotkov [Fri, 10 Nov 2017 03:12:46 +0000 (11:12 +0800)]
Merge branch 'bugfix/cas_for_pthread_once' into 'master'

pthread: Fix pthread_once to use atomic compare and set

See merge request !1497

6 years agoesp32: fix station can't connect esp32 softap in channel 14
Liu Zhi Fu [Fri, 10 Nov 2017 02:55:08 +0000 (10:55 +0800)]
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.

6 years agoMerge branch 'bugfix/tg_wdt_reboot_uart_garbage' into 'master'
Ivan Grokhotkov [Thu, 9 Nov 2017 09:14:13 +0000 (17:14 +0800)]
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

6 years agoMerge branch 'bugfix/core_voltage_80m_flash' into 'master'
Ivan Grokhotkov [Thu, 9 Nov 2017 07:35:12 +0000 (15:35 +0800)]
Merge branch 'bugfix/core_voltage_80m_flash' into 'master'

soc/rtc: raise core voltage when 80MHz flash frequency is used

See merge request !1508

6 years agocompoent/bt: Modify bta_gattc_utils.c The value pointer copy is overwritten when...
Yulong [Thu, 9 Nov 2017 06:44:16 +0000 (01:44 -0500)]
compoent/bt: Modify bta_gattc_utils.c The value pointer copy is overwritten when a write event occurs.

6 years agocomponent/bt: Fix the write value not store in the queue command bug.
Yulong [Wed, 8 Nov 2017 09:23:12 +0000 (04:23 -0500)]
component/bt: Fix the write value not store in the queue command bug.

6 years agocomponent/bt: Change the bta_gattc_pop_command_to_send function to static.
Yulong [Tue, 10 Oct 2017 07:12:00 +0000 (03:12 -0400)]
component/bt: Change the bta_gattc_pop_command_to_send function to static.

6 years agocomponent/bt: Added the gattc command queue support.
Yulong [Mon, 25 Sep 2017 06:27:08 +0000 (02:27 -0400)]
component/bt: Added the gattc command queue support.

6 years agocomponent/bt: added the queue to store the gattc commands.
Yulong [Thu, 21 Sep 2017 10:17:38 +0000 (06:17 -0400)]
component/bt: added the queue to store the gattc commands.

6 years agocompoent/bt: Modify bta_gattc_utils.c The value pointer copy is overwritten when...
Yulong [Thu, 9 Nov 2017 06:44:16 +0000 (01:44 -0500)]
compoent/bt: Modify bta_gattc_utils.c The value pointer copy is overwritten when a write event occurs.

6 years agoMerge branch 'feature/docs_update_i2c_api' into 'master'
Ivan Grokhotkov [Thu, 9 Nov 2017 06:10:41 +0000 (14:10 +0800)]
Merge branch 'feature/docs_update_i2c_api' into 'master'

I2C API documenation update

See merge request !1404

6 years agobootloader: wait for UART FIFO to be empty before switching frequency
Ivan Grokhotkov [Thu, 9 Nov 2017 05:17:58 +0000 (13:17 +0800)]
bootloader: wait for UART FIFO to be empty before switching frequency

6 years agodoc: Add internal links for chapters and fix typos
Anton Maklakov [Mon, 6 Nov 2017 10:22:45 +0000 (18:22 +0800)]
doc: Add internal links for chapters and fix typos

    Used 'git grep -i -E "see *\`[^\`]+\`[^_]"' to find the invalid links

6 years agoesp32/lwip: adjust task stack size according 'nano' print
Liu Zhi Fu [Thu, 9 Nov 2017 01:39:01 +0000 (09:39 +0800)]
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

6 years agoI2C API documenation update
krzychb [Mon, 30 Oct 2017 05:17:27 +0000 (06:17 +0100)]
I2C API documenation update

7 years agosoc/rtc: raise core voltage when 80MHz flash frequency is used
Ivan Grokhotkov [Wed, 8 Nov 2017 13:13:02 +0000 (21:13 +0800)]
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.

7 years agoMerge branch 'feature/illustrations_with_blockdiag' into 'master'
Ivan Grokhotkov [Wed, 8 Nov 2017 10:54:28 +0000 (18:54 +0800)]
Merge branch 'feature/illustrations_with_blockdiag' into 'master'

Implement ‘blockdiag - simple block-diagram image generator’ to illustrate docum…

See merge request !1495

7 years agoMerge branch 'bugfix/fail_to_scan_all_matched_ap' into 'master'
Jiang Jiang Jian [Wed, 8 Nov 2017 09:39:29 +0000 (17:39 +0800)]
Merge branch 'bugfix/fail_to_scan_all_matched_ap' into 'master'

Wifi: bugfix/fail_to_scan_all_matched_ap

See merge request !1493

7 years agocomponent/bt: Fix the write value not store in the queue command bug.
Yulong [Wed, 8 Nov 2017 09:23:12 +0000 (04:23 -0500)]
component/bt: Fix the write value not store in the queue command bug.

7 years agoAdded .command_timeout_ms = 0 to SDSPI_HOST_DEFAULT() too
Anton Maklakov [Wed, 8 Nov 2017 04:52:25 +0000 (12:52 +0800)]
Added .command_timeout_ms = 0 to SDSPI_HOST_DEFAULT() too

7 years agoLinked API reference of 'Application Level Tracing' with description in the 'API...
krzychb [Tue, 7 Nov 2017 18:54:07 +0000 (19:54 +0100)]
Linked API reference of 'Application Level Tracing' with description in the 'API Guides'

7 years agoFix markdown and format of GPIO example README
Seppe Stas [Tue, 7 Nov 2017 13:57:35 +0000 (14:57 +0100)]
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