Skip to content

Commit c4f1dc6

Browse files
committed
Make changes to support HitL testing.
- Rename all examples so that they have underscores instead of hyphens. .py files with hyphens in their names can't be imported. - Add a test/hitl/ directory with one test (so far): cpy_test.py. This test makes sure that cpy_example.py runs successfully on a CircuitPython host connected to a Notecard. I tested using a Notecarrier F and a Swan. - cpy_test.py relies on pyboard.py from MicroPython. I have added that file from MicroPython's master branch here.
1 parent b52e7bb commit c4f1dc6

File tree

8 files changed

+980
-594
lines changed

8 files changed

+980
-594
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,11 @@ The documentation for this library can be found
136136
The [examples](examples/) directory contains examples for using this
137137
library with:
138138

139-
- [Serial](examples/notecard-basics/serial-example.py)
140-
- [I2C](examples/notecard-basics/i2c-example.py)
141-
- [RaspberryPi](examples/notecard-basics/rpi-example.py)
142-
- [CircuitPython](examples/notecard-basics/cpy-example.py)
143-
- [MicroPython](examples/notecard-basics/mpy-example.py)
139+
- [Serial](examples/notecard-basics/serial_example.py)
140+
- [I2C](examples/notecard-basics/i2c_example.py)
141+
- [RaspberryPi](examples/notecard-basics/rpi_example.py)
142+
- [CircuitPython](examples/notecard-basics/cpy_example.py)
143+
- [MicroPython](examples/notecard-basics/mpy_example.py)
144144

145145
## Contributing
146146

examples/notecard-basics/cpy-example.py

Lines changed: 0 additions & 116 deletions
This file was deleted.

examples/notecard-basics/i2c-example.py

Lines changed: 0 additions & 112 deletions
This file was deleted.

examples/notecard-basics/mpy-example.py

Lines changed: 0 additions & 118 deletions
This file was deleted.

0 commit comments

Comments
 (0)