|
1 | | -#****************************************************************************** |
2 | | -# |
3 | | -# Makefile - Rules for building the FreeRTOS example. |
4 | | -# |
5 | | -# Copyright (c) 2012-2014 Texas Instruments Incorporated. All rights reserved. |
6 | | -# Software License Agreement |
7 | | -# |
8 | | -# Texas Instruments (TI) is supplying this software for use solely and |
9 | | -# exclusively on TI's microcontroller products. The software is owned by |
10 | | -# TI and/or its suppliers, and is protected under applicable copyright |
11 | | -# laws. You may not combine this software with "viral" open-source |
12 | | -# software in order to form a larger program. |
13 | | -# |
14 | | -# THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS. |
15 | | -# NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT |
16 | | -# NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
17 | | -# A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY |
18 | | -# CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL |
19 | | -# DAMAGES, FOR ANY REASON WHATSOEVER. |
20 | | -# |
21 | | -# This is part of revision 2.1.0.12573 of the EK-TM4C123GXL Firmware Package. |
22 | | -# |
23 | | -#****************************************************************************** |
24 | | - |
25 | | -# |
26 | | -# Defines the part type that this project uses. |
27 | | -# |
28 | | -PART=TM4C123GH6PM |
29 | | - |
30 | | -# |
31 | | -# The base directory for TivaWare. |
32 | | -# |
33 | | -ROOT=../.. |
34 | | - |
35 | | -# |
36 | | -# Include the common make definitions. |
37 | | -# |
38 | | -include ${ROOT}/makedefs |
| 1 | +#****************************************************************************** |
| 2 | +# |
| 3 | +# Makefile - Rules for building the FreeRTOS example. |
| 4 | +# |
| 5 | +# Copyright (c) 2012-2015 Texas Instruments Incorporated. All rights reserved. |
| 6 | +# Software License Agreement |
| 7 | +# |
| 8 | +# Texas Instruments (TI) is supplying this software for use solely and |
| 9 | +# exclusively on TI's microcontroller products. The software is owned by |
| 10 | +# TI and/or its suppliers, and is protected under applicable copyright |
| 11 | +# laws. You may not combine this software with "viral" open-source |
| 12 | +# software in order to form a larger program. |
| 13 | +# |
| 14 | +# THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS. |
| 15 | +# NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT |
| 16 | +# NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 17 | +# A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY |
| 18 | +# CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL |
| 19 | +# DAMAGES, FOR ANY REASON WHATSOEVER. |
| 20 | +# |
| 21 | +# This is part of revision 2.1.2.111 of the EK-TM4C123GXL Firmware Package. |
| 22 | +# |
| 23 | +#****************************************************************************** |
39 | 24 |
|
40 | | -# |
41 | | -# Where to find header files that do not live in the source directory. |
42 | | -# |
| 25 | +# |
| 26 | +# Defines the part type that this project uses. |
| 27 | +# |
| 28 | +PART=TM4C123GH6PM |
| 29 | + |
| 30 | +# |
| 31 | +# The base directory for TivaWare. |
| 32 | +# |
| 33 | +ROOT=../.. |
| 34 | + |
| 35 | +# |
| 36 | +# Include the common make definitions. |
| 37 | +# |
| 38 | +include ${ROOT}/makedefs |
| 39 | + |
| 40 | +# |
| 41 | +# Where to find header files that do not live in the source directory. |
| 42 | +# |
43 | 43 | TIVAWARE=${ROOT}/../TivaWare |
44 | | - |
45 | | -# |
46 | | -# Where to find source files that do not live in this directory. |
47 | | -# |
48 | | -VPATH=../drivers |
49 | | -VPATH+=${TIVAWARE}/third_party/FreeRTOS/Source/portable/GCC/ARM_CM4F |
50 | | -VPATH+=${TIVAWARE}/third_party/FreeRTOS/Source/portable/MemMang/ |
51 | | -VPATH+=${TIVAWARE}/third_party/FreeRTOS/Source |
52 | | -VPATH+=${TIVAWARE}/utils |
53 | | - |
54 | | -# |
55 | | -# Where to find header files that do not live in the source directory. |
56 | | -# |
57 | | -IPATH=. |
58 | | -IPATH+=.. |
59 | | -IPATH+=${TIVAWARE} |
60 | | -IPATH+=${TIVAWARE}/third_party/FreeRTOS/Source/portable/GCC/ARM_CM4F |
61 | | -IPATH+=${TIVAWARE}/third_party/FreeRTOS |
62 | | -IPATH+=${TIVAWARE}/third_party/FreeRTOS/Source/include |
63 | | -IPATH+=${TIVAWARE}/third_party |
64 | | - |
65 | | -# |
66 | | -# The default rule, which causes the FreeRTOS example to be built. |
67 | | -# |
68 | | -all: ${COMPILER} |
69 | | -all: ${COMPILER}/freertos_demo.axf |
70 | | - |
71 | | -# |
72 | | -# The rule to clean out all the build products. |
73 | | -# |
74 | | -clean: |
75 | | - @rm -rf ${COMPILER} ${wildcard *~} |
76 | | - |
77 | | -# |
78 | | -# The rule to create the target directory. |
79 | | -# |
80 | | -${COMPILER}: |
81 | | - @mkdir -p ${COMPILER} |
82 | | - |
83 | | -# |
84 | | -# The rule to flash |
85 | | -# |
86 | | -flash: |
87 | | - @lm4flash ${COMPILER}/freertos_demo.bin |
88 | | - |
89 | | -# |
90 | | -# Rules for building the FreeRTOS example. |
91 | | -# |
92 | | -${COMPILER}/freertos_demo.axf: ${COMPILER}/buttons.o |
93 | | -${COMPILER}/freertos_demo.axf: ${COMPILER}/freertos_demo.o |
94 | | -${COMPILER}/freertos_demo.axf: ${COMPILER}/heap_2.o |
95 | | -${COMPILER}/freertos_demo.axf: ${COMPILER}/led_task.o |
96 | | -${COMPILER}/freertos_demo.axf: ${COMPILER}/list.o |
97 | | -${COMPILER}/freertos_demo.axf: ${COMPILER}/port.o |
98 | | -${COMPILER}/freertos_demo.axf: ${COMPILER}/queue.o |
99 | | -${COMPILER}/freertos_demo.axf: ${COMPILER}/rgb.o |
100 | | -${COMPILER}/freertos_demo.axf: ${COMPILER}/startup_${COMPILER}.o |
101 | | -${COMPILER}/freertos_demo.axf: ${COMPILER}/switch_task.o |
102 | | -${COMPILER}/freertos_demo.axf: ${COMPILER}/tasks.o |
103 | | -${COMPILER}/freertos_demo.axf: ${COMPILER}/uartstdio.o |
104 | | -${COMPILER}/freertos_demo.axf: ${COMPILER}/ustdlib.o |
105 | | -${COMPILER}/freertos_demo.axf: ${TIVAWARE}/driverlib/${COMPILER}/libdriver.a |
106 | | -${COMPILER}/freertos_demo.axf: freertos_demo.ld |
107 | | -SCATTERgcc_freertos_demo=freertos_demo.ld |
108 | | -ENTRY_freertos_demo=ResetISR |
109 | | -CFLAGSgcc=-DTARGET_IS_TM4C123_RB1 |
110 | | - |
111 | | -# |
112 | | -# Include the automatically generated dependency files. |
113 | | -# |
114 | | -ifneq (${MAKECMDGOALS},clean) |
115 | | --include ${wildcard ${COMPILER}/*.d} __dummy__ |
116 | | -endif |
| 44 | + |
| 45 | +# |
| 46 | +# Where to find source files that do not live in this directory. |
| 47 | +# |
| 48 | +VPATH=../drivers |
| 49 | +VPATH+=${TIVAWARE}/third_party/FreeRTOS/Source/portable/GCC/ARM_CM4F |
| 50 | +VPATH+=${TIVAWARE}/third_party/FreeRTOS/Source/portable/MemMang/ |
| 51 | +VPATH+=${TIVAWARE}/third_party/FreeRTOS/Source |
| 52 | +VPATH+=${TIVAWARE}/utils |
| 53 | + |
| 54 | +# |
| 55 | +# Where to find header files that do not live in the source directory. |
| 56 | +# |
| 57 | +IPATH=. |
| 58 | +IPATH+=.. |
| 59 | +IPATH+=${TIVAWARE} |
| 60 | +IPATH+=${TIVAWARE}/third_party/FreeRTOS/Source/portable/GCC/ARM_CM4F |
| 61 | +IPATH+=${TIVAWARE}/third_party/FreeRTOS |
| 62 | +IPATH+=${TIVAWARE}/third_party/FreeRTOS/Source/include |
| 63 | +IPATH+=${TIVAWARE}/third_party |
| 64 | + |
| 65 | +# |
| 66 | +# The default rule, which causes the FreeRTOS example to be built. |
| 67 | +# |
| 68 | +all: ${COMPILER} |
| 69 | +all: ${COMPILER}/freertos_demo.axf |
| 70 | + |
| 71 | +# |
| 72 | +# The rule to clean out all the build products. |
| 73 | +# |
| 74 | +clean: |
| 75 | + @rm -rf ${COMPILER} ${wildcard *~} |
| 76 | + |
| 77 | +# |
| 78 | +# The rule to create the target directory. |
| 79 | +# |
| 80 | +${COMPILER}: |
| 81 | + @mkdir -p ${COMPILER} |
| 82 | + |
| 83 | +# |
| 84 | +# The rule to flash |
| 85 | +# |
| 86 | +flash: |
| 87 | + @lm4flash ${COMPILER}/freertos_demo.bin |
| 88 | + |
| 89 | +# |
| 90 | +# Rules for building the FreeRTOS example. |
| 91 | +# |
| 92 | +${COMPILER}/freertos_demo.axf: ${COMPILER}/buttons.o |
| 93 | +${COMPILER}/freertos_demo.axf: ${COMPILER}/freertos_demo.o |
| 94 | +${COMPILER}/freertos_demo.axf: ${COMPILER}/heap_2.o |
| 95 | +${COMPILER}/freertos_demo.axf: ${COMPILER}/led_task.o |
| 96 | +${COMPILER}/freertos_demo.axf: ${COMPILER}/list.o |
| 97 | +${COMPILER}/freertos_demo.axf: ${COMPILER}/port.o |
| 98 | +${COMPILER}/freertos_demo.axf: ${COMPILER}/queue.o |
| 99 | +${COMPILER}/freertos_demo.axf: ${COMPILER}/rgb.o |
| 100 | +${COMPILER}/freertos_demo.axf: ${COMPILER}/startup_${COMPILER}.o |
| 101 | +${COMPILER}/freertos_demo.axf: ${COMPILER}/switch_task.o |
| 102 | +${COMPILER}/freertos_demo.axf: ${COMPILER}/tasks.o |
| 103 | +${COMPILER}/freertos_demo.axf: ${COMPILER}/uartstdio.o |
| 104 | +${COMPILER}/freertos_demo.axf: ${COMPILER}/ustdlib.o |
| 105 | +${COMPILER}/freertos_demo.axf: ${TIVAWARE}/driverlib/${COMPILER}/libdriver.a |
| 106 | +${COMPILER}/freertos_demo.axf: freertos_demo.ld |
| 107 | +SCATTERgcc_freertos_demo=freertos_demo.ld |
| 108 | +ENTRY_freertos_demo=ResetISR |
| 109 | +CFLAGSgcc=-DTARGET_IS_TM4C123_RB1 |
| 110 | + |
| 111 | +# |
| 112 | +# Include the automatically generated dependency files. |
| 113 | +# |
| 114 | +ifneq (${MAKECMDGOALS},clean) |
| 115 | +-include ${wildcard ${COMPILER}/*.d} __dummy__ |
| 116 | +endif |
0 commit comments