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