diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-02-28 17:37:19 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-02-28 17:37:19 +0530 |
| commit | 18268280dc6c0bd44035b53655ae43e9c88245bd (patch) | |
| tree | c17b1703d8a3deb4cd67a6e6466d024f02a49bb7 /justfile | |
| parent | 02c12bfedcf669df81491ea49502a982e980bcda (diff) | |
| download | daft-watch-18268280dc6c0bd44035b53655ae43e9c88245bd.tar.gz daft-watch-18268280dc6c0bd44035b53655ae43e9c88245bd.zip | |
Add set time mode + test for button
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1,6 +1,8 @@ set export set unstable +mod test + default: just --choose || true @@ -8,7 +10,7 @@ AVR_LIBC := env("AVR_LIBC", "/usr/lib/avr") F_CPU := "32768" MCU := "attiny84a" MCU_PART := "attiny84" -SRCS := "src/main.c src/display.c src/rtc.c src/button.c" +SRCS := "src/main.c src/display.c src/rtc.c src/button.c src/mode.c" OUTDIR := "./out" PROGRAMMER := "arduino" UPLOAD_SPEED := "19200" @@ -40,10 +42,6 @@ write-fuses: check-hexfile-exists read-fuses: {{AVRDUDE}} -U lfuse:r:-:h -U hfuse:r:-:h -U efuse:r:-:h -test: - gcc -g -std=gnu99 -DSTUBBED=1 -I./src -I./test/stubbed/ -Wall -Wno-unused-variable {{SRCS}} -o {{OUTDIR}}/test - {{OUTDIR}}/test - clean: rm -rf {{OUTDIR}} |
