| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 | 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:		st-flash --reset write output/stm32bt6702.bin 0x8020000fullflash:	st-flash --reset write output/iap.bin 0x8000000	sleep 1	st-flash --reset write output/stm32bt6702.bin 0x8020000
 |