open-ameba/Makefile

60 lines
1,001 B
Makefile
Raw Normal View History

2016-11-09 00:56:41 +00:00
all: ram_all
mp: ram_all_mp
.PHONY: ram_all
ram_all:
@$(MAKE) -f sdkbuild.mk
@$(MAKE) -f flasher.mk genbin1 genbin23
.PHONY: ram_all_mp
ram_all_mp:
@$(MAKE) -f sdkbuild.mk mp
@$(MAKE) -f flasher.mk mp
.PHONY: clean clean_all
clean:
@$(MAKE) -f sdkbuild.mk clean
clean_all:
@$(MAKE) -f sdkbuild.mk clean_all
.PHONY: debug ramdebug
debug:
@$(MAKE) -f application.mk debug
ramdebug:
@$(MAKE) -f application.mk ramdebug
2017-02-03 18:51:00 +00:00
.PHONY: flash_OTA flashburn runram reset test readfullflash
flash_OTA:
JLinkGDB_OTA.bat
2016-11-09 00:56:41 +00:00
flashburn:
2016-12-05 08:48:41 +00:00
JLinkGDB-WrFlash.bat
2016-11-09 00:56:41 +00:00
#@$(MAKE) -f flasher.mk flashburn
runram:
JLink-RunRAM.bat
#@$(MAKE) --f flasher.mk runram
reset:
JLink-Reset.bat
#@make -f flasher.mk reset
test:
2016-12-05 08:48:41 +00:00
JLink-RTL00ConsoleROM.bat
#@make -f flasher.mk test
2016-11-09 00:56:41 +00:00
readfullflash:
JLink-RdFullFlash.bat
#@make -f flasher.mk readfullflash
.PHONY: prerequirement
prerequirement:
2017-03-23 19:35:55 +00:00
@$(file >DEPENDENCY_LIST.txt,$(DEPENDENCY_LIST))
2017-02-01 11:37:57 +00:00
2017-03-23 19:35:55 +00:00
#TARGETTYPE := APP
#TARGETNAME := build\obj\build.axf