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

📄 ads.mf

📁 epson 13506 driver code
💻 MF
字号:
# makefile fragment ads.mf
# define build parameters for Motorola M68332 Business Card Computer

# TARGETNAME specifies the target we are building for
# it is defined for conditional compilation in C source
TARGETNAME.ads  := MPC8xx

# COMPILER is the name passed in the command line to identify which tool set to use
COMPILER.ads    := ppc

# CPU is an option passed on the command line to select the particular CPU family member
CPU.ads         := -mads

# LIBS lists the names of libraries needed by this target
LIBS.ads        := $(CHIPNAME)hal libse

# CFLAGS lists the compiler flags to use when compiling C programs
#CFLAGS.ads      := $(CPU.ads) -O2 
CFLAGS.ads      := $(CPU.ads) -O2 -DBUSTED_UART

# LDFLAGS lists the flags to use when linking
LDFLAGS.ads     := $(CPU.ads)

# filename extensions for this target
ASM.ads         := s
OBJ.ads         := o
LIB.ads         := a
EXE.ads         := elf
HEX.ads         := elf
DEP.ads         := d

# 'extra' objects needed for HAL and LIBSE
# use just the basename here - no filename extensions
HAL_EXTRAS.ads  := hal_emb
#LIBSE_EXTRAS.ads := adsgetch adsputch adskbhit
LIBSE_EXTRAS.ads := adsgetch adsputch adskbhit syscall
EXTRAS.ads      :=

# command line to link OBJs into EXE
LINK.ads        = $(LINK.o) $^ $(LDLIBS) -o $@

# command line to convert an EXE file to a HEX file
# note: can't use $< here, because one of the dependancies will be the destination directory
# instead, transform the name of the target to get the source file
EXEtoHEX.ads    = copy $(@F) $(TargetFile)

⌨️ 快捷键说明

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