ebngen 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/ebngen.rb +1 -1
- data/lib/ebngen/adapter/cmake/CMakeList.txt +569 -569
- data/lib/ebngen/adapter/cmake/txt.rb +75 -75
- data/lib/ebngen/adapter/mdk.rb +479 -479
- data/lib/ebngen/adapter/mdk/uvprojx.rb +277 -277
- data/lib/ebngen/ebngen.rb +3 -3
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 25e01159723bdfff8f52587f3b3385d4a24e15e2aad84f29fea4260e16ed4eb3
|
4
|
+
data.tar.gz: a247b2d81b08ed331ca50b1bbd08d2772327f8f1df27db4f1767356ccb9289d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c1893e59e461e110450af451e4930cfe543affb9dd24c090c6ffa02206fcb18a3c874bd11daa84d8369069f7e7896e41d2335ece64af1981fb324115ab7140c
|
7
|
+
data.tar.gz: 90b2fe3bbbbe29c6152f64707b8ea5dafdd94b4ba9b0bbaa2fdcd5db2a8889b6a862e259c2aa1478424e2443124f570ec9c7aa14f82df52eb84591a6e6e5f7ea
|
data/lib/ebngen.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require_relative 'ebngen
|
1
|
+
require_relative 'ebngen/ebngen.rb'
|
@@ -1,570 +1,570 @@
|
|
1
|
-
INCLUDE(CMakeForceCompiler)
|
2
|
-
|
3
|
-
# CROSS COMPILER SETTING
|
4
|
-
SET(CMAKE_SYSTEM_NAME Generic)
|
5
|
-
CMAKE_MINIMUM_REQUIRED (VERSION 2.6)
|
6
|
-
|
7
|
-
# THE VERSION NUMBER
|
8
|
-
SET (Tutorial_VERSION_MAJOR 1)
|
9
|
-
SET (Tutorial_VERSION_MINOR 0)
|
10
|
-
|
11
|
-
# ENABLE ASM
|
12
|
-
ENABLE_LANGUAGE(ASM)
|
13
|
-
|
14
|
-
SET(CMAKE_STATIC_LIBRARY_PREFIX)
|
15
|
-
SET(CMAKE_STATIC_LIBRARY_SUFFIX)
|
16
|
-
|
17
|
-
SET(CMAKE_EXECUTABLE_LIBRARY_PREFIX)
|
18
|
-
SET(CMAKE_EXECUTABLE_LIBRARY_SUFFIX)
|
19
|
-
|
20
|
-
|
21
|
-
# CURRENT DIRECTORY
|
22
|
-
SET(ProjDirPath ${CMAKE_CURRENT_SOURCE_DIR})
|
23
|
-
|
24
|
-
|
25
|
-
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -DDEBUG")
|
26
|
-
|
27
|
-
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -g")
|
28
|
-
|
29
|
-
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -mthumb")
|
30
|
-
|
31
|
-
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -fno-common")
|
32
|
-
|
33
|
-
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -ffunction-sections")
|
34
|
-
|
35
|
-
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -fdata-sections")
|
36
|
-
|
37
|
-
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -ffreestanding")
|
38
|
-
|
39
|
-
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -fno-builtin")
|
40
|
-
|
41
|
-
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -Os")
|
42
|
-
|
43
|
-
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -mapcs")
|
44
|
-
|
45
|
-
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -std=gnu99")
|
46
|
-
|
47
|
-
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -mcpu=cortex-m4")
|
48
|
-
|
49
|
-
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -mfloat-abi=hard")
|
50
|
-
|
51
|
-
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -mfpu=fpv4-sp-d16")
|
52
|
-
|
53
|
-
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -Wall")
|
54
|
-
|
55
|
-
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -mthumb")
|
56
|
-
|
57
|
-
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -fno-common")
|
58
|
-
|
59
|
-
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -ffunction-sections")
|
60
|
-
|
61
|
-
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -fdata-sections")
|
62
|
-
|
63
|
-
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -ffreestanding")
|
64
|
-
|
65
|
-
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -fno-builtin")
|
66
|
-
|
67
|
-
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -Os")
|
68
|
-
|
69
|
-
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -mapcs")
|
70
|
-
|
71
|
-
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -std=gnu99")
|
72
|
-
|
73
|
-
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -mcpu=cortex-m4")
|
74
|
-
|
75
|
-
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -mfloat-abi=hard")
|
76
|
-
|
77
|
-
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -mfpu=fpv4-sp-d16")
|
78
|
-
|
79
|
-
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -Wall")
|
80
|
-
|
81
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DDEBUG")
|
82
|
-
|
83
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DCPU_MK64FN1M0VMD12")
|
84
|
-
|
85
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DTWR_K64F120M")
|
86
|
-
|
87
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g")
|
88
|
-
|
89
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0")
|
90
|
-
|
91
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall")
|
92
|
-
|
93
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fno-common")
|
94
|
-
|
95
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ffunction-sections")
|
96
|
-
|
97
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fdata-sections")
|
98
|
-
|
99
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ffreestanding")
|
100
|
-
|
101
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fno-builtin")
|
102
|
-
|
103
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Os")
|
104
|
-
|
105
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -mthumb")
|
106
|
-
|
107
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -mapcs")
|
108
|
-
|
109
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -std=gnu99")
|
110
|
-
|
111
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -mcpu=cortex-m4")
|
112
|
-
|
113
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -mfloat-abi=hard")
|
114
|
-
|
115
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -mfpu=fpv4-sp-d16")
|
116
|
-
|
117
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -MMD")
|
118
|
-
|
119
|
-
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -MP")
|
120
|
-
|
121
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DNDEBUG")
|
122
|
-
|
123
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DCPU_MK64FN1M0VMD12")
|
124
|
-
|
125
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DTWR_K64F120M")
|
126
|
-
|
127
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Os")
|
128
|
-
|
129
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Wall")
|
130
|
-
|
131
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-common")
|
132
|
-
|
133
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -ffunction-sections")
|
134
|
-
|
135
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fdata-sections")
|
136
|
-
|
137
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -ffreestanding")
|
138
|
-
|
139
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-builtin")
|
140
|
-
|
141
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -mthumb")
|
142
|
-
|
143
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -mapcs")
|
144
|
-
|
145
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -std=gnu99")
|
146
|
-
|
147
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -mcpu=cortex-m4")
|
148
|
-
|
149
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -mfloat-abi=hard")
|
150
|
-
|
151
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -mfpu=fpv4-sp-d16")
|
152
|
-
|
153
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -MMD")
|
154
|
-
|
155
|
-
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -MP")
|
156
|
-
|
157
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Xlinker")
|
158
|
-
|
159
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} --defsym=__ram_vector_table__=1")
|
160
|
-
|
161
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Wl,--start-group")
|
162
|
-
|
163
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -lnosys")
|
164
|
-
|
165
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -lm")
|
166
|
-
|
167
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -lc")
|
168
|
-
|
169
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -lgcc")
|
170
|
-
|
171
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Wl,--end-group")
|
172
|
-
|
173
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} --specs=nano.specs")
|
174
|
-
|
175
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -lm")
|
176
|
-
|
177
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Wall")
|
178
|
-
|
179
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -fno-common")
|
180
|
-
|
181
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -ffunction-sections")
|
182
|
-
|
183
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -fdata-sections")
|
184
|
-
|
185
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -ffreestanding")
|
186
|
-
|
187
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -fno-builtin")
|
188
|
-
|
189
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Os")
|
190
|
-
|
191
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -mthumb")
|
192
|
-
|
193
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -mapcs")
|
194
|
-
|
195
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Xlinker")
|
196
|
-
|
197
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} --gc-sections")
|
198
|
-
|
199
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Xlinker")
|
200
|
-
|
201
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -static")
|
202
|
-
|
203
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Xlinker")
|
204
|
-
|
205
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -z")
|
206
|
-
|
207
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Xlinker")
|
208
|
-
|
209
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} muldefs")
|
210
|
-
|
211
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -mcpu=cortex-m4")
|
212
|
-
|
213
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -mfloat-abi=hard")
|
214
|
-
|
215
|
-
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -mfpu=fpv4-sp-d16")
|
216
|
-
|
217
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -g")
|
218
|
-
|
219
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Xlinker")
|
220
|
-
|
221
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} --defsym=__ram_vector_table__=1")
|
222
|
-
|
223
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Wl,--start-group")
|
224
|
-
|
225
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -lnosys")
|
226
|
-
|
227
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -lm")
|
228
|
-
|
229
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -lc")
|
230
|
-
|
231
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -lgcc")
|
232
|
-
|
233
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Wl,--end-group")
|
234
|
-
|
235
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} --specs=nano.specs")
|
236
|
-
|
237
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -lm")
|
238
|
-
|
239
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Wall")
|
240
|
-
|
241
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -fno-common")
|
242
|
-
|
243
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -ffunction-sections")
|
244
|
-
|
245
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -fdata-sections")
|
246
|
-
|
247
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -ffreestanding")
|
248
|
-
|
249
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -fno-builtin")
|
250
|
-
|
251
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Os")
|
252
|
-
|
253
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -mthumb")
|
254
|
-
|
255
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -mapcs")
|
256
|
-
|
257
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Xlinker")
|
258
|
-
|
259
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} --gc-sections")
|
260
|
-
|
261
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Xlinker")
|
262
|
-
|
263
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -static")
|
264
|
-
|
265
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Xlinker")
|
266
|
-
|
267
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -z")
|
268
|
-
|
269
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Xlinker")
|
270
|
-
|
271
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} muldefs")
|
272
|
-
|
273
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -mcpu=cortex-m4")
|
274
|
-
|
275
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -mfloat-abi=hard")
|
276
|
-
|
277
|
-
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -mfpu=fpv4-sp-d16")
|
278
|
-
|
279
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/devices)
|
280
|
-
|
281
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/include)
|
282
|
-
|
283
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup)
|
284
|
-
|
285
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m)
|
286
|
-
|
287
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/common/sgtl5000)
|
288
|
-
|
289
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/common/phyksz8041)
|
290
|
-
|
291
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/system/src/clock/MK64F12)
|
292
|
-
|
293
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/rt_app)
|
294
|
-
|
295
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/drivers/inc)
|
296
|
-
|
297
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/hal/inc)
|
298
|
-
|
299
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/rtos)
|
300
|
-
|
301
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/osa/inc)
|
302
|
-
|
303
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/CMSIS/Include)
|
304
|
-
|
305
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/system/inc)
|
306
|
-
|
307
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/inc)
|
308
|
-
|
309
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/src)
|
310
|
-
|
311
|
-
include_directories(${ProjDirPath}/../../../../components/drivers/include/drivers)
|
312
|
-
|
313
|
-
include_directories(${ProjDirPath}/../../../../components/drivers/include)
|
314
|
-
|
315
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/driver_wrapper/inc)
|
316
|
-
|
317
|
-
include_directories(${ProjDirPath}/../../../../components/finsh)
|
318
|
-
|
319
|
-
include_directories(${ProjDirPath}/../../../../include)
|
320
|
-
|
321
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/devices)
|
322
|
-
|
323
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/include)
|
324
|
-
|
325
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup)
|
326
|
-
|
327
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m)
|
328
|
-
|
329
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/common/sgtl5000)
|
330
|
-
|
331
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/common/phyksz8041)
|
332
|
-
|
333
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/system/src/clock/MK64F12)
|
334
|
-
|
335
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/rt_app)
|
336
|
-
|
337
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/drivers/inc)
|
338
|
-
|
339
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/hal/inc)
|
340
|
-
|
341
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/rtos)
|
342
|
-
|
343
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/osa/inc)
|
344
|
-
|
345
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/CMSIS/Include)
|
346
|
-
|
347
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/system/inc)
|
348
|
-
|
349
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/inc)
|
350
|
-
|
351
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/src)
|
352
|
-
|
353
|
-
include_directories(${ProjDirPath}/../../../../components/drivers/include/drivers)
|
354
|
-
|
355
|
-
include_directories(${ProjDirPath}/../../../../components/drivers/include)
|
356
|
-
|
357
|
-
include_directories(${ProjDirPath}/../../../../bsp/kinetis/driver_wrapper/inc)
|
358
|
-
|
359
|
-
include_directories(${ProjDirPath}/../../../../components/finsh)
|
360
|
-
|
361
|
-
include_directories(${ProjDirPath}/../../../../include)
|
362
|
-
|
363
|
-
add_executable(rt_thread_demo.elf
|
364
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/gcc/startup_MK64F12.S"
|
365
|
-
"${ProjDirPath}/../../../../libcpu/arm/cortex-m4/context_gcc.S"
|
366
|
-
"${ProjDirPath}/../../../../bsp/kinetis/driver_wrapper/uart/drv_uart.c"
|
367
|
-
"${ProjDirPath}/../../../../bsp/kinetis/driver_wrapper/inc/drv_uart.h"
|
368
|
-
"${ProjDirPath}/../../../../bsp/kinetis/driver_wrapper/uart/fsl_uart_irq_rt.c"
|
369
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
370
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
371
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
372
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
373
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
374
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
375
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
376
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
377
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
378
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/rtconfig.h"
|
379
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
380
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
381
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
382
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
383
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
384
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
385
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
386
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
387
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
388
|
-
"${ProjDirPath}/../../../../components/drivers/src/completion.c"
|
389
|
-
"${ProjDirPath}/../../../../components/drivers/src/pipe.c"
|
390
|
-
"${ProjDirPath}/../../../../components/drivers/src/portal.c"
|
391
|
-
"${ProjDirPath}/../../../../components/drivers/src/ringbuffer.c"
|
392
|
-
"${ProjDirPath}/../../../../components/drivers/src/workqueue.c"
|
393
|
-
"${ProjDirPath}/../../../../components/drivers/src/dataqueue.c"
|
394
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
395
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
396
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
397
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
398
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
399
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
400
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
401
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
402
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
403
|
-
"${ProjDirPath}/../../../../components/finsh/cmd.c"
|
404
|
-
"${ProjDirPath}/../../../../components/finsh/finsh.h"
|
405
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_compiler.c"
|
406
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_error.c"
|
407
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_error.h"
|
408
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_heap.c"
|
409
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_heap.h"
|
410
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_init.c"
|
411
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_node.c"
|
412
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_node.h"
|
413
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_ops.c"
|
414
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_ops.h"
|
415
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_parser.c"
|
416
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_parser.h"
|
417
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_token.c"
|
418
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_token.h"
|
419
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_var.c"
|
420
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_var.h"
|
421
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_vm.c"
|
422
|
-
"${ProjDirPath}/../../../../components/finsh/finsh_vm.h"
|
423
|
-
"${ProjDirPath}/../../../../components/finsh/msh.c"
|
424
|
-
"${ProjDirPath}/../../../../components/finsh/msh.h"
|
425
|
-
"${ProjDirPath}/../../../../components/finsh/msh_cmd.c"
|
426
|
-
"${ProjDirPath}/../../../../components/finsh/shell.c"
|
427
|
-
"${ProjDirPath}/../../../../components/finsh/shell.h"
|
428
|
-
"${ProjDirPath}/../../../../components/finsh/symbol.c"
|
429
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
430
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
431
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
432
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
433
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
434
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
435
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
436
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
437
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
438
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
439
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
440
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
441
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
442
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
443
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
444
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
445
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
446
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
447
|
-
"${ProjDirPath}/../../../../components/drivers/serial/serial.c"
|
448
|
-
"${ProjDirPath}/../../../../components/drivers/include/drivers/serial.h"
|
449
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
450
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
451
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
452
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
453
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
454
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
455
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
456
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
457
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
458
|
-
"${ProjDirPath}/../../../../src/clock.c"
|
459
|
-
"${ProjDirPath}/../../../../src/device.c"
|
460
|
-
"${ProjDirPath}/../../../../src/idle.c"
|
461
|
-
"${ProjDirPath}/../../../../src/ipc.c"
|
462
|
-
"${ProjDirPath}/../../../../src/irq.c"
|
463
|
-
"${ProjDirPath}/../../../../src/kservice.c"
|
464
|
-
"${ProjDirPath}/../../../../src/mem.c"
|
465
|
-
"${ProjDirPath}/../../../../src/memheap.c"
|
466
|
-
"${ProjDirPath}/../../../../src/mempool.c"
|
467
|
-
"${ProjDirPath}/../../../../src/module.c"
|
468
|
-
"${ProjDirPath}/../../../../src/object.c"
|
469
|
-
"${ProjDirPath}/../../../../src/scheduler.c"
|
470
|
-
"${ProjDirPath}/../../../../src/slab.c"
|
471
|
-
"${ProjDirPath}/../../../../src/thread.c"
|
472
|
-
"${ProjDirPath}/../../../../src/timer.c"
|
473
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
474
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
475
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
476
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
477
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
478
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
479
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
480
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
481
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
482
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
483
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
484
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
485
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
486
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
487
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
488
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
489
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
490
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
491
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/src/fsl_debug_console.c"
|
492
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/inc/fsl_debug_console.h"
|
493
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/src/print_scan.c"
|
494
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/src/print_scan.h"
|
495
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/src/fsl_misc_utilities.c"
|
496
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
497
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
498
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
499
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
500
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
501
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
502
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
503
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
504
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
505
|
-
"${ProjDirPath}/../../../../bsp/kinetis/rt_app/application.c"
|
506
|
-
"${ProjDirPath}/../../../../bsp/kinetis/rt_app/startup_app.c"
|
507
|
-
"${ProjDirPath}/../../../../bsp/kinetis/rt_app/board_app.c"
|
508
|
-
"${ProjDirPath}/../../../../bsp/kinetis/rt_app/board_app.h"
|
509
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
510
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
511
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
512
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
513
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
514
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
515
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
516
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
517
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
518
|
-
"${ProjDirPath}/../../../../libcpu/arm/cortex-m4/cpuport.c"
|
519
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
520
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
521
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
522
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
523
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
524
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
525
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
526
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
527
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
528
|
-
"${ProjDirPath}/../../../../libcpu/arm/common/backtrace.c"
|
529
|
-
"${ProjDirPath}/../../../../libcpu/arm/common/div0.c"
|
530
|
-
"${ProjDirPath}/../../../../libcpu/arm/common/showmem.c"
|
531
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
532
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
533
|
-
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
534
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
535
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
536
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
537
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
538
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
539
|
-
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
540
|
-
)
|
541
|
-
|
542
|
-
|
543
|
-
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -T${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/linker/gcc/MK64FN1M0xxx12_flash.ld -static")
|
544
|
-
|
545
|
-
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -T${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/linker/gcc/MK64FN1M0xxx12_flash.ld -static")
|
546
|
-
|
547
|
-
TARGET_LINK_LIBRARIES(rt_thread_demo.elf -Wl,--start-group)
|
548
|
-
target_link_libraries(rt_thread_demo.elf debug nosys)
|
549
|
-
|
550
|
-
target_link_libraries(rt_thread_demo.elf debug m)
|
551
|
-
|
552
|
-
target_link_libraries(rt_thread_demo.elf debug c)
|
553
|
-
|
554
|
-
target_link_libraries(rt_thread_demo.elf debug gcc)
|
555
|
-
|
556
|
-
target_link_libraries(rt_thread_demo.elf optimized nosys)
|
557
|
-
|
558
|
-
target_link_libraries(rt_thread_demo.elf optimized m)
|
559
|
-
|
560
|
-
target_link_libraries(rt_thread_demo.elf optimized c)
|
561
|
-
|
562
|
-
target_link_libraries(rt_thread_demo.elf optimized gcc)
|
563
|
-
|
564
|
-
TARGET_LINK_LIBRARIES(rt_thread_demo.elf -Wl,--end-group)
|
565
|
-
|
566
|
-
# BIN AND HEX
|
567
|
-
ADD_CUSTOM_COMMAND(TARGET rt_thread_demo.elf POST_BUILD COMMAND ${CMAKE_OBJCOPY}
|
568
|
-
-Oihex ${EXECUTABLE_OUTPUT_PATH}/rt_thread_demo.elf ${EXECUTABLE_OUTPUT_PATH}/rt_thread_demo.hex)
|
569
|
-
ADD_CUSTOM_COMMAND(TARGET rt_thread_demo.elf POST_BUILD COMMAND ${CMAKE_OBJCOPY}
|
1
|
+
INCLUDE(CMakeForceCompiler)
|
2
|
+
|
3
|
+
# CROSS COMPILER SETTING
|
4
|
+
SET(CMAKE_SYSTEM_NAME Generic)
|
5
|
+
CMAKE_MINIMUM_REQUIRED (VERSION 2.6)
|
6
|
+
|
7
|
+
# THE VERSION NUMBER
|
8
|
+
SET (Tutorial_VERSION_MAJOR 1)
|
9
|
+
SET (Tutorial_VERSION_MINOR 0)
|
10
|
+
|
11
|
+
# ENABLE ASM
|
12
|
+
ENABLE_LANGUAGE(ASM)
|
13
|
+
|
14
|
+
SET(CMAKE_STATIC_LIBRARY_PREFIX)
|
15
|
+
SET(CMAKE_STATIC_LIBRARY_SUFFIX)
|
16
|
+
|
17
|
+
SET(CMAKE_EXECUTABLE_LIBRARY_PREFIX)
|
18
|
+
SET(CMAKE_EXECUTABLE_LIBRARY_SUFFIX)
|
19
|
+
|
20
|
+
|
21
|
+
# CURRENT DIRECTORY
|
22
|
+
SET(ProjDirPath ${CMAKE_CURRENT_SOURCE_DIR})
|
23
|
+
|
24
|
+
|
25
|
+
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -DDEBUG")
|
26
|
+
|
27
|
+
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -g")
|
28
|
+
|
29
|
+
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -mthumb")
|
30
|
+
|
31
|
+
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -fno-common")
|
32
|
+
|
33
|
+
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -ffunction-sections")
|
34
|
+
|
35
|
+
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -fdata-sections")
|
36
|
+
|
37
|
+
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -ffreestanding")
|
38
|
+
|
39
|
+
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -fno-builtin")
|
40
|
+
|
41
|
+
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -Os")
|
42
|
+
|
43
|
+
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -mapcs")
|
44
|
+
|
45
|
+
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -std=gnu99")
|
46
|
+
|
47
|
+
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -mcpu=cortex-m4")
|
48
|
+
|
49
|
+
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -mfloat-abi=hard")
|
50
|
+
|
51
|
+
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -mfpu=fpv4-sp-d16")
|
52
|
+
|
53
|
+
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -Wall")
|
54
|
+
|
55
|
+
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -mthumb")
|
56
|
+
|
57
|
+
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -fno-common")
|
58
|
+
|
59
|
+
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -ffunction-sections")
|
60
|
+
|
61
|
+
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -fdata-sections")
|
62
|
+
|
63
|
+
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -ffreestanding")
|
64
|
+
|
65
|
+
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -fno-builtin")
|
66
|
+
|
67
|
+
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -Os")
|
68
|
+
|
69
|
+
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -mapcs")
|
70
|
+
|
71
|
+
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -std=gnu99")
|
72
|
+
|
73
|
+
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -mcpu=cortex-m4")
|
74
|
+
|
75
|
+
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -mfloat-abi=hard")
|
76
|
+
|
77
|
+
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -mfpu=fpv4-sp-d16")
|
78
|
+
|
79
|
+
SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -Wall")
|
80
|
+
|
81
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DDEBUG")
|
82
|
+
|
83
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DCPU_MK64FN1M0VMD12")
|
84
|
+
|
85
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DTWR_K64F120M")
|
86
|
+
|
87
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g")
|
88
|
+
|
89
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0")
|
90
|
+
|
91
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall")
|
92
|
+
|
93
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fno-common")
|
94
|
+
|
95
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ffunction-sections")
|
96
|
+
|
97
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fdata-sections")
|
98
|
+
|
99
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ffreestanding")
|
100
|
+
|
101
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fno-builtin")
|
102
|
+
|
103
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Os")
|
104
|
+
|
105
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -mthumb")
|
106
|
+
|
107
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -mapcs")
|
108
|
+
|
109
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -std=gnu99")
|
110
|
+
|
111
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -mcpu=cortex-m4")
|
112
|
+
|
113
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -mfloat-abi=hard")
|
114
|
+
|
115
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -mfpu=fpv4-sp-d16")
|
116
|
+
|
117
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -MMD")
|
118
|
+
|
119
|
+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -MP")
|
120
|
+
|
121
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DNDEBUG")
|
122
|
+
|
123
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DCPU_MK64FN1M0VMD12")
|
124
|
+
|
125
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DTWR_K64F120M")
|
126
|
+
|
127
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Os")
|
128
|
+
|
129
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Wall")
|
130
|
+
|
131
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-common")
|
132
|
+
|
133
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -ffunction-sections")
|
134
|
+
|
135
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fdata-sections")
|
136
|
+
|
137
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -ffreestanding")
|
138
|
+
|
139
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-builtin")
|
140
|
+
|
141
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -mthumb")
|
142
|
+
|
143
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -mapcs")
|
144
|
+
|
145
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -std=gnu99")
|
146
|
+
|
147
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -mcpu=cortex-m4")
|
148
|
+
|
149
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -mfloat-abi=hard")
|
150
|
+
|
151
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -mfpu=fpv4-sp-d16")
|
152
|
+
|
153
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -MMD")
|
154
|
+
|
155
|
+
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -MP")
|
156
|
+
|
157
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Xlinker")
|
158
|
+
|
159
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} --defsym=__ram_vector_table__=1")
|
160
|
+
|
161
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Wl,--start-group")
|
162
|
+
|
163
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -lnosys")
|
164
|
+
|
165
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -lm")
|
166
|
+
|
167
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -lc")
|
168
|
+
|
169
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -lgcc")
|
170
|
+
|
171
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Wl,--end-group")
|
172
|
+
|
173
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} --specs=nano.specs")
|
174
|
+
|
175
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -lm")
|
176
|
+
|
177
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Wall")
|
178
|
+
|
179
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -fno-common")
|
180
|
+
|
181
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -ffunction-sections")
|
182
|
+
|
183
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -fdata-sections")
|
184
|
+
|
185
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -ffreestanding")
|
186
|
+
|
187
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -fno-builtin")
|
188
|
+
|
189
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Os")
|
190
|
+
|
191
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -mthumb")
|
192
|
+
|
193
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -mapcs")
|
194
|
+
|
195
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Xlinker")
|
196
|
+
|
197
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} --gc-sections")
|
198
|
+
|
199
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Xlinker")
|
200
|
+
|
201
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -static")
|
202
|
+
|
203
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Xlinker")
|
204
|
+
|
205
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -z")
|
206
|
+
|
207
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Xlinker")
|
208
|
+
|
209
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} muldefs")
|
210
|
+
|
211
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -mcpu=cortex-m4")
|
212
|
+
|
213
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -mfloat-abi=hard")
|
214
|
+
|
215
|
+
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -mfpu=fpv4-sp-d16")
|
216
|
+
|
217
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -g")
|
218
|
+
|
219
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Xlinker")
|
220
|
+
|
221
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} --defsym=__ram_vector_table__=1")
|
222
|
+
|
223
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Wl,--start-group")
|
224
|
+
|
225
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -lnosys")
|
226
|
+
|
227
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -lm")
|
228
|
+
|
229
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -lc")
|
230
|
+
|
231
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -lgcc")
|
232
|
+
|
233
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Wl,--end-group")
|
234
|
+
|
235
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} --specs=nano.specs")
|
236
|
+
|
237
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -lm")
|
238
|
+
|
239
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Wall")
|
240
|
+
|
241
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -fno-common")
|
242
|
+
|
243
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -ffunction-sections")
|
244
|
+
|
245
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -fdata-sections")
|
246
|
+
|
247
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -ffreestanding")
|
248
|
+
|
249
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -fno-builtin")
|
250
|
+
|
251
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Os")
|
252
|
+
|
253
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -mthumb")
|
254
|
+
|
255
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -mapcs")
|
256
|
+
|
257
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Xlinker")
|
258
|
+
|
259
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} --gc-sections")
|
260
|
+
|
261
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Xlinker")
|
262
|
+
|
263
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -static")
|
264
|
+
|
265
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Xlinker")
|
266
|
+
|
267
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -z")
|
268
|
+
|
269
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Xlinker")
|
270
|
+
|
271
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} muldefs")
|
272
|
+
|
273
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -mcpu=cortex-m4")
|
274
|
+
|
275
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -mfloat-abi=hard")
|
276
|
+
|
277
|
+
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -mfpu=fpv4-sp-d16")
|
278
|
+
|
279
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/devices)
|
280
|
+
|
281
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/include)
|
282
|
+
|
283
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup)
|
284
|
+
|
285
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m)
|
286
|
+
|
287
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/common/sgtl5000)
|
288
|
+
|
289
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/common/phyksz8041)
|
290
|
+
|
291
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/system/src/clock/MK64F12)
|
292
|
+
|
293
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/rt_app)
|
294
|
+
|
295
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/drivers/inc)
|
296
|
+
|
297
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/hal/inc)
|
298
|
+
|
299
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/rtos)
|
300
|
+
|
301
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/osa/inc)
|
302
|
+
|
303
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/CMSIS/Include)
|
304
|
+
|
305
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/system/inc)
|
306
|
+
|
307
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/inc)
|
308
|
+
|
309
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/src)
|
310
|
+
|
311
|
+
include_directories(${ProjDirPath}/../../../../components/drivers/include/drivers)
|
312
|
+
|
313
|
+
include_directories(${ProjDirPath}/../../../../components/drivers/include)
|
314
|
+
|
315
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/driver_wrapper/inc)
|
316
|
+
|
317
|
+
include_directories(${ProjDirPath}/../../../../components/finsh)
|
318
|
+
|
319
|
+
include_directories(${ProjDirPath}/../../../../include)
|
320
|
+
|
321
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/devices)
|
322
|
+
|
323
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/include)
|
324
|
+
|
325
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup)
|
326
|
+
|
327
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m)
|
328
|
+
|
329
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/common/sgtl5000)
|
330
|
+
|
331
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/common/phyksz8041)
|
332
|
+
|
333
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/system/src/clock/MK64F12)
|
334
|
+
|
335
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/rt_app)
|
336
|
+
|
337
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/drivers/inc)
|
338
|
+
|
339
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/hal/inc)
|
340
|
+
|
341
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/rtos)
|
342
|
+
|
343
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/osa/inc)
|
344
|
+
|
345
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/CMSIS/Include)
|
346
|
+
|
347
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/system/inc)
|
348
|
+
|
349
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/inc)
|
350
|
+
|
351
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/src)
|
352
|
+
|
353
|
+
include_directories(${ProjDirPath}/../../../../components/drivers/include/drivers)
|
354
|
+
|
355
|
+
include_directories(${ProjDirPath}/../../../../components/drivers/include)
|
356
|
+
|
357
|
+
include_directories(${ProjDirPath}/../../../../bsp/kinetis/driver_wrapper/inc)
|
358
|
+
|
359
|
+
include_directories(${ProjDirPath}/../../../../components/finsh)
|
360
|
+
|
361
|
+
include_directories(${ProjDirPath}/../../../../include)
|
362
|
+
|
363
|
+
add_executable(rt_thread_demo.elf
|
364
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/gcc/startup_MK64F12.S"
|
365
|
+
"${ProjDirPath}/../../../../libcpu/arm/cortex-m4/context_gcc.S"
|
366
|
+
"${ProjDirPath}/../../../../bsp/kinetis/driver_wrapper/uart/drv_uart.c"
|
367
|
+
"${ProjDirPath}/../../../../bsp/kinetis/driver_wrapper/inc/drv_uart.h"
|
368
|
+
"${ProjDirPath}/../../../../bsp/kinetis/driver_wrapper/uart/fsl_uart_irq_rt.c"
|
369
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
370
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
371
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
372
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
373
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
374
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
375
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
376
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
377
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
378
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/rtconfig.h"
|
379
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
380
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
381
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
382
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
383
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
384
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
385
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
386
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
387
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
388
|
+
"${ProjDirPath}/../../../../components/drivers/src/completion.c"
|
389
|
+
"${ProjDirPath}/../../../../components/drivers/src/pipe.c"
|
390
|
+
"${ProjDirPath}/../../../../components/drivers/src/portal.c"
|
391
|
+
"${ProjDirPath}/../../../../components/drivers/src/ringbuffer.c"
|
392
|
+
"${ProjDirPath}/../../../../components/drivers/src/workqueue.c"
|
393
|
+
"${ProjDirPath}/../../../../components/drivers/src/dataqueue.c"
|
394
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
395
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
396
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
397
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
398
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
399
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
400
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
401
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
402
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
403
|
+
"${ProjDirPath}/../../../../components/finsh/cmd.c"
|
404
|
+
"${ProjDirPath}/../../../../components/finsh/finsh.h"
|
405
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_compiler.c"
|
406
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_error.c"
|
407
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_error.h"
|
408
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_heap.c"
|
409
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_heap.h"
|
410
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_init.c"
|
411
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_node.c"
|
412
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_node.h"
|
413
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_ops.c"
|
414
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_ops.h"
|
415
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_parser.c"
|
416
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_parser.h"
|
417
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_token.c"
|
418
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_token.h"
|
419
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_var.c"
|
420
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_var.h"
|
421
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_vm.c"
|
422
|
+
"${ProjDirPath}/../../../../components/finsh/finsh_vm.h"
|
423
|
+
"${ProjDirPath}/../../../../components/finsh/msh.c"
|
424
|
+
"${ProjDirPath}/../../../../components/finsh/msh.h"
|
425
|
+
"${ProjDirPath}/../../../../components/finsh/msh_cmd.c"
|
426
|
+
"${ProjDirPath}/../../../../components/finsh/shell.c"
|
427
|
+
"${ProjDirPath}/../../../../components/finsh/shell.h"
|
428
|
+
"${ProjDirPath}/../../../../components/finsh/symbol.c"
|
429
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
430
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
431
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
432
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
433
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
434
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
435
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
436
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
437
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
438
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
439
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
440
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
441
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
442
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
443
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
444
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
445
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
446
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
447
|
+
"${ProjDirPath}/../../../../components/drivers/serial/serial.c"
|
448
|
+
"${ProjDirPath}/../../../../components/drivers/include/drivers/serial.h"
|
449
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
450
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
451
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
452
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
453
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
454
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
455
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
456
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
457
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
458
|
+
"${ProjDirPath}/../../../../src/clock.c"
|
459
|
+
"${ProjDirPath}/../../../../src/device.c"
|
460
|
+
"${ProjDirPath}/../../../../src/idle.c"
|
461
|
+
"${ProjDirPath}/../../../../src/ipc.c"
|
462
|
+
"${ProjDirPath}/../../../../src/irq.c"
|
463
|
+
"${ProjDirPath}/../../../../src/kservice.c"
|
464
|
+
"${ProjDirPath}/../../../../src/mem.c"
|
465
|
+
"${ProjDirPath}/../../../../src/memheap.c"
|
466
|
+
"${ProjDirPath}/../../../../src/mempool.c"
|
467
|
+
"${ProjDirPath}/../../../../src/module.c"
|
468
|
+
"${ProjDirPath}/../../../../src/object.c"
|
469
|
+
"${ProjDirPath}/../../../../src/scheduler.c"
|
470
|
+
"${ProjDirPath}/../../../../src/slab.c"
|
471
|
+
"${ProjDirPath}/../../../../src/thread.c"
|
472
|
+
"${ProjDirPath}/../../../../src/timer.c"
|
473
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
474
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
475
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
476
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
477
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
478
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
479
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
480
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
481
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
482
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
483
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
484
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
485
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
486
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
487
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
488
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
489
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
490
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
491
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/src/fsl_debug_console.c"
|
492
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/inc/fsl_debug_console.h"
|
493
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/src/print_scan.c"
|
494
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/src/print_scan.h"
|
495
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/utilities/src/fsl_misc_utilities.c"
|
496
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
497
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
498
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
499
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
500
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
501
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
502
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
503
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
504
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
505
|
+
"${ProjDirPath}/../../../../bsp/kinetis/rt_app/application.c"
|
506
|
+
"${ProjDirPath}/../../../../bsp/kinetis/rt_app/startup_app.c"
|
507
|
+
"${ProjDirPath}/../../../../bsp/kinetis/rt_app/board_app.c"
|
508
|
+
"${ProjDirPath}/../../../../bsp/kinetis/rt_app/board_app.h"
|
509
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
510
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
511
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
512
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
513
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
514
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
515
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
516
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
517
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
518
|
+
"${ProjDirPath}/../../../../libcpu/arm/cortex-m4/cpuport.c"
|
519
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
520
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
521
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
522
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
523
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
524
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
525
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
526
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
527
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
528
|
+
"${ProjDirPath}/../../../../libcpu/arm/common/backtrace.c"
|
529
|
+
"${ProjDirPath}/../../../../libcpu/arm/common/div0.c"
|
530
|
+
"${ProjDirPath}/../../../../libcpu/arm/common/showmem.c"
|
531
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/startup/system_MK64F12.c"
|
532
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.c"
|
533
|
+
"${ProjDirPath}/../../../../bsp/kinetis/platform/devices/startup.h"
|
534
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.c"
|
535
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/gpio_pins.h"
|
536
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.c"
|
537
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/board.h"
|
538
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.c"
|
539
|
+
"${ProjDirPath}/../../../../bsp/kinetis/boards/twrk64f120m/pin_mux.h"
|
540
|
+
)
|
541
|
+
|
542
|
+
|
543
|
+
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -T${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/linker/gcc/MK64FN1M0xxx12_flash.ld -static")
|
544
|
+
|
545
|
+
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -T${ProjDirPath}/../../../../bsp/kinetis/platform/devices/MK64F12/linker/gcc/MK64FN1M0xxx12_flash.ld -static")
|
546
|
+
|
547
|
+
TARGET_LINK_LIBRARIES(rt_thread_demo.elf -Wl,--start-group)
|
548
|
+
target_link_libraries(rt_thread_demo.elf debug nosys)
|
549
|
+
|
550
|
+
target_link_libraries(rt_thread_demo.elf debug m)
|
551
|
+
|
552
|
+
target_link_libraries(rt_thread_demo.elf debug c)
|
553
|
+
|
554
|
+
target_link_libraries(rt_thread_demo.elf debug gcc)
|
555
|
+
|
556
|
+
target_link_libraries(rt_thread_demo.elf optimized nosys)
|
557
|
+
|
558
|
+
target_link_libraries(rt_thread_demo.elf optimized m)
|
559
|
+
|
560
|
+
target_link_libraries(rt_thread_demo.elf optimized c)
|
561
|
+
|
562
|
+
target_link_libraries(rt_thread_demo.elf optimized gcc)
|
563
|
+
|
564
|
+
TARGET_LINK_LIBRARIES(rt_thread_demo.elf -Wl,--end-group)
|
565
|
+
|
566
|
+
# BIN AND HEX
|
567
|
+
ADD_CUSTOM_COMMAND(TARGET rt_thread_demo.elf POST_BUILD COMMAND ${CMAKE_OBJCOPY}
|
568
|
+
-Oihex ${EXECUTABLE_OUTPUT_PATH}/rt_thread_demo.elf ${EXECUTABLE_OUTPUT_PATH}/rt_thread_demo.hex)
|
569
|
+
ADD_CUSTOM_COMMAND(TARGET rt_thread_demo.elf POST_BUILD COMMAND ${CMAKE_OBJCOPY}
|
570
570
|
-Obinary ${EXECUTABLE_OUTPUT_PATH}/rt_thread_demo.elf ${EXECUTABLE_OUTPUT_PATH}/rt_thread_demo.bin)
|