nkjnm

Dependencies:   MAX44000 nexpaq_mdk

Fork of LED_Demo by Maxim nexpaq

Committer:
nexpaq
Date:
Sat Sep 17 16:32:05 2016 +0000
Revision:
1:55a6170b404f
checking in for sharing

Who changed what in which revision?

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