You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ The CI Test Shield has several uses.
15
15
## What is tested?
16
16
Current API's that are tested by the CI Test shield are as follows
17
17
18
-
1.`DigitalIO`, `Serial`, `InterruptIn`, `PwmOut` - tested by Loopback on pins D0-9
18
+
1.`DigitalIO`, `InterruptIn`, `PwmOut` - tested by Loopback on pins D0-9
19
19
2.`AnalogIO` - tested by resistor star network.
20
20
3.`I2C` - tested with temperature sensor and EEPROM memory.
21
21
4.`SPI` - tested with SD Card.
@@ -42,14 +42,14 @@ To run the tests associated with the ci-test-shield follow these steps:
42
42
43
43
#### Usage
44
44
45
-
0. Navigate to the repo on your command line. `cd ci-test-shield`
46
-
1.Set your board using the `mbed config target xxx`, where xxx is the board name [protip: use `mbed target --supported` for list of supported boards].
47
-
3.Set your toolchain using the `mbed config toolchain xxx`, where xxx is the toolchain. (`GCC_ARM`, `IAR`, `UVISION`...etc, use `mbed toolchain --supported` for a full list)
48
-
4.Grab dependencies by running the `mbed update`command inside the top level of this repo. This will ensure you have the latest version of the mbed-os library. Alternatively you can swap out the mbed-os library for your version that you are testing.
49
-
5.Run the tests with the test shield plugged into your board. The command will look like `mbed test -n tests-* --app-config .\mbed_app.json`to run all the CI Test Shield tests.
45
+
0.`cd ci-test-shield`- Navigate to the repo on your command line.
46
+
1.`mbed target auto` - Automatically detect board plugged into computer and set it as the target
47
+
3.`mbed toolchain GCC_ARM` - Select compiler. You can also use IAR, UVISION, or any other toolchain listed in `mbed toolchain --supported`
48
+
4.`mbed update`- Update libraries to latest version
49
+
5.`mbed test -n tests-* --app-config .\mbed_app.json`- Run CI Test Shield tests.
50
50
51
51
## Customization
52
-
All pin mappings are done in the `mbed_app.json` file. If you need to remap anything this is the palce to do it.
52
+
All pin mappings are done in the `mbed_app.json` file. If you need to remap or override you can do so here. Please note that all pin mappings will be pre-pended with `MBED_APP_CONF_`.
53
53
54
54
#### Different Pins
55
55
If your board has peripherals on pins that differ from the Arduino R3 Header layout you will need to manually fly wire them into the appropriate header and adjust the `mbed_app.json` file.
0 commit comments