]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agolwip: fix nonblocking tcp close issue
Liu Zhi Fu [Sat, 14 Jul 2018 06:58:00 +0000 (14:58 +0800)]
lwip: fix nonblocking tcp close issue

Fix assert issue causes by closing nonblocking tcp socket.

6 years agoMerge branch 'bugfix/spi_flash_mmap_malloc_internal_v3.1' into 'release/v3.1'
Angus Gratton [Fri, 10 Aug 2018 05:43:55 +0000 (13:43 +0800)]
Merge branch 'bugfix/spi_flash_mmap_malloc_internal_v3.1' into 'release/v3.1'

spi_flash: allocate mmap pages array in internal memory (backport v3.1)

See merge request idf/esp-idf!2961

6 years agoMerge branch 'mesh/bugfix_parent_switch_backport_v3.1' into 'release/v3.1'
Angus Gratton [Fri, 10 Aug 2018 05:42:32 +0000 (13:42 +0800)]
Merge branch 'mesh/bugfix_parent_switch_backport_v3.1' into 'release/v3.1'

mesh: modify parent switch mechanism (backport3.1)

See merge request idf/esp-idf!2977

6 years agoMerge branch 'bugfix/add_mutex_for_some_touchpad_apis_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 10 Aug 2018 04:18:33 +0000 (12:18 +0800)]
Merge branch 'bugfix/add_mutex_for_some_touchpad_apis_v3.1' into 'release/v3.1'

fix(touch): add_mutex_for_some_touchpad_apis (backport v3.1)

See merge request idf/esp-idf!2963

6 years agomesh: modify parent switch mechanism
qiyuexia [Wed, 8 Aug 2018 05:08:41 +0000 (13:08 +0800)]
mesh: modify parent switch mechanism

1. modify parent switch mechanism.
2. fix non-root doesn't clear the layer value in nvs.
3. fix retransmit the remove announcement packets.
4. add API esp_mesh_flush_upstream_packets().
5. automatically adjust passsive scan time based on the change of beacon interval.

6 years agoMerge branch 'feature/nvs_version_check_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 10 Aug 2018 03:36:39 +0000 (11:36 +0800)]
Merge branch 'feature/nvs_version_check_v3.1' into 'release/v3.1'

nvs_flash: Version compatibility check for nvs storage (backport 3.1)

See merge request idf/esp-idf!2958

6 years agoMerge branch 'bugfix/btdm_hfp_invalid_sco_param_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 10 Aug 2018 03:10:55 +0000 (11:10 +0800)]
Merge branch 'bugfix/btdm_hfp_invalid_sco_param_v3.1' into 'release/v3.1'

component/bt: modify the invalid retransmission setting for SCO link in HFP(backport v3.1)

See merge request idf/esp-idf!2956

6 years agoMerge branch 'bugfix/backport_several_bugfix_to_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 10 Aug 2018 03:09:35 +0000 (11:09 +0800)]
Merge branch 'bugfix/backport_several_bugfix_to_v3.1' into 'release/v3.1'

esp32: backport several WiFi bug fixes to v3.1

See merge request idf/esp-idf!2955

6 years agoesp32: backport several WiFi bug fixes to v3.1
Jiang Jiang Jian [Tue, 7 Aug 2018 10:31:31 +0000 (18:31 +0800)]
esp32: backport several WiFi bug fixes to v3.1

Backport following bug fixes to v3.1:

1. Bug fix of may connect to wrong AP in all channel scan

2. Station state machine change and fix ap loss

3. Add compatible to ccmp encryption

4. Update libphy.a to v3960:
   4.1 Decrease  phy_init time from 900us to 347us in sleep wakeup
   4.2 Fix RX STBC initialization
   4.3 Modify set_chan function to fix interrupt watchdog issue

5. Fix several wpa2 enterprise issues
   5.1 Fix heap corrupted bug
   5.2 Fix memory leak bug
   5.3 Make wpa2 enterprise thread-safe
   Closes https://github.com/espressif/esp-idf/issues/1569

6. Bugfix of coex wifi pm

6 years agoMerge branch 'bugfix/remove_check_for_reason_assoc_expire_backport_v3.1' into 'releas...
He Yin Ling [Thu, 9 Aug 2018 13:23:21 +0000 (21:23 +0800)]
Merge branch 'bugfix/remove_check_for_reason_assoc_expire_backport_v3.1' into 'release/v3.1'

test: remove check for REASON_ASSOC_EXPIRE (backport v3.1)

See merge request idf/esp-idf!2953

6 years agoMerge branch 'feature/http_firmware_upgrade_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 9 Aug 2018 00:20:33 +0000 (08:20 +0800)]
Merge branch 'feature/http_firmware_upgrade_v3.1' into 'release/v3.1'

esp_https_ota: Add esp_https_ota component (Backport v3.1)

See merge request idf/esp-idf!2954

6 years agofix(touch): add_mutex_for_some_touchpad_apis
fuzhibo [Thu, 5 Jul 2018 09:29:48 +0000 (17:29 +0800)]
fix(touch): add_mutex_for_some_touchpad_apis

6 years agoesp_http_client: Add support for getting transport type
Jitin George [Wed, 25 Jul 2018 05:58:17 +0000 (11:28 +0530)]
esp_http_client: Add support for getting transport type

6 years agoesp_https_ota: Add support for HTTPS based ota feature
Jitin George [Thu, 12 Jul 2018 12:15:44 +0000 (17:45 +0530)]
esp_https_ota: Add support for HTTPS based ota feature

6 years agospi_flash: allocate mmap pages array in internal memory
Ivan Grokhotkov [Mon, 30 Jul 2018 19:49:09 +0000 (22:49 +0300)]
spi_flash: allocate mmap pages array in internal memory

* spi_flash_mmap_pages needs pages array to be in internal memory.
  Document and check this.

* Fix a bug that spi_flash_mmap did not allocate pages array in
  internal memory.

* Minor style fixes: const-ify pages argument of spi_flash_mmap, add
  spaces around operators, mark output arguments with [out].

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

6 years agoMerge branch 'feature/support_for_XM25QU64A_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 8 Aug 2018 08:30:09 +0000 (16:30 +0800)]
Merge branch 'feature/support_for_XM25QU64A_v3.1' into 'release/v3.1'

feature(flash): set QIO mode for XM25QU64A(1V8_8MB_flash) (backport v3.1)

See merge request idf/esp-idf!2950

6 years agoMerge branch 'bugfix/http_chunked_read_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 8 Aug 2018 08:24:04 +0000 (16:24 +0800)]
Merge branch 'bugfix/http_chunked_read_v3.1' into 'release/v3.1'

esp_http_client: fixed http chunked encoding packet loss & add check data before read for ssl transport (backport v3.1)

See merge request idf/esp-idf!2952

6 years agoesp_http_client: fixed http chunked encoding packet loss & add check data before...
Tuan [Wed, 8 Aug 2018 08:24:04 +0000 (16:24 +0800)]
esp_http_client: fixed http chunked encoding packet loss & add check data before read for ssl transport (backport v3.1)

6 years agonvs_flash: Version compatibility check for nvs storage
Sagar Bijwe [Wed, 25 Jul 2018 13:25:05 +0000 (18:55 +0530)]
nvs_flash: Version compatibility check for nvs storage

This change adds a check for compatibility between the nvs version
found on nvs flash and the one assumed by running code during nvs
initialization. Any mismatch is reported to the user using new error
code ESP_ERR_NVS_NEW_VERSION_FOUND.

6 years agoMerge branch 'bugfix/add_queueset_critical_sections_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Wed, 8 Aug 2018 06:46:25 +0000 (14:46 +0800)]
Merge branch 'bugfix/add_queueset_critical_sections_v3.1' into 'release/v3.1'

freertos: Add critical sections to queue sets (backport v3.1)

See merge request idf/esp-idf!2789

6 years agocomponent/bt: modify the invalid retransmission setting for SCO link in HFP
wangmengyang [Wed, 1 Aug 2018 11:39:18 +0000 (19:39 +0800)]
component/bt: modify the invalid retransmission setting for SCO link in HFP

6 years agoMerge branch 'bugfix/btdm_spp_crash_on_reset_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 8 Aug 2018 06:36:21 +0000 (14:36 +0800)]
Merge branch 'bugfix/btdm_spp_crash_on_reset_v3.1' into 'release/v3.1'

component/bt: Fix bug of SPP crash on reset (backport v3.1)

See merge request idf/esp-idf!2951

6 years agotest: update Wi-Fi test cases:
He Yin Ling [Mon, 30 Jul 2018 07:35:53 +0000 (15:35 +0800)]
test: update Wi-Fi test cases:

1. The test step for error code REASON_ASSOC_EXPIRE is not reliable. SoftAP
could also send error code WIFI_REASON_NOT_AUTHED
2. STA will be disconnected now if softAP restart DHCP server

6 years agocomponent/bt: Fix bug of SPP crash on reset
baohongde [Wed, 1 Aug 2018 07:41:50 +0000 (15:41 +0800)]
component/bt: Fix bug of SPP crash on reset

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

6 years agofeature(flash): support for QIO mode of XM25QU64A
chenjianqiang [Wed, 11 Jul 2018 13:36:35 +0000 (21:36 +0800)]
feature(flash): support for QIO mode of XM25QU64A

6 years agoMerge branch 'bugfix/ci_github_deploy_v31' into 'release/v3.1'
Angus Gratton [Tue, 7 Aug 2018 23:26:01 +0000 (07:26 +0800)]
Merge branch 'bugfix/ci_github_deploy_v31' into 'release/v3.1'

ci: Simplify github deployment (backport v3.1)

See merge request idf/esp-idf!2874

6 years agoMerge branch 'bugfix/fix_crash_for_http2_request_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 7 Aug 2018 10:36:41 +0000 (18:36 +0800)]
Merge branch 'bugfix/fix_crash_for_http2_request_v3.1' into 'release/v3.1'

fix the crash when http2_request example send/recv fail

See merge request idf/esp-idf!2941

6 years agofix the crash when http2_request example send/recv fail
zhangyanjiao [Mon, 6 Aug 2018 12:49:40 +0000 (20:49 +0800)]
fix the crash when http2_request example send/recv fail

6 years agoMerge branch 'fix/sdio_speed_4bit_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Mon, 6 Aug 2018 07:17:26 +0000 (15:17 +0800)]
Merge branch 'fix/sdio_speed_4bit_v3.1' into 'release/v3.1'

backport v3.1: fix(sdio): update sdio to better run in 4bit HS mode

See merge request idf/esp-idf!2759

6 years agoMerge branch 'bugfix/coex_pause_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 6 Aug 2018 07:05:19 +0000 (15:05 +0800)]
Merge branch 'bugfix/coex_pause_v3.1' into 'release/v3.1'

fix coex pause cause bluetooth performance decrease (backport v3.1)

See merge request idf/esp-idf!2864

6 years agoci: Simplify github deployment
Angus Gratton [Fri, 27 Jul 2018 02:01:58 +0000 (12:01 +1000)]
ci: Simplify github deployment

CI_COMMIT_REF_NAME lets us use a single line to git push

6 years agoMerge branch 'feature/mbedtls_2_12_0_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 6 Aug 2018 06:23:10 +0000 (14:23 +0800)]
Merge branch 'feature/mbedtls_2_12_0_v3.1' into 'release/v3.1'

mbedtls: update to 2.12.0 (backport v3.1)

See merge request idf/esp-idf!2932

6 years agoMerge branch 'bugfix/fix_uart_tx_bug_when_using_ringbuffer_for_v3.1' into 'release...
Angus Gratton [Mon, 6 Aug 2018 06:22:29 +0000 (14:22 +0800)]
Merge branch 'bugfix/fix_uart_tx_bug_when_using_ringbuffer_for_v3.1' into 'release/v3.1'

driver(uart): Fixed uart tx_empty interrupt wdt timeout bug for release/v3.1

See merge request idf/esp-idf!2934

6 years agofix coex pause cause bluetooth performance decrease
Tian Hao [Tue, 10 Jul 2018 08:22:29 +0000 (16:22 +0800)]
fix coex pause cause bluetooth performance decrease

1. it may cause BLE connection unstable
2. it may cause Classic BT connection unstable
3. it may cause BLE/BREDR scan performance decrease

6 years agoMerge branch 'bugfix/btdm_fix_sc_mitm_bond_failed_in_smp_for_iphones_v3.1' into ...
Jiang Jiang Jian [Sun, 5 Aug 2018 15:48:29 +0000 (23:48 +0800)]
Merge branch 'bugfix/btdm_fix_sc_mitm_bond_failed_in_smp_for_iphones_v3.1' into 'release/v3.1'

Component/bt:  fix SC_MITM_BOND failed in smp for iphones for v3.1

See merge request idf/esp-idf!2923

6 years agombedtls: update to 2.12.0
Ivan Grokhotkov [Mon, 30 Jul 2018 06:11:16 +0000 (09:11 +0300)]
mbedtls: update to 2.12.0

6 years agoMerge branch 'bugfix/ampdu_duplicate_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sat, 4 Aug 2018 23:17:25 +0000 (07:17 +0800)]
Merge branch 'bugfix/ampdu_duplicate_v3.1' into 'release/v3.1'

Wifi: fix ampdu duplicate issue (backport v3.1)

See merge request idf/esp-idf!2797

6 years agoMerge branch 'bugfix/btdm_a2dp_disconnect_reason_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sat, 4 Aug 2018 15:48:42 +0000 (23:48 +0800)]
Merge branch 'bugfix/btdm_a2dp_disconnect_reason_for_v3.1' into 'release/v3.1'

bugfix/btdm_a2dp_disconnect_reason(backport v3.1)

See merge request idf/esp-idf!2927

6 years agowifi: fix ampdu duplicate issue
chenyudong [Tue, 17 Jul 2018 07:04:57 +0000 (15:04 +0800)]
wifi: fix ampdu duplicate issue

fix ampdu duplicate issue

6 years agoMerge branch 'bugfix/btdm_fix_ble_HIDD_demo_error_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sat, 4 Aug 2018 15:26:18 +0000 (23:26 +0800)]
Merge branch 'bugfix/btdm_fix_ble_HIDD_demo_error_for_v3.1' into 'release/v3.1'

Component/bt: fix ble HID demo error for v3.1

See merge request idf/esp-idf!2922

6 years agoMerge branch 'bugfix/btdm_lmp_trans_coll_state_uncleared_for_v3.1' into 'release...
Jiang Jiang Jian [Sat, 4 Aug 2018 15:25:33 +0000 (23:25 +0800)]
Merge branch 'bugfix/btdm_lmp_trans_coll_state_uncleared_for_v3.1' into 'release/v3.1'

bugfix/btdm_lmp_trans_coll_state_uncleared(backport v3.1)

See merge request idf/esp-idf!2929

6 years agoComponent/bt: fix SC_MITM_BOND failed in smp for iphones
zhiweijian [Fri, 27 Jul 2018 03:18:52 +0000 (11:18 +0800)]
Component/bt:  fix SC_MITM_BOND failed in smp for iphones

6 years agocomponent/bt: bugfix for uncleared LMP transaction collision state after rejecting...
wangmengyang [Mon, 9 Jul 2018 07:40:27 +0000 (15:40 +0800)]
component/bt: bugfix for uncleared LMP transaction collision state after rejecting sniff request from slave

6 years agocomponent/bt: retrieve disconnection reason in AVDT when ACL-U link is disconnected
wangmengyang [Sat, 9 Jun 2018 03:48:19 +0000 (11:48 +0800)]
component/bt: retrieve disconnection reason in AVDT when ACL-U link is disconnected

6 years agoMerge branch 'bugfix/btdm_controller_deinit_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 3 Aug 2018 07:09:58 +0000 (15:09 +0800)]
Merge branch 'bugfix/btdm_controller_deinit_v3.1' into 'release/v3.1'

bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception(backport v3.1)

See merge request idf/esp-idf!2865

6 years agoComponent/bt: fix ble HID demo error
zhiweijian [Tue, 31 Jul 2018 07:20:27 +0000 (15:20 +0800)]
Component/bt: fix ble HID demo error

6 years agofix(sdmmc): disable all pulldowns used by sdmmc host
michael [Wed, 4 Jul 2018 12:38:14 +0000 (20:38 +0800)]
fix(sdmmc): disable all pulldowns used by sdmmc host

6 years agoMerge branch 'bugfix/btdm_fix_queue_block_when_scanning_for_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 2 Aug 2018 23:28:07 +0000 (07:28 +0800)]
Merge branch 'bugfix/btdm_fix_queue_block_when_scanning_for_v3.1' into 'release/v3.1'

Component/bt: fix queue blocking when scanning for v3.1

See merge request idf/esp-idf!2893

6 years agodriver(uart): Fixed uart tx_empty interrupt wdt timeout bug for release/v3.1
kooho [Thu, 19 Jul 2018 13:41:35 +0000 (21:41 +0800)]
driver(uart): Fixed uart tx_empty interrupt wdt timeout bug for release/v3.1

6 years agobt : fix bug that bluetooth controller init/disable/enable/disable may cause exception
Tian Hao [Tue, 17 Jul 2018 07:46:56 +0000 (15:46 +0800)]
bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception

1. when one task do deinit/init/disable/enable, especially different cpu
core, it may cause controller crash in ISR handler
2. fix while BLE is scanning, bluetooth controller is disabled cause BLE
scan is not abort.

6 years agoMerge branch 'bugfix/spiffs_readdir_recursion_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Wed, 1 Aug 2018 10:05:47 +0000 (18:05 +0800)]
Merge branch 'bugfix/spiffs_readdir_recursion_v3.1' into 'release/v3.1'

SPIFFS: fix stack overflow in readdir_r due to recursion (backport v3.1)

See merge request idf/esp-idf!2876

6 years agoMerge branch 'bugfix/remove_bt_dependency_on_lwip_header_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Wed, 1 Aug 2018 09:40:37 +0000 (17:40 +0800)]
Merge branch 'bugfix/remove_bt_dependency_on_lwip_header_v3.1' into 'release/v3.1'

Bugfix/remove bt dependency on lwip header (backport v3.1)

See merge request idf/esp-idf!2907

6 years agofix(sdio_slave): improve sdio slave for high speed and 4 bit mode
michael [Wed, 4 Jul 2018 12:37:30 +0000 (20:37 +0800)]
fix(sdio_slave): improve sdio slave for high speed and 4 bit mode

6 years agofix(sdio_slave): fix minor issues like return value of send function, output arg...
michael [Fri, 6 Jul 2018 08:02:32 +0000 (16:02 +0800)]
fix(sdio_slave): fix minor issues like return value of send function, output arg, etc.

6 years agoComponent/bt: fix hci_hal_env.rx_q and xHciH4Queue blocking when scanning
zhiweijian [Mon, 2 Jul 2018 02:59:51 +0000 (10:59 +0800)]
Component/bt: fix hci_hal_env.rx_q and xHciH4Queue blocking when scanning

6 years agofreertos: Add critical sections to queue sets.
Darian Leung [Wed, 11 Jul 2018 12:50:43 +0000 (20:50 +0800)]
freertos: Add critical sections to queue sets.

Queue sets are not SMP safe. This commit adds
critical sections to queue sets. Unit tests for
queue sets have also been added.

6 years agoMerge branch 'bugfix/btdm_fix_gattc_count_invalid_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 1 Aug 2018 06:51:08 +0000 (14:51 +0800)]
Merge branch 'bugfix/btdm_fix_gattc_count_invalid_for_v3.1' into 'release/v3.1'

Component/bt: fix gattc get count invalid and discover included service error for v3.1

See merge request idf/esp-idf!2894

6 years agoMerge branch 'doc/wifi_update_channel_state_information_document_v3.1' into 'release...
Jiang Jiang Jian [Wed, 1 Aug 2018 06:49:45 +0000 (14:49 +0800)]
Merge branch 'doc/wifi_update_channel_state_information_document_v3.1' into 'release/v3.1'

docs: update channel state information document (backport v3.1)

See merge request idf/esp-idf!2796

6 years agowpa_supplicant: removed unrequired header dir include from component.mk
Mahavir Jain [Mon, 30 Jul 2018 05:47:11 +0000 (11:17 +0530)]
wpa_supplicant: removed unrequired header dir include from component.mk

- Also fixed license header in rtc driver

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agobluedroid: remove dependency on `arpa/inet.h` include
Mahavir Jain [Mon, 30 Jul 2018 05:46:38 +0000 (11:16 +0530)]
bluedroid: remove dependency on `arpa/inet.h` include

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoMerge branch 'bugfix/ulp_example_fix_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 1 Aug 2018 06:29:29 +0000 (14:29 +0800)]
Merge branch 'bugfix/ulp_example_fix_v3.1' into 'release/v3.1'

ULP example fixes (backport v3.1)

See merge request idf/esp-idf!2818

6 years agoMerge branch 'bugfix/sdmmc_auto_stop_cmd_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 1 Aug 2018 06:29:03 +0000 (14:29 +0800)]
Merge branch 'bugfix/sdmmc_auto_stop_cmd_v3.1' into 'release/v3.1'

sdmmc: enable host auto_stop only for certain commands (backport for v3.1)

See merge request idf/esp-idf!2817

6 years agoMerge branch 'bugfix/btdm_sco_end_crash_on_supv_to_for_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 1 Aug 2018 06:28:08 +0000 (14:28 +0800)]
Merge branch 'bugfix/btdm_sco_end_crash_on_supv_to_for_v3.1' into 'release/v3.1'

bugfix/btdm_sco_end_crash_on_supv_to_for_v3.1(backport v3.1)

See merge request idf/esp-idf!2896

6 years agoMerge branch 'feat/sdio_pullup_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 1 Aug 2018 06:15:35 +0000 (14:15 +0800)]
Merge branch 'feat/sdio_pullup_v3.1' into 'release/v3.1'

backport v3.1: fix(sdio_slave): fix the intr_recv issue that trigger receiving too fast cause assertion failed.

See merge request idf/esp-idf!2795

6 years agofix(sdio_slave): fix the intr_recv issue that trigger receiving too fast cause assert...
michael [Mon, 4 Jun 2018 17:23:37 +0000 (01:23 +0800)]
fix(sdio_slave): fix the intr_recv issue that trigger receiving too fast cause assertion failed.

also fix a race risk issue when recycle receiving buffers.

6 years agoComponent/bt: fix gattc get count invalid
zhiweijian [Fri, 13 Jul 2018 12:58:19 +0000 (20:58 +0800)]
Component/bt: fix gattc get count invalid

6 years agocomponent/bt: bugfix on the crash during end of sco link resulted from link supervisi...
wangmengyang [Tue, 10 Jul 2018 04:13:11 +0000 (12:13 +0800)]
component/bt: bugfix on the crash during end of sco link resulted from link supervision timeout

6 years agoMerge branch 'bugfix/unit_test_thread_local_storage_v3_1' into 'release/v3.1'
Angus Gratton [Mon, 30 Jul 2018 23:24:38 +0000 (07:24 +0800)]
Merge branch 'bugfix/unit_test_thread_local_storage_v3_1' into 'release/v3.1'

ci/esp32: Fix race in "TLS Test" where s_task can go out of scope before cleanup finishes (v3.1 backport)

See merge request idf/esp-idf!2844

6 years agospiffs: add test case for readdir_r with large number of files
Ivan Grokhotkov [Mon, 23 Jul 2018 12:34:18 +0000 (15:34 +0300)]
spiffs: add test case for readdir_r with large number of files

Ref. https://esp32.com/viewtopic.php?f=13&t=6486

6 years agoFix stackoverflow due to recursion in vfs_spiffs_readdir_r
Konstantin Klitenik [Fri, 20 Jul 2018 14:27:53 +0000 (10:27 -0400)]
Fix stackoverflow due to recursion in vfs_spiffs_readdir_r

6 years agoMerge branch 'test/backport_ci_changes_to_v3.1' into 'release/v3.1'
He Yin Ling [Mon, 30 Jul 2018 01:58:31 +0000 (09:58 +0800)]
Merge branch 'test/backport_ci_changes_to_v3.1' into 'release/v3.1'

test: backport ci changes (backport v3.1)

See merge request idf/esp-idf!2869

6 years agoCI: support test one case multiple times by @bot
He Yin Ling [Tue, 3 Jul 2018 14:00:09 +0000 (22:00 +0800)]
CI: support test one case multiple times by @bot

6 years agoci: temp disable http client tests:
He Yin Ling [Fri, 27 Jul 2018 11:45:12 +0000 (19:45 +0800)]
ci: temp disable http client tests:

connection is not stable. need to replace with local test servers.

6 years agotiny-test-fw: support ignore test cases in CI assign test stage
He Yin Ling [Thu, 26 Jul 2018 07:18:52 +0000 (15:18 +0800)]
tiny-test-fw: support ignore test cases in CI assign test stage

6 years agotiny-test-fw: fix exception during print debug info:
He Yin Ling [Thu, 26 Jul 2018 13:17:06 +0000 (21:17 +0800)]
tiny-test-fw: fix exception during print debug info:

DUT log is unicode, might not be able to encode

6 years agoCI: erase nvs partition before test:
He Yin Ling [Thu, 26 Jul 2018 07:07:32 +0000 (15:07 +0800)]
CI: erase nvs partition before test:

Latest NVS partition bin can't be parsed by old IDF revision. Need to erase before test.

6 years agoesp32/test: set 60s timeout for one deep sleep case
He Yin Ling [Thu, 21 Jun 2018 11:58:24 +0000 (19:58 +0800)]
esp32/test: set 60s timeout for one deep sleep case

6 years agotiny-test-fw: save DUT log in different thread:
He Yin Ling [Thu, 21 Jun 2018 09:11:32 +0000 (17:11 +0800)]
tiny-test-fw: save DUT log in different thread:

We found some SD card on Raspberry Pi could have very bad performance.
It could take seconds to save small amount of data.
If the DUT receives data and save it as log, then it stops receiving data until log is saved.
This could lead to expect timeout. As an workaround to this issue,
``BaseDUT`` class will create a thread to save logs.
Then data will be passed to ``expect`` as soon as received.

6 years agotiny-test-fw: fix incorrect wait timeout in expect
He Yin Ling [Thu, 21 Jun 2018 08:38:46 +0000 (16:38 +0800)]
tiny-test-fw: fix incorrect wait timeout in expect

6 years agotiny-test-fw: filter examples with test level
He Yin Ling [Fri, 15 Jun 2018 09:45:24 +0000 (17:45 +0800)]
tiny-test-fw: filter examples with test level

6 years agotiny-test-fw: print expect failure when test fails
He Yin Ling [Fri, 15 Jun 2018 09:33:39 +0000 (17:33 +0800)]
tiny-test-fw: print expect failure when test fails

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 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 agotest: add mesh basic function test cases
He Yin Ling [Sat, 28 Apr 2018 09:17:05 +0000 (17:17 +0800)]
test: add mesh basic function test cases

6 years agoMerge branch 'feature/wifi_check_wifi_lib_git_commit_id_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 26 Jul 2018 06:24:52 +0000 (14:24 +0800)]
Merge branch 'feature/wifi_check_wifi_lib_git_commit_id_v3.1' into 'release/v3.1'

check WiFi library git commit id in unit test (backport v3.1)

See merge request idf/esp-idf!2785

6 years agoMerge branch 'bugfix/fix_pcnt_isr_service_register_bug_for_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 26 Jul 2018 00:35:18 +0000 (08:35 +0800)]
Merge branch 'bugfix/fix_pcnt_isr_service_register_bug_for_v3.1' into 'release/v3.1'

driver(pcnt):  Add some comments in pcnt.h for v3.1

See merge request idf/esp-idf!2845

6 years agoMerge branch 'bugfix/fix_touchpad_wakeup_status_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 26 Jul 2018 00:34:55 +0000 (08:34 +0800)]
Merge branch 'bugfix/fix_touchpad_wakeup_status_v3.1' into 'release/v3.1'

fix(sleep): swap touchpad num in wakeup status v3.1

See merge request idf/esp-idf!2848

6 years agoMerge branch 'bugfix/ledc_duty_and_freq_for_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 26 Jul 2018 00:08:12 +0000 (08:08 +0800)]
Merge branch 'bugfix/ledc_duty_and_freq_for_v3.1' into 'release/v3.1'

driver(ledc):  fix bugs reported from unit-test and github for v3.1

See merge request idf/esp-idf!2843

6 years agoMerge branch 'bugfix/secure_boot_padding_v3_1' into 'release/v3.1'
Angus Gratton [Wed, 25 Jul 2018 00:59:31 +0000 (08:59 +0800)]
Merge branch 'bugfix/secure_boot_padding_v3_1' into 'release/v3.1'

secure boot: Fix padding issue (backport v3.1)

See merge request idf/esp-idf!2833

6 years agoMerge branch 'bugfix/bootloader_dev_zero_app_count_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Tue, 24 Jul 2018 16:14:43 +0000 (00:14 +0800)]
Merge branch 'bugfix/bootloader_dev_zero_app_count_v3.1' into 'release/v3.1'

bootloader: Fix issue - bs->app_count is zero but ota_data have valid entry (backport  v3.1)

See merge request idf/esp-idf!2847

6 years agofix(sleep): swap touchpad num in wakeup status
fuzhibo [Thu, 5 Jul 2018 06:37:37 +0000 (14:37 +0800)]
fix(sleep): swap touchpad num in wakeup status

6 years agoMerge branch 'bugfix/fix_uart_timeout_bug_when_enable_reftick_v3.1' into 'release...
Wang Jia Lin [Tue, 24 Jul 2018 09:55:55 +0000 (17:55 +0800)]
Merge branch 'bugfix/fix_uart_timeout_bug_when_enable_reftick_v3.1' into 'release/v3.1'

driver(uart): Fix uart time_out bug when using ref_tick for releasev3.1

See merge request idf/esp-idf!2810

6 years agobootloader: Fix issue - bs->app_count is zero but ota_data have valid entry
Konstantin Kondrashov [Tue, 24 Jul 2018 05:09:32 +0000 (13:09 +0800)]
bootloader: Fix issue - bs->app_count is zero but ota_data have valid entry

If we have the partition table without any ota_apps but in ota_data have
valide entry, in this case we get an error(hang). This commit fix this
case. If bs->app_count is zero when selecting the factory app.

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

6 years agoMerge branch 'bugfix/deep_sleep_flush_uart_v3.1' into 'release/v3.1'
Angus Gratton [Tue, 24 Jul 2018 06:06:59 +0000 (14:06 +0800)]
Merge branch 'bugfix/deep_sleep_flush_uart_v3.1' into 'release/v3.1'

sleep: fix flushing UARTs when entering deep sleep (backport v3.1)

See merge request idf/esp-idf!2816

6 years agoesp32 tests: TLS test: use same size stack for static & non-static task
Angus Gratton [Tue, 17 Jul 2018 05:39:40 +0000 (15:39 +1000)]
esp32 tests: TLS test: use same size stack for static & non-static task

Use constant instead of magic number of task priorities.

6 years agoesp32: Fix race in "TLS Test" where s_task can go out of scope before cleanup finishes
Angus Gratton [Tue, 17 Jul 2018 05:12:44 +0000 (15:12 +1000)]
esp32: Fix race in "TLS Test" where s_task can go out of scope before cleanup finishes

Probable cause for CI failures of "LoadStoreError" after this task finishes running.

6 years agobugfix(ledc): fix bugs reported from unit-test and github.
Wangjialin [Mon, 9 Jul 2018 17:25:31 +0000 (01:25 +0800)]
bugfix(ledc): fix bugs reported from unit-test and github.

1. In ledc_set_duty_and_update, return if duty updated. Close https://github.com/espressif/esp-idf/issues/2082
2. fix ledc_set_freq function for low speed mode.

6 years agoAdd some comments in pcnt.h.
kooho [Fri, 25 May 2018 07:37:20 +0000 (15:37 +0800)]
Add some comments in pcnt.h.

6 years agodriver(uart): Fix uart time_out bug when using ref_tick for releasev3.1
hou wen xiang [Fri, 13 Jul 2018 13:55:54 +0000 (21:55 +0800)]
driver(uart): Fix uart time_out bug when using ref_tick for releasev3.1