|
@@ -20,20 +20,6 @@ apt install -y curl ca-certificates systemd-sysv git build-essential
|
|
|
reboot
|
|
|
```
|
|
|
|
|
|
-#### If you wants I2C or SPI enabled (you can do this later in dietpi):
|
|
|
-
|
|
|
-```
|
|
|
-nano /boot/orangepiEnv.txt
|
|
|
-```
|
|
|
-
|
|
|
-and add these lines :
|
|
|
-```
|
|
|
-param_spidev_spi_bus=1
|
|
|
-overlays=i2c0
|
|
|
-```
|
|
|
-
|
|
|
-Save and reboot
|
|
|
-
|
|
|
#### Now build Dietpi:
|
|
|
|
|
|
```
|
|
@@ -70,3 +56,17 @@ user : **root**
|
|
|
|
|
|
password : **dietpi**
|
|
|
|
|
|
+
|
|
|
+#### If you wants I2C or SPI enabled (you can do this later in dietpi):
|
|
|
+
|
|
|
+```
|
|
|
+nano /boot/orangepiEnv.txt
|
|
|
+```
|
|
|
+
|
|
|
+and add these lines :
|
|
|
+```
|
|
|
+param_spidev_spi_bus=1
|
|
|
+overlays=i2c0
|
|
|
+```
|
|
|
+
|
|
|
+Save and reboot
|