2017-05-12 23:31:23 +00:00
|
|
|
include userset.mk
|
2017-04-22 13:54:00 +00:00
|
|
|
|
|
|
|
all: ram_all
|
|
|
|
mp: ram_all_mp
|
|
|
|
|
|
|
|
.PHONY: ram_all
|
|
|
|
ram_all:
|
2017-05-12 23:31:23 +00:00
|
|
|
@$(MAKE) -f $(SDK_PATH)sdkbuild.mk
|
|
|
|
@$(MAKE) -f $(SDK_PATH)flasher.mk genbin1 genbin23
|
2017-04-22 13:54:00 +00:00
|
|
|
|
|
|
|
.PHONY: ram_all_mp
|
|
|
|
ram_all_mp:
|
2017-05-12 23:31:23 +00:00
|
|
|
@$(MAKE) -f $(SDK_PATH)sdkbuild.mk mp
|
|
|
|
@$(MAKE) -f $(SDK_PATH)flasher.mk mp
|
2017-04-22 13:54:00 +00:00
|
|
|
|
|
|
|
.PHONY: clean clean_all
|
|
|
|
clean:
|
2017-05-12 23:31:23 +00:00
|
|
|
@$(MAKE) -f $(SDK_PATH)sdkbuild.mk clean
|
2017-04-22 13:54:00 +00:00
|
|
|
|
|
|
|
clean_all:
|
2017-05-12 23:31:23 +00:00
|
|
|
@$(MAKE) -f $(SDK_PATH)sdkbuild.mk clean_all
|
2017-04-22 13:54:00 +00:00
|
|
|
|
|
|
|
.PHONY: flashburn runram reset test readfullflash flashwebfs
|
|
|
|
flashburn:
|
|
|
|
#JLinkGDB-WrFlash.bat
|
2017-05-12 23:31:23 +00:00
|
|
|
@$(MAKE) -f $(SDK_PATH)flasher.mk flashburn
|
2017-04-22 13:54:00 +00:00
|
|
|
|
|
|
|
flash_OTA:
|
2017-05-12 23:31:23 +00:00
|
|
|
@$(MAKE) -f $(SDK_PATH)flasher.mk flash_OTA
|
2017-04-22 13:54:00 +00:00
|
|
|
|
|
|
|
webfs:
|
|
|
|
@$(MAKE) -f webfs.mk
|
|
|
|
|
|
|
|
flashwebfs:
|
|
|
|
@$(MAKE) -f webfs.mk
|
2017-05-12 23:31:23 +00:00
|
|
|
@$(MAKE) -f $(SDK_PATH)flasher.mk flashwebfs
|
2017-04-22 13:54:00 +00:00
|
|
|
#JLinkGDB-WrWebFs.bat
|
|
|
|
|
|
|
|
runram:
|
|
|
|
#JLink-RunRAM.bat
|
2017-05-12 23:31:23 +00:00
|
|
|
@$(MAKE) --f $(SDK_PATH)flasher.mk runram
|
2017-04-22 13:54:00 +00:00
|
|
|
|
2017-10-17 14:42:32 +00:00
|
|
|
runsdram:
|
|
|
|
#JLink-RunRAM.bat
|
|
|
|
@$(MAKE) --f $(SDK_PATH)flasher.mk runsdram
|
|
|
|
|
2017-04-22 13:54:00 +00:00
|
|
|
reset:
|
|
|
|
#JLink-Reset.bat
|
2017-05-12 23:31:23 +00:00
|
|
|
@$(MAKE) -f $(SDK_PATH)flasher.mk reset
|
2017-04-22 13:54:00 +00:00
|
|
|
|
|
|
|
test:
|
|
|
|
JLink-RTL00ConsoleROM.bat
|
|
|
|
#@make -f flasher.mk test
|
|
|
|
|
|
|
|
readfullflash:
|
|
|
|
#JLink-RdFullFlash.bat
|
2017-05-12 23:31:23 +00:00
|
|
|
@$(MAKE) -f $(SDK_PATH)flasher.mk readfullflash
|
2017-04-22 13:54:00 +00:00
|
|
|
|