8000 drivers/display: Don't include tests by default. · lowfatcode/micropython@655c293 · GitHub
[go: up one dir, main page]

Skip to content

Commit 655c293

Browse files
committed
drivers/display: Don't include tests by default.
The tests can be copied to the board if needed. Also update the docs to reflect this change. Signed-off-by: Damien George <damien@micropython.org>
1 parent fb20dbe commit 655c293

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

docs/pyboard/tutorial/lcd160cr_skin.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ Testing the display
4040

4141
There is a test program which you can use to test the features of the display,
4242
and which also serves as a basis to start creating your own code that uses the
43-
LCD. This test program is included in recent versions of the pyboard firmware
44-
and is also available on GitHub
43+
LCD. This test program is available on GitHub
4544
`here <https://github.com/micropython/micropython/blob/master/drivers/display/lcd160cr_test.py>`__.
45+
Copy it to the board over USB mass storage, or by using `mpremote`.
4646

4747
To run the test from the MicroPython prompt do::
4848

docs/reference/mpremote.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _mpremote:
2+
13
MicroPython remote control: mpremote
24
====================================
35

drivers/display/manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# TODO: Split these into separate directories with their own manifests.
2-
options.defaults(lcd160cr=False, ssd1306=False, test=True)
2+
options.defaults(lcd160cr=False, ssd1306=False, test=False)
33

44
if options.lcd160cr:
55
module("lcd160cr.py", opt=3)

0 commit comments

Comments
 (0)
0