From 9ed512b6863311ff53f07b76f6b679fa1ec6a9c9 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 12 Apr 2026 18:32:41 +0530 Subject: Add thermocouple sensor SPI interface --- justfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'justfile') diff --git a/justfile b/justfile index 567f3c6..f16fda3 100644 --- a/justfile +++ b/justfile @@ -5,16 +5,16 @@ default: echo - AVR_LIBC := env("AVR_LIBC", "/usr/lib/avr") -# F_CPU := "32768" +F_CPU := "1000000" MCU := "attiny84a" MCU_PART := "attiny84" -SRCS := "src/main.c src/display.c" +SRCS := "src/main.c src/display.c src/temperature.c" OUTDIR := "./out" PROGRAMMER := "arduino" UPLOAD_SPEED := "19200" SERIAL_PORT := "/dev/ttyUSB0" -CFLAGS := f"-g -Os -std=gnu99 -Isrc -mmcu={{MCU}} \ +CFLAGS := f"-g -Os -std=gnu99 -Isrc -mmcu={{MCU}} -DF_CPU={{F_CPU}}L \ -I{{AVR_LIBC}}/avr/include -L{{AVR_LIBC}}/avr/lib \ -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall" -- cgit v1.3.1