chore: wifi struct, systick

This commit is contained in:
2024-12-10 02:25:18 +06:00
parent c595663b78
commit f48c749e1b
5 changed files with 105 additions and 102 deletions

View File

@@ -23,6 +23,7 @@ ASFLAGS = -mcpu=$(MCU) -mthumb -g
LDFLAGS = -T linker.ld -Map=$(BUILD_DIR)/$(PROJECT).map \
--gc-sections --no-warn-rwx-segments \
--defsym=_RAM_START_ADDR=$(RAM_START)
LIBFLAGS =
SRC_DIR = src
BUILD_DIR = build
@@ -60,7 +61,7 @@ $(BUILD_DIR)/%.o: $(SRC_DIR)/%.s
$(ELF): $(OBJS) $(ASM_OBJS)
@echo "LD $@"
@$(LD) $(LDFLAGS) -o $@ $^
@$(LD) $(LDFLAGS) -o $@ $^ $(LIBFLAGS)
$(BIN): $(ELF)
@echo "OBJCOPY $@"