2024-04-13 11:04:22 -04:00
2024-04-12 23:41:35 -04:00
2023-06-03 23:37:09 -04:00
2024-04-13 11:04:22 -04:00
2024-04-12 23:41:35 -04:00
2023-06-04 00:24:41 -04:00
2024-04-12 23:41:35 -04:00
2024-04-08 23:15:56 -04:00
2024-04-07 16:51:34 -04:00
2021-10-16 07:36:02 -04:00
2021-10-12 17:15:14 -04:00
2024-04-12 23:41:35 -04:00
2023-06-03 16:24:35 -04:00
2023-05-28 18:47:45 -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
----

== Notes

----
Car: 102
House: 89; skip 14
----
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%