Dheeraj Kamath
/
BlinkyUart
Toggles LED and prints debug information
tests/README.md@3:a773d045cb0d, 2019-05-26 (annotated)
- Committer:
- Dheeraj22
- Date:
- Sun May 26 17:20:23 2019 +0000
- Revision:
- 3:a773d045cb0d
- Parent:
- 0:19ea743b1bfa
Baud rate changed to 9600.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Dheeraj22 | 0:19ea743b1bfa | 1 | # Testing examples |
Dheeraj22 | 0:19ea743b1bfa | 2 | |
Dheeraj22 | 0:19ea743b1bfa | 3 | Examples are tested using tool [htrun](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests) and templated print log. |
Dheeraj22 | 0:19ea743b1bfa | 4 | |
Dheeraj22 | 0:19ea743b1bfa | 5 | To run the test, use following command after you build the example: |
Dheeraj22 | 0:19ea743b1bfa | 6 | ``` |
Dheeraj22 | 0:19ea743b1bfa | 7 | mbedhtrun -d D: -p COM4 -m K64F -f .\BUILD\K64F\GCC_ARM\blinky.bin --compare-log tests\blinky.log |
Dheeraj22 | 0:19ea743b1bfa | 8 | ``` |
Dheeraj22 | 0:19ea743b1bfa | 9 | |
Dheeraj22 | 0:19ea743b1bfa | 10 | |
Dheeraj22 | 0:19ea743b1bfa | 11 | More details about `htrun` are [here](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests#testing-mbed-os-examples). |
Dheeraj22 | 0:19ea743b1bfa | 12 |