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

📄 make.defs

📁 LPC based lcd interface
💻 DEFS
字号:
#
#	This is the included part of the makefiles. It is generic
# to all the examples and contains the defines of the directories
# used in the examples. The targets are angel, for the angel debugger,
# ice, for the in-circuit debugger and release, for the none debug
# version.
#

# OBJ is the object directory dependant upon the make command.
# DEBUG is the debug command define for the source code.

#set up paths to use
INCLUDE = ../../include
GCC_LIB = ../../../arm-elf/lib/gcc-lib/arm-elf/2.9-ecosSWtools-arm-990321/libgcc.a
LIBC = ../../../arm-elf/arm-elf/lib/libc.a
AT91_LIB = ../../library

AT91_LIB32 = ../../library/lib32.lib
ANGEL_LIB = ../../angel-lib/angel.lib
INIT_LIB = ../../library/init

#set up object directories
ANGEL=ANGEL_OBJ
ICE=ICE_OBJ
RELEASE=RELEASE_OBJ

CC=arm-elf-gcc.exe
AS=arm-elf-as.exe
LINK=arm-elf-ld.exe

#system flags required
CFLAGS = -DAT91M40400=1 -DAT91EB01=1 -g -c
THUMB_CFLAG = -mthumb-interwork -g
ASFLAGS = --defsym AT91M40400=1 --defsym AT91EB01=1 --defsym $(DEBUG)
THUMB_AFLAG = -mthumb
LDFLAGS= -Ttext 0x2018000 -e 0x2018000


%.s %.o32:
	$(AS) $(ASFLAGS) $< -o$(OBJ)$(@F)

%.s %.o16:
	$(AS) $(ASFLAGS) $(THUMB_AFLAG) $< -o$(OBJ)$(@F)
	
%.c %.o :
	$(CC) $(CFLAGS) $< -o$(OBJ)$(@F)

⌨️ 快捷键说明

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