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

📄 makefile

📁 enc28j60的驱动
💻
字号:
##########################################################
#
# General makefile for building executable programs and
# libraries for Embedded Artists' QuickStart Boards.
# (C) 2001-2005 Embedded Artists AB
#
##########################################################

# Name of target (executable program or library) NAME      = ethDrv# Link program to RAM or ROM (possible values for LD_RAMROM is RAM or ROM,# if not specified = ROM)
# Get value from parent makefile instead
#LD_RAMROM = ROM 

# Name if specific CPU used (used by linker scripts to define correct memory map)
# Valid CPUs are: LPC2101, LPC2102, LPC2103, LPC2104, LPC2105, LPC2106
#                 LPC2114, LPC2119
#                 LPC2124, LPC2129
#                 LPC2131, LPC2132, LPC2134, LPC2136, LPC2138
#                 LPC2141, LPC2142, LPC2144, LPC2146, LPC2148
#                 LPC2194
#                 LPC2210, LPC2220, LPC2212, LPC2214,
#                 LPC2290, LPC2292, LPC2294
# If you have a new version not specified above, just select one of the old
# versions with the same memory map.
CPU_VARIANT = LPC2148

# It is possible to override the automatic linker file selection with the variable below.
# No not use this opion unless you have very specific needs.
#LD_SCRIPT = build_files/myOwnLinkScript_rom.ld
# ELF-file contains debug information, or not# (possible values for DEBUG are 0 or 1)
# Extra debug flags can be specified in DBFLAGSDEBUG   = 1
#DBFLAGS =# Optimization setting# (-Os for small code size, -O2 for speed)OFLAGS  = -Os# Extra general flags
# For example, compile for ARM / THUMB interworking (EFLAGS = -mthumb-interwork)
EFLAGS  = -mthumb-interwork# Program code run in ARM or THUMB mode
# Can be [ARM | THUMB]CODE    = THUMB# List C source files here.CSRCS   = main.c \
          ethdrv_enc28j60.c# List assembler source files hereASRCS   =# List subdirectories to recursively invoke make in SUBDIRS = startup
# List additional libraries to link withLIBS    = startup/libea_startup_thumb.a

# Add include search paths
INC     = -I./startup -I./

# Select if an executable program or a library shall be created
PROGRAM_MK  = true
#LIBRARY_MK  = true

# Output format on hex file (if making a program); can be [srec | ihex]
# Only needed for executable program files
HEX_FORMAT  = ihex

# Program to download executable program file into microcontroller's FLASH
# Only needed for executable program files
DOWNLOAD    = lpc21isp.exe

# Configurations for download program
DL_COMPORT  = com1
DL_BAUDRATE = 38400
DL_CRYSTAL  = 12000

#######################################################################
include build_files/general.mk
#######################################################################

⌨️ 快捷键说明

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