mirror of
https://github.com/pvvx/RTL00_AT.git
synced 2024-11-21 17: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 flasher.mk genbin1 genbin23
|
||||
|
||||
webfs:
|
||||
@$(MAKE) -f webfs.mk webpages.espfs
|
||||
|
||||
.PHONY: ram_all_mp
|
||||
ram_all_mp:
|
||||
@$(MAKE) -f sdkbuild.mk mp
|
||||
|
@ -15,45 +18,42 @@ ram_all_mp:
|
|||
.PHONY: clean clean_all
|
||||
clean:
|
||||
@$(MAKE) -f sdkbuild.mk clean
|
||||
@$(MAKE) -f webfs.mk clean
|
||||
|
||||
clean_all:
|
||||
@$(MAKE) -f sdkbuild.mk clean_all
|
||||
@$(MAKE) -f webfs.mk clean
|
||||
|
||||
.PHONY: debug ramdebug
|
||||
debug:
|
||||
@$(MAKE) -f application.mk debug
|
||||
|
||||
ramdebug:
|
||||
@$(MAKE) -f application.mk ramdebug
|
||||
|
||||
.PHONY: flash_OTA flashburn runram reset test readfullflash
|
||||
.PHONY: flashburn runram reset test readfullflash flashwebfs
|
||||
flashburn:
|
||||
#JLinkGDB-WrFlash.bat
|
||||
@$(MAKE) -f flasher.mk flashburn
|
||||
|
||||
flash_OTA:
|
||||
JLinkGDB_OTA.bat
|
||||
@$(MAKE) -f flasher.mk flash_OTA
|
||||
|
||||
flashburn:
|
||||
JLinkGDB-WrFlash.bat
|
||||
#@$(MAKE) -f flasher.mk flashburn
|
||||
flashwebfs:
|
||||
@$(MAKE) -f webfs.mk webpages.espfs
|
||||
@$(MAKE) -f flasher.mk flashwebfs
|
||||
#JLinkGDB-WrWebFs.bat
|
||||
|
||||
runram:
|
||||
JLink-RunRAM.bat
|
||||
#@$(MAKE) --f flasher.mk runram
|
||||
#JLink-RunRAM.bat
|
||||
@$(MAKE) --f flasher.mk runram
|
||||
|
||||
reset:
|
||||
JLink-Reset.bat
|
||||
#@make -f flasher.mk reset
|
||||
#JLink-Reset.bat
|
||||
@$(MAKE) -f flasher.mk reset
|
||||
|
||||
test:
|
||||
JLink-RTL00ConsoleROM.bat
|
||||
#@make -f flasher.mk test
|
||||
|
||||
readfullflash:
|
||||
JLink-RdFullFlash.bat
|
||||
#@make -f flasher.mk readfullflash
|
||||
#JLink-RdFullFlash.bat
|
||||
@$(MAKE) -f flasher.mk readfullflash
|
||||
|
||||
.PHONY: 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
|
||||
#OPENOCD_PATH = d:/MCU/OpenOCD/bin/# + or set in PATH
|
||||
TOOLS_PATH ?= $(SDK_PATH)component/soc/realtek/8195a/misc/iar_utility/common/tools/
|
||||
FLASHER_TYPE ?= Jlink
|
||||
#FLASHER_TYPE ?= OCD
|
||||
FLASHER_PATH ?= flasher/
|
||||
JLINK_PATH ?= D:/MCU/SEGGER/JLink_V612i/
|
||||
JLINK_GDBSRV ?= JLinkGDBServer.exe
|
||||
#---------------------------
|
||||
# Default
|
||||
#---------------------------
|
||||
|
|
Loading…
Reference in a new issue