aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRob Mohr <mohrr@google.com>2019-12-03 13:55:40 -0800
committerRob Mohr <mohrr@google.com>2019-12-03 13:55:40 -0800
commitf1a286324817baebda2fbcd488fb7eec9ee472f5 (patch)
treefc8fa1e0f52b2a1823d5b49fdfe11b069348ec21 /README.md
parente11d715936371937098c425a40538f799d55a2b2 (diff)
downloadpigweed-f1a286324817baebda2fbcd488fb7eec9ee472f5.tar.gz
Add command for running tests on hardware.
Change-Id: If6e4ee512bc9cf8817688e630886b27573d9d0b8
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 359524e37..67fa5a36c 100644
--- a/README.md
+++ b/README.md
@@ -40,12 +40,13 @@ $ which bazel
$ bazel test //...
```
-And do the following to test on hardware. (The bazel build does not yet
-support building for hardware.)
+And do the following to test on the STM32F429 Discovery board. (The bazel build
+does not yet support building for hardware.)
```bash
$ gn gen --args='pw_target_config = "//targets/stm32f429i-disc1/target_config.gni"' out/disco
$ ninja -C out/disco
+$ pw test --root out/disco/ --runner stm32f429i_disc1_unit_test_runner -- --port /dev/ttyACM0
```
If any of this doesn't work please