Simple ranging example, using polling, with only the X-Nucleo_53L1A1 expansion board.
Dependencies: X_NUCLEO_53L1A1
tests/README.md@6:edbf45e8969f, 2020-11-03 (annotated)
- Committer:
- johnAlexander
- Date:
- Tue Nov 03 11:40:55 2020 +0000
- Revision:
- 6:edbf45e8969f
- Parent:
- 0:6b7696e7df5e
Use ST published board and sensor libraries.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| johnAlexander | 0:6b7696e7df5e | 1 | # Testing examples |
| johnAlexander | 0:6b7696e7df5e | 2 | |
| johnAlexander | 0:6b7696e7df5e | 3 | Examples are tested using tool [htrun](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests) and templated print log. |
| johnAlexander | 0:6b7696e7df5e | 4 | |
| johnAlexander | 0:6b7696e7df5e | 5 | To run the test, use following command after you build the example: |
| johnAlexander | 0:6b7696e7df5e | 6 | ``` |
| johnAlexander | 0:6b7696e7df5e | 7 | mbedhtrun -d D: -p COM4 -m K64F -f .\BUILD\K64F\GCC_ARM\blinky.bin --compare-log tests\blinky.log |
| johnAlexander | 0:6b7696e7df5e | 8 | ``` |
| johnAlexander | 0:6b7696e7df5e | 9 | |
| johnAlexander | 0:6b7696e7df5e | 10 | |
| johnAlexander | 0:6b7696e7df5e | 11 | More details about `htrun` are [here](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests#testing-mbed-os-examples). |
| johnAlexander | 0:6b7696e7df5e | 12 |