Development mbed library for MAX32630FTHR

Dependents:   blinky_max32630fthr

Committer:
switches
Date:
Fri Nov 11 20:59:50 2016 +0000
Revision:
0:5c4d7b2438d3
Initial commit

Who changed what in which revision?

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