open-ameba/Makefile

59 lines
1 KiB
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
2017-04-03 07:32:32 +00:00
webfs:
@$(MAKE) -f webfs.mk webpages.espfs
2016-11-09 00:56:41 +00:00
.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
2017-04-03 07:32:32 +00:00
@$(MAKE) -f webfs.mk clean
2016-11-09 00:56:41 +00:00
clean_all:
@$(MAKE) -f sdkbuild.mk clean_all
2017-04-03 07:32:32 +00:00
@$(MAKE) -f webfs.mk clean
2016-11-09 00:56:41 +00:00
2017-04-03 07:32:32 +00:00
.PHONY: flashburn runram reset test readfullflash flashwebfs
2016-11-09 00:56:41 +00:00
flashburn:
2017-04-03 07:32:32 +00:00
#JLinkGDB-WrFlash.bat
@$(MAKE) -f flasher.mk flashburn
flash_OTA:
@$(MAKE) -f flasher.mk flash_OTA
flashwebfs:
@$(MAKE) -f webfs.mk webpages.espfs
@$(MAKE) -f flasher.mk flashwebfs
#JLinkGDB-WrWebFs.bat
2016-11-09 00:56:41 +00:00
runram:
2017-04-03 07:32:32 +00:00
#JLink-RunRAM.bat
@$(MAKE) --f flasher.mk runram
2016-11-09 00:56:41 +00:00
reset:
2017-04-03 07:32:32 +00:00
#JLink-Reset.bat
@$(MAKE) -f flasher.mk reset
2016-11-09 00:56:41 +00:00
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-04-03 07:32:32 +00:00