Compare commits

..

8 Commits

Author SHA1 Message Date
Angus Gratton
055943e293 Merge branch 'bugfix/docs_rtd_failure_on_missing_submodule_v3_2_bis' into 'release/v3.2'
docs: Add mqtt submodule to RTD build configuration to correct file and delete...

See merge request idf/esp-idf!5310
2019-06-24 09:12:59 +08:00
Angus Gratton
b34a0874b1 Merge branch 'bugfix/spi_concurrency_3.2' into 'release/v3.2'
spi: fix a possible concurrency issue (port to v3.2)

See merge request idf/esp-idf!5278
2019-06-21 13:22:22 +08:00
Krzysztof
0d7f6a54e5 docs: Add mqtt submodule to RTD build configuration to correct file and delete similar file with typo in filename 2019-06-21 11:04:19 +08:00
He Yin Ling
100379c4aa Merge branch 'test/fix_some_error_wifi_cases_v3.2' into 'release/v3.2'
test: fix some wifi case issues (backport v3.2)

See merge request idf/esp-idf!5254
2019-06-20 22:10:44 +08:00
Angus Gratton
5d7d46a76d Merge branch 'bugfix/docs_rtd_failure_on_missing_submodule_v3_2' into 'release/v3.2'
docs: Add mqtt submodule to RTD build configuration. Now any submodule...

See merge request idf/esp-idf!5286
2019-06-20 08:07:51 +08:00
Krzysztof
eaaad51f81 docs: Add mqtt submodule to RTD build configuration. Now any submodule included in documentation build by Doxygen should be included in this file 2019-06-19 16:05:03 +08:00
Michael (XIAO Xufeng)
f21762eeef spi: fix a possible concurrency issue 2019-06-19 12:38:31 +08:00
He Yin Ling
86e8983499 test: fix some wifi case issues:
* remove heap size check cases as we have bg tasks allocate memory
* fix wifi connect to open ap issue
2019-06-14 14:55:09 +08:00
4 changed files with 21 additions and 60 deletions

View File

@@ -14,4 +14,9 @@ formats:
python:
version: 2.7
install:
- requirements: docs/requirements.txt
- requirements: docs/requirements.txt
# We need to list all the submodules included in documenation build by Doxygen
submodules:
include:
- components/mqtt/esp-mqtt

View File

@@ -429,12 +429,14 @@ static void SPI_SLAVE_ISR_ATTR spi_intr(void *arg)
}
}
//Disable interrupt before checking to avoid concurrency issue.
esp_intr_disable(host->intr);
//Grab next transaction
r = xQueueReceiveFromISR(host->trans_queue, &trans, &do_yield);
if (!r) {
//No packet waiting. Disable interrupt.
esp_intr_disable(host->intr);
} else {
if (r) {
//enable the interrupt again if there is packet to send
esp_intr_enable(host->intr);
//We have a transaction. Send it.
host->hw->slave.trans_done = 0; //clear int bit
host->cur_trans = trans;

View File

@@ -12,19 +12,6 @@ WIFI_SCAN_0303
WIFI_SCAN_0303_01
WIFI_CONN_0302
WIFI_CONN_0302_01
WIFI_CONN_0101
WIFI_CONN_0101_01
WIFI_CONN_0102
WIFI_CONN_0103
WIFI_CONN_0103_01
WIFI_SCAN_0101
WIFI_SCAN_0101_01
WIFI_SCAN_0102
WIFI_SCAN_0102_01
WIFI_SCAN_0103
WIFI_SCAN_0103_01
WIFI_SCAN_0104
WIFI_SCAN_0104_01
WIFI_MODE_0102
WIFI_MODE_0103
WIFI_ADDR_0102

View File

@@ -13,13 +13,13 @@ test cases:
- ''
- - SSC SSC1 ap -S -s <target_ssid> -t 0
- - R SSC1 C +SAP:OK
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - SSC SSC2 sta -C -s <target_ssid>
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
- - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 2
- - R SSC1 C +SAP:OK
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
- - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 3
- - R SSC1 C +SAP:OK
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
@@ -29,6 +29,8 @@ test cases:
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
- - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 1
- - R SSC1 C +SAP:OK
- - SSC SSC2 sta -D
- - R SSC2 C +QAP:OK
- - SSC SSC2 sta -S
- - R SSC2 RE "\+SCAN:%%s,.+,0,\d+"%%(<target_ssid>) C +SCANDONE
- - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 5
@@ -69,16 +71,18 @@ test cases:
- ''
- - SSC SSC1 ap -S -s <target_ssid> -t 0 -n 1
- - R SSC1 C +SAP:OK
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - SSC SSC2 sta -C -s <target_ssid>
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
- - SSC SSC1 ap -S -s <target_ssid> -t 0 -n 13
- - R SSC1 C +SAP:OK
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - SSC SSC2 sta -C -s <target_ssid>
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
- - SSC SSC1 ap -S -s <target_ssid> -n 15
- - R SSC1 C +SAP:OK
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - SSC SSC2 sta -C -s <target_ssid>
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
- - SSC SSC2 sta -D
- - R SSC2 C +QAP:OK
- - SSC SSC2 sta -S
- - R SSC2 RE "\+SCAN:%%s,.+,\d+,1"%%(<target_ssid>)
execution time: 0.0
@@ -937,43 +941,6 @@ test cases:
test point 1: basic function
test point 2: beacon delay
version: v1 (2016-8-15)
- CI ready: 'Yes'
ID: WIFI_CONN_1101
SDK: ESP32_IDF
Test App: SSC
allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - SSC SSC1 ram -Q
- - R SSC1 A <FREg>:\+FREEHEAP:(\d+)\r\n
- - SSC SSC1 op -W -a start
- - R SSC1 C +MODE:OK
- - SSC SSC1 op -W -a stop
- - R SSC1 C +MODE:OK
- - SSC SSC1 ram -Q
- - R SSC1 P <FREg>
execution time: 0
expected result: |
1. get current heap size
2.OK
3.OK
4.heap size unchanged
initial condition: WIFISTO
level: Integration
module: WIFI MAC
steps: |
1. check heap size
2. wifi start
3. wifi stop
4. check heap size
sub module: WIFI Connect
summary: wifi start and stop, heap size unchanged
test environment: SSC_T1_4
test point 1: basic function
test point 2: wifi start and stop, heap size unchanged
version: v1 (2016-12-31)
- CI ready: 'Yes'
ID: WIFI_CONN_1201
SDK: ESP32_IDF