Skip to content

Commit 75c1b7c

Browse files
committed
GPS.md Add note about how to run special test scripts.
1 parent fad6381 commit 75c1b7c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

v3/docs/GPS.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -838,13 +838,17 @@ These tests allow NMEA parsing to be verified in the absence of GPS hardware:
838838

839839
* `astests_pyb.py` Test with synthetic data on UART. GPS hardware replaced by
840840
a loopback on UART 4. Requires a Pyboard.
841-
* `astests.py` Test with synthetic data. Run on CPython 3.8+ or MicroPython.
842-
Run as follows:
841+
* `astests.py` Test with synthetic data. Run on a PC under CPython 3.8+ or
842+
MicroPython. Run from the `v3` directory at the REPL as follows:
843843

844844
```python
845845
from as_drivers.as_GPS.astests import run_tests
846846
run_tests()
847847
```
848+
or at the command line:
849+
```bash
850+
$ micropython -m as_drivers.as_GPS.astests
851+
```
848852

849853
###### [Top](./GPS.md#1-as_gps)
850854

0 commit comments

Comments
 (0)