Niranjan Ravi
/
FXOS8700Q_ACC_MAG_Display
Motion sensor program
tests/README.md@0:f665d23ec68a, 2019-09-17 (annotated)
- Committer:
- Niranjan_ravi
- Date:
- Tue Sep 17 19:59:45 2019 +0000
- Revision:
- 0:f665d23ec68a
Accelerometer and Magnetometer example for K64F
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Niranjan_ravi | 0:f665d23ec68a | 1 | # Testing examples |
Niranjan_ravi | 0:f665d23ec68a | 2 | |
Niranjan_ravi | 0:f665d23ec68a | 3 | Examples are tested using tool [htrun](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests) and templated print log. |
Niranjan_ravi | 0:f665d23ec68a | 4 | |
Niranjan_ravi | 0:f665d23ec68a | 5 | To run the test, use following command after you build the example: |
Niranjan_ravi | 0:f665d23ec68a | 6 | ``` |
Niranjan_ravi | 0:f665d23ec68a | 7 | mbedhtrun -d D: -p COM4 -m K64F -f .\BUILD\K64F\GCC_ARM\blinky.bin --compare-log tests\blinky.log |
Niranjan_ravi | 0:f665d23ec68a | 8 | ``` |
Niranjan_ravi | 0:f665d23ec68a | 9 | |
Niranjan_ravi | 0:f665d23ec68a | 10 | |
Niranjan_ravi | 0:f665d23ec68a | 11 | More details about `htrun` are [here](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests#testing-mbed-os-examples). |
Niranjan_ravi | 0:f665d23ec68a | 12 |