| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 | TARGETS = projects/gcc/tools iap modules service_hw BUILDDIR = build.PHONY: all config $(TARGETS) tools distcleanall: config $(TARGETS) CFLAGS += -DHARDWARE_$(HARDWARE)bt6702:	@$(MAKE) HARDWARE=$@$(TARGETS):	@$(MAKE) -C $@clean: $(TARGETS)distclean:	rm -rf build outputoutput: $(TARGETS)openocd_ups:	$(shell openocd -f projects/gcc/configs/stm32f4discovery.cfg)gdb:	$(shell arm-none-eabi-gdb build/stm32bt6702/stm32bt6702.elf)reset:	st-flash --reset read /dev/null 0x8000000 1erase:	st-flash --reset eraseiapflash:	st-flash --reset write output/iap.bin 0x8000000fwflash_6702:		st-flash --reset write output/stm32bt6702.bin 0x8020000fullflash_6702:	st-flash --reset write output/iap.bin 0x8000000	sleep 1	st-flash --reset write output/stm32bt6702.bin 0x8020000	fwflash_6706:		st-flash --reset write output/stm32bt6706.bin 0x8020000fullflash_6706:	st-flash --reset write output/iap.bin 0x8000000	sleep 1	st-flash --reset write output/stm32bt6706.bin 0x8020000	
 |