2023-02-20 16:58:36 -05:00
2023-02-20 16:08:51 -05:00
2023-02-20 16:08:51 -05:00
2023-02-20 16:58:36 -05:00
2023-02-20 16:57:04 -05:00
2021-08-18 10:02:40 -04:00
2021-10-16 07:36:02 -04:00
2021-10-12 17:15:14 -04:00
2023-02-20 16:57:11 -05:00
2023-02-20 16:56:56 -05:00
2021-10-16 07:36:15 -04:00
2021-10-10 16:43:30 +01:00

= aw-lights

== Setup

[source,bash]
----
xbps-install fake-hwclock
ln -s /etc/sv/fake-hwclock/ /var/service/

# Enable SPI
echo 'dtparam=spi=on' >>/boot/config.txt

# Allow big buf for SPI
echo 'options spidev bufsiz=65536' > /etc/modprobe.d/spidev.conf
----

Set CPU clock

* RPI3
+
[title='/boot/config.txt']
----
core_freq=250
----
* RPI4
+
[title='/boot/config.txt']
----
core_freq=500
core_freq_min=500
----

== Cross Compiling

----
xbps-install -y cross-armv7l-linux-gnueabihf
rustup target add armv7-unknown-linux-gnueabihf
make deploy
----
Description
No description provided
Readme 1.4 MiB
Languages
Rust 86.6%
Svelte 6.6%
JavaScript 3.5%
CSS 1.5%
HTML 0.7%
Other 1.1%