Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zli117 committed Aug 20, 2023
1 parent 47b078e commit 29e9be6
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,25 +111,25 @@ Linux driver for accepting key strokes from SPI: (You'll need an external screen
1. Install kernel headers: `sudo apt install raspberrypi-kernel-headers`
2. Checkout PicoMK: `git clone https://github.com/zli117/PicoMK.git`
3. Build the driver and device tree overlay:
```bash
cd PicoMK/linux
make -j
make device_tree
```
```bash
cd PicoMK/linux
make -j
make device_tree
```
4. Install the driver:
```bash
sudo -E make install
sudo depmod -a
```
```bash
sudo -E make install
sudo depmod -a
```
5. Copy over the device tree overlay: `sudo cp spi1-picomk.dtbo /boot/overlays`
6. Add this line to the `config.txt`. Make sure SPI1 is not enabled.
```
dtoverlay=spi1-picomk
```
```
dtoverlay=spi1-picomk
```
7. Add this line to the `/etc/modules` file:
```
spi_picomk
```
```
spi_picomk
```

If you're using the 3.5 inch TFT screen, you can install the driver from https://github.com/juj/fbcp-ili9341.

Expand Down

0 comments on commit 29e9be6

Please sign in to comment.