diff options
author | jaseg <git@jaseg.net> | 2019-04-15 01:25:05 +0900 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2019-04-15 01:25:05 +0900 |
commit | a860bd27a0950e4dd8ae530f9095a91ced7436a3 (patch) | |
tree | ec7fd410ac208e5d02b1c852171df7419fdf6de0 /driver_fw/Makefile | |
parent | af19e3b1128e7d2de425849c342db59eece729e3 (diff) | |
download | 8seg-a860bd27a0950e4dd8ae530f9095a91ced7436a3.tar.gz 8seg-a860bd27a0950e4dd8ae530f9095a91ced7436a3.tar.bz2 8seg-a860bd27a0950e4dd8ae530f9095a91ced7436a3.zip |
driver/fw: Temp sensor working modulo some brownout condition
Diffstat (limited to 'driver_fw/Makefile')
-rw-r--r-- | driver_fw/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
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 |