diff options
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" |
