OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [AVR32_UC3/] [AT32UC3B/] [GCC/] [config.mk] - Blame information for rev 589

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 589 jeremybenn
# Hey Emacs, this is a -*- makefile -*-
2
 
3
# The purpose of this file is to define the build configuration variables used
4
# by the generic Makefile. See Makefile header for further information.
5
 
6
# Copyright (c) 2007, Atmel Corporation All rights reserved.
7
#
8
# Redistribution and use in source and binary forms, with or without
9
# modification, are permitted provided that the following conditions are met:
10
#
11
# 1. Redistributions of source code must retain the above copyright notice, this
12
# list of conditions and the following disclaimer.
13
#
14
# 2. Redistributions in binary form must reproduce the above copyright notice,
15
# this list of conditions and the following disclaimer in the documentation and/
16
# or other materials provided with the distribution.
17
#
18
# 3. The name of ATMEL may not be used to endorse or promote products derived
19
# from this software without specific prior written permission.
20
#
21
# THIS SOFTWARE IS PROVIDED BY ATMEL ``AS IS'' AND ANY EXPRESS OR IMPLIED
22
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
23
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY AND
24
# SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT,
25
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
28
# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
 
32
 
33
# Base paths
34
PRJ_PATH = ../..
35
APPS_PATH = $(PRJ_PATH)/APPLICATIONS
36
BRDS_PATH = $(PRJ_PATH)/BOARDS
37
COMP_PATH = $(PRJ_PATH)/COMPONENTS
38
DRVR_PATH = $(PRJ_PATH)/DRIVERS
39
SERV_PATH = $(PRJ_PATH)/SERVICES
40
UTIL_PATH = $(PRJ_PATH)/UTILS
41
 
42
# CPU architecture: {ap|uc}
43
ARCH = uc
44
 
45
# Part: {none|ap7xxx|uc3xxxxx}
46
PART = uc3b0256
47
 
48
# Flash memories: [{cfi|internal}@address,size]...
49
FLASH = internal@0x80000000,256Kb
50
 
51
# Clock source to use when programming: [{xtal|extclk|int}]
52
PROG_CLOCK = xtal
53
 
54
# Device/Platform/Board include path
55
PLATFORM_INC_PATH = \
56
  $(BRDS_PATH)/
57
 
58
# Target name: {*.a|*.elf}
59
TARGET = $(PART)-rtosdemo.elf
60
 
61
# Definitions: [-D name[=definition]...] [-U name...]
62
# Things that might be added to DEFS:
63
#   BOARD             Board used: {EVKxxxx}
64
#   EXT_BOARD         Extension board used (if any): {EXTxxxx}
65
DEFS = -D BOARD=EVK1101
66
 
67
# Include path
68
INC_PATH = \
69
  $(UTIL_PATH)/ \
70
  $(UTIL_PATH)/PREPROCESSOR/ \
71
  $(SERV_PATH)/USB/CLASS/DFU/EXAMPLES/ISP/BOOT/ \
72
  $(DRVR_PATH)/INTC/ \
73
  $(DRVR_PATH)/PM/ \
74
  $(DRVR_PATH)/GPIO/ \
75
  $(DRVR_PATH)/TC/ \
76
  ../../../../Source/portable/GCC/AVR32_UC3/ \
77
  ../../../../Source/include/ \
78
  ../../../Common/include/ \
79
  ../../
80
 
81
# C source files
82
CSRCS = \
83
  $(BRDS_PATH)/EVK1101/led.c \
84
  $(DRVR_PATH)/INTC/intc.c \
85
  $(DRVR_PATH)/PM/pm.c \
86
  $(DRVR_PATH)/GPIO/gpio.c \
87
  $(DRVR_PATH)/TC/tc.c \
88
  ../../../../Source/portable/GCC/AVR32_UC3/port.c \
89
  ../../../../Source/portable/MemMang/heap_3.c \
90
  ../../../../Source/list.c \
91
  ../../../../Source/queue.c \
92
  ../../../../Source/tasks.c \
93
  ../../../Common/Minimal/BlockQ.c \
94
  ../../../Common/Minimal/comtest.c \
95
  ../../../Common/Minimal/death.c \
96
  ../../../Common/Minimal/dynamic.c \
97
  ../../../Common/Minimal/flash.c \
98
  ../../../Common/Minimal/flop.c \
99
  ../../../Common/Minimal/integer.c \
100
  ../../../Common/Minimal/PollQ.c \
101
  ../../../Common/Minimal/semtest.c \
102
  ../../ParTest/ParTest.c \
103
  ../../serial/serial.c \
104
  ../../main.c
105
 
106
# Assembler source files
107
ASSRCS = \
108
  $(SERV_PATH)/USB/CLASS/DFU/EXAMPLES/ISP/BOOT/trampoline.S \
109
  ../../../../Source/portable/GCC/AVR32_UC3/exception.S
110
 
111
# Library path
112
LIB_PATH =
113
 
114
# Libraries to link with the project
115
LIBS =
116
 
117
# Linker script file if any
118
LINKER_SCRIPT = $(UTIL_PATH)/LINKER_SCRIPTS/AT32UC3B/0256/GCC/link_uc3b0256.lds
119
 
120
# Options to request or suppress warnings: [-fsyntax-only] [-pedantic[-errors]] [-w] [-Wwarning...]
121
# For further details, refer to the chapter "GCC Command Options" of the GCC manual.
122
WARNINGS = -Wall
123
 
124
# Options for debugging: [-g]...
125
# For further details, refer to the chapter "GCC Command Options" of the GCC manual.
126
DEBUG = -g
127
 
128
# Options that control optimization: [-O[0|1|2|3|s]]...
129
# For further details, refer to the chapter "GCC Command Options" of the GCC manual.
130
OPTIMIZATION = -O0 -ffunction-sections -fdata-sections
131
 
132
# Extra flags to use when preprocessing
133
CPP_EXTRA_FLAGS =
134
 
135
# Extra flags to use when compiling
136
C_EXTRA_FLAGS =
137
 
138
# Extra flags to use when assembling
139
AS_EXTRA_FLAGS =
140
 
141
# Extra flags to use when linking
142
LD_EXTRA_FLAGS = -Wl,--gc-sections -Wl,-e,_trampoline
143
 
144
# Documentation path
145
DOC_PATH = \
146
  ../../DOC/
147
 
148
# Documentation configuration file
149
DOC_CFG = \
150
  ../doxyfile.doxygen

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.