diff options
| author | Damien George <damien@micropython.org> | 2022-09-06 11:52:46 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-09-06 12:09:20 +1000 |
| commit | 655c29351a7c4ef74612edf6088036b07f39e6c7 (patch) | |
| tree | c39ec7d3b82783a0ca4cb913282cec26dd17f472 | |
| parent | fb20dbe4d123c69a7770e70911e827cefef01aa3 (diff) | |
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>
| -rw-r--r-- | docs/pyboard/tutorial/lcd160cr_skin.rst | 4 | ||||
| -rw-r--r-- | docs/reference/mpremote.rst | 2 | ||||
| -rw-r--r-- | drivers/display/manifest.py | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/docs/pyboard/tutorial/lcd160cr_skin.rst b/docs/pyboard/tutorial/lcd160cr_skin.rst index fc9d63538..fa0debcb1 100644 --- a/docs/pyboard/tutorial/lcd160cr_skin.rst +++ b/docs/pyboard/tutorial/lcd160cr_skin.rst @@ -40,9 +40,9 @@ Testing the display There is a test program which you can use to test the features of the display, and which also serves as a basis to start creating your own code that uses the -LCD. This test program is included in recent versions of the pyboard firmware -and is also available on GitHub +LCD. This test program is available on GitHub `here <https://github.com/micropython/micropython/blob/master/drivers/display/lcd160cr_test.py>`__. +Copy it to the board over USB mass storage, or by using `mpremote`. To run the test from the MicroPython prompt do:: diff --git a/docs/reference/mpremote.rst b/docs/reference/mpremote.rst index a48df9953..e3902f8e5 100644 --- a/docs/reference/mpremote.rst +++ b/docs/reference/mpremote.rst @@ -1,3 +1,5 @@ +.. _mpremote: + MicroPython remote control: mpremote ==================================== diff --git a/drivers/display/manifest.py b/drivers/display/manifest.py index d1ddff337..16f93a7d4 100644 --- a/drivers/display/manifest.py +++ b/drivers/display/manifest.py @@ -1,5 +1,5 @@ # TODO: Split these into separate directories with their own manifests. -options.defaults(lcd160cr=False, ssd1306=False, test=True) +options.defaults(lcd160cr=False, ssd1306=False, test=False) if options.lcd160cr: module("lcd160cr.py", opt=3) |
