Skip to content

Commit

Permalink
firmware: Changing temporarily drivers rule #43
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelboing committed Jan 5, 2023
1 parent 1ff641d commit 27d5614
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ INC=.
CFLAGS=--static -nostartfiles -g3 -Os -fno-common -ffunction-sections -fdata-sections -I. -mcpu=cortex-m3 -mthumb -msoft-float

.PHONY: all
all: libopencm3_stm32f1.a drivers crt.o main.o
all: libopencm3_stm32f1.a drivers_rule crt.o main.o
$(LD) -T$(PARTNUMBER).ld $(BUILD_DIR)/*.o -o $(BUILD_DIR)/$(TARGET).elf -L$(BUILD_DIR)/ -lopencm3_stm32f1
$(OBJCOPY) -O binary $(BUILD_DIR)/$(TARGET).elf $(BUILD_DIR)/$(TARGET).bin
$(SIZE) $(BUILD_DIR)/$(TARGET).elf
Expand All @@ -49,8 +49,8 @@ libopencm3_stm32f1.a: hal/Makefile
devices: devices/Makefile
$(MAKE) BUILD_DIR=$(BUILD_DIR) -C devices

drivers: drivers/Makefile
$(MAKE) BUILD_DIR=$(BUILD_DIR) -C drivers
drivers_rule : drivers/Makefile
$(MAKE) BUILD_DIR=$(BUILD_DIR) -C drivers

libs: libs/Makefile
$(MAKE) BUILD_DIR=$(BUILD_DIR) -C libs
Expand Down
4 changes: 2 additions & 2 deletions firmware/drivers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ endif

.PHONY: all
all:
$(MAKE) BUILD_DIR=$(BUILD_DIR) -C ov2640
$(MAKE) BUILD_DIR=$(BUILD_DIR) -C w25qxxx
# $(MAKE) BUILD_DIR=$(BUILD_DIR) -C ov2640 \
$(MAKE) BUILD_DIR=$(BUILD_DIR) -C w25qxxx
$(MAKE) BUILD_DIR=$(BUILD_DIR) -C uart

.PHONY: clean
Expand Down

0 comments on commit 27d5614

Please sign in to comment.