Firmware for the LNSC-2420 solar charger. Based on libopencm3.
Find a file
Thomas Kolb df3211333e Properly shut down peripherals before entering deep sleep
This is most important for the LEDs and the RS485 interface. If any LED
is on when deep sleep is entered, it will stay on the whole sleep time,
drawing about 10 mA on the 3,3V rail.

The RS485 transceiver must be switched to RX mode, as it consumes about
30 mA from the 5V rail in TX mode.
2021-06-12 16:02:21 +02:00
fxplib@4599cdc1ee Initial commit 2021-06-05 00:04:36 +02:00
ldscripts Initial commit 2021-06-05 00:04:36 +02:00
libopencm3@3b89fc5999 Initial commit 2021-06-05 00:04:36 +02:00
oocd Initial commit 2021-06-05 00:04:36 +02:00
src Properly shut down peripherals before entering deep sleep 2021-06-12 16:02:21 +02:00
.gitignore Initial commit 2021-06-05 00:04:36 +02:00
.gitmodules Initial commit 2021-06-05 00:04:36 +02:00
compile_flags.txt Initial commit 2021-06-05 00:04:36 +02:00
Makefile Fixed "debug" make target 2021-06-06 12:20:58 +02:00