⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 ST flash driver
💻
字号:
# Pick up default rules and variables
include $(DVD_MAKE)/generic.mak

# Other components this component is dependant upon
#IMPORTS =
#EXPORTS = 

LKFLAGS = $(LIBRARIES) -L$(OASIS)/config -fp -T tylkoum.cfg -M $@.map

# Local objects which comprise this component
OBJS     = main.tco \
					flash.tco \
					custom.tco

# Default build targets
TARGETS = flashprg.lku

include $(DVD_MAKE)/defrules.mak

# This builds this component

flashprg.lku : $(OBJS)
	$(CC) $(LKFLAGS) $^ $(OSLIBS) std_nvod.lib ktcable.lib kt_menu.lib browser.lib -p $(BOARD_SPECIFIC_SCRIPT_LKU) -o $@


run: flashprg.lku
	st20run -l $(OASIS)/config -l $(DVD_MAKE) -i tylkoum_16M.cfg -t $(TARGET) $^

debug:
	st20run -g -l $(OASIS)/config $(DVD_MAKE) -i tylkoum_16M.cfg -t $(TARGET)

clean:
	@echo Cleaning stflash
	$(RM) *.tco
	$(RM) *.lib

# Dependencies

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -