📄 makefile
字号:
## creation of flash file system#EXAMPLES = $(TCS)/examples## As defined, the flash simulator will be linked.# For the real flash, a user will have to make # the following changes:# - if a Board Support Package exists and it is not # linked in by default, a defintion to BSP must be# added.# - if a BSP is linked into the executable then BOARD# and FLASH_SPECIFIC set to nothing.# - if no BSP is linked but a Flash Driver exists,# then BOARD and FLASH_SPECIFIC should be set to point# to the specific flash driver.# - Change the definigion of HOST to match the# required host mode.# Below is an example of the changes made when using a# TTR Board.##BSP = $(TCS)/lib/$(ENDIAN)/libBSPdtv_ttr.o#BOARD = #FLASH_SPECIFIC =#HOST = nohost#BSP = FLASH_SPECIFIC = $(EXAMPLES)/flash_file_system/sample_drivers/FlashSpecific$(BOARD).cBOARD = SimHOST = nohostENDIAN = el# ERROR_RATE only used with tmsimERROR_RATE = 0CFLAGS = -DERROR_RATE=$(ERROR_RATE)mkfs.out: CHECK mkfs.c $(FLASH_SPECIFIC) $(TCS)/bin/tmcc $(CFLAGS) -host $(HOST) -$(ENDIAN) $(FLASH_SPECIFIC) -o $@ \ $(BSP) mkfs.c -lioCHECK: @if [ x$(TCS) = x ]; then \ echo "Usage: make TCS=<path>"; false; \ ficlean: rm -rf mkfs.out *.o
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -