mirror of
https://github.com/pvvx/RTL00_AT.git
synced 2024-11-01 01:44:15 +00:00
update
This commit is contained in:
parent
9aebf4cdc9
commit
bb43202548
2 changed files with 27 additions and 24 deletions
42
Makefile
42
Makefile
|
@ -7,6 +7,9 @@ ram_all:
|
||||||
@$(MAKE) -f sdkbuild.mk
|
@$(MAKE) -f sdkbuild.mk
|
||||||
@$(MAKE) -f flasher.mk genbin1 genbin23
|
@$(MAKE) -f flasher.mk genbin1 genbin23
|
||||||
|
|
||||||
|
webfs:
|
||||||
|
@$(MAKE) -f webfs.mk webpages.espfs
|
||||||
|
|
||||||
.PHONY: ram_all_mp
|
.PHONY: ram_all_mp
|
||||||
ram_all_mp:
|
ram_all_mp:
|
||||||
@$(MAKE) -f sdkbuild.mk mp
|
@$(MAKE) -f sdkbuild.mk mp
|
||||||
|
@ -15,45 +18,42 @@ ram_all_mp:
|
||||||
.PHONY: clean clean_all
|
.PHONY: clean clean_all
|
||||||
clean:
|
clean:
|
||||||
@$(MAKE) -f sdkbuild.mk clean
|
@$(MAKE) -f sdkbuild.mk clean
|
||||||
|
@$(MAKE) -f webfs.mk clean
|
||||||
|
|
||||||
clean_all:
|
clean_all:
|
||||||
@$(MAKE) -f sdkbuild.mk clean_all
|
@$(MAKE) -f sdkbuild.mk clean_all
|
||||||
|
@$(MAKE) -f webfs.mk clean
|
||||||
|
|
||||||
.PHONY: debug ramdebug
|
.PHONY: flashburn runram reset test readfullflash flashwebfs
|
||||||
debug:
|
flashburn:
|
||||||
@$(MAKE) -f application.mk debug
|
#JLinkGDB-WrFlash.bat
|
||||||
|
@$(MAKE) -f flasher.mk flashburn
|
||||||
ramdebug:
|
|
||||||
@$(MAKE) -f application.mk ramdebug
|
|
||||||
|
|
||||||
.PHONY: flash_OTA flashburn runram reset test readfullflash
|
|
||||||
|
|
||||||
flash_OTA:
|
flash_OTA:
|
||||||
JLinkGDB_OTA.bat
|
@$(MAKE) -f flasher.mk flash_OTA
|
||||||
|
|
||||||
flashburn:
|
flashwebfs:
|
||||||
JLinkGDB-WrFlash.bat
|
@$(MAKE) -f webfs.mk webpages.espfs
|
||||||
#@$(MAKE) -f flasher.mk flashburn
|
@$(MAKE) -f flasher.mk flashwebfs
|
||||||
|
#JLinkGDB-WrWebFs.bat
|
||||||
|
|
||||||
runram:
|
runram:
|
||||||
JLink-RunRAM.bat
|
#JLink-RunRAM.bat
|
||||||
#@$(MAKE) --f flasher.mk runram
|
@$(MAKE) --f flasher.mk runram
|
||||||
|
|
||||||
reset:
|
reset:
|
||||||
JLink-Reset.bat
|
#JLink-Reset.bat
|
||||||
#@make -f flasher.mk reset
|
@$(MAKE) -f flasher.mk reset
|
||||||
|
|
||||||
test:
|
test:
|
||||||
JLink-RTL00ConsoleROM.bat
|
JLink-RTL00ConsoleROM.bat
|
||||||
#@make -f flasher.mk test
|
#@make -f flasher.mk test
|
||||||
|
|
||||||
readfullflash:
|
readfullflash:
|
||||||
JLink-RdFullFlash.bat
|
#JLink-RdFullFlash.bat
|
||||||
#@make -f flasher.mk readfullflash
|
@$(MAKE) -f flasher.mk readfullflash
|
||||||
|
|
||||||
.PHONY: prerequirement
|
.PHONY: prerequirement
|
||||||
prerequirement:
|
prerequirement:
|
||||||
# @$(file >DEPENDENCY_LIST.txt,$(DEPENDENCY_LIST))
|
@$(file >DEPENDENCY_LIST.txt,$(DEPENDENCY_LIST))
|
||||||
|
|
||||||
TARGETTYPE := APP
|
|
||||||
TARGETNAME := build\obj\build.axf
|
|
||||||
|
|
3
paths.mk
3
paths.mk
|
@ -5,8 +5,11 @@ SDK_PATH = ../RTL00MP3/RTL00_SDKV35a/
|
||||||
#GCC_PATH = d:/MCU/GNU_Tools_ARM_Embedded/5.2_2015q4/bin/# + or set in PATH
|
#GCC_PATH = d:/MCU/GNU_Tools_ARM_Embedded/5.2_2015q4/bin/# + or set in PATH
|
||||||
#OPENOCD_PATH = d:/MCU/OpenOCD/bin/# + or set in PATH
|
#OPENOCD_PATH = d:/MCU/OpenOCD/bin/# + or set in PATH
|
||||||
TOOLS_PATH ?= $(SDK_PATH)component/soc/realtek/8195a/misc/iar_utility/common/tools/
|
TOOLS_PATH ?= $(SDK_PATH)component/soc/realtek/8195a/misc/iar_utility/common/tools/
|
||||||
|
FLASHER_TYPE ?= Jlink
|
||||||
|
#FLASHER_TYPE ?= OCD
|
||||||
FLASHER_PATH ?= flasher/
|
FLASHER_PATH ?= flasher/
|
||||||
JLINK_PATH ?= D:/MCU/SEGGER/JLink_V612i/
|
JLINK_PATH ?= D:/MCU/SEGGER/JLink_V612i/
|
||||||
|
JLINK_GDBSRV ?= JLinkGDBServer.exe
|
||||||
#---------------------------
|
#---------------------------
|
||||||
# Default
|
# Default
|
||||||
#---------------------------
|
#---------------------------
|
||||||
|
|
Loading…
Reference in a new issue