📄 config.mk
字号:
# Hey Emacs, this is a -*- makefile -*-# The purpose of this file is to define the build configuration variables used# by the generic Makefile. See Makefile header for further information.# Copyright (c) 2007, Atmel Corporation All rights reserved.## Redistribution and use in source and binary forms, with or without# modification, are permitted provided that the following conditions are met:## 1. Redistributions of source code must retain the above copyright notice, this# list of conditions and the following disclaimer.## 2. Redistributions in binary form must reproduce the above copyright notice,# this list of conditions and the following disclaimer in the documentation and/# or other materials provided with the distribution.## 3. The name of ATMEL may not be used to endorse or promote products derived# from this software without specific prior written permission.## THIS SOFTWARE IS PROVIDED BY ATMEL ``AS IS'' AND ANY EXPRESS OR IMPLIED# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY AND# SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT,# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.# Base pathsPRJ_PATH = ../..APPS_PATH = $(PRJ_PATH)/APPLICATIONSBRDS_PATH = $(PRJ_PATH)/BOARDSCOMP_PATH = $(PRJ_PATH)/COMPONENTSDRVR_PATH = $(PRJ_PATH)/DRIVERSSERV_PATH = $(PRJ_PATH)/SERVICESUTIL_PATH = $(PRJ_PATH)/UTILS# CPU architecture: {ap|uc}ARCH = uc# Part: {none|ap7xxx|uc3xxxxx}PART = uc3a0512# Flash memories: [{cfi|internal}@address,size]...FLASH = internal@0x80000000,512Kb# Clock source to use when programming: [{xtal|extclk|int}]PROG_CLOCK = xtal# Device/Platform/Board include pathPLATFORM_INC_PATH = \ $(BRDS_PATH)/# Target name: {*.a|*.elf}TARGET = $(PART)-rtosdemo.elf# Definitions: [-D name[=definition]...] [-U name...]# Things that might be added to DEFS:# BOARD Board used: {EVKxxxx}# EXT_BOARD Extension board used (if any): {EXTxxxx}DEFS = -D BOARD=EVK1100# Include pathINC_PATH = \ $(UTIL_PATH)/ \ $(UTIL_PATH)/PREPROCESSOR/ \ $(SERV_PATH)/USB/CLASS/DFU/EXAMPLES/ISP/BOOT/ \ $(DRVR_PATH)/INTC/ \ $(DRVR_PATH)/PM/ \ $(DRVR_PATH)/GPIO/ \ $(DRVR_PATH)/TC/ \ ../../../../Source/portable/GCC/AVR32_UC3/ \ ../../../../Source/include/ \ ../../../Common/include/ \ ../../# C source filesCSRCS = \ $(BRDS_PATH)/EVK1100/led.c \ $(DRVR_PATH)/INTC/intc.c \ $(DRVR_PATH)/PM/pm.c \ $(DRVR_PATH)/GPIO/gpio.c \ $(DRVR_PATH)/TC/tc.c \ ../../../../Source/portable/GCC/AVR32_UC3/port.c \ ../../../../Source/portable/MemMang/heap_3.c \ ../../../../Source/list.c \ ../../../../Source/queue.c \ ../../../../Source/tasks.c \ ../../../Common/Minimal/BlockQ.c \ ../../../Common/Minimal/comtest.c \ ../../../Common/Minimal/death.c \ ../../../Common/Minimal/dynamic.c \ ../../../Common/Minimal/flash.c \ ../../../Common/Minimal/flop.c \ ../../../Common/Minimal/integer.c \ ../../../Common/Minimal/PollQ.c \ ../../../Common/Minimal/semtest.c \ ../../ParTest/ParTest.c \ ../../serial/serial.c \ ../../main.c# Assembler source filesASSRCS = \ $(SERV_PATH)/USB/CLASS/DFU/EXAMPLES/ISP/BOOT/trampoline.S \ ../../../../Source/portable/GCC/AVR32_UC3/exception.S# Library pathLIB_PATH =# Libraries to link with the projectLIBS =# Linker script file if anyLINKER_SCRIPT = $(UTIL_PATH)/LINKER_SCRIPTS/AT32UC3A/0512/GCC/link_uc3a0512.lds# Options to request or suppress warnings: [-fsyntax-only] [-pedantic[-errors]] [-w] [-Wwarning...]# For further details, refer to the chapter "GCC Command Options" of the GCC manual.WARNINGS = -Wall# Options for debugging: [-g]...# For further details, refer to the chapter "GCC Command Options" of the GCC manual.DEBUG = -g# Options that control optimization: [-O[0|1|2|3|s]]...# For further details, refer to the chapter "GCC Command Options" of the GCC manual.OPTIMIZATION = -O0 -ffunction-sections -fdata-sections# Extra flags to use when preprocessingCPP_EXTRA_FLAGS =# Extra flags to use when compilingC_EXTRA_FLAGS =# Extra flags to use when assemblingAS_EXTRA_FLAGS =# Extra flags to use when linkingLD_EXTRA_FLAGS = -Wl,--gc-sections -Wl,-e,_trampoline# Documentation pathDOC_PATH = \ ../../DOC/# Documentation configuration fileDOC_CFG = \ ../doxyfile.doxygen
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -