]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agodriver: add rs485 half duplex interface support to uart driver (add jobs into *.yml...
Alex Lisitsyn [Tue, 26 Jun 2018 09:13:04 +0000 (11:13 +0200)]
driver: add rs485 half duplex interface support to uart driver (add jobs into *.yml file)

An existing UART driver does not support RS485 half duplex mode.
This task adds this functionality to ESP_IDF UART driver.
driver/uart.c/h: updated to add support of RS485 half duplex mode
examples/peripherals/uart_echo_rs485/main/rs485_example.c: added test example
components/driver/test/test_uart.c: added test of RS485 half duplex mode
docs/en/api-reference/peripherals/uart.rst: updated documentation
test_uart.c: suppress GCC warnings about discarded const qualifiers
uart.rst: remove sphinx warning - "Duplicate explicit target name"
simple change in uart.h file
update (test_uart.c) after rebase from master
update uart.rst, uart.c, rs485_example.c
Update example description in file Readme.md
update uart.c/h, uart.rst, test_uart.c according to review results
update uart.h (uart_set_rx_timeout() description
test_uart.c remove ignore tag

The tests are completed using RS485 adapters hardware connected to two ESP32 WROVER KITs.

TW#13812
Closes https://github.com/espressif/esp-idf/pull/667
Closes https://github.com/espressif/esp-idf/pull/1006

6 years agodriver: add rs485 half duplex interface support to uart driver (remove ignore tag...
Alex Lisitsyn [Wed, 6 Jun 2018 11:29:22 +0000 (13:29 +0200)]
driver: add rs485 half duplex interface support to uart driver (remove ignore tag to check ut case)

An existing UART driver does not support RS485 half duplex mode.
This task adds this functionality to ESP_IDF UART driver.
driver/uart.c/h: updated to add support of RS485 half duplex mode
examples/peripherals/uart_echo_rs485/main/rs485_example.c: added test example
components/driver/test/test_uart.c: added test of RS485 half duplex mode
docs/en/api-reference/peripherals/uart.rst: updated documentation
test_uart.c: suppress GCC warnings about discarded const qualifiers
uart.rst: remove sphinx warning - "Duplicate explicit target name"
simple change in uart.h file
update (test_uart.c) after rebase from master
update uart.rst, uart.c, rs485_example.c
Update example description in file Readme.md
update uart.c/h, uart.rst, test_uart.c according to review results
update uart.h (uart_set_rx_timeout() description
test_uart.c remove ignore tag

The tests are completed using RS485 adapters hardware connected to two ESP32 WROVER KITs.

TW#13812
Closes https://github.com/espressif/esp-idf/pull/667
Closes https://github.com/espressif/esp-idf/pull/1006

6 years agodriver: add rs485 half duplex interface support to uart driver (update after review)
Alex Lisitsyn [Thu, 31 May 2018 08:33:40 +0000 (10:33 +0200)]
driver: add rs485 half duplex interface support to uart driver (update after review)

An existing UART driver does not support RS485 half duplex mode.
This task adds this functionality to ESP_IDF UART driver.
driver/uart.c/h: updated to add support of RS485 half duplex mode
examples/peripherals/uart_echo_rs485/main/rs485_example.c: added test example
components/driver/test/test_uart.c: added test of RS485 half duplex mode
docs/en/api-reference/peripherals/uart.rst: updated documentation
test_uart.c: suppress GCC warnings about discarded const qualifiers
uart.rst: remove sphinx warning - "Duplicate explicit target name"
simple change in uart.h file
update (test_uart.c) after rebase from master
update uart.rst, uart.c, rs485_example.c
Update example description in file Readme.md
update uart.c/h, uart.rst, test_uart.c according to review results
update uart.h (uart_set_rx_timeout() description

The tests are completed using RS485 adapters hardware connected to two ESP32 WROVER KITs.

TW#13812
Closes https://github.com/espressif/esp-idf/pull/667
Closes https://github.com/espressif/esp-idf/pull/1006

6 years agodriver: add rs485 half duplex interface support to uart driver (update after review)
Alex Lisitsyn [Wed, 11 Apr 2018 06:56:00 +0000 (11:56 +0500)]
driver: add rs485 half duplex interface support to uart driver (update after review)

An existing UART driver does not support RS485 half duplex mode.
This task adds this functionality to ESP_IDF UART driver.
driver/uart.c/h: updated to add support of RS485 half duplex mode
examples/peripherals/uart_echo_rs485/main/rs485_example.c: added test example
components/driver/test/test_uart.c: added test of RS485 half duplex mode
docs/en/api-reference/peripherals/uart.rst: updated documentation
test_uart.c: suppress GCC warnings about discarded const qualifiers
uart.rst: remove sphinx warning - "Duplicate explicit target name"
simple change in uart.h file
update (test_uart.c) after rebase from master
update uart.rst, uart.c, rs485_example.c
Update example description in file Readme.md
update uart.c/h, uart.rst, test_uart.c according to review results

The tests are completed using RS485 adapters hardware connected to two ESP32 WROVER KITs.

TW#13812
Closes https://github.com/espressif/esp-idf/pull/667
Closes https://github.com/espressif/esp-idf/pull/1006

6 years agoMerge branch 'test/tinyfw_tweaks' into 'master'
Ivan Grokhotkov [Mon, 2 Jul 2018 11:41:25 +0000 (19:41 +0800)]
Merge branch 'test/tinyfw_tweaks' into 'master'

tiny-test-fw: small tweaks

See merge request idf/esp-idf!2496

6 years agoMerge branch 'bugfix/bt_os_abstraction_layer' into 'master'
Ivan Grokhotkov [Mon, 2 Jul 2018 10:42:07 +0000 (18:42 +0800)]
Merge branch 'bugfix/bt_os_abstraction_layer' into 'master'

bt: fix OS abstraction layer for correct critical section API usage

See merge request idf/esp-idf!2676

6 years agotiny-test-fw: add class diagram to document
He Yin Ling [Sun, 1 Jul 2018 13:17:04 +0000 (21:17 +0800)]
tiny-test-fw: add class diagram to document

6 years agotiny-test-fw: add requirements.txt, small docs tweaks
Ivan Grokhotkov [Fri, 1 Jun 2018 13:30:08 +0000 (15:30 +0200)]
tiny-test-fw: add requirements.txt, small docs tweaks

6 years agotiny-test-fw: IDFDUT: in the absence of configuration, try ESPPORT first
Ivan Grokhotkov [Mon, 25 Jun 2018 06:43:40 +0000 (14:43 +0800)]
tiny-test-fw: IDFDUT: in the absence of configuration, try ESPPORT first

6 years agoMerge branch 'bugfix/spi_flash_deadlock' into 'master'
Ivan Grokhotkov [Mon, 2 Jul 2018 10:39:16 +0000 (18:39 +0800)]
Merge branch 'bugfix/spi_flash_deadlock' into 'master'

spi_flash: raise priority of the task performing spi_flash operation

See merge request idf/esp-idf!2609

6 years agoMerge branch 'bugfix/rom_libgcc_functions' into 'master'
Ivan Grokhotkov [Mon, 2 Jul 2018 10:38:44 +0000 (18:38 +0800)]
Merge branch 'bugfix/rom_libgcc_functions' into 'master'

Fix linking of libgcc math functions to ROM

See merge request idf/esp-idf!2640

6 years agoMerge branch 'bugfix/gcc8_compile_errors' into 'master'
Anton Maklakov [Mon, 2 Jul 2018 09:43:02 +0000 (17:43 +0800)]
Merge branch 'bugfix/gcc8_compile_errors' into 'master'

Fix GCC 8 compile errors

See merge request idf/esp-idf!2466

6 years agowpa_supplicant: fix errors for GCC 8 support
Anton Maklakov [Tue, 29 May 2018 07:36:43 +0000 (15:36 +0800)]
wpa_supplicant: fix errors for GCC 8 support

components/wpa_supplicant/port/include/os.h:259:29: error: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Werror=stringop-truncation]
 #define os_strncpy(d, s, n) strncpy((d), (s), (n))
                             ^~~~~~~~~~~~~~~~~~~~~~
components/wpa_supplicant/src/wpa2/eap_peer/eap.c:410:3: note: in expansion of macro 'os_strncpy'
   os_strncpy(sm->blob[0].name, CLIENT_CERT_NAME, BLOB_NAME_LEN);
   ^~~~~~~~~~

6 years agospi_flash: fix errors for GCC 8 support
Anton Maklakov [Thu, 24 May 2018 11:32:34 +0000 (19:32 +0800)]
spi_flash: fix errors for GCC 8 support

components/spi_flash/partition.c: In function 'load_partitions':
components/spi_flash/partition.c:179:66: error: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Werror=sizeof-pointer-memaccess]
         strncpy(item->info.label, (const char*) it->label, sizeof(it->label));
                                                                  ^

6 years agofatfs: fix errors for GCC 8 support and some indentation
Anton Maklakov [Thu, 24 May 2018 11:29:33 +0000 (19:29 +0800)]
fatfs: fix errors for GCC 8 support and some indentation

components/fatfs/src/ff.c: In function 'f_fdisk':
components/fatfs/src/ff.c:5995:5: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
     for (n = 16; n < 256 && sz_disk / n / cluster_size > 1024; n *= 2) ;
     ^~~
components/fatfs/src/ff.c:5996:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  if (n == 256) n--;
  ^~

6 years agoipc: fix errors for GCC 8 support
Anton Maklakov [Thu, 24 May 2018 11:09:23 +0000 (19:09 +0800)]
ipc: fix errors for GCC 8 support

components/esp32/ipc.c: In function 'esp_ipc_init':
components/esp32/ipc.c:82:31: error: '%d' directive writing between 1 and 11 bytes into a region of size 5 [-Werror=format-overflow=]
         sprintf(task_name,"ipc%d",i);
                               ^~
components/esp32/ipc.c:82:27: note: directive argument in the range [-2147483648, 1]
         sprintf(task_name,"ipc%d",i);
                           ^~~~~~~
components/esp32/ipc.c:82:9: note: 'sprintf' output between 5 and 15 bytes into a destination of size 8
         sprintf(task_name,"ipc%d",i);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

6 years agonewlib: fix errors for GCC 8 support
Anton Maklakov [Thu, 24 May 2018 11:09:23 +0000 (19:09 +0800)]
newlib: fix errors for GCC 8 support

components/newlib/include/sys/reent.h:405:11: error: unnecessary parentheses in declaration of '_sig_func' [-Werror=parentheses]
   void (**(_sig_func))(int);
           ^

6 years agoesp32: force pure math functions from libgcc to be linked from ROM
Ivan Grokhotkov [Thu, 28 Jun 2018 04:48:31 +0000 (12:48 +0800)]
esp32: force pure math functions from libgcc to be linked from ROM

6 years agoesp32: fix addresses of some libgcc functions in ROM ld script
Ivan Grokhotkov [Thu, 28 Jun 2018 04:25:26 +0000 (12:25 +0800)]
esp32: fix addresses of some libgcc functions in ROM ld script

6 years agoMerge branch 'bugfix/doc_blufi' into 'master'
Angus Gratton [Mon, 2 Jul 2018 04:12:48 +0000 (12:12 +0800)]
Merge branch 'bugfix/doc_blufi' into 'master'

bugfix/doc_blufi

See merge request idf/esp-idf!2644

6 years agoMerge branch 'docs/eclipse_regex' into 'master'
Angus Gratton [Mon, 2 Jul 2018 01:18:26 +0000 (09:18 +0800)]
Merge branch 'docs/eclipse_regex' into 'master'

Docs: Fix bugs in Eclipse setup in CN

See merge request idf/esp-idf!2620

6 years agoMerge branch 'bugfix/lwip_socket_leak_accept_enfile' into 'master'
Angus Gratton [Mon, 2 Jul 2018 01:02:21 +0000 (09:02 +0800)]
Merge branch 'bugfix/lwip_socket_leak_accept_enfile' into 'master'

lwip: Fix leak when accept() fails due to max socket limit

See merge request idf/esp-idf!2585

6 years agobt: fix OS abstraction layer for correct critical section API usage
Mahavir Jain [Sun, 1 Jul 2018 13:35:00 +0000 (19:05 +0530)]
bt: fix OS abstraction layer for correct critical section API usage

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agospi_flash: raise priority of the task performing spi_flash operation
Ivan Grokhotkov [Mon, 30 Oct 2017 10:53:39 +0000 (18:53 +0800)]
spi_flash: raise priority of the task performing spi_flash operation

The fix is for the situation when cache disabling mechanism causes
a deadlock with user tasks. Situation is as follows:

1. spi_flash operation is started from low-priority task on CPU0
2. It uses IPC to wake up high-priority IPC1 task on CPU1, preventing
   all other tasks on CPU1 from running. This is needed to safely
   disable the cache.
3. While the task which started spi_flash operation is waiting for IPC1
   task to acknowledge that CPU1 is not using cache anymore, it is
   preempted by a higher priority application task ("app0").
4. Task app0 busy-waits for some operation on CPU1 to complete. But
   since application tasks are blocked out by IPC1 task, this never
   happens. Since app0 is busy-waiting, the task doing spi flash
   operation never runs.

The more or less logical soltion to the problem would be to also do
cache disabling on CPU0 and the SPI flash operation itself from IPC0
task. However IPC0 task stack would need to be increased to allow doing
SPI flash operation (and IPC1 stack as well). This would waste some
memory. An alternative approach adopted in this fix is to call FreeRTOS
functions to temporary increase the priority of SPI flash operation task
to the same level as the IPC task.

Fixes https://github.com/espressif/arduino-esp32/issues/740
Fixes https://github.com/espressif/esp-idf/issues/1157

6 years agoMerge branch 'bugfix/coex_bug' into 'master'
Jiang Jiang Jian [Sat, 30 Jun 2018 14:29:18 +0000 (22:29 +0800)]
Merge branch 'bugfix/coex_bug' into 'master'

esp32: fix coex bug

See merge request idf/esp-idf!2603

6 years agoMerge branch 'bugfix/btdm_fix_gattc_register_multi_srvc_chg' into 'master'
Jiang Jiang Jian [Sat, 30 Jun 2018 03:30:41 +0000 (11:30 +0800)]
Merge branch 'bugfix/btdm_fix_gattc_register_multi_srvc_chg' into 'master'

Component/bt: fix register multi service change when register multi gattc

See merge request idf/esp-idf!2625

6 years agoMerge branch 'bugfix/btdm_delete_deprecated_files' into 'master'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:37:03 +0000 (19:37 +0800)]
Merge branch 'bugfix/btdm_delete_deprecated_files' into 'master'

Component/bt: delete deprecated files

See merge request idf/esp-idf!2583

6 years agoMerge branch 'bugfix/btdm_bt_remove_device_disconnect' into 'master'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:29:57 +0000 (19:29 +0800)]
Merge branch 'bugfix/btdm_bt_remove_device_disconnect' into 'master'

component/bt: Fix bug of BT and BLE remove bond device

See merge request idf/esp-idf!2562

6 years agoMerge branch 'bugfix/btdm_bad_pointer_of_bt_gap' into 'master'
Jiang Jiang Jian [Fri, 29 Jun 2018 11:25:13 +0000 (19:25 +0800)]
Merge branch 'bugfix/btdm_bad_pointer_of_bt_gap' into 'master'

component/bt: Fix some bad point calculations of BT GAP

See merge request idf/esp-idf!2655

6 years ago esp32: fix coex bug
Tian Hao [Sun, 24 Jun 2018 08:38:05 +0000 (16:38 +0800)]
esp32: fix coex bug

    1. fix BLE connection missing in coex mode
    2. modify other parameters to make coex priority more reasonable
    3. fix modem sleep procedure trap cause Wifi disable RF when BT is
    working. Such cause that BR/EDR is difficult to be connected, BLE
    connection stability decrease and so on.
    4. modify BR/EDR coexist duration to imrove BR/EDR connect success
    ratio.
    5. Due to the hardware coexist bug, BLE scan interval/window should
    be less than 0x100(about 160ms). Therefore, it will cause BLE cannot
    scan any advertising packet while WiFi have higher priority
    behaviour(such like RX beacon, scan, TX/RX VO packets and etc.).

6 years agoMerge branch 'bugfix/btdm_some_ble_hid_bugs' into 'master'
Jiang Jiang Jian [Fri, 29 Jun 2018 07:36:53 +0000 (15:36 +0800)]
Merge branch 'bugfix/btdm_some_ble_hid_bugs' into 'master'

component/bt: Fix some hid bugs

See merge request idf/esp-idf!2628

6 years agoMerge branch 'feature/optimize_wifi_memory' into 'master'
Jiang Jiang Jian [Fri, 29 Jun 2018 07:24:09 +0000 (15:24 +0800)]
Merge branch 'feature/optimize_wifi_memory' into 'master'

Optimize WiFi memory

See merge request idf/esp-idf!2650

6 years agoMerge branch 'bugfix/btdm_fix_stop_adv_error_in_dual_core' into 'master'
Jiang Jiang Jian [Fri, 29 Jun 2018 07:06:49 +0000 (15:06 +0800)]
Merge branch 'bugfix/btdm_fix_stop_adv_error_in_dual_core' into 'master'

component/bt: fix stop adv error in dual core

See merge request idf/esp-idf!2561

6 years agoMerge branch 'bugfix/btdm_modify_service_uuid_of_sec_gatts_demo' into 'master'
Jiang Jiang Jian [Fri, 29 Jun 2018 07:00:29 +0000 (15:00 +0800)]
Merge branch 'bugfix/btdm_modify_service_uuid_of_sec_gatts_demo' into 'master'

Component/bt: modify service uuid of ble_sec_gatts demo

See merge request idf/esp-idf!2612

6 years agoMerge branch 'bugfix/btdm_fix_no_adv_packet' into 'master'
Jiang Jiang Jian [Fri, 29 Jun 2018 06:59:01 +0000 (14:59 +0800)]
Merge branch 'bugfix/btdm_fix_no_adv_packet' into 'master'

component/bt: fix no adv packets

See merge request idf/esp-idf!2647

6 years agoComponent/bt: fix register multi service change when register multi gattc
zhiweijian [Tue, 26 Jun 2018 08:39:30 +0000 (16:39 +0800)]
Component/bt: fix register multi service change when register multi gattc

6 years agoMerge branch 'bugfix/btdm_respond_error_when_receives_unsupported_request' into ...
Jiang Jiang Jian [Fri, 29 Jun 2018 06:47:12 +0000 (14:47 +0800)]
Merge branch 'bugfix/btdm_respond_error_when_receives_unsupported_request' into 'master'

component/bt: Fix bug: Respond with the Error Response when receiving a request…

See merge request idf/esp-idf!2591

6 years agoMerge branch 'bugfix/btdm_rm_assert_in_isr' into 'master'
Jiang Jiang Jian [Fri, 29 Jun 2018 06:24:28 +0000 (14:24 +0800)]
Merge branch 'bugfix/btdm_rm_assert_in_isr' into 'master'

bugfix/btdm_rm_assert_in_isr

See merge request idf/esp-idf!2633

6 years agoMerge branch 'bugfix/prevent_btsleep_dfs_coex' into 'master'
Jiang Jiang Jian [Fri, 29 Jun 2018 06:23:40 +0000 (14:23 +0800)]
Merge branch 'bugfix/prevent_btsleep_dfs_coex' into 'master'

prevent Dynamic Frequency Scaling to be used together with bluetooth modem sleep

See merge request idf/esp-idf!2645

6 years agoMerge branch 'bugfix/btdm_singular_sleep_time_correction' into 'master'
Jiang Jiang Jian [Fri, 29 Jun 2018 06:22:58 +0000 (14:22 +0800)]
Merge branch 'bugfix/btdm_singular_sleep_time_correction' into 'master'

Bugfix/btdm singular sleep time correction

See merge request idf/esp-idf!2635

6 years agocomponent/bt: Fix some bad point calculations of BT GAP
baohongde [Fri, 29 Jun 2018 03:40:46 +0000 (11:40 +0800)]
component/bt: Fix some bad point calculations of BT GAP

In response to: https://github.com/espressif/esp-idf/issues/2103

6 years agoOptimize WiFi memory
Liu Zhi Fu [Thu, 28 Jun 2018 13:24:44 +0000 (21:24 +0800)]
Optimize WiFi memory

Optimize wifi memory (b987c01d)
1. Decrease WiFi task stack size by 512 Bytes
2. Modify WiFi NVS configuration array from static to dynamic
3. Move interrupt/RX relating variables from .bss segment to .data segment
4. Modify WiFi management short buffer from static to dynamic
5. Remove some useless WiFi buffer space

6 years agoprevent Dynamic Frequency Scaling when using bluetooth modem sleep
wangmengyang [Thu, 28 Jun 2018 10:08:18 +0000 (18:08 +0800)]
prevent Dynamic Frequency Scaling when using bluetooth modem sleep

This constraint will be elimiated after the issue is fixed

6 years agoUpdate eclipse-setup.rst
Jin Fang Cheng Cheng [Thu, 28 Jun 2018 09:58:19 +0000 (17:58 +0800)]
Update eclipse-setup.rst

6 years agoUpdate eclipse-setup-windows.rst
Jin Fang Cheng Cheng [Thu, 28 Jun 2018 09:57:55 +0000 (17:57 +0800)]
Update eclipse-setup-windows.rst

6 years agocomponent/bt: fix no adv packets
zwj [Thu, 28 Jun 2018 09:49:41 +0000 (17:49 +0800)]
component/bt: fix no adv packets

6 years agoUpdate eclipse-setup.rst
Jin Fang Cheng Cheng [Thu, 28 Jun 2018 08:28:54 +0000 (16:28 +0800)]
Update eclipse-setup.rst

6 years agoUpdate eclipse-setup.rst
Jin Fang Cheng Cheng [Thu, 28 Jun 2018 07:16:20 +0000 (15:16 +0800)]
Update eclipse-setup.rst

6 years agoUpdate eclipse-setup-windows.rst
Jin Fang Cheng Cheng [Thu, 28 Jun 2018 07:10:36 +0000 (15:10 +0800)]
Update eclipse-setup-windows.rst

6 years agoUpdate eclipse-setup-windows.rst
Jin Fang Cheng Cheng [Thu, 28 Jun 2018 07:00:40 +0000 (15:00 +0800)]
Update eclipse-setup-windows.rst

6 years agoFix the tables.
Jin Fang Cheng Cheng [Thu, 28 Jun 2018 06:09:14 +0000 (14:09 +0800)]
Fix the tables.

6 years agoFix the typo and tables.
Jin Fang Cheng Cheng [Thu, 28 Jun 2018 06:06:26 +0000 (14:06 +0800)]
Fix the typo and tables.

6 years agoMerge branch 'ci/remove_test_report' into 'master'
He Yin Ling [Thu, 28 Jun 2018 01:28:49 +0000 (09:28 +0800)]
Merge branch 'ci/remove_test_report' into 'master'

CI: optimize CI stages

See merge request idf/esp-idf!2602

6 years agocomponent/bt: fix the cornered case caused by singular finetime correction value...
wangmengyang [Wed, 27 Jun 2018 11:00:20 +0000 (19:00 +0800)]
component/bt: fix the cornered case caused by singular finetime correction value upon waking up from sleep

1. revert previous changes that adds 1-slot margin for first master Tx event, since this bugfix can handle that case

6 years agocomponent/bt: remove the call of assert in time conversion functions which can be...
wangmengyang [Wed, 27 Jun 2018 09:23:23 +0000 (17:23 +0800)]
component/bt: remove the call of assert in time conversion functions which can be caused in ISR

6 years agoMerge branch 'bugfix/pcnt_event_edge_case' into 'master'
He Yin Ling [Wed, 27 Jun 2018 02:00:53 +0000 (10:00 +0800)]
Merge branch 'bugfix/pcnt_event_edge_case' into 'master'

test: fix pcnt unit test fail

See merge request idf/esp-idf!2614

6 years agoMerge branch 'bugfix/ci_stop_all_thread_when_one_failed' into 'master'
He Yin Ling [Wed, 27 Jun 2018 01:59:46 +0000 (09:59 +0800)]
Merge branch 'bugfix/ci_stop_all_thread_when_one_failed' into 'master'

ci: stop main thread when one failed

See merge request idf/esp-idf!2615

6 years agoMerge branch 'bugfix/eclipse_regex' into 'master'
Angus Gratton [Wed, 27 Jun 2018 01:38:47 +0000 (09:38 +0800)]
Merge branch 'bugfix/eclipse_regex' into 'master'

Docs: Fix bugs in Eclipse setup

See merge request idf/esp-idf!2617

6 years agoMerge branch 'bugfix/conn_stress_test_test_during_sleep' into 'master'
Angus Gratton [Wed, 27 Jun 2018 00:12:49 +0000 (08:12 +0800)]
Merge branch 'bugfix/conn_stress_test_test_during_sleep' into 'master'

Bugfix/btdm_le_conn_initiating_assert

See merge request idf/esp-idf!2595

6 years agoMerge branch 'docs/update_resources.rst' into 'master'
Angus Gratton [Wed, 27 Jun 2018 00:09:57 +0000 (08:09 +0800)]
Merge branch 'docs/update_resources.rst' into 'master'

docs/update_resources.rst

See merge request idf/esp-idf!2532

6 years agoMerge branch 'docs/esp32-devkitv-v4_updates' into 'master'
Angus Gratton [Tue, 26 Jun 2018 23:29:52 +0000 (07:29 +0800)]
Merge branch 'docs/esp32-devkitv-v4_updates' into 'master'

Renamed ESP-WROOM-32 to ESP32-WROOM-32/D/U including links to data sheets,…

See merge request idf/esp-idf!2567

6 years agoFixed link to documentation and updated some wording
Jin Fang Cheng Cheng [Mon, 11 Jun 2018 18:22:04 +0000 (20:22 +0200)]
Fixed link to documentation and updated some wording

6 years agoRenamed ESP-WROOM-32 to ESP32-WROOM-32/D/U including links to data sheets, reflected...
krzychb [Sat, 16 Jun 2018 19:46:27 +0000 (21:46 +0200)]
Renamed ESP-WROOM-32 to ESP32-WROOM-32/D/U including links to data sheets, reflected upcoming ESP32-SOLO-1 as one of options for ESP32-DevKitC, provided updated schematics and notes on C15.

6 years agoMerge branch 'docs/sdio_slave_protocol_comb' into 'master'
Ivan Grokhotkov [Tue, 26 Jun 2018 11:36:08 +0000 (19:36 +0800)]
Merge branch 'docs/sdio_slave_protocol_comb' into 'master'

doc(sdio_slave): add some information of slave protocol

See merge request idf/esp-idf!2598

6 years agocomponent/bt: Fix some hid bugs
baohongde [Tue, 26 Jun 2018 09:48:07 +0000 (17:48 +0800)]
component/bt: Fix some hid bugs

1. Property of HID Information is Read
2. Property of HID Control Point is WriteWithoutResponse

6 years agoMerge branch 'mesh/bugfix' into 'master'
Jiang Jiang Jian [Tue, 26 Jun 2018 09:06:19 +0000 (17:06 +0800)]
Merge branch 'mesh/bugfix' into 'master'

mesh: update libs

See merge request idf/esp-idf!2580

6 years agodoc: Clarify some Eclipse setup steps
Angus Gratton [Tue, 26 Jun 2018 02:45:54 +0000 (12:45 +1000)]
doc: Clarify some Eclipse setup steps

6 years agobugfix: fix pcnt case "PCNT interrupt method test(control IO is high)"
houchenyao [Tue, 26 Jun 2018 01:07:51 +0000 (09:07 +0800)]
bugfix: fix pcnt case "PCNT interrupt method test(control IO is high)"

6 years agoUpdate eclipse-setup-windows.rst
Jin Fang Cheng Cheng [Tue, 26 Jun 2018 05:19:14 +0000 (13:19 +0800)]
Update eclipse-setup-windows.rst

6 years agoUpdate eclipse-setup.rst
Jin Fang Cheng Cheng [Tue, 26 Jun 2018 05:15:13 +0000 (13:15 +0800)]
Update eclipse-setup.rst

6 years agoUpdate eclipse-setup-windows.rst
Jin Fang Cheng Cheng [Tue, 26 Jun 2018 05:13:08 +0000 (13:13 +0800)]
Update eclipse-setup-windows.rst

6 years agoUpdate eclipse-setup-windows.rst according to https://gitlab.espressif.cn:6688/idf...
Jin Fang Cheng Cheng [Tue, 26 Jun 2018 04:55:34 +0000 (12:55 +0800)]
Update eclipse-setup-windows.rst according to https://gitlab.espressif.cn:6688/idf/esp-idf/merge_requests/2617.

6 years agoUpdate eclipse-setup.rst according to https://gitlab.espressif.cn:6688/idf/esp-idf...
Jin Fang Cheng Cheng [Tue, 26 Jun 2018 04:54:15 +0000 (12:54 +0800)]
Update eclipse-setup.rst according to https://gitlab.espressif.cn:6688/idf/esp-idf/merge_requests/2617

6 years agodoc: Fix Build Output Parser command pattern to include C++ correctly
Angus Gratton [Tue, 26 Jun 2018 02:44:01 +0000 (12:44 +1000)]
doc: Fix Build Output Parser command pattern to include C++ correctly

Previously only C files had build output correctly parsed.

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

May also relate to:
https://github.com/espressif/esp-idf/issues/529
https://github.com/espressif/esp-idf/issues/17

6 years agocomponent/bt: add 1 slot margin to program the 1st master Tx event during BLE connection
wangmengyang [Fri, 22 Jun 2018 06:17:02 +0000 (14:17 +0800)]
component/bt: add 1 slot margin to program the 1st master Tx event during BLE connection

this will resolve the issue of failure of BLE connection stress test with sleep enabled

6 years agostop main thread when one failed
houchenyao [Tue, 26 Jun 2018 01:45:09 +0000 (09:45 +0800)]
stop main thread when one failed

6 years agomesh: update libs
qiyueixa [Tue, 19 Jun 2018 10:23:56 +0000 (18:23 +0800)]
mesh: update libs

1. add APIs to set/get announce interval values.
2. add API to enable/disable the min rate to 6Mbps for data packages.
3. add APIs to set/get RSSI threshold values.
4. fix ap_loss.

6 years agoMerge branch 'feature/btdm_controller_to_host_flow_control' into 'master'
Jiang Jiang Jian [Mon, 25 Jun 2018 12:33:21 +0000 (20:33 +0800)]
Merge branch 'feature/btdm_controller_to_host_flow_control' into 'master'

component/bt: Add Controller to Host Flow Control

See merge request idf/esp-idf!2493

6 years agoMerge branch 'bugfix/btdm_slave_can_not_receive_long_packets_in_smp' into 'master'
Jiang Jiang Jian [Mon, 25 Jun 2018 12:28:27 +0000 (20:28 +0800)]
Merge branch 'bugfix/btdm_slave_can_not_receive_long_packets_in_smp' into 'master'

Component/bt: fix slave can not receive long packets in smp

See merge request idf/esp-idf!2586

6 years agoComponent/bt: modify service uuid of ble_sec_gatts demo
zhiweijian [Mon, 25 Jun 2018 08:04:20 +0000 (16:04 +0800)]
Component/bt: modify service uuid of ble_sec_gatts demo

6 years agoCI: add stage `host_test`:
He Yin Ling [Mon, 25 Jun 2018 02:33:59 +0000 (10:33 +0800)]
CI: add stage `host_test`:

1. Add `host_test` stage for test jobs running on host.
2. Rename stage `test` to `integration_test`.

6 years agoCI: minor optimize of CI config file:
He Yin Ling [Sun, 24 Jun 2018 06:11:57 +0000 (14:11 +0800)]
CI: minor optimize of CI config file:

1. set shorter expire time for artifacts
2. set dependency for example test jobs, to limit the artifacts it downloads

6 years agodoc(sdio_slave): add some information of slave protocol
Michael (XIAO Xufeng) [Fri, 22 Jun 2018 08:21:03 +0000 (16:21 +0800)]
doc(sdio_slave): add some information of slave protocol

6 years agoMerge branch 'bugfix/esp_err_name_idf_path' into 'master'
Ivan Grokhotkov [Mon, 25 Jun 2018 05:41:17 +0000 (13:41 +0800)]
Merge branch 'bugfix/esp_err_name_idf_path' into 'master'

docs: fix error code reference build issue

See merge request idf/esp-idf!2587

6 years agoMerge branch 'feature/move_to_soc_rtc_gpio_desc' into 'master'
Ivan Grokhotkov [Mon, 25 Jun 2018 04:33:27 +0000 (12:33 +0800)]
Merge branch 'feature/move_to_soc_rtc_gpio_desc' into 'master'

soc: Fix check_long_hold_gpio and move def to soc

See merge request idf/esp-idf!2550

6 years agoMerge branch 'bugfix/assert' into 'master'
Ivan Grokhotkov [Mon, 25 Jun 2018 03:02:42 +0000 (11:02 +0800)]
Merge branch 'bugfix/assert' into 'master'

assert: Fix. Move useful functions from wrapped assert functions

See merge request idf/esp-idf!2599

6 years agoMerge branch 'bugfix/app_partition_fallback' into 'master'
Angus Gratton [Mon, 25 Jun 2018 00:43:42 +0000 (08:43 +0800)]
Merge branch 'bugfix/app_partition_fallback' into 'master'

partition_table: Add parttool.py fallback option, some small cleanups

See merge request idf/esp-idf!2593

6 years agoCI: remove test report stage:
He Yin Ling [Sun, 24 Jun 2018 05:58:27 +0000 (13:58 +0800)]
CI: remove test report stage:

Test report is not used as expected:

1. we rarely download and use test report
2. current test report method doesn't handle large amount data well,
   need to be replaced by other methods

Test report also make test jobs allow to fail. It breaks the
original flow of Gitlab CI and make user confused.

6 years agoassert: Fix. Move useful functions from wrapped assert functions
Konstantin Kondrashov [Fri, 22 Jun 2018 10:17:55 +0000 (15:17 +0500)]
assert: Fix. Move useful functions from wrapped assert functions

Moved useful functions from wrapped assert functions, because option `CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED=y` will remove this functions.

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

6 years agoComponent/bt: fix slave can not receive long packets in smp
zhiweijian [Thu, 21 Jun 2018 07:16:01 +0000 (15:16 +0800)]
Component/bt: fix slave can not receive long packets in smp

6 years agoMerge branch 'bugfix/read_rssi' into 'master'
Jiang Jiang Jian [Fri, 22 Jun 2018 09:19:23 +0000 (17:19 +0800)]
Merge branch 'bugfix/read_rssi' into 'master'

bt : fix read rssi conflict when in dual mode

See merge request idf/esp-idf!2592

6 years agopartition_table: Warn if the partition table name doesn't match type & subtype
Angus Gratton [Fri, 22 Jun 2018 02:06:40 +0000 (12:06 +1000)]
partition_table: Warn if the partition table name doesn't match type & subtype

6 years agoMerge branch 'bugfix/btdm_modify_throught_demo_default_config' into 'master'
Jiang Jiang Jian [Fri, 22 Jun 2018 07:24:02 +0000 (15:24 +0800)]
Merge branch 'bugfix/btdm_modify_throught_demo_default_config' into 'master'

Component/bt: modify throughput demo default config

See merge request idf/esp-idf!2590

6 years agosoc: Fix check_long_hold_gpio and move def to soc
Konstantin Kondrashov [Wed, 13 Jun 2018 04:52:44 +0000 (09:52 +0500)]
soc: Fix check_long_hold_gpio and move def to soc

Fix factory_reset_pin init as input
Move definition a structure rtc_gpio_desc to soc

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

6 years agocomponent/bt: Fix bug of BT and BLE remove bond device
baohongde [Fri, 22 Jun 2018 03:54:40 +0000 (11:54 +0800)]
component/bt: Fix bug of BT and BLE remove bond device

1. esp_ble_remove_bond_device will only remove BLE bond key and disconnect BLE device.
2. esp_bt_gap_remove_bond_device  will only remove BT bond key and disconnect BT device.

6 years agobt : fix read rssi conflict when in dual mode
Tian Hao [Thu, 21 Jun 2018 13:43:46 +0000 (21:43 +0800)]
bt : fix read rssi conflict when in dual mode

6 years agogen_esp32part: Fix input/output handling, regression when Python 3 was supported
Angus Gratton [Fri, 22 Jun 2018 01:27:09 +0000 (11:27 +1000)]
gen_esp32part: Fix input/output handling, regression when Python 3 was supported

Also remove misleading help about using stdin (was broken) and --display argument (doesn't exist).

6 years agopartition_table: Use names not numeric values in default OTA example partition
Angus Gratton [Fri, 22 Jun 2018 01:15:41 +0000 (11:15 +1000)]
partition_table: Use names not numeric values in default OTA example partition

6 years agopartition_table: Support same fallback logic as bootloader for default boot partition
Angus Gratton [Fri, 22 Jun 2018 01:14:22 +0000 (11:14 +1000)]
partition_table: Support same fallback logic as bootloader for default boot partition

Generates correct "make flash" command even when partition table has no factory partition.

Also adds unit tests for parttool.py

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

6 years agoMerge branch 'test/add_mesh_test_cases' into 'master'
He Yin Ling [Thu, 21 Jun 2018 14:55:56 +0000 (22:55 +0800)]
Merge branch 'test/add_mesh_test_cases' into 'master'

test: add mesh basic function test cases

See merge request idf/esp-idf!2330