Write configuration values to EEPROM at boot

This commit is contained in:
2025-10-01 00:37:10 +02:00
parent 2e6fe9ba6b
commit 6e845c65da
2 changed files with 49 additions and 13 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ O_FLAG = -Os
BUILD_DIR = build
OBJ_DIR = $(BUILD_DIR)/obj
SRCS_C = source/adc.c source/moisture.c source/main.c source/pump.c
SRCS_C = source/adc.c source/moisture.c source/main.c source/pump.c source/eeprom.c
OBJS = $(addprefix $(OBJ_DIR)/, $(notdir $(SRCS_C:.c=.o)))
CFLAGS = -Wall $(O_FLAG) -DF_CPU=$(F_CPU) -mmcu=$(MCU) -Iinclude