From a860bd27a0950e4dd8ae530f9095a91ced7436a3 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 15 Apr 2019 01:25:05 +0900 Subject: driver/fw: Temp sensor working modulo some brownout condition --- driver_fw/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'driver_fw/Makefile') diff --git a/driver_fw/Makefile b/driver_fw/Makefile index cfbe654..1fb1865 100644 --- a/driver_fw/Makefile +++ b/driver_fw/Makefile @@ -41,16 +41,16 @@ cmsis_exports.c: $(CMSIS_DEV_PATH)/Include/stm32f030x6.h $(CMSIS_PATH)/Include/c %.o: %.c $(CC) -c $(CFLAGS) -o $@ $^ - $(CC) -E $(CFLAGS) -o $(@:.o=.pp) $^ +# $(CC) -E $(CFLAGS) -o $(@:.o=.pp) $^ %.o: %.s $(CC) -c $(CFLAGS) -o $@ $^ - $(CC) -E $(CFLAGS) -o $(@:.o=.pp) $^ +# $(CC) -E $(CFLAGS) -o $(@:.o=.pp) $^ %.dot: %.elf r2 -a arm -qc 'aa;agC' $< 2>/dev/null >$@ -main.elf: main.o startup_stm32f030x6.o system_stm32f0xx.o $(HAL_PATH)/Src/stm32f0xx_ll_utils.o cmsis_exports.o ../common/8b10b.o serial.o mac.o i2c.o lcd1602.o +main.elf: main.o startup_stm32f030x6.o system_stm32f0xx.o $(HAL_PATH)/Src/stm32f0xx_ll_utils.o cmsis_exports.o ../common/8b10b.o serial.o mac.o i2c.o lcd1602.o mcp9801.o base.o $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) $(OBJCOPY) -O ihex $@ $(@:.elf=.hex) $(OBJCOPY) -O binary $@ $(@:.elf=.bin) @@ -61,7 +61,7 @@ program: main.elf openocd.cfg openocd -f openocd.cfg -c "program $< verify reset exit" clean: - rm -f **.o + rm -f **.o **.pp rm -f main.elf main.hex main.bin main.map main.lst rm -f **.expand -- cgit