User | Revision | Line number | New contents of line |
switches |
0:0e018d759a2a
|
1
|
"""
|
switches |
0:0e018d759a2a
|
2
|
mbed SDK
|
switches |
0:0e018d759a2a
|
3
|
Copyright (c) 2011-2013 ARM Limited
|
switches |
0:0e018d759a2a
|
4
|
|
switches |
0:0e018d759a2a
|
5
|
Licensed under the Apache License, Version 2.0 (the "License");
|
switches |
0:0e018d759a2a
|
6
|
you may not use this file except in compliance with the License.
|
switches |
0:0e018d759a2a
|
7
|
You may obtain a copy of the License at
|
switches |
0:0e018d759a2a
|
8
|
|
switches |
0:0e018d759a2a
|
9
|
http://www.apache.org/licenses/LICENSE-2.0
|
switches |
0:0e018d759a2a
|
10
|
|
switches |
0:0e018d759a2a
|
11
|
Unless required by applicable law or agreed to in writing, software
|
switches |
0:0e018d759a2a
|
12
|
distributed under the License is distributed on an "AS IS" BASIS,
|
switches |
0:0e018d759a2a
|
13
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
switches |
0:0e018d759a2a
|
14
|
See the License for the specific language governing permissions and
|
switches |
0:0e018d759a2a
|
15
|
limitations under the License.
|
switches |
0:0e018d759a2a
|
16
|
"""
|
switches |
0:0e018d759a2a
|
17
|
from tools.paths import *
|
switches |
0:0e018d759a2a
|
18
|
from tools.data.support import *
|
switches |
0:0e018d759a2a
|
19
|
from argparse import ArgumentTypeError
|
switches |
0:0e018d759a2a
|
20
|
from utils import columnate
|
switches |
0:0e018d759a2a
|
21
|
|
switches |
0:0e018d759a2a
|
22
|
try:
|
switches |
0:0e018d759a2a
|
23
|
import tools.private_settings as ps
|
switches |
0:0e018d759a2a
|
24
|
except:
|
switches |
0:0e018d759a2a
|
25
|
ps = object()
|
switches |
0:0e018d759a2a
|
26
|
|
switches |
0:0e018d759a2a
|
27
|
TEST_CMSIS_LIB = join(TEST_DIR, "cmsis", "lib")
|
switches |
0:0e018d759a2a
|
28
|
TEST_MBED_LIB = join(TEST_DIR, "mbed", "env")
|
switches |
0:0e018d759a2a
|
29
|
|
switches |
0:0e018d759a2a
|
30
|
PERIPHERALS = join(TEST_DIR, "peripherals")
|
switches |
0:0e018d759a2a
|
31
|
BENCHMARKS_DIR = join(TEST_DIR, "benchmarks")
|
switches |
0:0e018d759a2a
|
32
|
|
switches |
0:0e018d759a2a
|
33
|
SD = join(TEST_DIR, "sd")
|
switches |
0:0e018d759a2a
|
34
|
TMP102 = join(PERIPHERALS, 'TMP102')
|
switches |
0:0e018d759a2a
|
35
|
AT30TSE75X = join(PERIPHERALS, 'AT30TSE75X')
|
switches |
0:0e018d759a2a
|
36
|
|
switches |
0:0e018d759a2a
|
37
|
"""
|
switches |
0:0e018d759a2a
|
38
|
Wiring:
|
switches |
0:0e018d759a2a
|
39
|
* Ground:
|
switches |
0:0e018d759a2a
|
40
|
* LPC1*: p1
|
switches |
0:0e018d759a2a
|
41
|
* KL25Z: GND
|
switches |
0:0e018d759a2a
|
42
|
|
switches |
0:0e018d759a2a
|
43
|
* Vout
|
switches |
0:0e018d759a2a
|
44
|
* LPC1*: p40
|
switches |
0:0e018d759a2a
|
45
|
* KL25Z: P3V3
|
switches |
0:0e018d759a2a
|
46
|
|
switches |
0:0e018d759a2a
|
47
|
* TMP102 (I2C):
|
switches |
0:0e018d759a2a
|
48
|
* LPC1*: (SDA=p28 , SCL=p27)
|
switches |
0:0e018d759a2a
|
49
|
* KL25Z: (SDA=PTC9, SCL=PTC8)
|
switches |
0:0e018d759a2a
|
50
|
* MAXWSNENV: (SDA=TP6, SCL=TP5)
|
switches |
0:0e018d759a2a
|
51
|
|
switches |
0:0e018d759a2a
|
52
|
* digital_loop (Digital(In|Out|InOut), InterruptIn):
|
switches |
0:0e018d759a2a
|
53
|
* Arduino headers: (D0 <-> D7)
|
switches |
0:0e018d759a2a
|
54
|
* NUCLEO_*: (D2 <-> D9)
|
switches |
0:0e018d759a2a
|
55
|
* LPC1549: (D2 <-> D7)
|
switches |
0:0e018d759a2a
|
56
|
* LPC1*: (p5 <-> p25 )
|
switches |
0:0e018d759a2a
|
57
|
* KL25Z: (PTA5<-> PTC6)
|
switches |
0:0e018d759a2a
|
58
|
* MAXWSNENV: (TP3 <-> TP4)
|
switches |
0:0e018d759a2a
|
59
|
* MAX32600MBED: (P1_0 <-> P4_7)
|
switches |
0:0e018d759a2a
|
60
|
* VK_RZ_A1H: (P3_2 <-> P5_6)
|
switches |
0:0e018d759a2a
|
61
|
|
switches |
0:0e018d759a2a
|
62
|
* port_loop (Port(In|Out|InOut)):
|
switches |
0:0e018d759a2a
|
63
|
* Arduino headers: (D0 <-> D7), (D1 <-> D6)
|
switches |
0:0e018d759a2a
|
64
|
* LPC1*: (p5 <-> p25), (p6 <-> p26)
|
switches |
0:0e018d759a2a
|
65
|
* KL25Z: (PTA5 <-> PTC6), (PTA4 <-> PTC5)
|
switches |
0:0e018d759a2a
|
66
|
* NUCLEO_F103RB: (PC_6 <-> PB_8), (PC_5 <-> PB_9)
|
switches |
0:0e018d759a2a
|
67
|
* MAXWSNENV: (TP1 <-> TP3), (TP2 <-> TP4)
|
switches |
0:0e018d759a2a
|
68
|
* MAX32600MBED: (P1_0 <-> P4_7), (P1_1 <-> P4_6)
|
switches |
0:0e018d759a2a
|
69
|
* VK_RZ_A1H: (P3_2 <-> P5_6), (P3_7 <-> P5_1)
|
switches |
0:0e018d759a2a
|
70
|
|
switches |
0:0e018d759a2a
|
71
|
* analog_loop (AnalogIn, AnalogOut):
|
switches |
0:0e018d759a2a
|
72
|
* Arduino headers: (A0 <-> A5)
|
switches |
0:0e018d759a2a
|
73
|
* NUCLEO64: (A0 <-> A2)
|
switches |
0:0e018d759a2a
|
74
|
* NUCLEO144: (A0 <-> D13)
|
switches |
0:0e018d759a2a
|
75
|
* LPC1549: (A0 <-> D12)
|
switches |
0:0e018d759a2a
|
76
|
* LPC1*: (p17 <-> p18 )
|
switches |
0:0e018d759a2a
|
77
|
* KL25Z: (PTE30 <-> PTC2)
|
switches |
0:0e018d759a2a
|
78
|
|
switches |
0:0e018d759a2a
|
79
|
* analog_pot (AnalogIn):
|
switches |
0:0e018d759a2a
|
80
|
* Arduino headers: (A0, A1)
|
switches |
0:0e018d759a2a
|
81
|
* VK_RZ_A1H: (AN0, AN1)
|
switches |
0:0e018d759a2a
|
82
|
|
switches |
0:0e018d759a2a
|
83
|
* SD (SPI):
|
switches |
0:0e018d759a2a
|
84
|
* LPC1*: (mosi=p11 , miso=p12 , sclk=p13 , cs=p14 )
|
switches |
0:0e018d759a2a
|
85
|
* KL25Z: (mosi=PTD2, miso=PTD3, sclk=PTD1, cs=PTD0)
|
switches |
0:0e018d759a2a
|
86
|
|
switches |
0:0e018d759a2a
|
87
|
* MMA7660 (I2C):
|
switches |
0:0e018d759a2a
|
88
|
* LPC1*: (SDA=p28 , SCL=p27)
|
switches |
0:0e018d759a2a
|
89
|
|
switches |
0:0e018d759a2a
|
90
|
* i2c_loop:
|
switches |
0:0e018d759a2a
|
91
|
* LPC1768: (p28 <-> p9), (p27 <-> p10)
|
switches |
0:0e018d759a2a
|
92
|
* NUCLEO64: (D14 <-> D3), (D15 <-> D6)
|
switches |
0:0e018d759a2a
|
93
|
* NUCLEO144: (D14 <-> PB_11), (D15 <-> PB_10)
|
switches |
0:0e018d759a2a
|
94
|
|
switches |
0:0e018d759a2a
|
95
|
* i2c_eeprom:
|
switches |
0:0e018d759a2a
|
96
|
* LPC1*: (SDA=p28 , SCL=p27)
|
switches |
0:0e018d759a2a
|
97
|
* KL25Z: (SDA=PTE0, SCL=PTE1)
|
switches |
0:0e018d759a2a
|
98
|
* VK_RZ_A1H:(SDA=P1_1, SCL=P1_0)
|
switches |
0:0e018d759a2a
|
99
|
|
switches |
0:0e018d759a2a
|
100
|
* can_transceiver:
|
switches |
0:0e018d759a2a
|
101
|
* LPC1768: (RX=p9, TX=p10)
|
switches |
0:0e018d759a2a
|
102
|
* LPC1549: (RX=D9, TX=D8)
|
switches |
0:0e018d759a2a
|
103
|
* LPC4088: (RX=p9, TX=p10)
|
switches |
0:0e018d759a2a
|
104
|
* VK_RZ_A1H:(RX=P5_9, TX=P5_10)
|
switches |
0:0e018d759a2a
|
105
|
* NUCLEO_F091RC: (RX=PA_11, TX=PA_12)
|
switches |
0:0e018d759a2a
|
106
|
* NUCLEO_F072RB: (RX=PA_11, TX=PA_12)
|
switches |
0:0e018d759a2a
|
107
|
* NUCLEO_F042K6: (RX=PA_11, TX=PA_12)
|
switches |
0:0e018d759a2a
|
108
|
* NUCLEO_F334R8: (RX=PA_11, TX=PA_12)
|
switches |
0:0e018d759a2a
|
109
|
* NUCLEO_F303RE: (RX=PA_11, TX=PA_12)
|
switches |
0:0e018d759a2a
|
110
|
* NUCLEO_F303K8: (RX=PA_11, TX=PA_12)
|
switches |
0:0e018d759a2a
|
111
|
* NUCLEO_F302R8: (RX=PA_11, TX=PA_12)
|
switches |
0:0e018d759a2a
|
112
|
* NUCLEO_F446RE: (RX=PA_11, TX=PA_12)
|
switches |
0:0e018d759a2a
|
113
|
* NUCLEO_F446ZE: (RX=PA_11, TX=PA_12)
|
switches |
0:0e018d759a2a
|
114
|
* DISCO_F469NI: (RX=PB_8, TX=PB_9)
|
switches |
0:0e018d759a2a
|
115
|
* DISCO_F4269ZI: (RX=PA_11, TX=PA_12)
|
switches |
0:0e018d759a2a
|
116
|
* NUCLEO_F103RB: (RX=PA_11, TX=PA_12)
|
switches |
0:0e018d759a2a
|
117
|
* NUCLEO_F746ZG: (RX=PA_11, TX=PA_12)
|
switches |
0:0e018d759a2a
|
118
|
* DISCO_F746NG: (RX=PB_8, TX=PB_9)
|
switches |
0:0e018d759a2a
|
119
|
* DISCO_L476VG: (RX=PA_11, TX=PA_12)
|
switches |
0:0e018d759a2a
|
120
|
* NUCLEO_L476RG: (RX=PA_11, TX=PA_12)
|
switches |
0:0e018d759a2a
|
121
|
* NUCLEO_L432KC: (RX=PA_11, TX=PA_12)
|
switches |
0:0e018d759a2a
|
122
|
|
switches |
0:0e018d759a2a
|
123
|
"""
|
switches |
0:0e018d759a2a
|
124
|
TESTS = [
|
switches |
0:0e018d759a2a
|
125
|
# Automated MBED tests
|
switches |
0:0e018d759a2a
|
126
|
{
|
switches |
0:0e018d759a2a
|
127
|
"id": "MBED_A1", "description": "Basic",
|
switches |
0:0e018d759a2a
|
128
|
"source_dir": join(TEST_DIR, "mbed", "basic"),
|
switches |
0:0e018d759a2a
|
129
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
130
|
"automated": True,
|
switches |
0:0e018d759a2a
|
131
|
},
|
switches |
0:0e018d759a2a
|
132
|
{
|
switches |
0:0e018d759a2a
|
133
|
"id": "MBED_A2", "description": "Semihost file system",
|
switches |
0:0e018d759a2a
|
134
|
"source_dir": join(TEST_DIR, "mbed", "file"),
|
switches |
0:0e018d759a2a
|
135
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
136
|
"automated": True,
|
switches |
0:0e018d759a2a
|
137
|
"mcu": ["LPC1768", "LPC2368", "LPC11U24"]
|
switches |
0:0e018d759a2a
|
138
|
},
|
switches |
0:0e018d759a2a
|
139
|
{
|
switches |
0:0e018d759a2a
|
140
|
"id": "MBED_A3", "description": "C++ STL",
|
switches |
0:0e018d759a2a
|
141
|
"source_dir": join(TEST_DIR, "mbed", "stl"),
|
switches |
0:0e018d759a2a
|
142
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
143
|
"automated": False,
|
switches |
0:0e018d759a2a
|
144
|
},
|
switches |
0:0e018d759a2a
|
145
|
{
|
switches |
0:0e018d759a2a
|
146
|
"id": "MBED_A4", "description": "I2C TMP102",
|
switches |
0:0e018d759a2a
|
147
|
"source_dir": join(TEST_DIR, "mbed", "i2c_TMP102"),
|
switches |
0:0e018d759a2a
|
148
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, TMP102],
|
switches |
0:0e018d759a2a
|
149
|
"automated": True,
|
switches |
0:0e018d759a2a
|
150
|
"peripherals": ["TMP102"]
|
switches |
0:0e018d759a2a
|
151
|
},
|
switches |
0:0e018d759a2a
|
152
|
{
|
switches |
0:0e018d759a2a
|
153
|
"id": "MBED_AT30TSE75X", "description": "I2C Temperature Sensor / EEPROM",
|
switches |
0:0e018d759a2a
|
154
|
"source_dir": join(TEST_DIR, "mbed", "i2c_at30tse75x"),
|
switches |
0:0e018d759a2a
|
155
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, AT30TSE75X],
|
switches |
0:0e018d759a2a
|
156
|
"automated": False,
|
switches |
0:0e018d759a2a
|
157
|
"peripherals": ["AT30TSE75X"]
|
switches |
0:0e018d759a2a
|
158
|
},
|
switches |
0:0e018d759a2a
|
159
|
{
|
switches |
0:0e018d759a2a
|
160
|
"id": "MBED_A5", "description": "DigitalIn DigitalOut",
|
switches |
0:0e018d759a2a
|
161
|
"source_dir": join(TEST_DIR, "mbed", "digitalin_digitalout"),
|
switches |
0:0e018d759a2a
|
162
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
163
|
"automated": True,
|
switches |
0:0e018d759a2a
|
164
|
"peripherals": ["digital_loop"]
|
switches |
0:0e018d759a2a
|
165
|
},
|
switches |
0:0e018d759a2a
|
166
|
{
|
switches |
0:0e018d759a2a
|
167
|
"id": "MBED_A6", "description": "DigitalInOut",
|
switches |
0:0e018d759a2a
|
168
|
"source_dir": join(TEST_DIR, "mbed", "digitalinout"),
|
switches |
0:0e018d759a2a
|
169
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
170
|
"automated": True,
|
switches |
0:0e018d759a2a
|
171
|
"peripherals": ["digital_loop"]
|
switches |
0:0e018d759a2a
|
172
|
},
|
switches |
0:0e018d759a2a
|
173
|
{
|
switches |
0:0e018d759a2a
|
174
|
"id": "MBED_A7", "description": "InterruptIn",
|
switches |
0:0e018d759a2a
|
175
|
"source_dir": join(TEST_DIR, "mbed", "interruptin"),
|
switches |
0:0e018d759a2a
|
176
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
177
|
"automated": True,
|
switches |
0:0e018d759a2a
|
178
|
"peripherals": ["digital_loop"]
|
switches |
0:0e018d759a2a
|
179
|
},
|
switches |
0:0e018d759a2a
|
180
|
{
|
switches |
0:0e018d759a2a
|
181
|
"id": "MBED_A8", "description": "Analog",
|
switches |
0:0e018d759a2a
|
182
|
"source_dir": join(TEST_DIR, "mbed", "analog"),
|
switches |
0:0e018d759a2a
|
183
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
184
|
"automated": True,
|
switches |
0:0e018d759a2a
|
185
|
"peripherals": ["analog_loop"],
|
switches |
0:0e018d759a2a
|
186
|
"mcu": ["LPC1768", "LPC2368", "LPC2460", "KL25Z", "K64F", "K66F", "K22F", "LPC4088", "LPC1549",
|
switches |
0:0e018d759a2a
|
187
|
"NUCLEO_F072RB", "NUCLEO_F091RC", "NUCLEO_F302R8", "NUCLEO_F303K8", "NUCLEO_F303RE", "NUCLEO_F207ZG",
|
switches |
0:0e018d759a2a
|
188
|
"NUCLEO_F334R8", "NUCLEO_F303ZE", "NUCLEO_L053R8", "NUCLEO_L073RZ", "NUCLEO_L152RE",
|
switches |
0:0e018d759a2a
|
189
|
"NUCLEO_F410RB", "NUCLEO_F446RE", "NUCLEO_F446ZE", "NUCLEO_F429ZI",
|
switches |
0:0e018d759a2a
|
190
|
"DISCO_F407VG", "NUCLEO_F746ZG", "NUCLEO_L476RG",
|
switches |
0:0e018d759a2a
|
191
|
"DISCO_L053C8", "DISCO_F334C8", "DISCO_L476VG", "DISCO_F469NI", "DISCO_F429ZI",
|
switches |
0:0e018d759a2a
|
192
|
"ARCH_MAX", "MAX32600MBED", "MOTE_L152RC", "B96B_F446VE"]
|
switches |
0:0e018d759a2a
|
193
|
},
|
switches |
0:0e018d759a2a
|
194
|
{
|
switches |
0:0e018d759a2a
|
195
|
"id": "MBED_A9", "description": "Serial Echo at 115200",
|
switches |
0:0e018d759a2a
|
196
|
"source_dir": join(TEST_DIR, "mbed", "echo"),
|
switches |
0:0e018d759a2a
|
197
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
198
|
"automated": True,
|
switches |
0:0e018d759a2a
|
199
|
#"host_test": "echo"
|
switches |
0:0e018d759a2a
|
200
|
},
|
switches |
0:0e018d759a2a
|
201
|
{
|
switches |
0:0e018d759a2a
|
202
|
"id": "MBED_A10", "description": "PortOut PortIn",
|
switches |
0:0e018d759a2a
|
203
|
"source_dir": join(TEST_DIR, "mbed", "portout_portin"),
|
switches |
0:0e018d759a2a
|
204
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
205
|
"peripherals": ["port_loop"],
|
switches |
0:0e018d759a2a
|
206
|
"supported": DEFAULT_SUPPORT,
|
switches |
0:0e018d759a2a
|
207
|
"automated": True,
|
switches |
0:0e018d759a2a
|
208
|
},
|
switches |
0:0e018d759a2a
|
209
|
{
|
switches |
0:0e018d759a2a
|
210
|
"id": "MBED_A11", "description": "PortInOut",
|
switches |
0:0e018d759a2a
|
211
|
"source_dir": join(TEST_DIR, "mbed", "portinout"),
|
switches |
0:0e018d759a2a
|
212
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
213
|
"peripherals": ["port_loop"],
|
switches |
0:0e018d759a2a
|
214
|
"supported": DEFAULT_SUPPORT,
|
switches |
0:0e018d759a2a
|
215
|
"automated": True,
|
switches |
0:0e018d759a2a
|
216
|
},
|
switches |
0:0e018d759a2a
|
217
|
{
|
switches |
0:0e018d759a2a
|
218
|
"id": "MBED_A12", "description": "SD File System",
|
switches |
0:0e018d759a2a
|
219
|
"source_dir": join(TEST_DIR, "mbed", "sd"),
|
switches |
0:0e018d759a2a
|
220
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, FS_LIBRARY],
|
switches |
0:0e018d759a2a
|
221
|
"automated": True,
|
switches |
0:0e018d759a2a
|
222
|
"peripherals": ["SD"]
|
switches |
0:0e018d759a2a
|
223
|
},
|
switches |
0:0e018d759a2a
|
224
|
{
|
switches |
0:0e018d759a2a
|
225
|
"id": "MBED_A13", "description": "I2C MMA7660 accelerometer",
|
switches |
0:0e018d759a2a
|
226
|
"source_dir": join(TEST_DIR, "mbed", "i2c_MMA7660"),
|
switches |
0:0e018d759a2a
|
227
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, join(PERIPHERALS, 'MMA7660')],
|
switches |
0:0e018d759a2a
|
228
|
"automated": True,
|
switches |
0:0e018d759a2a
|
229
|
"peripherals": ["MMA7660"]
|
switches |
0:0e018d759a2a
|
230
|
},
|
switches |
0:0e018d759a2a
|
231
|
{
|
switches |
0:0e018d759a2a
|
232
|
"id": "MBED_A14", "description": "I2C Master",
|
switches |
0:0e018d759a2a
|
233
|
"source_dir": join(TEST_DIR, "mbed", "i2c_master"),
|
switches |
0:0e018d759a2a
|
234
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB,],
|
switches |
0:0e018d759a2a
|
235
|
},
|
switches |
0:0e018d759a2a
|
236
|
{
|
switches |
0:0e018d759a2a
|
237
|
"id": "MBED_A15", "description": "I2C Slave",
|
switches |
0:0e018d759a2a
|
238
|
"source_dir": join(TEST_DIR, "mbed", "i2c_slave"),
|
switches |
0:0e018d759a2a
|
239
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB,],
|
switches |
0:0e018d759a2a
|
240
|
},
|
switches |
0:0e018d759a2a
|
241
|
{
|
switches |
0:0e018d759a2a
|
242
|
"id": "MBED_A16", "description": "SPI Master",
|
switches |
0:0e018d759a2a
|
243
|
"source_dir": join(TEST_DIR, "mbed", "spi_master"),
|
switches |
0:0e018d759a2a
|
244
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB,],
|
switches |
0:0e018d759a2a
|
245
|
},
|
switches |
0:0e018d759a2a
|
246
|
{
|
switches |
0:0e018d759a2a
|
247
|
"id": "MBED_A17", "description": "SPI Slave",
|
switches |
0:0e018d759a2a
|
248
|
"source_dir": join(TEST_DIR, "mbed", "spi_slave"),
|
switches |
0:0e018d759a2a
|
249
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB,],
|
switches |
0:0e018d759a2a
|
250
|
},
|
switches |
0:0e018d759a2a
|
251
|
{
|
switches |
0:0e018d759a2a
|
252
|
"id": "MBED_A18", "description": "Interrupt vector relocation",
|
switches |
0:0e018d759a2a
|
253
|
"source_dir": join(TEST_DIR, "mbed", "vtor_reloc"),
|
switches |
0:0e018d759a2a
|
254
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB,],
|
switches |
0:0e018d759a2a
|
255
|
"mcu": ["LPC1768"],
|
switches |
0:0e018d759a2a
|
256
|
"automated": True,
|
switches |
0:0e018d759a2a
|
257
|
},
|
switches |
0:0e018d759a2a
|
258
|
{
|
switches |
0:0e018d759a2a
|
259
|
"id": "MBED_A19", "description": "I2C EEPROM read/write test",
|
switches |
0:0e018d759a2a
|
260
|
"source_dir": join(TEST_DIR, "mbed", "i2c_eeprom"),
|
switches |
0:0e018d759a2a
|
261
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
262
|
"peripherals": ["24LC256"],
|
switches |
0:0e018d759a2a
|
263
|
"automated": True,
|
switches |
0:0e018d759a2a
|
264
|
},
|
switches |
0:0e018d759a2a
|
265
|
{
|
switches |
0:0e018d759a2a
|
266
|
"id": "MBED_A20", "description": "I2C master/slave test",
|
switches |
0:0e018d759a2a
|
267
|
"source_dir": join(TEST_DIR, "mbed", "i2c_master_slave"),
|
switches |
0:0e018d759a2a
|
268
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB,],
|
switches |
0:0e018d759a2a
|
269
|
"automated": True,
|
switches |
0:0e018d759a2a
|
270
|
"peripherals": ["i2c_loop"]
|
switches |
0:0e018d759a2a
|
271
|
},
|
switches |
0:0e018d759a2a
|
272
|
{
|
switches |
0:0e018d759a2a
|
273
|
"id": "MBED_A21", "description": "Call function before main (mbed_main)",
|
switches |
0:0e018d759a2a
|
274
|
"source_dir": join(TEST_DIR, "mbed", "call_before_main"),
|
switches |
0:0e018d759a2a
|
275
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
276
|
"automated": True,
|
switches |
0:0e018d759a2a
|
277
|
},
|
switches |
0:0e018d759a2a
|
278
|
{
|
switches |
0:0e018d759a2a
|
279
|
"id": "MBED_A22", "description": "SPIFI for LPC4088 (test 1)",
|
switches |
0:0e018d759a2a
|
280
|
"source_dir": join(TEST_DIR, "mbed", "spifi1"),
|
switches |
0:0e018d759a2a
|
281
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
282
|
"automated": True,
|
switches |
0:0e018d759a2a
|
283
|
"mcu": ["LPC4088","LPC4088_DM"]
|
switches |
0:0e018d759a2a
|
284
|
},
|
switches |
0:0e018d759a2a
|
285
|
{
|
switches |
0:0e018d759a2a
|
286
|
"id": "MBED_A23", "description": "SPIFI for LPC4088 (test 2)",
|
switches |
0:0e018d759a2a
|
287
|
"source_dir": join(TEST_DIR, "mbed", "spifi2"),
|
switches |
0:0e018d759a2a
|
288
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
289
|
"automated": True,
|
switches |
0:0e018d759a2a
|
290
|
"mcu": ["LPC4088","LPC4088_DM"]
|
switches |
0:0e018d759a2a
|
291
|
},
|
switches |
0:0e018d759a2a
|
292
|
{
|
switches |
0:0e018d759a2a
|
293
|
"id": "MBED_A24", "description": "Serial echo with RTS/CTS flow control",
|
switches |
0:0e018d759a2a
|
294
|
"source_dir": join(TEST_DIR, "mbed", "echo_flow_control"),
|
switches |
0:0e018d759a2a
|
295
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
296
|
"automated": "True",
|
switches |
0:0e018d759a2a
|
297
|
"host_test": "echo_flow_control",
|
switches |
0:0e018d759a2a
|
298
|
"mcu": ["LPC1768"],
|
switches |
0:0e018d759a2a
|
299
|
"peripherals": ["extra_serial"]
|
switches |
0:0e018d759a2a
|
300
|
},
|
switches |
0:0e018d759a2a
|
301
|
{
|
switches |
0:0e018d759a2a
|
302
|
"id": "MBED_A25", "description": "I2C EEPROM line read/write test",
|
switches |
0:0e018d759a2a
|
303
|
"source_dir": join(TEST_DIR, "mbed", "i2c_eeprom_line"),
|
switches |
0:0e018d759a2a
|
304
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
305
|
"peripherals": ["24LC256"],
|
switches |
0:0e018d759a2a
|
306
|
"automated": True,
|
switches |
0:0e018d759a2a
|
307
|
},
|
switches |
0:0e018d759a2a
|
308
|
{
|
switches |
0:0e018d759a2a
|
309
|
"id": "MBED_A26", "description": "AnalogIn potentiometer test",
|
switches |
0:0e018d759a2a
|
310
|
"source_dir": join(TEST_DIR, "mbed", "analog_pot"),
|
switches |
0:0e018d759a2a
|
311
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
312
|
"peripherals": ["analog_pot"],
|
switches |
0:0e018d759a2a
|
313
|
"automated": True,
|
switches |
0:0e018d759a2a
|
314
|
},
|
switches |
0:0e018d759a2a
|
315
|
{
|
switches |
0:0e018d759a2a
|
316
|
"id": "MBED_A27", "description": "CAN loopback test",
|
switches |
0:0e018d759a2a
|
317
|
"source_dir": join(TEST_DIR, "mbed", "can_loopback"),
|
switches |
0:0e018d759a2a
|
318
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
319
|
"automated": True,
|
switches |
0:0e018d759a2a
|
320
|
"peripherals": ["can_transceiver"],
|
switches |
0:0e018d759a2a
|
321
|
"mcu": ["LPC1549", "LPC1768","B96B_F446VE", "VK_RZ_A1H",
|
switches |
0:0e018d759a2a
|
322
|
"NUCLEO_F091RC", "NUCLEO_F072RB", "NUCLEO_F042K6", "NUCLEO_F334R8", "NUCLEO_F207ZG",
|
switches |
0:0e018d759a2a
|
323
|
"NUCLEO_F303RE", "NUCLEO_F303K8", "NUCLEO_F302R8", "NUCLEO_F446RE","NUCLEO_F446ZE",
|
switches |
0:0e018d759a2a
|
324
|
"DISCO_F469NI", "DISCO_F429ZI", "NUCLEO_F103RB", "NUCLEO_F746ZG",
|
switches |
0:0e018d759a2a
|
325
|
"DISCO_F746NG", "DISCO_L476VG", "NUCLEO_L476RG", "NUCLEO_L432KC",
|
switches |
0:0e018d759a2a
|
326
|
"DISCO_F769NI", "NUCLEO_F767ZI"]
|
switches |
0:0e018d759a2a
|
327
|
},
|
switches |
0:0e018d759a2a
|
328
|
{
|
switches |
0:0e018d759a2a
|
329
|
"id": "MBED_A28", "description": "CAN loopback test",
|
switches |
0:0e018d759a2a
|
330
|
"source_dir": join(TEST_DIR, "mbed", "can_loopback"),
|
switches |
0:0e018d759a2a
|
331
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
332
|
"automated": True,
|
switches |
0:0e018d759a2a
|
333
|
"mcu": ["B96B_F446VE",
|
switches |
0:0e018d759a2a
|
334
|
"NUCLEO_F091RC", "NUCLEO_F072RB", "NUCLEO_F042K6", "NUCLEO_F334R8", "NUCLEO_F207ZG",
|
switches |
0:0e018d759a2a
|
335
|
"NUCLEO_F303RE", "NUCLEO_F303K8", "NUCLEO_F302R8", "NUCLEO_F303ZE", "NUCLEO_F446RE","NUCLEO_F446ZE",
|
switches |
0:0e018d759a2a
|
336
|
"DISCO_F469NI", "DISCO_F429ZI", "NUCLEO_F103RB", "NUCLEO_F746ZG",
|
switches |
0:0e018d759a2a
|
337
|
"DISCO_F746NG", "DISCO_L476VG", "NUCLEO_L476RG", "NUCLEO_L432KC",
|
switches |
0:0e018d759a2a
|
338
|
"DISCO_F769NI", "NUCLEO_F767ZI"]
|
switches |
0:0e018d759a2a
|
339
|
},
|
switches |
0:0e018d759a2a
|
340
|
{
|
switches |
0:0e018d759a2a
|
341
|
"id": "MBED_A29", "description": "i2c_master_slave_asynch",
|
switches |
0:0e018d759a2a
|
342
|
"source_dir": join(TEST_DIR, "mbed", "i2c_master_slave_asynch"),
|
switches |
0:0e018d759a2a
|
343
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
344
|
"automated": True,
|
switches |
0:0e018d759a2a
|
345
|
"peripherals": ["i2c_loop"]
|
switches |
0:0e018d759a2a
|
346
|
},
|
switches |
0:0e018d759a2a
|
347
|
{
|
switches |
0:0e018d759a2a
|
348
|
"id": "MBED_BLINKY", "description": "Blinky",
|
switches |
0:0e018d759a2a
|
349
|
"source_dir": join(TEST_DIR, "mbed", "blinky"),
|
switches |
0:0e018d759a2a
|
350
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
351
|
"automated": False,
|
switches |
0:0e018d759a2a
|
352
|
},
|
switches |
0:0e018d759a2a
|
353
|
{
|
switches |
0:0e018d759a2a
|
354
|
"id": "MBED_BUS", "description": "Blinky BUS",
|
switches |
0:0e018d759a2a
|
355
|
"source_dir": join(TEST_DIR, "mbed", "bus"),
|
switches |
0:0e018d759a2a
|
356
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
357
|
"automated": False,
|
switches |
0:0e018d759a2a
|
358
|
},
|
switches |
0:0e018d759a2a
|
359
|
|
switches |
0:0e018d759a2a
|
360
|
{
|
switches |
0:0e018d759a2a
|
361
|
"id": "MBED_BUSOUT", "description": "BusOut",
|
switches |
0:0e018d759a2a
|
362
|
"source_dir": join(TEST_DIR, "mbed", "bus_out"),
|
switches |
0:0e018d759a2a
|
363
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
364
|
"exclude_mcu": ["NUCLEO_L011K4"],
|
switches |
0:0e018d759a2a
|
365
|
"automated": True,
|
switches |
0:0e018d759a2a
|
366
|
},
|
switches |
0:0e018d759a2a
|
367
|
|
switches |
0:0e018d759a2a
|
368
|
# Size benchmarks
|
switches |
0:0e018d759a2a
|
369
|
{
|
switches |
0:0e018d759a2a
|
370
|
"id": "BENCHMARK_1", "description": "Size (c environment)",
|
switches |
0:0e018d759a2a
|
371
|
"source_dir": join(BENCHMARKS_DIR, "cenv"),
|
switches |
0:0e018d759a2a
|
372
|
"dependencies": [MBED_LIBRARIES]
|
switches |
0:0e018d759a2a
|
373
|
},
|
switches |
0:0e018d759a2a
|
374
|
{
|
switches |
0:0e018d759a2a
|
375
|
"id": "BENCHMARK_2", "description": "Size (float math)",
|
switches |
0:0e018d759a2a
|
376
|
"source_dir": join(BENCHMARKS_DIR, "float_math"),
|
switches |
0:0e018d759a2a
|
377
|
"dependencies": [MBED_LIBRARIES]
|
switches |
0:0e018d759a2a
|
378
|
},
|
switches |
0:0e018d759a2a
|
379
|
{
|
switches |
0:0e018d759a2a
|
380
|
"id": "BENCHMARK_3", "description": "Size (printf)",
|
switches |
0:0e018d759a2a
|
381
|
"source_dir": join(BENCHMARKS_DIR, "printf"),
|
switches |
0:0e018d759a2a
|
382
|
"dependencies": [MBED_LIBRARIES]
|
switches |
0:0e018d759a2a
|
383
|
},
|
switches |
0:0e018d759a2a
|
384
|
{
|
switches |
0:0e018d759a2a
|
385
|
"id": "BENCHMARK_4", "description": "Size (mbed libs)",
|
switches |
0:0e018d759a2a
|
386
|
"source_dir": join(BENCHMARKS_DIR, "mbed"),
|
switches |
0:0e018d759a2a
|
387
|
"dependencies": [MBED_LIBRARIES]
|
switches |
0:0e018d759a2a
|
388
|
},
|
switches |
0:0e018d759a2a
|
389
|
{
|
switches |
0:0e018d759a2a
|
390
|
"id": "BENCHMARK_5", "description": "Size (all)",
|
switches |
0:0e018d759a2a
|
391
|
"source_dir": join(BENCHMARKS_DIR, "all"),
|
switches |
0:0e018d759a2a
|
392
|
"dependencies": [MBED_LIBRARIES]
|
switches |
0:0e018d759a2a
|
393
|
},
|
switches |
0:0e018d759a2a
|
394
|
|
switches |
0:0e018d759a2a
|
395
|
# performance related tests
|
switches |
0:0e018d759a2a
|
396
|
{
|
switches |
0:0e018d759a2a
|
397
|
"id": "PERF_1", "description": "SD Stdio R/W Speed",
|
switches |
0:0e018d759a2a
|
398
|
"source_dir": join(TEST_DIR, "mbed", "sd_perf_stdio"),
|
switches |
0:0e018d759a2a
|
399
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, FS_LIBRARY],
|
switches |
0:0e018d759a2a
|
400
|
"automated": True,
|
switches |
0:0e018d759a2a
|
401
|
"peripherals": ["SD"]
|
switches |
0:0e018d759a2a
|
402
|
},
|
switches |
0:0e018d759a2a
|
403
|
{
|
switches |
0:0e018d759a2a
|
404
|
"id": "PERF_2", "description": "SD FileHandle R/W Speed",
|
switches |
0:0e018d759a2a
|
405
|
"source_dir": join(TEST_DIR, "mbed", "sd_perf_fhandle"),
|
switches |
0:0e018d759a2a
|
406
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, FS_LIBRARY],
|
switches |
0:0e018d759a2a
|
407
|
"automated": True,
|
switches |
0:0e018d759a2a
|
408
|
"peripherals": ["SD"]
|
switches |
0:0e018d759a2a
|
409
|
},
|
switches |
0:0e018d759a2a
|
410
|
{
|
switches |
0:0e018d759a2a
|
411
|
"id": "PERF_3", "description": "SD FatFS R/W Speed",
|
switches |
0:0e018d759a2a
|
412
|
"source_dir": join(TEST_DIR, "mbed", "sd_perf_fatfs"),
|
switches |
0:0e018d759a2a
|
413
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, FS_LIBRARY],
|
switches |
0:0e018d759a2a
|
414
|
"automated": True,
|
switches |
0:0e018d759a2a
|
415
|
"peripherals": ["SD"]
|
switches |
0:0e018d759a2a
|
416
|
},
|
switches |
0:0e018d759a2a
|
417
|
|
switches |
0:0e018d759a2a
|
418
|
|
switches |
0:0e018d759a2a
|
419
|
# Not automated MBED tests
|
switches |
0:0e018d759a2a
|
420
|
{
|
switches |
0:0e018d759a2a
|
421
|
"id": "MBED_1", "description": "I2C SRF08",
|
switches |
0:0e018d759a2a
|
422
|
"source_dir": join(TEST_DIR, "mbed", "i2c_SRF08"),
|
switches |
0:0e018d759a2a
|
423
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, join(PERIPHERALS, 'SRF08')],
|
switches |
0:0e018d759a2a
|
424
|
"peripherals": ["SRF08"]
|
switches |
0:0e018d759a2a
|
425
|
},
|
switches |
0:0e018d759a2a
|
426
|
{
|
switches |
0:0e018d759a2a
|
427
|
"id": "MBED_2", "description": "stdio",
|
switches |
0:0e018d759a2a
|
428
|
"source_dir": join(TEST_DIR, "mbed", "stdio"),
|
switches |
0:0e018d759a2a
|
429
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
430
|
"automated": True,
|
switches |
0:0e018d759a2a
|
431
|
#"host_test": "stdio_auto"
|
switches |
0:0e018d759a2a
|
432
|
},
|
switches |
0:0e018d759a2a
|
433
|
{
|
switches |
0:0e018d759a2a
|
434
|
"id": "MBED_3", "description": "PortOut",
|
switches |
0:0e018d759a2a
|
435
|
"source_dir": join(TEST_DIR, "mbed", "portout"),
|
switches |
0:0e018d759a2a
|
436
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
437
|
},
|
switches |
0:0e018d759a2a
|
438
|
{
|
switches |
0:0e018d759a2a
|
439
|
"id": "MBED_4", "description": "Sleep",
|
switches |
0:0e018d759a2a
|
440
|
"source_dir": join(TEST_DIR, "mbed", "sleep"),
|
switches |
0:0e018d759a2a
|
441
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
442
|
"mcu": ["LPC1768", "LPC11U24", "LPC4088","LPC4088_DM","NRF51822", "LPC11U68"]
|
switches |
0:0e018d759a2a
|
443
|
},
|
switches |
0:0e018d759a2a
|
444
|
{
|
switches |
0:0e018d759a2a
|
445
|
"id": "MBED_5", "description": "PWM",
|
switches |
0:0e018d759a2a
|
446
|
"source_dir": join(TEST_DIR, "mbed", "pwm"),
|
switches |
0:0e018d759a2a
|
447
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB]
|
switches |
0:0e018d759a2a
|
448
|
},
|
switches |
0:0e018d759a2a
|
449
|
{
|
switches |
0:0e018d759a2a
|
450
|
"id": "MBED_6", "description": "SW Reset",
|
switches |
0:0e018d759a2a
|
451
|
"source_dir": join(TEST_DIR, "mbed", "reset"),
|
switches |
0:0e018d759a2a
|
452
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
453
|
},
|
switches |
0:0e018d759a2a
|
454
|
{
|
switches |
0:0e018d759a2a
|
455
|
"id": "MBED_7", "description": "stdio benchmark",
|
switches |
0:0e018d759a2a
|
456
|
"source_dir": join(TEST_DIR, "mbed", "stdio_benchmark"),
|
switches |
0:0e018d759a2a
|
457
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
458
|
},
|
switches |
0:0e018d759a2a
|
459
|
{
|
switches |
0:0e018d759a2a
|
460
|
"id": "MBED_8", "description": "SPI",
|
switches |
0:0e018d759a2a
|
461
|
"source_dir": join(TEST_DIR, "mbed", "spi"),
|
switches |
0:0e018d759a2a
|
462
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
463
|
},
|
switches |
0:0e018d759a2a
|
464
|
{
|
switches |
0:0e018d759a2a
|
465
|
"id": "MBED_9", "description": "Sleep Timeout",
|
switches |
0:0e018d759a2a
|
466
|
"source_dir": join(TEST_DIR, "mbed", "sleep_timeout"),
|
switches |
0:0e018d759a2a
|
467
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
468
|
},
|
switches |
0:0e018d759a2a
|
469
|
{
|
switches |
0:0e018d759a2a
|
470
|
"id": "MBED_10", "description": "Hello World",
|
switches |
0:0e018d759a2a
|
471
|
"source_dir": join(TEST_DIR, "mbed", "hello"),
|
switches |
0:0e018d759a2a
|
472
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
473
|
"automated": True,
|
switches |
0:0e018d759a2a
|
474
|
#"host_test": "hello_auto",
|
switches |
0:0e018d759a2a
|
475
|
},
|
switches |
0:0e018d759a2a
|
476
|
{
|
switches |
0:0e018d759a2a
|
477
|
"id": "MBED_11", "description": "Ticker Int",
|
switches |
0:0e018d759a2a
|
478
|
"source_dir": join(TEST_DIR, "mbed", "ticker"),
|
switches |
0:0e018d759a2a
|
479
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
480
|
"automated": True,
|
switches |
0:0e018d759a2a
|
481
|
#"host_test": "wait_us_auto",
|
switches |
0:0e018d759a2a
|
482
|
},
|
switches |
0:0e018d759a2a
|
483
|
{
|
switches |
0:0e018d759a2a
|
484
|
"id": "MBED_12", "description": "C++",
|
switches |
0:0e018d759a2a
|
485
|
"source_dir": join(TEST_DIR, "mbed", "cpp"),
|
switches |
0:0e018d759a2a
|
486
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
487
|
"automated": True
|
switches |
0:0e018d759a2a
|
488
|
},
|
switches |
0:0e018d759a2a
|
489
|
{
|
switches |
0:0e018d759a2a
|
490
|
"id": "MBED_13", "description": "Heap & Stack",
|
switches |
0:0e018d759a2a
|
491
|
"source_dir": join(TEST_DIR, "mbed", "heap_and_stack"),
|
switches |
0:0e018d759a2a
|
492
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
493
|
},
|
switches |
0:0e018d759a2a
|
494
|
{
|
switches |
0:0e018d759a2a
|
495
|
"id": "MBED_14", "description": "Serial Interrupt",
|
switches |
0:0e018d759a2a
|
496
|
"source_dir": join(TEST_DIR, "mbed", "serial_interrupt"),
|
switches |
0:0e018d759a2a
|
497
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
498
|
},
|
switches |
0:0e018d759a2a
|
499
|
{
|
switches |
0:0e018d759a2a
|
500
|
"id": "MBED_15", "description": "RPC",
|
switches |
0:0e018d759a2a
|
501
|
"source_dir": join(TEST_DIR, "mbed", "rpc"),
|
switches |
0:0e018d759a2a
|
502
|
"dependencies": [MBED_LIBRARIES, join(LIB_DIR, "rpc"), TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
503
|
"automated": False,
|
switches |
0:0e018d759a2a
|
504
|
"mcu": ["LPC1768"]
|
switches |
0:0e018d759a2a
|
505
|
},
|
switches |
0:0e018d759a2a
|
506
|
{
|
switches |
0:0e018d759a2a
|
507
|
"id": "MBED_16", "description": "RTC",
|
switches |
0:0e018d759a2a
|
508
|
"source_dir": join(TEST_DIR, "mbed", "rtc"),
|
switches |
0:0e018d759a2a
|
509
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
510
|
"automated": True,
|
switches |
0:0e018d759a2a
|
511
|
"exclude_mcu": ["NRF51822", "NRF51822_BOOT", "NRF51822_OTA", "NRF51822_Y5_MBUG",
|
switches |
0:0e018d759a2a
|
512
|
"NRF51_DK", "NRF51_DK_BOOT", "NRF51_DK_OTA",
|
switches |
0:0e018d759a2a
|
513
|
"NRF51_MICROBIT", "NRF51_MICROBIT_B", "NRF51_MICROBIT_BOOT",
|
switches |
0:0e018d759a2a
|
514
|
"NRF51_MICROBIT_B_BOOT", "NRF51_MICROBIT_B_OTA", "NRF51_MICROBIT_OTA",
|
switches |
0:0e018d759a2a
|
515
|
"HRM1017", "HRM1017_BOOT", "HRM1701_OTA",
|
switches |
0:0e018d759a2a
|
516
|
"NUCLEO_L011K4",
|
switches |
0:0e018d759a2a
|
517
|
"TY51822R3", "TY51822R3_BOOT", "TY51822R3_OTA",
|
switches |
0:0e018d759a2a
|
518
|
"NRF15_DONGLE", "NRF15_DONGLE_BOOT", "NRF15_DONGLE_OTA",
|
switches |
0:0e018d759a2a
|
519
|
"ARCH_BLE", "ARCH_BLE_BOOT", "ARCH_BLE_OTA",
|
switches |
0:0e018d759a2a
|
520
|
"ARCH_LINK", "ARCH_LINK_BOOT", "ARCH_LINK_OTA",
|
switches |
0:0e018d759a2a
|
521
|
"RBLAB_BLENANO", "RBLAB_BLENANO_BOOT", "RBLAB_BLENANO_OTA",
|
switches |
0:0e018d759a2a
|
522
|
"RBLAB_NRF51822", "RBLAB_NRF51822_BOOT", "RBLAB_NRF51822_OTA",
|
switches |
0:0e018d759a2a
|
523
|
"SEEED_TINY_BLE", "SEEED_TINY_BLE_BOOT", "SEEED_TINY_BLE_OTA",
|
switches |
0:0e018d759a2a
|
524
|
"WALLBOT_BLE", "WALLBOT_BLE_BOOT", "WALLBOT_BLE_OTA",
|
switches |
0:0e018d759a2a
|
525
|
"DELTA_DFCM_NNN40", "DELTA_DFCM_NNN40_BOOT", "DELTA_DFCM_NNN40_OTA",
|
switches |
0:0e018d759a2a
|
526
|
"LPC1114"],
|
switches |
0:0e018d759a2a
|
527
|
#"host_test": "rtc_auto",
|
switches |
0:0e018d759a2a
|
528
|
},
|
switches |
0:0e018d759a2a
|
529
|
{
|
switches |
0:0e018d759a2a
|
530
|
"id": "MBED_17", "description": "Serial Interrupt 2",
|
switches |
0:0e018d759a2a
|
531
|
"source_dir": join(TEST_DIR, "mbed", "serial_interrupt_2"),
|
switches |
0:0e018d759a2a
|
532
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
533
|
},
|
switches |
0:0e018d759a2a
|
534
|
{
|
switches |
0:0e018d759a2a
|
535
|
"id": "MBED_18", "description": "Local FS Directory",
|
switches |
0:0e018d759a2a
|
536
|
"source_dir": join(TEST_DIR, "mbed", "dir"),
|
switches |
0:0e018d759a2a
|
537
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
538
|
},
|
switches |
0:0e018d759a2a
|
539
|
{
|
switches |
0:0e018d759a2a
|
540
|
"id": "MBED_19", "description": "SD FS Directory",
|
switches |
0:0e018d759a2a
|
541
|
"source_dir": join(TEST_DIR, "mbed", "dir_sd"),
|
switches |
0:0e018d759a2a
|
542
|
"dependencies": [MBED_LIBRARIES, FS_LIBRARY],
|
switches |
0:0e018d759a2a
|
543
|
"peripherals": ["SD"]
|
switches |
0:0e018d759a2a
|
544
|
},
|
switches |
0:0e018d759a2a
|
545
|
{
|
switches |
0:0e018d759a2a
|
546
|
"id": "MBED_20", "description": "InterruptIn 2",
|
switches |
0:0e018d759a2a
|
547
|
"source_dir": join(TEST_DIR, "mbed", "interruptin_2"),
|
switches |
0:0e018d759a2a
|
548
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
549
|
},
|
switches |
0:0e018d759a2a
|
550
|
{
|
switches |
0:0e018d759a2a
|
551
|
"id": "MBED_21", "description": "freopen Stream",
|
switches |
0:0e018d759a2a
|
552
|
"source_dir": join(TEST_DIR, "mbed", "freopen"),
|
switches |
0:0e018d759a2a
|
553
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
554
|
},
|
switches |
0:0e018d759a2a
|
555
|
{
|
switches |
0:0e018d759a2a
|
556
|
"id": "MBED_22", "description": "Semihost",
|
switches |
0:0e018d759a2a
|
557
|
"source_dir": join(TEST_DIR, "mbed", "semihost"),
|
switches |
0:0e018d759a2a
|
558
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
559
|
"automated": True,
|
switches |
0:0e018d759a2a
|
560
|
"mcu": ["LPC1768", "LPC2368", "LPC11U24"]
|
switches |
0:0e018d759a2a
|
561
|
},
|
switches |
0:0e018d759a2a
|
562
|
{
|
switches |
0:0e018d759a2a
|
563
|
"id": "MBED_23", "description": "Ticker Int us",
|
switches |
0:0e018d759a2a
|
564
|
"source_dir": join(TEST_DIR, "mbed", "ticker_2"),
|
switches |
0:0e018d759a2a
|
565
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
566
|
"automated": True,
|
switches |
0:0e018d759a2a
|
567
|
#"host_test": "wait_us_auto"
|
switches |
0:0e018d759a2a
|
568
|
},
|
switches |
0:0e018d759a2a
|
569
|
{
|
switches |
0:0e018d759a2a
|
570
|
"id": "MBED_24", "description": "Timeout Int us",
|
switches |
0:0e018d759a2a
|
571
|
"source_dir": join(TEST_DIR, "mbed", "timeout"),
|
switches |
0:0e018d759a2a
|
572
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
573
|
"automated": True,
|
switches |
0:0e018d759a2a
|
574
|
#"host_test": "wait_us_auto"
|
switches |
0:0e018d759a2a
|
575
|
},
|
switches |
0:0e018d759a2a
|
576
|
{
|
switches |
0:0e018d759a2a
|
577
|
"id": "MBED_25", "description": "Time us",
|
switches |
0:0e018d759a2a
|
578
|
"source_dir": join(TEST_DIR, "mbed", "time_us"),
|
switches |
0:0e018d759a2a
|
579
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
580
|
"automated": True,
|
switches |
0:0e018d759a2a
|
581
|
#"host_test": "wait_us_auto"
|
switches |
0:0e018d759a2a
|
582
|
},
|
switches |
0:0e018d759a2a
|
583
|
{
|
switches |
0:0e018d759a2a
|
584
|
"id": "MBED_26", "description": "Integer constant division",
|
switches |
0:0e018d759a2a
|
585
|
"source_dir": join(TEST_DIR, "mbed", "div"),
|
switches |
0:0e018d759a2a
|
586
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
587
|
"automated": True,
|
switches |
0:0e018d759a2a
|
588
|
},
|
switches |
0:0e018d759a2a
|
589
|
{
|
switches |
0:0e018d759a2a
|
590
|
"id": "MBED_27", "description": "SPI ADXL345",
|
switches |
0:0e018d759a2a
|
591
|
"source_dir": join(TEST_DIR, "mbed", "spi_ADXL345"),
|
switches |
0:0e018d759a2a
|
592
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, join(PERIPHERALS, 'ADXL345')],
|
switches |
0:0e018d759a2a
|
593
|
"peripherals": ["ADXL345"]
|
switches |
0:0e018d759a2a
|
594
|
},
|
switches |
0:0e018d759a2a
|
595
|
{
|
switches |
0:0e018d759a2a
|
596
|
"id": "MBED_28", "description": "Interrupt chaining (InterruptManager)",
|
switches |
0:0e018d759a2a
|
597
|
"source_dir": join(TEST_DIR, "mbed", "interrupt_chaining"),
|
switches |
0:0e018d759a2a
|
598
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
599
|
},
|
switches |
0:0e018d759a2a
|
600
|
{
|
switches |
0:0e018d759a2a
|
601
|
"id": "MBED_29", "description": "CAN network test",
|
switches |
0:0e018d759a2a
|
602
|
"source_dir": join(TEST_DIR, "mbed", "can"),
|
switches |
0:0e018d759a2a
|
603
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
604
|
"mcu": ["LPC1768", "LPC4088", "LPC1549", "RZ_A1H", "B96B_F446VE", "NUCLEO_F091RC",
|
switches |
0:0e018d759a2a
|
605
|
"NUCLEO_F072RB", "NUCLEO_F042K6", "NUCLEO_F334R8", "NUCLEO_F303RE",
|
switches |
0:0e018d759a2a
|
606
|
"NUCLEO_F303K8", "NUCLEO_F302R8", "NUCLEO_F446RE","NUCLEO_F446ZE", "DISCO_F469NI", "NUCLEO_F207ZG",
|
switches |
0:0e018d759a2a
|
607
|
"DISCO_F429ZI", "NUCLEO_F103RB", "NUCLEO_F746ZG", "DISCO_F746NG",
|
switches |
0:0e018d759a2a
|
608
|
"NUCLEO_L476RG", "NUCLEO_L432KC"]
|
switches |
0:0e018d759a2a
|
609
|
},
|
switches |
0:0e018d759a2a
|
610
|
{
|
switches |
0:0e018d759a2a
|
611
|
"id": "MBED_30", "description": "CAN network test using interrupts",
|
switches |
0:0e018d759a2a
|
612
|
"source_dir": join(TEST_DIR, "mbed", "can_interrupt"),
|
switches |
0:0e018d759a2a
|
613
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
614
|
"mcu": ["LPC1768", "LPC4088", "LPC1549", "RZ_A1H", "B96B_F446VE", "NUCLEO_F091RC", "NUCLEO_F207ZG",
|
switches |
0:0e018d759a2a
|
615
|
"NUCLEO_F072RB", "NUCLEO_F042K6", "NUCLEO_F334R8", "NUCLEO_F303RE",
|
switches |
0:0e018d759a2a
|
616
|
"NUCLEO_F303K8", "NUCLEO_F302R8", "NUCLEO_F446RE", "NUCLEO_F446ZE", "DISCO_F469NI",
|
switches |
0:0e018d759a2a
|
617
|
"DISCO_F429ZI", "NUCLEO_F103RB", "NUCLEO_F746ZG", "DISCO_F746NG",
|
switches |
0:0e018d759a2a
|
618
|
"NUCLEO_L476RG", "NUCLEO_L432KC"]
|
switches |
0:0e018d759a2a
|
619
|
},
|
switches |
0:0e018d759a2a
|
620
|
{
|
switches |
0:0e018d759a2a
|
621
|
"id": "MBED_31", "description": "PWM LED test",
|
switches |
0:0e018d759a2a
|
622
|
"source_dir": join(TEST_DIR, "mbed", "pwm_led"),
|
switches |
0:0e018d759a2a
|
623
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
624
|
},
|
switches |
0:0e018d759a2a
|
625
|
{
|
switches |
0:0e018d759a2a
|
626
|
"id": "MBED_32", "description": "Pin toggling",
|
switches |
0:0e018d759a2a
|
627
|
"source_dir": join(TEST_DIR, "mbed", "pin_toggling"),
|
switches |
0:0e018d759a2a
|
628
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
629
|
},
|
switches |
0:0e018d759a2a
|
630
|
{
|
switches |
0:0e018d759a2a
|
631
|
"id": "MBED_33", "description": "C string operations",
|
switches |
0:0e018d759a2a
|
632
|
"source_dir": join(TEST_DIR, "mbed", "cstring"),
|
switches |
0:0e018d759a2a
|
633
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
634
|
"automated": False,
|
switches |
0:0e018d759a2a
|
635
|
},
|
switches |
0:0e018d759a2a
|
636
|
{
|
switches |
0:0e018d759a2a
|
637
|
"id": "MBED_34", "description": "Ticker Two callbacks",
|
switches |
0:0e018d759a2a
|
638
|
"source_dir": join(TEST_DIR, "mbed", "ticker_3"),
|
switches |
0:0e018d759a2a
|
639
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
640
|
"automated": True,
|
switches |
0:0e018d759a2a
|
641
|
#"host_test": "wait_us_auto"
|
switches |
0:0e018d759a2a
|
642
|
},
|
switches |
0:0e018d759a2a
|
643
|
{
|
switches |
0:0e018d759a2a
|
644
|
"id": "MBED_35", "description": "SPI C12832 display",
|
switches |
0:0e018d759a2a
|
645
|
"source_dir": join(TEST_DIR, "mbed", "spi_C12832"),
|
switches |
0:0e018d759a2a
|
646
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, join(PERIPHERALS, 'C12832')],
|
switches |
0:0e018d759a2a
|
647
|
"peripherals": ["C12832"],
|
switches |
0:0e018d759a2a
|
648
|
"automated": True,
|
switches |
0:0e018d759a2a
|
649
|
},
|
switches |
0:0e018d759a2a
|
650
|
{
|
switches |
0:0e018d759a2a
|
651
|
"id": "MBED_36", "description": "WFI correct behavior",
|
switches |
0:0e018d759a2a
|
652
|
"source_dir": join(TEST_DIR, "mbed", "wfi"),
|
switches |
0:0e018d759a2a
|
653
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
654
|
"automated": False
|
switches |
0:0e018d759a2a
|
655
|
},
|
switches |
0:0e018d759a2a
|
656
|
{
|
switches |
0:0e018d759a2a
|
657
|
"id": "MBED_37", "description": "Serial NC RX",
|
switches |
0:0e018d759a2a
|
658
|
"source_dir": join(TEST_DIR, "mbed", "serial_nc_rx"),
|
switches |
0:0e018d759a2a
|
659
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
660
|
"exclude_mcu": ["NUCLEO_L011K4"],
|
switches |
0:0e018d759a2a
|
661
|
"automated": True
|
switches |
0:0e018d759a2a
|
662
|
},
|
switches |
0:0e018d759a2a
|
663
|
{
|
switches |
0:0e018d759a2a
|
664
|
"id": "MBED_38", "description": "Serial NC TX",
|
switches |
0:0e018d759a2a
|
665
|
"source_dir": join(TEST_DIR, "mbed", "serial_nc_tx"),
|
switches |
0:0e018d759a2a
|
666
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
667
|
"exclude_mcu": ["NUCLEO_L011K4"],
|
switches |
0:0e018d759a2a
|
668
|
"automated": True
|
switches |
0:0e018d759a2a
|
669
|
},
|
switches |
0:0e018d759a2a
|
670
|
{
|
switches |
0:0e018d759a2a
|
671
|
"id": "MBED_39", "description": "Serial Complete",
|
switches |
0:0e018d759a2a
|
672
|
"source_dir": join(TEST_DIR, "mbed", "serial_complete"),
|
switches |
0:0e018d759a2a
|
673
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
674
|
"automated": False
|
switches |
0:0e018d759a2a
|
675
|
},
|
switches |
0:0e018d759a2a
|
676
|
|
switches |
0:0e018d759a2a
|
677
|
# CMSIS RTOS tests
|
switches |
0:0e018d759a2a
|
678
|
{
|
switches |
0:0e018d759a2a
|
679
|
"id": "CMSIS_RTOS_1", "description": "Basic",
|
switches |
0:0e018d759a2a
|
680
|
"source_dir": join(TEST_DIR, "rtos", "cmsis", "basic"),
|
switches |
0:0e018d759a2a
|
681
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES],
|
switches |
0:0e018d759a2a
|
682
|
},
|
switches |
0:0e018d759a2a
|
683
|
{
|
switches |
0:0e018d759a2a
|
684
|
"id": "CMSIS_RTOS_2", "description": "Mutex",
|
switches |
0:0e018d759a2a
|
685
|
"source_dir": join(TEST_DIR, "rtos", "cmsis", "mutex"),
|
switches |
0:0e018d759a2a
|
686
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES],
|
switches |
0:0e018d759a2a
|
687
|
},
|
switches |
0:0e018d759a2a
|
688
|
{
|
switches |
0:0e018d759a2a
|
689
|
"id": "CMSIS_RTOS_3", "description": "Semaphore",
|
switches |
0:0e018d759a2a
|
690
|
"source_dir": join(TEST_DIR, "rtos", "cmsis", "semaphore"),
|
switches |
0:0e018d759a2a
|
691
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES],
|
switches |
0:0e018d759a2a
|
692
|
},
|
switches |
0:0e018d759a2a
|
693
|
{
|
switches |
0:0e018d759a2a
|
694
|
"id": "CMSIS_RTOS_4", "description": "Signals",
|
switches |
0:0e018d759a2a
|
695
|
"source_dir": join(TEST_DIR, "rtos", "cmsis", "signals"),
|
switches |
0:0e018d759a2a
|
696
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES],
|
switches |
0:0e018d759a2a
|
697
|
},
|
switches |
0:0e018d759a2a
|
698
|
{
|
switches |
0:0e018d759a2a
|
699
|
"id": "CMSIS_RTOS_5", "description": "Queue",
|
switches |
0:0e018d759a2a
|
700
|
"source_dir": join(TEST_DIR, "rtos", "cmsis", "queue"),
|
switches |
0:0e018d759a2a
|
701
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES],
|
switches |
0:0e018d759a2a
|
702
|
},
|
switches |
0:0e018d759a2a
|
703
|
{
|
switches |
0:0e018d759a2a
|
704
|
"id": "CMSIS_RTOS_6", "description": "Mail",
|
switches |
0:0e018d759a2a
|
705
|
"source_dir": join(TEST_DIR, "rtos", "cmsis", "mail"),
|
switches |
0:0e018d759a2a
|
706
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES],
|
switches |
0:0e018d759a2a
|
707
|
},
|
switches |
0:0e018d759a2a
|
708
|
{
|
switches |
0:0e018d759a2a
|
709
|
"id": "CMSIS_RTOS_7", "description": "Timer",
|
switches |
0:0e018d759a2a
|
710
|
"source_dir": join(TEST_DIR, "rtos", "cmsis", "timer"),
|
switches |
0:0e018d759a2a
|
711
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES],
|
switches |
0:0e018d759a2a
|
712
|
},
|
switches |
0:0e018d759a2a
|
713
|
{
|
switches |
0:0e018d759a2a
|
714
|
"id": "CMSIS_RTOS_8", "description": "ISR",
|
switches |
0:0e018d759a2a
|
715
|
"source_dir": join(TEST_DIR, "rtos", "cmsis", "isr"),
|
switches |
0:0e018d759a2a
|
716
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES],
|
switches |
0:0e018d759a2a
|
717
|
},
|
switches |
0:0e018d759a2a
|
718
|
|
switches |
0:0e018d759a2a
|
719
|
# mbed RTOS tests
|
switches |
0:0e018d759a2a
|
720
|
{
|
switches |
0:0e018d759a2a
|
721
|
"id": "RTOS_1", "description": "Basic thread",
|
switches |
0:0e018d759a2a
|
722
|
"source_dir": join(TEST_DIR, "rtos", "mbed", "basic"),
|
switches |
0:0e018d759a2a
|
723
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
724
|
"automated": True,
|
switches |
0:0e018d759a2a
|
725
|
#"host_test": "wait_us_auto",
|
switches |
0:0e018d759a2a
|
726
|
"mcu": ["LPC1768", "LPC1549", "LPC11U24", "LPC812", "LPC2460", "LPC824", "SSCI824",
|
switches |
0:0e018d759a2a
|
727
|
"KL25Z", "KL05Z", "K22F", "K64F", "K66F", "KL43Z", "KL46Z", "HEXIWEAR",
|
switches |
0:0e018d759a2a
|
728
|
"RZ_A1H", "VK_RZ_A1H", "DISCO_F407VG", "DISCO_F429ZI", "NUCLEO_F411RE", "DISCO_F469NI", "NUCLEO_F410RB", "NUCLEO_F429ZI",
|
switches |
0:0e018d759a2a
|
729
|
"NUCLEO_F401RE", "NUCLEO_F334R8", "DISCO_F334C8", "NUCLEO_F302R8", "NUCLEO_F070RB", "NUCLEO_F207ZG",
|
switches |
0:0e018d759a2a
|
730
|
"NUCLEO_L073RZ", "NUCLEO_F072RB", "NUCLEO_F091RC", "NUCLEO_L432KC", "DISCO_L476VG", "NUCLEO_L476RG",
|
switches |
0:0e018d759a2a
|
731
|
"DISCO_F401VC", "NUCLEO_F303RE", "NUCLEO_F303ZE", "NUCLEO_F303K8", "MAXWSNENV", "MAX32600MBED", "NUCLEO_L152RE", "NUCLEO_F446RE", "NUCLEO_F446ZE", "NUCLEO_F103RB", "DISCO_F746NG", "NUCLEO_F746ZG", "MOTE_L152RC", "B96B_F446VE",
|
switches |
0:0e018d759a2a
|
732
|
"EFM32HG_STK3400", "EFM32PG_STK3401", "EFM32LG_STK3600", "EFM32GG_STK3700", "EFM32WG_STK3800",
|
switches |
0:0e018d759a2a
|
733
|
"NRF51822", "NRF51_DK", "SEEED_TINY_BLE", "ARM_BEETLE_SOC", "NUCLEO_F767ZI", "DISCO_F769NI"],
|
switches |
0:0e018d759a2a
|
734
|
},
|
switches |
0:0e018d759a2a
|
735
|
{
|
switches |
0:0e018d759a2a
|
736
|
"id": "RTOS_2", "description": "Mutex resource lock",
|
switches |
0:0e018d759a2a
|
737
|
"source_dir": join(TEST_DIR, "rtos", "mbed", "mutex"),
|
switches |
0:0e018d759a2a
|
738
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
739
|
"automated": True,
|
switches |
0:0e018d759a2a
|
740
|
"mcu": ["LPC1768", "LPC1549", "LPC11U24", "LPC812", "LPC2460", "LPC824", "SSCI824",
|
switches |
0:0e018d759a2a
|
741
|
"KL25Z", "KL05Z", "K22F", "K64F", "K66F", "KL43Z", "KL46Z", "HEXIWEAR",
|
switches |
0:0e018d759a2a
|
742
|
"RZ_A1H", "VK_RZ_A1H", "DISCO_F407VG", "DISCO_F429ZI", "NUCLEO_F411RE", "DISCO_F469NI", "NUCLEO_F410RB", "NUCLEO_F429ZI",
|
switches |
0:0e018d759a2a
|
743
|
"NUCLEO_F401RE", "NUCLEO_F334R8", "DISCO_F334C8", "NUCLEO_F302R8", "NUCLEO_F303ZE", "NUCLEO_F070RB", "NUCLEO_F207ZG",
|
switches |
0:0e018d759a2a
|
744
|
"NUCLEO_L073RZ", "NUCLEO_F072RB", "NUCLEO_F091RC", "NUCLEO_L432KC", "DISCO_L476VG", "NUCLEO_L476RG",
|
switches |
0:0e018d759a2a
|
745
|
"DISCO_F401VC", "NUCLEO_F303RE", "NUCLEO_F303K8", "MAXWSNENV", "MAX32600MBED", "NUCLEO_L152RE", "NUCLEO_F446RE", "NUCLEO_F103RB", "DISCO_F746NG",
|
switches |
0:0e018d759a2a
|
746
|
"NUCLEO_F446ZE", "NUCLEO_F746ZG", "MOTE_L152RC", "B96B_F446VE",
|
switches |
0:0e018d759a2a
|
747
|
"EFM32HG_STK3400", "EFM32PG_STK3401", "EFM32LG_STK3600", "EFM32GG_STK3700", "EFM32WG_STK3800",
|
switches |
0:0e018d759a2a
|
748
|
"NRF51822", "NRF51_DK", "SEEED_TINY_BLE", "ARM_BEETLE_SOC", "NUCLEO_F767ZI", "DISCO_F769NI"],
|
switches |
0:0e018d759a2a
|
749
|
},
|
switches |
0:0e018d759a2a
|
750
|
{
|
switches |
0:0e018d759a2a
|
751
|
"id": "RTOS_3", "description": "Semaphore resource lock",
|
switches |
0:0e018d759a2a
|
752
|
"source_dir": join(TEST_DIR, "rtos", "mbed", "semaphore"),
|
switches |
0:0e018d759a2a
|
753
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
754
|
"automated": True,
|
switches |
0:0e018d759a2a
|
755
|
"mcu": ["LPC1768", "LPC1549", "LPC11U24", "LPC812", "LPC2460", "LPC824", "SSCI824",
|
switches |
0:0e018d759a2a
|
756
|
"KL25Z", "KL05Z", "K22F", "K64F", "K66F", "KL43Z", "KL46Z", "HEXIWEAR",
|
switches |
0:0e018d759a2a
|
757
|
"RZ_A1H", "VK_RZ_A1H", "DISCO_F407VG", "DISCO_F429ZI", "NUCLEO_F411RE", "DISCO_F469NI", "NUCLEO_F410RB", "NUCLEO_F429ZI",
|
switches |
0:0e018d759a2a
|
758
|
"NUCLEO_F401RE", "NUCLEO_F334R8", "DISCO_F334C8", "NUCLEO_F302R8", "NUCLEO_F303ZE", "NUCLEO_F070RB", "NUCLEO_F207ZG",
|
switches |
0:0e018d759a2a
|
759
|
"NUCLEO_L073RZ", "NUCLEO_F072RB", "NUCLEO_F091RC", "NUCLEO_L432KC", "DISCO_L476VG", "NUCLEO_L476RG",
|
switches |
0:0e018d759a2a
|
760
|
"DISCO_F401VC", "NUCLEO_F303RE", "NUCLEO_F303K8", "MAXWSNENV", "MAX32600MBED", "NUCLEO_L152RE", "NUCLEO_F446RE", "NUCLEO_F446ZE",
|
switches |
0:0e018d759a2a
|
761
|
"NUCLEO_F103RB", "DISCO_F746NG",
|
switches |
0:0e018d759a2a
|
762
|
"NUCLEO_F746ZG", "MOTE_L152RC", "B96B_F446VE",
|
switches |
0:0e018d759a2a
|
763
|
"EFM32HG_STK3400", "EFM32PG_STK3401", "EFM32LG_STK3600", "EFM32GG_STK3700", "EFM32WG_STK3800",
|
switches |
0:0e018d759a2a
|
764
|
"NRF51822", "NRF51_DK", "SEEED_TINY_BLE", "ARM_BEETLE_SOC", "NUCLEO_F767ZI", "DISCO_F769NI"],
|
switches |
0:0e018d759a2a
|
765
|
},
|
switches |
0:0e018d759a2a
|
766
|
{
|
switches |
0:0e018d759a2a
|
767
|
"id": "RTOS_4", "description": "Signals messaging",
|
switches |
0:0e018d759a2a
|
768
|
"source_dir": join(TEST_DIR, "rtos", "mbed", "signals"),
|
switches |
0:0e018d759a2a
|
769
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
770
|
"automated": True,
|
switches |
0:0e018d759a2a
|
771
|
"mcu": ["LPC1768", "LPC1549", "LPC11U24", "LPC812", "LPC2460", "LPC824", "SSCI824",
|
switches |
0:0e018d759a2a
|
772
|
"KL25Z", "KL05Z", "K22F", "K64F", "K66F", "KL43Z", "KL46Z", "HEXIWEAR",
|
switches |
0:0e018d759a2a
|
773
|
"RZ_A1H", "VK_RZ_A1H", "DISCO_F407VG", "DISCO_F429ZI", "NUCLEO_F411RE", "DISCO_F469NI", "NUCLEO_F410RB", "NUCLEO_F429ZI",
|
switches |
0:0e018d759a2a
|
774
|
"NUCLEO_F401RE", "NUCLEO_F334R8", "DISCO_F334C8", "NUCLEO_F302R8", "NUCLEO_F303ZE", "NUCLEO_F070RB", "NUCLEO_F207ZG",
|
switches |
0:0e018d759a2a
|
775
|
"NUCLEO_L073RZ", "NUCLEO_F072RB", "NUCLEO_F091RC", "NUCLEO_L432KC", "DISCO_L476VG", "NUCLEO_L476RG",
|
switches |
0:0e018d759a2a
|
776
|
"DISCO_F401VC", "NUCLEO_F303RE", "NUCLEO_F303K8", "MAXWSNENV", "MAX32600MBED", "NUCLEO_L152RE", "NUCLEO_F446RE", "NUCLEO_F446ZE",
|
switches |
0:0e018d759a2a
|
777
|
"NUCLEO_F103RB", "DISCO_F746NG",
|
switches |
0:0e018d759a2a
|
778
|
"NUCLEO_F746ZG", "MOTE_L152RC", "B96B_F446VE",
|
switches |
0:0e018d759a2a
|
779
|
"EFM32HG_STK3400", "EFM32PG_STK3401", "EFM32LG_STK3600", "EFM32GG_STK3700", "EFM32WG_STK3800",
|
switches |
0:0e018d759a2a
|
780
|
"NRF51822", "NRF51_DK", "SEEED_TINY_BLE", "ARM_BEETLE_SOC", "NUCLEO_F767ZI", "DISCO_F769NI"],
|
switches |
0:0e018d759a2a
|
781
|
},
|
switches |
0:0e018d759a2a
|
782
|
{
|
switches |
0:0e018d759a2a
|
783
|
"id": "RTOS_5", "description": "Queue messaging",
|
switches |
0:0e018d759a2a
|
784
|
"source_dir": join(TEST_DIR, "rtos", "mbed", "queue"),
|
switches |
0:0e018d759a2a
|
785
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
786
|
"automated": True,
|
switches |
0:0e018d759a2a
|
787
|
"mcu": ["LPC1768", "LPC1549", "LPC11U24", "LPC812", "LPC2460", "LPC824", "SSCI824",
|
switches |
0:0e018d759a2a
|
788
|
"KL25Z", "KL05Z", "K22F", "K64F", "K66F", "KL43Z", "KL46Z", "HEXIWEAR",
|
switches |
0:0e018d759a2a
|
789
|
"RZ_A1H", "VK_RZ_A1H", "DISCO_F407VG", "DISCO_F429ZI", "NUCLEO_F411RE", "DISCO_F469NI", "NUCLEO_F410RB", "NUCLEO_F429ZI",
|
switches |
0:0e018d759a2a
|
790
|
"NUCLEO_F401RE", "NUCLEO_F334R8", "DISCO_F334C8", "NUCLEO_F302R8", "NUCLEO_F303ZE", "NUCLEO_F070RB", "NUCLEO_F207ZG",
|
switches |
0:0e018d759a2a
|
791
|
"NUCLEO_L073RZ", "NUCLEO_F072RB", "NUCLEO_F091RC", "NUCLEO_L432KC", "DISCO_L476VG", "NUCLEO_L476RG",
|
switches |
0:0e018d759a2a
|
792
|
"DISCO_F401VC", "NUCLEO_F303RE", "NUCLEO_F303K8", "MAXWSNENV", "MAX32600MBED", "NUCLEO_L152RE",
|
switches |
0:0e018d759a2a
|
793
|
"NUCLEO_F446RE", "NUCLEO_F446ZE", "NUCLEO_F103RB", "DISCO_F746NG", "NUCLEO_F746ZG", "MOTE_L152RC", "B96B_F446VE",
|
switches |
0:0e018d759a2a
|
794
|
"EFM32HG_STK3400", "EFM32PG_STK3401", "EFM32LG_STK3600", "EFM32GG_STK3700", "EFM32WG_STK3800",
|
switches |
0:0e018d759a2a
|
795
|
"NRF51822", "NRF51_DK", "SEEED_TINY_BLE", "ARM_BEETLE_SOC", "NUCLEO_F767ZI", "DISCO_F769NI"],
|
switches |
0:0e018d759a2a
|
796
|
},
|
switches |
0:0e018d759a2a
|
797
|
{
|
switches |
0:0e018d759a2a
|
798
|
"id": "RTOS_6", "description": "Mail messaging",
|
switches |
0:0e018d759a2a
|
799
|
"source_dir": join(TEST_DIR, "rtos", "mbed", "mail"),
|
switches |
0:0e018d759a2a
|
800
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
801
|
"automated": True,
|
switches |
0:0e018d759a2a
|
802
|
"mcu": ["LPC1768", "LPC1549", "LPC11U24", "LPC812", "LPC2460", "LPC824", "SSCI824",
|
switches |
0:0e018d759a2a
|
803
|
"KL25Z", "KL05Z", "K22F", "K64F", "K66F", "KL43Z", "KL46Z", "HEXIWEAR",
|
switches |
0:0e018d759a2a
|
804
|
"RZ_A1H", "VK_RZ_A1H", "DISCO_F407VG", "DISCO_F429ZI", "NUCLEO_F411RE", "DISCO_F469NI", "NUCLEO_F410RB", "NUCLEO_F429ZI",
|
switches |
0:0e018d759a2a
|
805
|
"NUCLEO_F401RE", "NUCLEO_F334R8", "DISCO_F334C8", "NUCLEO_F302R8", "NUCLEO_F303ZE", "NUCLEO_F070RB", "NUCLEO_F207ZG",
|
switches |
0:0e018d759a2a
|
806
|
"NUCLEO_L073RZ", "NUCLEO_F072RB", "NUCLEO_F091RC", "NUCLEO_L432KC", "DISCO_L476VG", "NUCLEO_L476RG",
|
switches |
0:0e018d759a2a
|
807
|
"DISCO_F401VC", "NUCLEO_F303RE", "NUCLEO_F303K8", "MAXWSNENV", "MAX32600MBED", "NUCLEO_L152RE",
|
switches |
0:0e018d759a2a
|
808
|
"NUCLEO_F446RE", "NUCLEO_F446ZE", "NUCLEO_F103RB", "DISCO_F746NG", "NUCLEO_F746ZG", "MOTE_L152RC", "B96B_F446VE",
|
switches |
0:0e018d759a2a
|
809
|
"EFM32HG_STK3400", "EFM32PG_STK3401", "EFM32LG_STK3600", "EFM32GG_STK3700", "EFM32WG_STK3800",
|
switches |
0:0e018d759a2a
|
810
|
"NRF51822", "NRF51_DK", "SEEED_TINY_BLE", "ARM_BEETLE_SOC", "NUCLEO_F767ZI", "DISCO_F769NI"],
|
switches |
0:0e018d759a2a
|
811
|
},
|
switches |
0:0e018d759a2a
|
812
|
{
|
switches |
0:0e018d759a2a
|
813
|
"id": "RTOS_7", "description": "Timer",
|
switches |
0:0e018d759a2a
|
814
|
"source_dir": join(TEST_DIR, "rtos", "mbed", "timer"),
|
switches |
0:0e018d759a2a
|
815
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
816
|
"automated": True,
|
switches |
0:0e018d759a2a
|
817
|
#"host_test": "wait_us_auto",
|
switches |
0:0e018d759a2a
|
818
|
"mcu": ["LPC1768", "LPC1549", "LPC11U24", "LPC812", "LPC2460", "LPC824", "SSCI824",
|
switches |
0:0e018d759a2a
|
819
|
"KL25Z", "KL05Z", "K22F", "K64F", "K66F", "KL43Z", "KL46Z", "HEXIWEAR",
|
switches |
0:0e018d759a2a
|
820
|
"RZ_A1H", "VK_RZ_A1H", "DISCO_F407VG", "DISCO_F429ZI", "NUCLEO_F411RE", "DISCO_F469NI", "NUCLEO_F410RB", "NUCLEO_F429ZI",
|
switches |
0:0e018d759a2a
|
821
|
"NUCLEO_F401RE", "NUCLEO_F334R8", "DISCO_F334C8", "NUCLEO_F302R8", "NUCLEO_F303ZE", "NUCLEO_F070RB", "NUCLEO_F207ZG",
|
switches |
0:0e018d759a2a
|
822
|
"NUCLEO_L073RZ", "NUCLEO_F072RB", "NUCLEO_F091RC", "NUCLEO_L432KC", "DISCO_L476VG", "NUCLEO_L476RG",
|
switches |
0:0e018d759a2a
|
823
|
"DISCO_F401VC", "NUCLEO_F303RE", "NUCLEO_F303K8", "MAXWSNENV", "MAX32600MBED", "NUCLEO_L152RE",
|
switches |
0:0e018d759a2a
|
824
|
"NUCLEO_F446RE", "NUCLEO_F446ZE", "NUCLEO_F103RB", "DISCO_F746NG", "NUCLEO_F746ZG", "MOTE_L152RC", "B96B_F446VE",
|
switches |
0:0e018d759a2a
|
825
|
"EFM32HG_STK3400", "EFM32PG_STK3401", "EFM32LG_STK3600", "EFM32GG_STK3700", "EFM32WG_STK3800",
|
switches |
0:0e018d759a2a
|
826
|
"NRF51822", "NRF51_DK", "SEEED_TINY_BLE", "ARM_BEETLE_SOC", "NUCLEO_F767ZI", "DISCO_F769NI"],
|
switches |
0:0e018d759a2a
|
827
|
},
|
switches |
0:0e018d759a2a
|
828
|
{
|
switches |
0:0e018d759a2a
|
829
|
"id": "RTOS_8", "description": "ISR (Queue)",
|
switches |
0:0e018d759a2a
|
830
|
"source_dir": join(TEST_DIR, "rtos", "mbed", "isr"),
|
switches |
0:0e018d759a2a
|
831
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
832
|
"automated": True,
|
switches |
0:0e018d759a2a
|
833
|
"mcu": ["LPC1768", "LPC1549", "LPC11U24", "LPC812", "LPC2460", "LPC824", "SSCI824",
|
switches |
0:0e018d759a2a
|
834
|
"KL25Z", "KL05Z", "K22F", "K64F", "K66F", "KL43Z", "KL46Z", "HEXIWEAR",
|
switches |
0:0e018d759a2a
|
835
|
"RZ_A1H", "VK_RZ_A1H", "DISCO_F407VG", "DISCO_F429ZI", "NUCLEO_F411RE", "DISCO_F469NI", "NUCLEO_F410RB", "NUCLEO_F429ZI",
|
switches |
0:0e018d759a2a
|
836
|
"NUCLEO_F401RE", "NUCLEO_F334R8", "DISCO_F334C8", "NUCLEO_F302R8", "NUCLEO_F303ZE", "NUCLEO_F070RB", "NUCLEO_F207ZG",
|
switches |
0:0e018d759a2a
|
837
|
"NUCLEO_L073RZ", "NUCLEO_F072RB", "NUCLEO_F091RC", "NUCLEO_L432KC", "DISCO_L476VG", "NUCLEO_L476RG",
|
switches |
0:0e018d759a2a
|
838
|
"DISCO_F401VC", "NUCLEO_F303RE", "NUCLEO_F303K8", "MAXWSNENV", "MAX32600MBED", "NUCLEO_L152RE",
|
switches |
0:0e018d759a2a
|
839
|
"NUCLEO_F446RE", "NUCLEO_F446ZE", "NUCLEO_F103RB", "DISCO_F746NG", "NUCLEO_F746ZG", "MOTE_L152RC", "B96B_F446VE",
|
switches |
0:0e018d759a2a
|
840
|
"EFM32HG_STK3400", "EFM32PG_STK3401", "EFM32LG_STK3600", "EFM32GG_STK3700", "EFM32WG_STK3800",
|
switches |
0:0e018d759a2a
|
841
|
"NRF51822", "NRF51_DK", "SEEED_TINY_BLE", "ARM_BEETLE_SOC", "NUCLEO_F767ZI", "DISCO_F769NI"],
|
switches |
0:0e018d759a2a
|
842
|
},
|
switches |
0:0e018d759a2a
|
843
|
{
|
switches |
0:0e018d759a2a
|
844
|
"id": "RTOS_9", "description": "SD File write-read",
|
switches |
0:0e018d759a2a
|
845
|
"source_dir": join(TEST_DIR, "rtos", "mbed", "file"),
|
switches |
0:0e018d759a2a
|
846
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, TEST_MBED_LIB, FS_LIBRARY],
|
switches |
0:0e018d759a2a
|
847
|
"automated": True,
|
switches |
0:0e018d759a2a
|
848
|
"peripherals": ["SD"],
|
switches |
0:0e018d759a2a
|
849
|
"mcu": ["LPC1768", "LPC11U24", "LPC812", "KL25Z", "HEXIWEAR",
|
switches |
0:0e018d759a2a
|
850
|
"KL05Z", "K64F", "K66F", "KL46Z", "RZ_A1H",
|
switches |
0:0e018d759a2a
|
851
|
"DISCO_F407VG", "DISCO_F429ZI", "NUCLEO_F429ZI", "NUCLEO_F411RE", "NUCLEO_F401RE", "NUCLEO_F410RB", "DISCO_F469NI", "NUCLEO_F207ZG"],
|
switches |
0:0e018d759a2a
|
852
|
},
|
switches |
0:0e018d759a2a
|
853
|
|
switches |
0:0e018d759a2a
|
854
|
# Networking Tests
|
switches |
0:0e018d759a2a
|
855
|
{
|
switches |
0:0e018d759a2a
|
856
|
"id": "NET_1", "description": "TCP client hello world",
|
switches |
0:0e018d759a2a
|
857
|
"source_dir": join(TEST_DIR, "net", "helloworld", "tcpclient"),
|
switches |
0:0e018d759a2a
|
858
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, ETH_LIBRARY, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
859
|
"automated": True,
|
switches |
0:0e018d759a2a
|
860
|
"peripherals": ["ethernet"],
|
switches |
0:0e018d759a2a
|
861
|
},
|
switches |
0:0e018d759a2a
|
862
|
{
|
switches |
0:0e018d759a2a
|
863
|
"id": "NET_2", "description": "NIST Internet Time Service",
|
switches |
0:0e018d759a2a
|
864
|
"source_dir": join(TEST_DIR, "net", "helloworld", "udpclient"),
|
switches |
0:0e018d759a2a
|
865
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, ETH_LIBRARY, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
866
|
"automated": True,
|
switches |
0:0e018d759a2a
|
867
|
"peripherals": ["ethernet"],
|
switches |
0:0e018d759a2a
|
868
|
},
|
switches |
0:0e018d759a2a
|
869
|
{
|
switches |
0:0e018d759a2a
|
870
|
"id": "NET_3", "description": "TCP echo server",
|
switches |
0:0e018d759a2a
|
871
|
"source_dir": join(TEST_DIR, "net", "echo", "tcp_server"),
|
switches |
0:0e018d759a2a
|
872
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, ETH_LIBRARY, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
873
|
"automated": True,
|
switches |
0:0e018d759a2a
|
874
|
#"host_test" : "tcpecho_server_auto",
|
switches |
0:0e018d759a2a
|
875
|
"peripherals": ["ethernet"],
|
switches |
0:0e018d759a2a
|
876
|
},
|
switches |
0:0e018d759a2a
|
877
|
{
|
switches |
0:0e018d759a2a
|
878
|
"id": "NET_4", "description": "TCP echo client",
|
switches |
0:0e018d759a2a
|
879
|
"source_dir": join(TEST_DIR, "net", "echo", "tcp_client"),
|
switches |
0:0e018d759a2a
|
880
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, ETH_LIBRARY, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
881
|
"automated": True,
|
switches |
0:0e018d759a2a
|
882
|
#"host_test": "tcpecho_client_auto",
|
switches |
0:0e018d759a2a
|
883
|
"peripherals": ["ethernet"]
|
switches |
0:0e018d759a2a
|
884
|
},
|
switches |
0:0e018d759a2a
|
885
|
{
|
switches |
0:0e018d759a2a
|
886
|
"id": "NET_5", "description": "UDP echo server",
|
switches |
0:0e018d759a2a
|
887
|
"source_dir": join(TEST_DIR, "net", "echo", "udp_server"),
|
switches |
0:0e018d759a2a
|
888
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, ETH_LIBRARY, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
889
|
"automated": True,
|
switches |
0:0e018d759a2a
|
890
|
#"host_test" : "udpecho_server_auto",
|
switches |
0:0e018d759a2a
|
891
|
"peripherals": ["ethernet"]
|
switches |
0:0e018d759a2a
|
892
|
},
|
switches |
0:0e018d759a2a
|
893
|
{
|
switches |
0:0e018d759a2a
|
894
|
"id": "NET_6", "description": "UDP echo client",
|
switches |
0:0e018d759a2a
|
895
|
"source_dir": join(TEST_DIR, "net", "echo", "udp_client"),
|
switches |
0:0e018d759a2a
|
896
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, ETH_LIBRARY, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
897
|
"automated": True,
|
switches |
0:0e018d759a2a
|
898
|
#"host_test" : "udpecho_client_auto",
|
switches |
0:0e018d759a2a
|
899
|
"peripherals": ["ethernet"],
|
switches |
0:0e018d759a2a
|
900
|
},
|
switches |
0:0e018d759a2a
|
901
|
{
|
switches |
0:0e018d759a2a
|
902
|
"id": "NET_7", "description": "HTTP client hello world",
|
switches |
0:0e018d759a2a
|
903
|
"source_dir": join(TEST_DIR, "net", "protocols", "HTTPClient_HelloWorld"),
|
switches |
0:0e018d759a2a
|
904
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, ETH_LIBRARY, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
905
|
"automated": True,
|
switches |
0:0e018d759a2a
|
906
|
"peripherals": ["ethernet"],
|
switches |
0:0e018d759a2a
|
907
|
},
|
switches |
0:0e018d759a2a
|
908
|
{
|
switches |
0:0e018d759a2a
|
909
|
"id": "NET_8", "description": "NTP client",
|
switches |
0:0e018d759a2a
|
910
|
"source_dir": join(TEST_DIR, "net", "protocols", "NTPClient_HelloWorld"),
|
switches |
0:0e018d759a2a
|
911
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, ETH_LIBRARY, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
912
|
"automated": True,
|
switches |
0:0e018d759a2a
|
913
|
"peripherals": ["ethernet"],
|
switches |
0:0e018d759a2a
|
914
|
},
|
switches |
0:0e018d759a2a
|
915
|
{
|
switches |
0:0e018d759a2a
|
916
|
"id": "NET_9", "description": "Multicast Send",
|
switches |
0:0e018d759a2a
|
917
|
"source_dir": join(TEST_DIR, "net", "helloworld", "multicast_send"),
|
switches |
0:0e018d759a2a
|
918
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, ETH_LIBRARY],
|
switches |
0:0e018d759a2a
|
919
|
"peripherals": ["ethernet"],
|
switches |
0:0e018d759a2a
|
920
|
},
|
switches |
0:0e018d759a2a
|
921
|
{
|
switches |
0:0e018d759a2a
|
922
|
"id": "NET_10", "description": "Multicast Receive",
|
switches |
0:0e018d759a2a
|
923
|
"source_dir": join(TEST_DIR, "net", "helloworld", "multicast_receive"),
|
switches |
0:0e018d759a2a
|
924
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, ETH_LIBRARY],
|
switches |
0:0e018d759a2a
|
925
|
"peripherals": ["ethernet"],
|
switches |
0:0e018d759a2a
|
926
|
},
|
switches |
0:0e018d759a2a
|
927
|
{
|
switches |
0:0e018d759a2a
|
928
|
"id": "NET_11", "description": "Broadcast Send",
|
switches |
0:0e018d759a2a
|
929
|
"source_dir": join(TEST_DIR, "net", "helloworld", "broadcast_send"),
|
switches |
0:0e018d759a2a
|
930
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, ETH_LIBRARY],
|
switches |
0:0e018d759a2a
|
931
|
"peripherals": ["ethernet"],
|
switches |
0:0e018d759a2a
|
932
|
},
|
switches |
0:0e018d759a2a
|
933
|
{
|
switches |
0:0e018d759a2a
|
934
|
"id": "NET_12", "description": "Broadcast Receive",
|
switches |
0:0e018d759a2a
|
935
|
"source_dir": join(TEST_DIR, "net", "helloworld", "broadcast_receive"),
|
switches |
0:0e018d759a2a
|
936
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, ETH_LIBRARY],
|
switches |
0:0e018d759a2a
|
937
|
"peripherals": ["ethernet"],
|
switches |
0:0e018d759a2a
|
938
|
},
|
switches |
0:0e018d759a2a
|
939
|
{
|
switches |
0:0e018d759a2a
|
940
|
"id": "NET_13", "description": "TCP client echo loop",
|
switches |
0:0e018d759a2a
|
941
|
"source_dir": join(TEST_DIR, "net", "echo", "tcp_client_loop"),
|
switches |
0:0e018d759a2a
|
942
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, ETH_LIBRARY, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
943
|
"automated": True,
|
switches |
0:0e018d759a2a
|
944
|
#"host_test": "tcpecho_client_auto",
|
switches |
0:0e018d759a2a
|
945
|
"peripherals": ["ethernet"],
|
switches |
0:0e018d759a2a
|
946
|
},
|
switches |
0:0e018d759a2a
|
947
|
{
|
switches |
0:0e018d759a2a
|
948
|
"id": "NET_14", "description": "UDP PHY/Data link layer",
|
switches |
0:0e018d759a2a
|
949
|
"source_dir": join(TEST_DIR, "net", "echo", "udp_link_layer"),
|
switches |
0:0e018d759a2a
|
950
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, ETH_LIBRARY],
|
switches |
0:0e018d759a2a
|
951
|
"automated": False,
|
switches |
0:0e018d759a2a
|
952
|
"host_test": "udp_link_layer_auto",
|
switches |
0:0e018d759a2a
|
953
|
"peripherals": ["ethernet"],
|
switches |
0:0e018d759a2a
|
954
|
},
|
switches |
0:0e018d759a2a
|
955
|
|
switches |
0:0e018d759a2a
|
956
|
# u-blox tests
|
switches |
0:0e018d759a2a
|
957
|
{
|
switches |
0:0e018d759a2a
|
958
|
"id": "UB_1", "description": "u-blox USB modem: HTTP client",
|
switches |
0:0e018d759a2a
|
959
|
"source_dir": [join(TEST_DIR, "net", "cellular", "http", "ubloxusb"), join(TEST_DIR, "net", "cellular", "http", "common")],
|
switches |
0:0e018d759a2a
|
960
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, USB_HOST_LIBRARIES, UBLOX_LIBRARY],
|
switches |
0:0e018d759a2a
|
961
|
"supported": CORTEX_ARM_SUPPORT,
|
switches |
0:0e018d759a2a
|
962
|
},
|
switches |
0:0e018d759a2a
|
963
|
{
|
switches |
0:0e018d759a2a
|
964
|
"id": "UB_2", "description": "u-blox USB modem: SMS test",
|
switches |
0:0e018d759a2a
|
965
|
"source_dir": [join(TEST_DIR, "net", "cellular", "sms", "ubloxusb"), join(TEST_DIR, "net", "cellular", "sms", "common")],
|
switches |
0:0e018d759a2a
|
966
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, USB_HOST_LIBRARIES, UBLOX_LIBRARY],
|
switches |
0:0e018d759a2a
|
967
|
"supported": CORTEX_ARM_SUPPORT,
|
switches |
0:0e018d759a2a
|
968
|
},
|
switches |
0:0e018d759a2a
|
969
|
|
switches |
0:0e018d759a2a
|
970
|
# USB Tests
|
switches |
0:0e018d759a2a
|
971
|
{
|
switches |
0:0e018d759a2a
|
972
|
"id": "USB_1", "description": "Mouse",
|
switches |
0:0e018d759a2a
|
973
|
"source_dir": join(TEST_DIR, "usb", "device", "basic"),
|
switches |
0:0e018d759a2a
|
974
|
"dependencies": [MBED_LIBRARIES, USB_LIBRARIES],
|
switches |
0:0e018d759a2a
|
975
|
},
|
switches |
0:0e018d759a2a
|
976
|
{
|
switches |
0:0e018d759a2a
|
977
|
"id": "USB_2", "description": "Keyboard",
|
switches |
0:0e018d759a2a
|
978
|
"source_dir": join(TEST_DIR, "usb", "device", "keyboard"),
|
switches |
0:0e018d759a2a
|
979
|
"dependencies": [MBED_LIBRARIES, USB_LIBRARIES],
|
switches |
0:0e018d759a2a
|
980
|
},
|
switches |
0:0e018d759a2a
|
981
|
{
|
switches |
0:0e018d759a2a
|
982
|
"id": "USB_3", "description": "Mouse_Keyboard",
|
switches |
0:0e018d759a2a
|
983
|
"source_dir": join(TEST_DIR, "usb", "device", "keyboard"),
|
switches |
0:0e018d759a2a
|
984
|
"dependencies": [MBED_LIBRARIES, USB_LIBRARIES],
|
switches |
0:0e018d759a2a
|
985
|
},
|
switches |
0:0e018d759a2a
|
986
|
{
|
switches |
0:0e018d759a2a
|
987
|
"id": "USB_4", "description": "Serial Port",
|
switches |
0:0e018d759a2a
|
988
|
"source_dir": join(TEST_DIR, "usb", "device", "serial"),
|
switches |
0:0e018d759a2a
|
989
|
"dependencies": [MBED_LIBRARIES, USB_LIBRARIES],
|
switches |
0:0e018d759a2a
|
990
|
"supported": CORTEX_ARM_SUPPORT,
|
switches |
0:0e018d759a2a
|
991
|
},
|
switches |
0:0e018d759a2a
|
992
|
{
|
switches |
0:0e018d759a2a
|
993
|
"id": "USB_5", "description": "Generic HID",
|
switches |
0:0e018d759a2a
|
994
|
"source_dir": join(TEST_DIR, "usb", "device", "raw_hid"),
|
switches |
0:0e018d759a2a
|
995
|
"dependencies": [MBED_LIBRARIES, USB_LIBRARIES],
|
switches |
0:0e018d759a2a
|
996
|
},
|
switches |
0:0e018d759a2a
|
997
|
{
|
switches |
0:0e018d759a2a
|
998
|
"id": "USB_6", "description": "MIDI",
|
switches |
0:0e018d759a2a
|
999
|
"source_dir": join(TEST_DIR, "usb", "device", "midi"),
|
switches |
0:0e018d759a2a
|
1000
|
"dependencies": [MBED_LIBRARIES, USB_LIBRARIES],
|
switches |
0:0e018d759a2a
|
1001
|
},
|
switches |
0:0e018d759a2a
|
1002
|
{
|
switches |
0:0e018d759a2a
|
1003
|
"id": "USB_7", "description": "AUDIO",
|
switches |
0:0e018d759a2a
|
1004
|
"source_dir": join(TEST_DIR, "usb", "device", "audio"),
|
switches |
0:0e018d759a2a
|
1005
|
"dependencies": [MBED_LIBRARIES, USB_LIBRARIES],
|
switches |
0:0e018d759a2a
|
1006
|
},
|
switches |
0:0e018d759a2a
|
1007
|
|
switches |
0:0e018d759a2a
|
1008
|
# CMSIS DSP
|
switches |
0:0e018d759a2a
|
1009
|
{
|
switches |
0:0e018d759a2a
|
1010
|
"id": "CMSIS_DSP_1", "description": "FIR",
|
switches |
0:0e018d759a2a
|
1011
|
"source_dir": join(TEST_DIR, "dsp", "cmsis", "fir_f32"),
|
switches |
0:0e018d759a2a
|
1012
|
"dependencies": [MBED_LIBRARIES, DSP_LIBRARIES],
|
switches |
0:0e018d759a2a
|
1013
|
},
|
switches |
0:0e018d759a2a
|
1014
|
|
switches |
0:0e018d759a2a
|
1015
|
# mbed DSP
|
switches |
0:0e018d759a2a
|
1016
|
{
|
switches |
0:0e018d759a2a
|
1017
|
"id": "DSP_1", "description": "FIR",
|
switches |
0:0e018d759a2a
|
1018
|
"source_dir": join(TEST_DIR, "dsp", "mbed", "fir_f32"),
|
switches |
0:0e018d759a2a
|
1019
|
"dependencies": [MBED_LIBRARIES, DSP_LIBRARIES],
|
switches |
0:0e018d759a2a
|
1020
|
},
|
switches |
0:0e018d759a2a
|
1021
|
|
switches |
0:0e018d759a2a
|
1022
|
# KL25Z
|
switches |
0:0e018d759a2a
|
1023
|
{
|
switches |
0:0e018d759a2a
|
1024
|
"id": "KL25Z_1", "description": "LPTMR",
|
switches |
0:0e018d759a2a
|
1025
|
"source_dir": join(TEST_DIR, "KL25Z", "lptmr"),
|
switches |
0:0e018d759a2a
|
1026
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
1027
|
"supported": CORTEX_ARM_SUPPORT,
|
switches |
0:0e018d759a2a
|
1028
|
"mcu": ["KL25Z"],
|
switches |
0:0e018d759a2a
|
1029
|
},
|
switches |
0:0e018d759a2a
|
1030
|
{
|
switches |
0:0e018d759a2a
|
1031
|
"id": "KL25Z_2", "description": "PIT",
|
switches |
0:0e018d759a2a
|
1032
|
"source_dir": join(TEST_DIR, "KL25Z", "pit"),
|
switches |
0:0e018d759a2a
|
1033
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
1034
|
"supported": CORTEX_ARM_SUPPORT,
|
switches |
0:0e018d759a2a
|
1035
|
"mcu": ["KL25Z"],
|
switches |
0:0e018d759a2a
|
1036
|
},
|
switches |
0:0e018d759a2a
|
1037
|
{
|
switches |
0:0e018d759a2a
|
1038
|
"id": "KL25Z_3", "description": "TSI Touch Sensor",
|
switches |
0:0e018d759a2a
|
1039
|
"source_dir": join(TEST_DIR, "mbed", "tsi"),
|
switches |
0:0e018d759a2a
|
1040
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, join(PERIPHERALS, 'TSI')],
|
switches |
0:0e018d759a2a
|
1041
|
"mcu": ["KL25Z"],
|
switches |
0:0e018d759a2a
|
1042
|
},
|
switches |
0:0e018d759a2a
|
1043
|
{
|
switches |
0:0e018d759a2a
|
1044
|
"id": "KL25Z_4", "description": "RTC",
|
switches |
0:0e018d759a2a
|
1045
|
"source_dir": join(TEST_DIR, "KL25Z", "rtc"),
|
switches |
0:0e018d759a2a
|
1046
|
"dependencies": [MBED_LIBRARIES],
|
switches |
0:0e018d759a2a
|
1047
|
"mcu": ["KL25Z"],
|
switches |
0:0e018d759a2a
|
1048
|
},
|
switches |
0:0e018d759a2a
|
1049
|
{
|
switches |
0:0e018d759a2a
|
1050
|
"id": "KL25Z_5", "description": "MMA8451Q accelerometer",
|
switches |
0:0e018d759a2a
|
1051
|
"source_dir": join(TEST_DIR, "mbed", "i2c_MMA8451Q"),
|
switches |
0:0e018d759a2a
|
1052
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, join(PERIPHERALS, 'MMA8451Q')],
|
switches |
0:0e018d759a2a
|
1053
|
"mcu": ["KL25Z", "KL05Z", "KL46Z", "K20D50M"],
|
switches |
0:0e018d759a2a
|
1054
|
"automated": True,
|
switches |
0:0e018d759a2a
|
1055
|
},
|
switches |
0:0e018d759a2a
|
1056
|
|
switches |
0:0e018d759a2a
|
1057
|
# Examples
|
switches |
0:0e018d759a2a
|
1058
|
{
|
switches |
0:0e018d759a2a
|
1059
|
"id": "EXAMPLE_1", "description": "/dev/null",
|
switches |
0:0e018d759a2a
|
1060
|
"source_dir": join(TEST_DIR, "mbed", "dev_null"),
|
switches |
0:0e018d759a2a
|
1061
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
1062
|
"exclude_mcu": ["NUCLEO_L011K4"],
|
switches |
0:0e018d759a2a
|
1063
|
"automated": True,
|
switches |
0:0e018d759a2a
|
1064
|
#"host_test" : "dev_null_auto",
|
switches |
0:0e018d759a2a
|
1065
|
},
|
switches |
0:0e018d759a2a
|
1066
|
{
|
switches |
0:0e018d759a2a
|
1067
|
"id": "EXAMPLE_2", "description": "FS + RTOS",
|
switches |
0:0e018d759a2a
|
1068
|
"source_dir": join(TEST_DIR, "mbed", "fs"),
|
switches |
0:0e018d759a2a
|
1069
|
"dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, TEST_MBED_LIB, FS_LIBRARY],
|
switches |
0:0e018d759a2a
|
1070
|
},
|
switches |
0:0e018d759a2a
|
1071
|
|
switches |
0:0e018d759a2a
|
1072
|
# CPPUTEST Library provides Unit testing Framework
|
switches |
0:0e018d759a2a
|
1073
|
#
|
switches |
0:0e018d759a2a
|
1074
|
# To write TESTs and TEST_GROUPs please add CPPUTEST_LIBRARY to 'dependencies'
|
switches |
0:0e018d759a2a
|
1075
|
#
|
switches |
0:0e018d759a2a
|
1076
|
# This will also include:
|
switches |
0:0e018d759a2a
|
1077
|
# 1. test runner - main function with call to CommandLineTestRunner::RunAllTests(ac, av)
|
switches |
0:0e018d759a2a
|
1078
|
# 2. Serial console object to print test result on serial port console
|
switches |
0:0e018d759a2a
|
1079
|
#
|
switches |
0:0e018d759a2a
|
1080
|
|
switches |
0:0e018d759a2a
|
1081
|
# Unit testing with cpputest library
|
switches |
0:0e018d759a2a
|
1082
|
{
|
switches |
0:0e018d759a2a
|
1083
|
"id": "UT_1", "description": "Basic",
|
switches |
0:0e018d759a2a
|
1084
|
"source_dir": join(TEST_DIR, "utest", "basic"),
|
switches |
0:0e018d759a2a
|
1085
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, CPPUTEST_LIBRARY],
|
switches |
0:0e018d759a2a
|
1086
|
"automated": False,
|
switches |
0:0e018d759a2a
|
1087
|
},
|
switches |
0:0e018d759a2a
|
1088
|
{
|
switches |
0:0e018d759a2a
|
1089
|
"id": "UT_2", "description": "Semihost file system",
|
switches |
0:0e018d759a2a
|
1090
|
"source_dir": join(TEST_DIR, "utest", "semihost_fs"),
|
switches |
0:0e018d759a2a
|
1091
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, CPPUTEST_LIBRARY],
|
switches |
0:0e018d759a2a
|
1092
|
"automated": False,
|
switches |
0:0e018d759a2a
|
1093
|
"mcu": ["LPC1768", "LPC2368", "LPC11U24"]
|
switches |
0:0e018d759a2a
|
1094
|
},
|
switches |
0:0e018d759a2a
|
1095
|
{
|
switches |
0:0e018d759a2a
|
1096
|
"id": "UT_3", "description": "General tests",
|
switches |
0:0e018d759a2a
|
1097
|
"source_dir": join(TEST_DIR, "utest", "general"),
|
switches |
0:0e018d759a2a
|
1098
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, CPPUTEST_LIBRARY],
|
switches |
0:0e018d759a2a
|
1099
|
"automated": False,
|
switches |
0:0e018d759a2a
|
1100
|
},
|
switches |
0:0e018d759a2a
|
1101
|
{
|
switches |
0:0e018d759a2a
|
1102
|
"id": "UT_BUSIO", "description": "BusIn BusOut",
|
switches |
0:0e018d759a2a
|
1103
|
"source_dir": join(TEST_DIR, "utest", "bus"),
|
switches |
0:0e018d759a2a
|
1104
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, CPPUTEST_LIBRARY],
|
switches |
0:0e018d759a2a
|
1105
|
"automated": False,
|
switches |
0:0e018d759a2a
|
1106
|
},
|
switches |
0:0e018d759a2a
|
1107
|
{
|
switches |
0:0e018d759a2a
|
1108
|
"id": "UT_I2C_EEPROM_ASYNCH", "description": "I2C Asynch eeprom",
|
switches |
0:0e018d759a2a
|
1109
|
"source_dir": join(TEST_DIR, "utest", "i2c_eeprom_asynch"),
|
switches |
0:0e018d759a2a
|
1110
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, CPPUTEST_LIBRARY],
|
switches |
0:0e018d759a2a
|
1111
|
"automated": False,
|
switches |
0:0e018d759a2a
|
1112
|
},
|
switches |
0:0e018d759a2a
|
1113
|
{
|
switches |
0:0e018d759a2a
|
1114
|
"id": "UT_SERIAL_ASYNCH", "description": "Asynch serial test (req 2 serial peripherals)",
|
switches |
0:0e018d759a2a
|
1115
|
"source_dir": join(TEST_DIR, "utest", "serial_asynch"),
|
switches |
0:0e018d759a2a
|
1116
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, CPPUTEST_LIBRARY],
|
switches |
0:0e018d759a2a
|
1117
|
"automated": False,
|
switches |
0:0e018d759a2a
|
1118
|
},
|
switches |
0:0e018d759a2a
|
1119
|
{
|
switches |
0:0e018d759a2a
|
1120
|
"id": "UT_SPI_ASYNCH", "description": "Asynch spi test",
|
switches |
0:0e018d759a2a
|
1121
|
"source_dir": join(TEST_DIR, "utest", "spi_asynch"),
|
switches |
0:0e018d759a2a
|
1122
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, CPPUTEST_LIBRARY],
|
switches |
0:0e018d759a2a
|
1123
|
"automated": False,
|
switches |
0:0e018d759a2a
|
1124
|
},
|
switches |
0:0e018d759a2a
|
1125
|
{
|
switches |
0:0e018d759a2a
|
1126
|
"id": "UT_LP_TICKER", "description": "Low power ticker test",
|
switches |
0:0e018d759a2a
|
1127
|
"source_dir": join(TEST_DIR, "utest", "lp_ticker"),
|
switches |
0:0e018d759a2a
|
1128
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, CPPUTEST_LIBRARY],
|
switches |
0:0e018d759a2a
|
1129
|
"automated": False,
|
switches |
0:0e018d759a2a
|
1130
|
},
|
switches |
0:0e018d759a2a
|
1131
|
|
switches |
0:0e018d759a2a
|
1132
|
# Tests used for target information purposes
|
switches |
0:0e018d759a2a
|
1133
|
{
|
switches |
0:0e018d759a2a
|
1134
|
"id": "DTCT_1", "description": "Simple detect test",
|
switches |
0:0e018d759a2a
|
1135
|
"source_dir": join(TEST_DIR, "mbed", "detect"),
|
switches |
0:0e018d759a2a
|
1136
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
switches |
0:0e018d759a2a
|
1137
|
"automated": True,
|
switches |
0:0e018d759a2a
|
1138
|
#"host_test" : "detect_auto",
|
switches |
0:0e018d759a2a
|
1139
|
},
|
switches |
0:0e018d759a2a
|
1140
|
|
switches |
0:0e018d759a2a
|
1141
|
]
|
switches |
0:0e018d759a2a
|
1142
|
|
switches |
0:0e018d759a2a
|
1143
|
# Group tests with the same goals into categories
|
switches |
0:0e018d759a2a
|
1144
|
GROUPS = {
|
switches |
0:0e018d759a2a
|
1145
|
"core": ["MBED_A1", "MBED_A2", "MBED_A3", "MBED_A18"],
|
switches |
0:0e018d759a2a
|
1146
|
"digital_io": ["MBED_A5", "MBED_A6", "MBED_A7", "MBED_A10", "MBED_A11"],
|
switches |
0:0e018d759a2a
|
1147
|
"analog_io": ["MBED_A8"],
|
switches |
0:0e018d759a2a
|
1148
|
"i2c": ["MBED_A19", "MBED_A20"],
|
switches |
0:0e018d759a2a
|
1149
|
"spi": ["MBED_A12"],
|
switches |
0:0e018d759a2a
|
1150
|
}
|
switches |
0:0e018d759a2a
|
1151
|
GROUPS["rtos"] = [test["id"] for test in TESTS if test["id"].startswith("RTOS_")]
|
switches |
0:0e018d759a2a
|
1152
|
GROUPS["net"] = [test["id"] for test in TESTS if test["id"].startswith("NET_")]
|
switches |
0:0e018d759a2a
|
1153
|
GROUPS["automated"] = [test["id"] for test in TESTS if test.get("automated", False)]
|
switches |
0:0e018d759a2a
|
1154
|
# Look for 'TEST_GROUPS' in mbed_settings.py and update the GROUPS dictionary
|
switches |
0:0e018d759a2a
|
1155
|
# with the information in test_groups if found
|
switches |
0:0e018d759a2a
|
1156
|
try:
|
switches |
0:0e018d759a2a
|
1157
|
from mbed_settings import TEST_GROUPS
|
switches |
0:0e018d759a2a
|
1158
|
except:
|
switches |
0:0e018d759a2a
|
1159
|
TEST_GROUPS = {}
|
switches |
0:0e018d759a2a
|
1160
|
GROUPS.update(TEST_GROUPS)
|
switches |
0:0e018d759a2a
|
1161
|
|
switches |
0:0e018d759a2a
|
1162
|
class Test:
|
switches |
0:0e018d759a2a
|
1163
|
DEFAULTS = {
|
switches |
0:0e018d759a2a
|
1164
|
#'mcu': None,
|
switches |
0:0e018d759a2a
|
1165
|
'description': None,
|
switches |
0:0e018d759a2a
|
1166
|
'dependencies': None,
|
switches |
0:0e018d759a2a
|
1167
|
'duration': 30,
|
switches |
0:0e018d759a2a
|
1168
|
'host_test': 'host_test',
|
switches |
0:0e018d759a2a
|
1169
|
'automated': False,
|
switches |
0:0e018d759a2a
|
1170
|
'peripherals': None,
|
switches |
0:0e018d759a2a
|
1171
|
#'supported': None,
|
switches |
0:0e018d759a2a
|
1172
|
'source_dir': None,
|
switches |
0:0e018d759a2a
|
1173
|
'extra_files': None
|
switches |
0:0e018d759a2a
|
1174
|
}
|
switches |
0:0e018d759a2a
|
1175
|
def __init__(self, n):
|
switches |
0:0e018d759a2a
|
1176
|
self.n = n
|
switches |
0:0e018d759a2a
|
1177
|
self.__dict__.update(Test.DEFAULTS)
|
switches |
0:0e018d759a2a
|
1178
|
self.__dict__.update(TESTS[n])
|
switches |
0:0e018d759a2a
|
1179
|
|
switches |
0:0e018d759a2a
|
1180
|
def is_supported(self, target, toolchain):
|
switches |
0:0e018d759a2a
|
1181
|
if hasattr(self, 'mcu') and not target in self.mcu:
|
switches |
0:0e018d759a2a
|
1182
|
return False
|
switches |
0:0e018d759a2a
|
1183
|
if hasattr(self, 'exclude_mcu') and target in self.exclude_mcu:
|
switches |
0:0e018d759a2a
|
1184
|
return False
|
switches |
0:0e018d759a2a
|
1185
|
if not hasattr(self, 'supported'):
|
switches |
0:0e018d759a2a
|
1186
|
return True
|
switches |
0:0e018d759a2a
|
1187
|
return (target in self.supported) and (toolchain in self.supported[target])
|
switches |
0:0e018d759a2a
|
1188
|
|
switches |
0:0e018d759a2a
|
1189
|
def get_description(self):
|
switches |
0:0e018d759a2a
|
1190
|
if self.description:
|
switches |
0:0e018d759a2a
|
1191
|
return self.description
|
switches |
0:0e018d759a2a
|
1192
|
else:
|
switches |
0:0e018d759a2a
|
1193
|
return self.id
|
switches |
0:0e018d759a2a
|
1194
|
|
switches |
0:0e018d759a2a
|
1195
|
def __cmp__(self, other):
|
switches |
0:0e018d759a2a
|
1196
|
return cmp(self.n, other.n)
|
switches |
0:0e018d759a2a
|
1197
|
|
switches |
0:0e018d759a2a
|
1198
|
def __str__(self):
|
switches |
0:0e018d759a2a
|
1199
|
return "[%3d] %s: %s" % (self.n, self.id, self.get_description())
|
switches |
0:0e018d759a2a
|
1200
|
|
switches |
0:0e018d759a2a
|
1201
|
def __getitem__(self, key):
|
switches |
0:0e018d759a2a
|
1202
|
if key == "id": return self.id
|
switches |
0:0e018d759a2a
|
1203
|
elif key == "mcu": return self.mcu
|
switches |
0:0e018d759a2a
|
1204
|
elif key == "exclude_mcu": return self.exclude_mcu
|
switches |
0:0e018d759a2a
|
1205
|
elif key == "dependencies": return self.dependencies
|
switches |
0:0e018d759a2a
|
1206
|
elif key == "description": return self.description
|
switches |
0:0e018d759a2a
|
1207
|
elif key == "duration": return self.duration
|
switches |
0:0e018d759a2a
|
1208
|
elif key == "host_test": return self.host_test
|
switches |
0:0e018d759a2a
|
1209
|
elif key == "automated": return self.automated
|
switches |
0:0e018d759a2a
|
1210
|
elif key == "peripherals": return self.peripherals
|
switches |
0:0e018d759a2a
|
1211
|
elif key == "supported": return self.supported
|
switches |
0:0e018d759a2a
|
1212
|
elif key == "source_dir": return self.source_dir
|
switches |
0:0e018d759a2a
|
1213
|
elif key == "extra_files": return self.extra_files
|
switches |
0:0e018d759a2a
|
1214
|
else:
|
switches |
0:0e018d759a2a
|
1215
|
return None
|
switches |
0:0e018d759a2a
|
1216
|
|
switches |
0:0e018d759a2a
|
1217
|
TEST_MAP = dict([(test['id'], Test(i)) for i, test in enumerate(TESTS)])
|
switches |
0:0e018d759a2a
|
1218
|
|
switches |
0:0e018d759a2a
|
1219
|
# parser helpers
|
switches |
0:0e018d759a2a
|
1220
|
def test_known(string):
|
switches |
0:0e018d759a2a
|
1221
|
i = int(string)
|
switches |
0:0e018d759a2a
|
1222
|
if i >= 0 and i < len(TESTS):
|
switches |
0:0e018d759a2a
|
1223
|
return i
|
switches |
0:0e018d759a2a
|
1224
|
else:
|
switches |
0:0e018d759a2a
|
1225
|
raise ArgumentTypeError("{0} does not index a test. The accepted range is 0 to {1}\nThe test mapping is:\n{2}".format(i, len(TEST_MAP) - 1, columnate([str(i) + ":" + t['id'] for i,t in zip(range(len(TESTS)), TESTS)])))
|
switches |
0:0e018d759a2a
|
1226
|
|
switches |
0:0e018d759a2a
|
1227
|
def test_name_known(string):
|
switches |
0:0e018d759a2a
|
1228
|
if string not in TEST_MAP.keys() and \
|
switches |
0:0e018d759a2a
|
1229
|
(getattr(ps, "test_alias", None) is None or \
|
switches |
0:0e018d759a2a
|
1230
|
ps.test_alias.get(string, "") not in TEST_MAP.keys()):
|
switches |
0:0e018d759a2a
|
1231
|
raise ArgumentTypeError("Program with name '{0}' not found. Supported tests are: \n{1}".format(string, columnate([t['id'] for t in TESTS])))
|
switches |
0:0e018d759a2a
|
1232
|
|
switches |
0:0e018d759a2a
|
1233
|
return TEST_MAP[string].n
|