diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-04-12 18:32:41 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-04-12 18:32:41 +0530 |
| commit | 9ed512b6863311ff53f07b76f6b679fa1ec6a9c9 (patch) | |
| tree | dd5f27857fe106a8d1a6081d2837d4c9fcf87857 /justfile | |
| parent | 2f23df99bc82ef2d06dd962599f1abb4b48fb556 (diff) | |
| download | temperature-sensor-attiny84a-9ed512b6863311ff53f07b76f6b679fa1ec6a9c9.tar.gz temperature-sensor-attiny84a-9ed512b6863311ff53f07b76f6b679fa1ec6a9c9.zip | |
Add thermocouple sensor SPI interface
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" |
