incorporated the repl code

This commit is contained in:
Luxferre
2025-12-22 16:49:57 +02:00
parent 122bc06e7f
commit 93fddeff61
5 changed files with 326 additions and 4 deletions
+4 -3
View File
@@ -12,13 +12,14 @@ On T-Deck (Plus), the following components must be installed:
- CircuitPython 10.x (tested on 10.0.3);
- Adafruit Library Bundles from the [official CircuitPython page](https://circuitpython.org/libraries);
- [tdeck_repl](https://github.com/RetiredWizard/tdeck_repl) installed and set to boot on startup.
The [tdeck_repl](https://github.com/RetiredWizard/tdeck_repl) distribution is already incorporated into the repo.
On other generic platforms, most modules which are not T-Deck-specific are set to work on both CPython and MicroPython.
## Installation on T-Deck (Plus)
Current installation process doesn't involve any `.mpy` module compilation, so, after installing the prerequisites, you just need to copy the `deck` and `app` directories (and optionally the `tdeckboot.py` file, see the FAQ) into the root of the `CIRCUITPY` removable volume.
Current installation process doesn't involve any `.mpy` module compilation, so, after installing the prerequisites, you just need to copy the `repl`, `deck` and `app` directories, as well as the `code.py` and `tdeckboot.py` files, into the root of the `CIRCUITPY` removable volume.
## Components (`deck.*`)
@@ -214,7 +215,7 @@ No, but it provides comparable functionality to the on-device Python REPL. You c
It may at some point, but the entire idea is to give you the foundation to easily create your own custom shells for any special purposes. The project carries the spirit of early personal computing days when the programming language REPL (BASIC, Forth, Lisp etc) **was** your primary operating environment. In this case, the on-device Python REPL is such an environment.
To get a hang of how the shell **might** look like, you can run `from tdeckboot import *`. This will expose all the common methods from the main core modules. See the [tdeckboot.py](./tdeckboot.py) file for details.
To get the hang of what the shell **might** look like, you can already access some of the common methods from the main core modules via T-DeckARD REPL. See the [tdeckboot.py](./tdeckboot.py) file for details.
### Which platforms is T-DeckARD being tested on?