OpenCores
URL https://opencores.org/ocsvn/ao486/ao486/trunk

Subversion Repositories ao486

[/] [ao486/] [trunk/] [syn/] [components/] [sd_card/] [firmware/] [bsp/] [summary.html] - Blame information for rev 8

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 8 alfik
<html xmlns:gen="http://www.altera.com/embeddedsw/bsp/schema">
2
<title>Altera Nios II BSP Summary</title>
3
<body>
4
<h3>BSP Description</h3>
5
<table border="1" bgcolor="#FFFFCC" width="90%">
6
<tr mode="wrap">
7
<td width="20%" bgcolor="#77BBFF">BSP Type:</td><td>hal</td>
8
</tr>
9
<tr mode="wrap">
10
<td width="20%" bgcolor="#77BBFF">SOPC Design File:</td><td>../../system.sopcinfo</td>
11
</tr>
12
<tr mode="wrap">
13
<td width="20%" bgcolor="#77BBFF">Quartus JDI File:</td><td>default</td>
14
</tr>
15
<tr mode="wrap">
16
<td width="20%" bgcolor="#77BBFF">CPU:</td><td>nios2_qsys_0</td>
17
</tr>
18
<tr mode="wrap">
19
<td width="20%" bgcolor="#77BBFF">BSP Settings File:</td><td>settings.bsp</td>
20
</tr>
21
<tr mode="wrap">
22
<td width="20%" bgcolor="#77BBFF">BSP Version:</td><td>default</td>
23
</tr>
24
<tr mode="wrap">
25
<td width="20%" bgcolor="#77BBFF">BSP Generated On:</td><td>Aug 18, 2014 9:42:39 PM</td>
26
</tr>
27
<tr mode="wrap">
28
<td width="20%" bgcolor="#77BBFF">BSP Generated Timestamp:</td><td>1408390959802</td>
29
</tr>
30
<tr mode="wrap">
31
<td width="20%" bgcolor="#77BBFF">BSP Generated Location:</td><td>/home/alek/aktualne/github/ao486/syn/components/sd_card/firmware/bsp</td>
32
</tr>
33
</table>
34
<br>
35
<h3>Nios II Memory Map</h3>
36
<table border="1" bgcolor="#FFFFCC" width="90%">
37
<tr bgcolor="#77BBFF" mode="wrap">
38
<th align="left" width="20%">Slave Descriptor</th><th align="left" width="40%">Address Range</th><th align="left" width="20%">Size</th><th align="left" width="20%">Attributes</th>
39
</tr>
40
<tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
41
<td>jtag_uart</td><td>0x08011410 - 0x08011417</td><td>8</td><td class="listing">printable</td>
42
</tr>
43
<tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
44
<td>driver_sd_0</td><td>0x08011400 - 0x0801140F</td><td>16</td><td class="listing">&nbsp;</td>
45
</tr>
46
<tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
47
<td>slow_mem_0</td><td>0x08011000 - 0x080113FF</td><td>1024</td><td class="listing">&nbsp;</td>
48
</tr>
49
<tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
50
<td>onchip_memory2_0</td><td>0x08008000 - 0x0800FFFF</td><td>32768</td><td class="listing">memory</td>
51
</tr>
52
<tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
53
<td>sdram</td><td>0x00000000 - 0x07FFFFFF</td><td>134217728</td><td class="listing">memory</td>
54
</tr>
55
</table>
56
<br>
57
<br>
58
<h3>Linker Regions</h3>
59
<table border="1" bgcolor="#FFFFCC" width="90%">
60
<tr bgcolor="#77BBFF" mode="wrap">
61
<th align="left" width="15%">Region</th><th align="left" width="40%">Address Range</th><th align="left" width="15%">Size</th><th align="left" width="15%">Memory</th><th align="left" width="15%">Offset</th>
62
</tr>
63
</table>
64
<br>
65
<br>
66
<h3>Linker Section Mappings</h3>
67
<table border="1" bgcolor="#FFFFCC" width="50%">
68
<tr bgcolor="#77BBFF" mode="wrap">
69
<th align="left" width="50%">Section</th><th align="left" width="50%">Region</th>
70
</tr>
71
<tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
72
<td>.text</td><td>onchip_memory2_0</td>
73
</tr>
74
<tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
75
<td>.rodata</td><td>onchip_memory2_0</td>
76
</tr>
77
<tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
78
<td>.rwdata</td><td>onchip_memory2_0</td>
79
</tr>
80
<tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
81
<td>.bss</td><td>onchip_memory2_0</td>
82
</tr>
83
<tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
84
<td>.heap</td><td>onchip_memory2_0</td>
85
</tr>
86
<tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
87
<td>.stack</td><td>onchip_memory2_0</td>
88
</tr>
89
</table>
90
<h3>Settings</h3>
91
<table border="1" bgcolor="#FFFFCC" width="60%">
92
<tr bgcolor="#77BBFF">
93
<td align="left" width="15%">Setting Name:</td><td align="left">altera_avalon_jtag_uart_driver.enable_jtag_uart_ignore_fifo_full_error</td>
94
</tr>
95
<tr>
96
<td width="20%">Identifier:</td><td>ALTERA_AVALON_JTAG_UART_IGNORE_FIFO_FULL_ERROR</td>
97
</tr>
98
<tr>
99
<td width="20%">Default Value:</td><td>false</td>
100
</tr>
101
<tr>
102
<td width="20%">Value:</td><td>false</td>
103
</tr>
104
<tr>
105
<td width="20%">Type:</td><td>BooleanDefineOnly</td>
106
</tr>
107
<tr mode="wrap">
108
<td width="20%">Destination:</td><td>public_mk_define</td>
109
</tr>
110
<tr mode="wrap">
111
<td width="20%">Description:</td><td>Enable JTAG UART driver to recover when host is inactive causing buffer to full without returning error. Printf will not fail with this recovery.</td>
112
</tr>
113
<tr mode="wrap">
114
<td width="20%">Restrictions:</td><td>none</td>
115
</tr>
116
</table>
117
<br>
118
<table border="1" bgcolor="#FFFFCC" width="60%">
119
<tr bgcolor="#77BBFF">
120
<td align="left" width="15%">Setting Name:</td><td align="left">altera_avalon_jtag_uart_driver.enable_small_driver</td>
121
</tr>
122
<tr>
123
<td width="20%">Identifier:</td><td>ALTERA_AVALON_JTAG_UART_SMALL</td>
124
</tr>
125
<tr>
126
<td width="20%">Default Value:</td><td>false</td>
127
</tr>
128
<tr>
129
<td width="20%">Value:</td><td>false</td>
130
</tr>
131
<tr>
132
<td width="20%">Type:</td><td>BooleanDefineOnly</td>
133
</tr>
134
<tr mode="wrap">
135
<td width="20%">Destination:</td><td>public_mk_define</td>
136
</tr>
137
<tr mode="wrap">
138
<td width="20%">Description:</td><td>Small-footprint (polled mode) driver</td>
139
</tr>
140
<tr mode="wrap">
141
<td width="20%">Restrictions:</td><td>none</td>
142
</tr>
143
</table>
144
<br>
145
<table border="1" bgcolor="#FFFFCC" width="60%">
146
<tr bgcolor="#77BBFF">
147
<td align="left" width="15%">Setting Name:</td><td align="left">hal.custom_newlib_flags</td>
148
</tr>
149
<tr>
150
<td width="20%">Identifier:</td><td>CUSTOM_NEWLIB_FLAGS</td>
151
</tr>
152
<tr>
153
<td width="20%">Default Value:</td><td>none</td>
154
</tr>
155
<tr>
156
<td width="20%">Value:</td><td>none</td>
157
</tr>
158
<tr>
159
<td width="20%">Type:</td><td>UnquotedString</td>
160
</tr>
161
<tr mode="wrap">
162
<td width="20%">Destination:</td><td>public_mk_define</td>
163
</tr>
164
<tr mode="wrap">
165
<td width="20%">Description:</td><td>Build a custom version of newlib with the specified space-separated compiler flags.</td>
166
</tr>
167
<tr mode="wrap">
168
<td width="20%">Restrictions:</td><td>The custom newlib build will be placed in the &lt;bsp root&gt;/newlib directory, and will be used only for applications that utilize this BSP.</td>
169
</tr>
170
</table>
171
<br>
172
<table border="1" bgcolor="#FFFFCC" width="60%">
173
<tr bgcolor="#77BBFF">
174
<td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_c_plus_plus</td>
175
</tr>
176
<tr>
177
<td width="20%">Identifier:</td><td>ALT_NO_C_PLUS_PLUS</td>
178
</tr>
179
<tr>
180
<td width="20%">Default Value:</td><td>1</td>
181
</tr>
182
<tr>
183
<td width="20%">Value:</td><td>0</td>
184
</tr>
185
<tr>
186
<td width="20%">Type:</td><td>Boolean</td>
187
</tr>
188
<tr mode="wrap">
189
<td width="20%">Destination:</td><td>public_mk_define</td>
190
</tr>
191
<tr mode="wrap">
192
<td width="20%">Description:</td><td>Enable support for a subset of the C++ language. This option increases code footprint by adding support for C++ constructors. Certain features, such as multiple inheritance and exceptions are not supported. If false, adds -DALT_NO_C_PLUS_PLUS to ALT_CPPFLAGS in public.mk, and reduces code footprint.</td>
193
</tr>
194
<tr mode="wrap">
195
<td width="20%">Restrictions:</td><td>none</td>
196
</tr>
197
</table>
198
<br>
199
<table border="1" bgcolor="#FFFFCC" width="60%">
200
<tr bgcolor="#77BBFF">
201
<td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_clean_exit</td>
202
</tr>
203
<tr>
204
<td width="20%">Identifier:</td><td>ALT_NO_CLEAN_EXIT</td>
205
</tr>
206
<tr>
207
<td width="20%">Default Value:</td><td>1</td>
208
</tr>
209
<tr>
210
<td width="20%">Value:</td><td>1</td>
211
</tr>
212
<tr>
213
<td width="20%">Type:</td><td>Boolean</td>
214
</tr>
215
<tr mode="wrap">
216
<td width="20%">Destination:</td><td>public_mk_define</td>
217
</tr>
218
<tr mode="wrap">
219
<td width="20%">Description:</td><td>When your application exits, close file descriptors, call C++ destructors, etc. Code footprint can be reduced by disabling clean exit. If disabled, adds -DALT_NO_CLEAN_EXIT to ALT_CPPFLAGS -D'exit(a)=_exit(a)' in public.mk.</td>
220
</tr>
221
<tr mode="wrap">
222
<td width="20%">Restrictions:</td><td>none</td>
223
</tr>
224
</table>
225
<br>
226
<table border="1" bgcolor="#FFFFCC" width="60%">
227
<tr bgcolor="#77BBFF">
228
<td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_exit</td>
229
</tr>
230
<tr>
231
<td width="20%">Identifier:</td><td>ALT_NO_EXIT</td>
232
</tr>
233
<tr>
234
<td width="20%">Default Value:</td><td>1</td>
235
</tr>
236
<tr>
237
<td width="20%">Value:</td><td>1</td>
238
</tr>
239
<tr>
240
<td width="20%">Type:</td><td>Boolean</td>
241
</tr>
242
<tr mode="wrap">
243
<td width="20%">Destination:</td><td>public_mk_define</td>
244
</tr>
245
<tr mode="wrap">
246
<td width="20%">Description:</td><td>Add exit() support. This option increases code footprint if your "main()" routine does "return" or call "exit()". If false, adds -DALT_NO_EXIT to ALT_CPPFLAGS in public.mk, and reduces footprint</td>
247
</tr>
248
<tr mode="wrap">
249
<td width="20%">Restrictions:</td><td>none</td>
250
</tr>
251
</table>
252
<br>
253
<table border="1" bgcolor="#FFFFCC" width="60%">
254
<tr bgcolor="#77BBFF">
255
<td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_gprof</td>
256
</tr>
257
<tr>
258
<td width="20%">Identifier:</td><td>ALT_PROVIDE_GMON</td>
259
</tr>
260
<tr>
261
<td width="20%">Default Value:</td><td>0</td>
262
</tr>
263
<tr>
264
<td width="20%">Value:</td><td>0</td>
265
</tr>
266
<tr>
267
<td width="20%">Type:</td><td>Boolean</td>
268
</tr>
269
<tr mode="wrap">
270
<td width="20%">Destination:</td><td>public_mk_define</td>
271
</tr>
272
<tr mode="wrap">
273
<td width="20%">Description:</td><td>Causes code to be compiled with gprof profiling enabled and the application ELF to be linked with the GPROF library. If true, adds -DALT_PROVIDE_GMON to ALT_CPPFLAGS and -pg to ALT_CFLAGS in public.mk.</td>
274
</tr>
275
<tr mode="wrap">
276
<td width="20%">Restrictions:</td><td>none</td>
277
</tr>
278
</table>
279
<br>
280
<table border="1" bgcolor="#FFFFCC" width="60%">
281
<tr bgcolor="#77BBFF">
282
<td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_instruction_related_exceptions_api</td>
283
</tr>
284
<tr>
285
<td width="20%">Identifier:</td><td>ALT_INCLUDE_INSTRUCTION_RELATED_EXCEPTION_API</td>
286
</tr>
287
<tr>
288
<td width="20%">Default Value:</td><td>false</td>
289
</tr>
290
<tr>
291
<td width="20%">Value:</td><td>false</td>
292
</tr>
293
<tr>
294
<td width="20%">Type:</td><td>BooleanDefineOnly</td>
295
</tr>
296
<tr mode="wrap">
297
<td width="20%">Destination:</td><td>system_h_define</td>
298
</tr>
299
<tr mode="wrap">
300
<td width="20%">Description:</td><td>Enables API for registering handlers to service instruction-related exceptions. Enabling this setting increases the size of the exception entry code.</td>
301
</tr>
302
<tr mode="wrap">
303
<td width="20%">Restrictions:</td><td>These exception types can be generated if various processor options are enabled, such as the MMU, MPU, or other advanced exception types.</td>
304
</tr>
305
</table>
306
<br>
307
<table border="1" bgcolor="#FFFFCC" width="60%">
308
<tr bgcolor="#77BBFF">
309
<td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_lightweight_device_driver_api</td>
310
</tr>
311
<tr>
312
<td width="20%">Identifier:</td><td>ALT_USE_DIRECT_DRIVERS</td>
313
</tr>
314
<tr>
315
<td width="20%">Default Value:</td><td>0</td>
316
</tr>
317
<tr>
318
<td width="20%">Value:</td><td>0</td>
319
</tr>
320
<tr>
321
<td width="20%">Type:</td><td>Boolean</td>
322
</tr>
323
<tr mode="wrap">
324
<td width="20%">Destination:</td><td>public_mk_define</td>
325
</tr>
326
<tr mode="wrap">
327
<td width="20%">Description:</td><td>Enables lightweight device driver API. This reduces code and data footprint by removing the HAL layer that maps device names (e.g. /dev/uart0) to file descriptors. Instead, driver routines are called directly. The open(), close(), and lseek() routines will always fail if called. The read(), write(), fstat(), ioctl(), and isatty() routines only work for the stdio devices. If true, adds -DALT_USE_DIRECT_DRIVERS to ALT_CPPFLAGS in public.mk.</td>
328
</tr>
329
<tr mode="wrap">
330
<td width="20%">Restrictions:</td><td>The Altera Host and read-only ZIP file systems can't be used if hal.enable_lightweight_device_driver_api is true.</td>
331
</tr>
332
</table>
333
<br>
334
<table border="1" bgcolor="#FFFFCC" width="60%">
335
<tr bgcolor="#77BBFF">
336
<td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_mul_div_emulation</td>
337
</tr>
338
<tr>
339
<td width="20%">Identifier:</td><td>ALT_NO_INSTRUCTION_EMULATION</td>
340
</tr>
341
<tr>
342
<td width="20%">Default Value:</td><td>0</td>
343
</tr>
344
<tr>
345
<td width="20%">Value:</td><td>0</td>
346
</tr>
347
<tr>
348
<td width="20%">Type:</td><td>Boolean</td>
349
</tr>
350
<tr mode="wrap">
351
<td width="20%">Destination:</td><td>public_mk_define</td>
352
</tr>
353
<tr mode="wrap">
354
<td width="20%">Description:</td><td>Adds code to emulate multiply and divide instructions in case they are executed but aren't present in the CPU. Normally this isn't required because the compiler won't use multiply and divide instructions that aren't present in the CPU. If false, adds -DALT_NO_INSTRUCTION_EMULATION to ALT_CPPFLAGS in public.mk.</td>
355
</tr>
356
<tr mode="wrap">
357
<td width="20%">Restrictions:</td><td>none</td>
358
</tr>
359
</table>
360
<br>
361
<table border="1" bgcolor="#FFFFCC" width="60%">
362
<tr bgcolor="#77BBFF">
363
<td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_reduced_device_drivers</td>
364
</tr>
365
<tr>
366
<td width="20%">Identifier:</td><td>ALT_USE_SMALL_DRIVERS</td>
367
</tr>
368
<tr>
369
<td width="20%">Default Value:</td><td>0</td>
370
</tr>
371
<tr>
372
<td width="20%">Value:</td><td>0</td>
373
</tr>
374
<tr>
375
<td width="20%">Type:</td><td>Boolean</td>
376
</tr>
377
<tr mode="wrap">
378
<td width="20%">Destination:</td><td>public_mk_define</td>
379
</tr>
380
<tr mode="wrap">
381
<td width="20%">Description:</td><td>Certain drivers are compiled with reduced functionality to reduce code footprint. Not all drivers observe this setting. The altera_avalon_uart and altera_avalon_jtag_uart drivers switch from interrupt-driven to polled operation. CAUTION: Several device drivers are disabled entirely. These include the altera_avalon_cfi_flash, altera_avalon_epcs_flash_controller, and altera_avalon_lcd_16207 drivers. This can result in certain API (HAL flash access routines) to fail. You can define a symbol provided by each driver to prevent it from being removed. If true, adds -DALT_USE_SMALL_DRIVERS to ALT_CPPFLAGS in public.mk.</td>
382
</tr>
383
<tr mode="wrap">
384
<td width="20%">Restrictions:</td><td>none</td>
385
</tr>
386
</table>
387
<br>
388
<table border="1" bgcolor="#FFFFCC" width="60%">
389
<tr bgcolor="#77BBFF">
390
<td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_runtime_stack_checking</td>
391
</tr>
392
<tr>
393
<td width="20%">Identifier:</td><td>ALT_STACK_CHECK</td>
394
</tr>
395
<tr>
396
<td width="20%">Default Value:</td><td>0</td>
397
</tr>
398
<tr>
399
<td width="20%">Value:</td><td>0</td>
400
</tr>
401
<tr>
402
<td width="20%">Type:</td><td>Boolean</td>
403
</tr>
404
<tr mode="wrap">
405
<td width="20%">Destination:</td><td>public_mk_define</td>
406
</tr>
407
<tr mode="wrap">
408
<td width="20%">Description:</td><td>Turns on HAL runtime stack checking feature. Enabling this setting causes additional code to be placed into each subroutine call to generate an exception if a stack collision occurs with the heap or statically allocated data. If true, adds -DALT_STACK_CHECK and -fstack-limit-register=et to ALT_CPPFLAGS in public.mk.</td>
409
</tr>
410
<tr mode="wrap">
411
<td width="20%">Restrictions:</td><td>none</td>
412
</tr>
413
</table>
414
<br>
415
<table border="1" bgcolor="#FFFFCC" width="60%">
416
<tr bgcolor="#77BBFF">
417
<td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_sim_optimize</td>
418
</tr>
419
<tr>
420
<td width="20%">Identifier:</td><td>ALT_SIM_OPTIMIZE</td>
421
</tr>
422
<tr>
423
<td width="20%">Default Value:</td><td>0</td>
424
</tr>
425
<tr>
426
<td width="20%">Value:</td><td>0</td>
427
</tr>
428
<tr>
429
<td width="20%">Type:</td><td>Boolean</td>
430
</tr>
431
<tr mode="wrap">
432
<td width="20%">Destination:</td><td>public_mk_define</td>
433
</tr>
434
<tr mode="wrap">
435
<td width="20%">Description:</td><td>The BSP is compiled with optimizations to speedup HDL simulation such as initializing the cache, clearing the .bss section, and skipping long delay loops. If true, adds -DALT_SIM_OPTIMIZE to ALT_CPPFLAGS in public.mk.</td>
436
</tr>
437
<tr mode="wrap">
438
<td width="20%">Restrictions:</td><td>When this setting is true, the BSP shouldn't be used to build applications that are expected to run real hardware.</td>
439
</tr>
440
</table>
441
<br>
442
<table border="1" bgcolor="#FFFFCC" width="60%">
443
<tr bgcolor="#77BBFF">
444
<td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_small_c_library</td>
445
</tr>
446
<tr>
447
<td width="20%">Identifier:</td><td>NONE</td>
448
</tr>
449
<tr>
450
<td width="20%">Default Value:</td><td>0</td>
451
</tr>
452
<tr>
453
<td width="20%">Value:</td><td>1</td>
454
</tr>
455
<tr>
456
<td width="20%">Type:</td><td>Boolean</td>
457
</tr>
458
<tr mode="wrap">
459
<td width="20%">Destination:</td><td>public_mk_define</td>
460
</tr>
461
<tr mode="wrap">
462
<td width="20%">Description:</td><td>Causes the small newlib (C library) to be used. This reduces code and data footprint at the expense of reduced functionality. Several newlib features are removed such as floating-point support in printf(), stdin input routines, and buffered I/O. The small C library is not compatible with Micrium MicroC/OS-II. If true, adds -msmallc to ALT_LDFLAGS in public.mk.</td>
463
</tr>
464
<tr mode="wrap">
465
<td width="20%">Restrictions:</td><td>none</td>
466
</tr>
467
</table>
468
<br>
469
<table border="1" bgcolor="#FFFFCC" width="60%">
470
<tr bgcolor="#77BBFF">
471
<td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_sopc_sysid_check</td>
472
</tr>
473
<tr>
474
<td width="20%">Identifier:</td><td>NONE</td>
475
</tr>
476
<tr>
477
<td width="20%">Default Value:</td><td>1</td>
478
</tr>
479
<tr>
480
<td width="20%">Value:</td><td>0</td>
481
</tr>
482
<tr>
483
<td width="20%">Type:</td><td>Boolean</td>
484
</tr>
485
<tr mode="wrap">
486
<td width="20%">Destination:</td><td>public_mk_define</td>
487
</tr>
488
<tr mode="wrap">
489
<td width="20%">Description:</td><td>Enable SOPC Builder System ID. If a System ID SOPC Builder component is connected to the CPU associated with this BSP, it will be enabled in the creation of command-line arguments to download an ELF to the target. Otherwise, system ID and timestamp values are left out of public.mk for application Makefile "download-elf" target definition. With the system ID check disabled, the Nios II EDS tools will not automatically ensure that the application .elf file (and BSP it is linked against) corresponds to the hardware design on the target. If false, adds --accept-bad-sysid to SOPC_SYSID_FLAG in public.mk.</td>
490
</tr>
491
<tr mode="wrap">
492
<td width="20%">Restrictions:</td><td>none</td>
493
</tr>
494
</table>
495
<br>
496
<table border="1" bgcolor="#FFFFCC" width="60%">
497
<tr bgcolor="#77BBFF">
498
<td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.allow_code_at_reset</td>
499
</tr>
500
<tr>
501
<td width="20%">Identifier:</td><td>ALT_ALLOW_CODE_AT_RESET</td>
502
</tr>
503
<tr>
504
<td width="20%">Default Value:</td><td>0</td>
505
</tr>
506
<tr>
507
<td width="20%">Value:</td><td>1</td>
508
</tr>
509
<tr>
510
<td width="20%">Type:</td><td>Boolean</td>
511
</tr>
512
<tr mode="wrap">
513
<td width="20%">Destination:</td><td>none</td>
514
</tr>
515
<tr mode="wrap">
516
<td width="20%">Description:</td><td>Indicates if initialization code is allowed at the reset address. If true, defines the macro ALT_ALLOW_CODE_AT_RESET in linker.h.</td>
517
</tr>
518
<tr mode="wrap">
519
<td width="20%">Restrictions:</td><td>If true, defines the macro ALT_ALLOW_CODE_AT_RESET in linker.h. This setting is typically false if an external bootloader (e.g. flash bootloader) is present.</td>
520
</tr>
521
</table>
522
<br>
523
<table border="1" bgcolor="#FFFFCC" width="60%">
524
<tr bgcolor="#77BBFF">
525
<td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.enable_alt_load</td>
526
</tr>
527
<tr>
528
<td width="20%">Identifier:</td><td>NONE</td>
529
</tr>
530
<tr>
531
<td width="20%">Default Value:</td><td>0</td>
532
</tr>
533
<tr>
534
<td width="20%">Value:</td><td>0</td>
535
</tr>
536
<tr>
537
<td width="20%">Type:</td><td>Boolean</td>
538
</tr>
539
<tr mode="wrap">
540
<td width="20%">Destination:</td><td>none</td>
541
</tr>
542
<tr mode="wrap">
543
<td width="20%">Description:</td><td>Enables the alt_load() facility. The alt_load() facility copies sections from the .text memory into RAM. If true, this setting sets up the VMA/LMA of sections in linker.x to allow them to be loaded into the .text memory.</td>
544
</tr>
545
<tr mode="wrap">
546
<td width="20%">Restrictions:</td><td>This setting is typically false if an external bootloader (e.g. flash bootloader) is present.</td>
547
</tr>
548
</table>
549
<br>
550
<table border="1" bgcolor="#FFFFCC" width="60%">
551
<tr bgcolor="#77BBFF">
552
<td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.enable_alt_load_copy_exceptions</td>
553
</tr>
554
<tr>
555
<td width="20%">Identifier:</td><td>NONE</td>
556
</tr>
557
<tr>
558
<td width="20%">Default Value:</td><td>0</td>
559
</tr>
560
<tr>
561
<td width="20%">Value:</td><td>0</td>
562
</tr>
563
<tr>
564
<td width="20%">Type:</td><td>Boolean</td>
565
</tr>
566
<tr mode="wrap">
567
<td width="20%">Destination:</td><td>none</td>
568
</tr>
569
<tr mode="wrap">
570
<td width="20%">Description:</td><td>Causes the alt_load() facility to copy the .exceptions section. If true, this setting defines the macro ALT_LOAD_COPY_EXCEPTIONS in linker.h.</td>
571
</tr>
572
<tr mode="wrap">
573
<td width="20%">Restrictions:</td><td>none</td>
574
</tr>
575
</table>
576
<br>
577
<table border="1" bgcolor="#FFFFCC" width="60%">
578
<tr bgcolor="#77BBFF">
579
<td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.enable_alt_load_copy_rodata</td>
580
</tr>
581
<tr>
582
<td width="20%">Identifier:</td><td>NONE</td>
583
</tr>
584
<tr>
585
<td width="20%">Default Value:</td><td>0</td>
586
</tr>
587
<tr>
588
<td width="20%">Value:</td><td>0</td>
589
</tr>
590
<tr>
591
<td width="20%">Type:</td><td>Boolean</td>
592
</tr>
593
<tr mode="wrap">
594
<td width="20%">Destination:</td><td>none</td>
595
</tr>
596
<tr mode="wrap">
597
<td width="20%">Description:</td><td>Causes the alt_load() facility to copy the .rodata section. If true, this setting defines the macro ALT_LOAD_COPY_RODATA in linker.h.</td>
598
</tr>
599
<tr mode="wrap">
600
<td width="20%">Restrictions:</td><td>none</td>
601
</tr>
602
</table>
603
<br>
604
<table border="1" bgcolor="#FFFFCC" width="60%">
605
<tr bgcolor="#77BBFF">
606
<td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.enable_alt_load_copy_rwdata</td>
607
</tr>
608
<tr>
609
<td width="20%">Identifier:</td><td>NONE</td>
610
</tr>
611
<tr>
612
<td width="20%">Default Value:</td><td>0</td>
613
</tr>
614
<tr>
615
<td width="20%">Value:</td><td>0</td>
616
</tr>
617
<tr>
618
<td width="20%">Type:</td><td>Boolean</td>
619
</tr>
620
<tr mode="wrap">
621
<td width="20%">Destination:</td><td>none</td>
622
</tr>
623
<tr mode="wrap">
624
<td width="20%">Description:</td><td>Causes the alt_load() facility to copy the .rwdata section. If true, this setting defines the macro ALT_LOAD_COPY_RWDATA in linker.h.</td>
625
</tr>
626
<tr mode="wrap">
627
<td width="20%">Restrictions:</td><td>none</td>
628
</tr>
629
</table>
630
<br>
631
<table border="1" bgcolor="#FFFFCC" width="60%">
632
<tr bgcolor="#77BBFF">
633
<td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.enable_exception_stack</td>
634
</tr>
635
<tr>
636
<td width="20%">Identifier:</td><td>NONE</td>
637
</tr>
638
<tr>
639
<td width="20%">Default Value:</td><td>0</td>
640
</tr>
641
<tr>
642
<td width="20%">Value:</td><td>0</td>
643
</tr>
644
<tr>
645
<td width="20%">Type:</td><td>Boolean</td>
646
</tr>
647
<tr mode="wrap">
648
<td width="20%">Destination:</td><td>none</td>
649
</tr>
650
<tr mode="wrap">
651
<td width="20%">Description:</td><td>Enables use of a separate exception stack. If true, defines the macro ALT_EXCEPTION_STACK in linker.h, adds a memory region called exception_stack to linker.x, and provides the symbols __alt_exception_stack_pointer and __alt_exception_stack_limit in linker.x.</td>
652
</tr>
653
<tr mode="wrap">
654
<td width="20%">Restrictions:</td><td>The hal.linker.exception_stack_size and hal.linker.exception_stack_memory_region_name settings must also be valid. This setting must be false for MicroC/OS-II BSPs. The exception stack can be used to improve interrupt and other exception performance if the EIC is *not* used.</td>
655
</tr>
656
</table>
657
<br>
658
<table border="1" bgcolor="#FFFFCC" width="60%">
659
<tr bgcolor="#77BBFF">
660
<td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.enable_interrupt_stack</td>
661
</tr>
662
<tr>
663
<td width="20%">Identifier:</td><td>NONE</td>
664
</tr>
665
<tr>
666
<td width="20%">Default Value:</td><td>0</td>
667
</tr>
668
<tr>
669
<td width="20%">Value:</td><td>0</td>
670
</tr>
671
<tr>
672
<td width="20%">Type:</td><td>Boolean</td>
673
</tr>
674
<tr mode="wrap">
675
<td width="20%">Destination:</td><td>none</td>
676
</tr>
677
<tr mode="wrap">
678
<td width="20%">Description:</td><td>Enables use of a separate interrupt stack. If true, defines the macro ALT_INTERRUPT_STACK in linker.h, adds a memory region called interrupt_stack to linker.x, and provides the symbols __alt_interrupt_stack_pointer and __alt_interrupt_stack_limit in linker.x.</td>
679
</tr>
680
<tr mode="wrap">
681
<td width="20%">Restrictions:</td><td>The hal.linker.interrupt_stack_size and hal.linker.interrupt_stack_memory_region_name settings must also be valid. This setting must be false for MicroC/OS-II BSPs. Only enable if the EIC is used exclusively. The exception stack can be used to improve interrupt and other exception performance if the EIC is *not* used.</td>
682
</tr>
683
</table>
684
<br>
685
<table border="1" bgcolor="#FFFFCC" width="60%">
686
<tr bgcolor="#77BBFF">
687
<td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.exception_stack_memory_region_name</td>
688
</tr>
689
<tr>
690
<td width="20%">Identifier:</td><td>NONE</td>
691
</tr>
692
<tr>
693
<td width="20%">Default Value:</td><td>none</td>
694
</tr>
695
<tr>
696
<td width="20%">Value:</td><td>sdram</td>
697
</tr>
698
<tr>
699
<td width="20%">Type:</td><td>UnquotedString</td>
700
</tr>
701
<tr mode="wrap">
702
<td width="20%">Destination:</td><td>none</td>
703
</tr>
704
<tr mode="wrap">
705
<td width="20%">Description:</td><td>Name of the existing memory region that will be divided up to create the 'exception_stack' memory region. The selected region name will be adjusted automatically when the BSP is generated to create the 'exception_stack' memory region.</td>
706
</tr>
707
<tr mode="wrap">
708
<td width="20%">Restrictions:</td><td>Only used if hal.linker.enable_exception_stack is true.</td>
709
</tr>
710
</table>
711
<br>
712
<table border="1" bgcolor="#FFFFCC" width="60%">
713
<tr bgcolor="#77BBFF">
714
<td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.exception_stack_size</td>
715
</tr>
716
<tr>
717
<td width="20%">Identifier:</td><td>NONE</td>
718
</tr>
719
<tr>
720
<td width="20%">Default Value:</td><td>1024</td>
721
</tr>
722
<tr>
723
<td width="20%">Value:</td><td>1024</td>
724
</tr>
725
<tr>
726
<td width="20%">Type:</td><td>DecimalNumber</td>
727
</tr>
728
<tr mode="wrap">
729
<td width="20%">Destination:</td><td>none</td>
730
</tr>
731
<tr mode="wrap">
732
<td width="20%">Description:</td><td>Size of the exception stack in bytes.</td>
733
</tr>
734
<tr mode="wrap">
735
<td width="20%">Restrictions:</td><td>Only used if hal.linker.enable_exception_stack is true.</td>
736
</tr>
737
</table>
738
<br>
739
<table border="1" bgcolor="#FFFFCC" width="60%">
740
<tr bgcolor="#77BBFF">
741
<td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.interrupt_stack_memory_region_name</td>
742
</tr>
743
<tr>
744
<td width="20%">Identifier:</td><td>NONE</td>
745
</tr>
746
<tr>
747
<td width="20%">Default Value:</td><td>none</td>
748
</tr>
749
<tr>
750
<td width="20%">Value:</td><td>sdram</td>
751
</tr>
752
<tr>
753
<td width="20%">Type:</td><td>UnquotedString</td>
754
</tr>
755
<tr mode="wrap">
756
<td width="20%">Destination:</td><td>none</td>
757
</tr>
758
<tr mode="wrap">
759
<td width="20%">Description:</td><td>Name of the existing memory region that will be divided up to create the 'interrupt_stack' memory region. The selected region name will be adjusted automatically when the BSP is generated to create the 'interrupt_stack' memory region.</td>
760
</tr>
761
<tr mode="wrap">
762
<td width="20%">Restrictions:</td><td>Only used if hal.linker.enable_interrupt_stack is true.</td>
763
</tr>
764
</table>
765
<br>
766
<table border="1" bgcolor="#FFFFCC" width="60%">
767
<tr bgcolor="#77BBFF">
768
<td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.interrupt_stack_size</td>
769
</tr>
770
<tr>
771
<td width="20%">Identifier:</td><td>NONE</td>
772
</tr>
773
<tr>
774
<td width="20%">Default Value:</td><td>1024</td>
775
</tr>
776
<tr>
777
<td width="20%">Value:</td><td>1024</td>
778
</tr>
779
<tr>
780
<td width="20%">Type:</td><td>DecimalNumber</td>
781
</tr>
782
<tr mode="wrap">
783
<td width="20%">Destination:</td><td>none</td>
784
</tr>
785
<tr mode="wrap">
786
<td width="20%">Description:</td><td>Size of the interrupt stack in bytes.</td>
787
</tr>
788
<tr mode="wrap">
789
<td width="20%">Restrictions:</td><td>Only used if hal.linker.enable_interrupt_stack is true.</td>
790
</tr>
791
</table>
792
<br>
793
<table border="1" bgcolor="#FFFFCC" width="60%">
794
<tr bgcolor="#77BBFF">
795
<td align="left" width="15%">Setting Name:</td><td align="left">hal.log_flags</td>
796
</tr>
797
<tr>
798
<td width="20%">Identifier:</td><td>ALT_LOG_FLAGS</td>
799
</tr>
800
<tr>
801
<td width="20%">Default Value:</td><td>0</td>
802
</tr>
803
<tr>
804
<td width="20%">Value:</td><td>0</td>
805
</tr>
806
<tr>
807
<td width="20%">Type:</td><td>DecimalNumber</td>
808
</tr>
809
<tr mode="wrap">
810
<td width="20%">Destination:</td><td>public_mk_define</td>
811
</tr>
812
<tr mode="wrap">
813
<td width="20%">Description:</td><td>The value is assigned to ALT_LOG_FLAGS in the generated public.mk. See hal.log_port setting description. Values can be -1 through 3.</td>
814
</tr>
815
<tr mode="wrap">
816
<td width="20%">Restrictions:</td><td>hal.log_port must be set for this to be used.</td>
817
</tr>
818
</table>
819
<br>
820
<table border="1" bgcolor="#FFFFCC" width="60%">
821
<tr bgcolor="#77BBFF">
822
<td align="left" width="15%">Setting Name:</td><td align="left">hal.log_port</td>
823
</tr>
824
<tr>
825
<td width="20%">Identifier:</td><td>NONE</td>
826
</tr>
827
<tr>
828
<td width="20%">Default Value:</td><td>none</td>
829
</tr>
830
<tr>
831
<td width="20%">Value:</td><td>none</td>
832
</tr>
833
<tr>
834
<td width="20%">Type:</td><td>UnquotedString</td>
835
</tr>
836
<tr mode="wrap">
837
<td width="20%">Destination:</td><td>public_mk_define</td>
838
</tr>
839
<tr mode="wrap">
840
<td width="20%">Description:</td><td>Slave descriptor of debug logging character-mode device. If defined, it enables extra debug messages in the HAL source. This setting is used by the ALT_LOG_PORT family of defines in system.h.</td>
841
</tr>
842
<tr mode="wrap">
843
<td width="20%">Restrictions:</td><td>none</td>
844
</tr>
845
</table>
846
<br>
847
<table border="1" bgcolor="#FFFFCC" width="60%">
848
<tr bgcolor="#77BBFF">
849
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ar</td>
850
</tr>
851
<tr>
852
<td width="20%">Identifier:</td><td>AR</td>
853
</tr>
854
<tr>
855
<td width="20%">Default Value:</td><td>nios2-elf-ar</td>
856
</tr>
857
<tr>
858
<td width="20%">Value:</td><td>nios2-elf-ar</td>
859
</tr>
860
<tr>
861
<td width="20%">Type:</td><td>UnquotedString</td>
862
</tr>
863
<tr mode="wrap">
864
<td width="20%">Destination:</td><td>makefile_variable</td>
865
</tr>
866
<tr mode="wrap">
867
<td width="20%">Description:</td><td>Archiver command. Creates library files.</td>
868
</tr>
869
<tr mode="wrap">
870
<td width="20%">Restrictions:</td><td>none</td>
871
</tr>
872
</table>
873
<br>
874
<table border="1" bgcolor="#FFFFCC" width="60%">
875
<tr bgcolor="#77BBFF">
876
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ar_post_process</td>
877
</tr>
878
<tr>
879
<td width="20%">Identifier:</td><td>AR_POST_PROCESS</td>
880
</tr>
881
<tr>
882
<td width="20%">Default Value:</td><td>none</td>
883
</tr>
884
<tr>
885
<td width="20%">Value:</td><td>none</td>
886
</tr>
887
<tr>
888
<td width="20%">Type:</td><td>UnquotedString</td>
889
</tr>
890
<tr mode="wrap">
891
<td width="20%">Destination:</td><td>makefile_variable</td>
892
</tr>
893
<tr mode="wrap">
894
<td width="20%">Description:</td><td>Command executed after archiver execution.</td>
895
</tr>
896
<tr mode="wrap">
897
<td width="20%">Restrictions:</td><td>none</td>
898
</tr>
899
</table>
900
<br>
901
<table border="1" bgcolor="#FFFFCC" width="60%">
902
<tr bgcolor="#77BBFF">
903
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ar_pre_process</td>
904
</tr>
905
<tr>
906
<td width="20%">Identifier:</td><td>AR_PRE_PROCESS</td>
907
</tr>
908
<tr>
909
<td width="20%">Default Value:</td><td>none</td>
910
</tr>
911
<tr>
912
<td width="20%">Value:</td><td>none</td>
913
</tr>
914
<tr>
915
<td width="20%">Type:</td><td>UnquotedString</td>
916
</tr>
917
<tr mode="wrap">
918
<td width="20%">Destination:</td><td>makefile_variable</td>
919
</tr>
920
<tr mode="wrap">
921
<td width="20%">Description:</td><td>Command executed before archiver execution.</td>
922
</tr>
923
<tr mode="wrap">
924
<td width="20%">Restrictions:</td><td>none</td>
925
</tr>
926
</table>
927
<br>
928
<table border="1" bgcolor="#FFFFCC" width="60%">
929
<tr bgcolor="#77BBFF">
930
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.as</td>
931
</tr>
932
<tr>
933
<td width="20%">Identifier:</td><td>AS</td>
934
</tr>
935
<tr>
936
<td width="20%">Default Value:</td><td>nios2-elf-gcc</td>
937
</tr>
938
<tr>
939
<td width="20%">Value:</td><td>nios2-elf-gcc</td>
940
</tr>
941
<tr>
942
<td width="20%">Type:</td><td>UnquotedString</td>
943
</tr>
944
<tr mode="wrap">
945
<td width="20%">Destination:</td><td>makefile_variable</td>
946
</tr>
947
<tr mode="wrap">
948
<td width="20%">Description:</td><td>Assembler command. Note that CC is used for .S files.</td>
949
</tr>
950
<tr mode="wrap">
951
<td width="20%">Restrictions:</td><td>none</td>
952
</tr>
953
</table>
954
<br>
955
<table border="1" bgcolor="#FFFFCC" width="60%">
956
<tr bgcolor="#77BBFF">
957
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.as_post_process</td>
958
</tr>
959
<tr>
960
<td width="20%">Identifier:</td><td>AS_POST_PROCESS</td>
961
</tr>
962
<tr>
963
<td width="20%">Default Value:</td><td>none</td>
964
</tr>
965
<tr>
966
<td width="20%">Value:</td><td>none</td>
967
</tr>
968
<tr>
969
<td width="20%">Type:</td><td>UnquotedString</td>
970
</tr>
971
<tr mode="wrap">
972
<td width="20%">Destination:</td><td>makefile_variable</td>
973
</tr>
974
<tr mode="wrap">
975
<td width="20%">Description:</td><td>Command executed after each assembly file is compiled.</td>
976
</tr>
977
<tr mode="wrap">
978
<td width="20%">Restrictions:</td><td>none</td>
979
</tr>
980
</table>
981
<br>
982
<table border="1" bgcolor="#FFFFCC" width="60%">
983
<tr bgcolor="#77BBFF">
984
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.as_pre_process</td>
985
</tr>
986
<tr>
987
<td width="20%">Identifier:</td><td>AS_PRE_PROCESS</td>
988
</tr>
989
<tr>
990
<td width="20%">Default Value:</td><td>none</td>
991
</tr>
992
<tr>
993
<td width="20%">Value:</td><td>none</td>
994
</tr>
995
<tr>
996
<td width="20%">Type:</td><td>UnquotedString</td>
997
</tr>
998
<tr mode="wrap">
999
<td width="20%">Destination:</td><td>makefile_variable</td>
1000
</tr>
1001
<tr mode="wrap">
1002
<td width="20%">Description:</td><td>Command executed before each assembly file is compiled.</td>
1003
</tr>
1004
<tr mode="wrap">
1005
<td width="20%">Restrictions:</td><td>none</td>
1006
</tr>
1007
</table>
1008
<br>
1009
<table border="1" bgcolor="#FFFFCC" width="60%">
1010
<tr bgcolor="#77BBFF">
1011
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_arflags</td>
1012
</tr>
1013
<tr>
1014
<td width="20%">Identifier:</td><td>BSP_ARFLAGS</td>
1015
</tr>
1016
<tr>
1017
<td width="20%">Default Value:</td><td>-src</td>
1018
</tr>
1019
<tr>
1020
<td width="20%">Value:</td><td>-src</td>
1021
</tr>
1022
<tr>
1023
<td width="20%">Type:</td><td>UnquotedString</td>
1024
</tr>
1025
<tr mode="wrap">
1026
<td width="20%">Destination:</td><td>makefile_variable</td>
1027
</tr>
1028
<tr mode="wrap">
1029
<td width="20%">Description:</td><td>Custom flags only passed to the archiver. This content of this variable is directly passed to the archiver rather than the more standard "ARFLAGS". The reason for this is that GNU Make assumes some default content in ARFLAGS. This setting defines the value of BSP_ARFLAGS in Makefile.</td>
1030
</tr>
1031
<tr mode="wrap">
1032
<td width="20%">Restrictions:</td><td>none</td>
1033
</tr>
1034
</table>
1035
<br>
1036
<table border="1" bgcolor="#FFFFCC" width="60%">
1037
<tr bgcolor="#77BBFF">
1038
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_asflags</td>
1039
</tr>
1040
<tr>
1041
<td width="20%">Identifier:</td><td>BSP_ASFLAGS</td>
1042
</tr>
1043
<tr>
1044
<td width="20%">Default Value:</td><td>-Wa,-gdwarf2</td>
1045
</tr>
1046
<tr>
1047
<td width="20%">Value:</td><td>-Wa,-gdwarf2</td>
1048
</tr>
1049
<tr>
1050
<td width="20%">Type:</td><td>UnquotedString</td>
1051
</tr>
1052
<tr mode="wrap">
1053
<td width="20%">Destination:</td><td>makefile_variable</td>
1054
</tr>
1055
<tr mode="wrap">
1056
<td width="20%">Description:</td><td>Custom flags only passed to the assembler. This setting defines the value of BSP_ASFLAGS in Makefile.</td>
1057
</tr>
1058
<tr mode="wrap">
1059
<td width="20%">Restrictions:</td><td>none</td>
1060
</tr>
1061
</table>
1062
<br>
1063
<table border="1" bgcolor="#FFFFCC" width="60%">
1064
<tr bgcolor="#77BBFF">
1065
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_cflags_debug</td>
1066
</tr>
1067
<tr>
1068
<td width="20%">Identifier:</td><td>BSP_CFLAGS_DEBUG</td>
1069
</tr>
1070
<tr>
1071
<td width="20%">Default Value:</td><td>-g</td>
1072
</tr>
1073
<tr>
1074
<td width="20%">Value:</td><td>-g</td>
1075
</tr>
1076
<tr>
1077
<td width="20%">Type:</td><td>UnquotedString</td>
1078
</tr>
1079
<tr mode="wrap">
1080
<td width="20%">Destination:</td><td>makefile_variable</td>
1081
</tr>
1082
<tr mode="wrap">
1083
<td width="20%">Description:</td><td>C/C++ compiler debug level. '-g' provides the default set of debug symbols typically required to debug a typical application. Omitting '-g' removes debug symbols from the ELF. This setting defines the value of BSP_CFLAGS_DEBUG in Makefile.</td>
1084
</tr>
1085
<tr mode="wrap">
1086
<td width="20%">Restrictions:</td><td>none</td>
1087
</tr>
1088
</table>
1089
<br>
1090
<table border="1" bgcolor="#FFFFCC" width="60%">
1091
<tr bgcolor="#77BBFF">
1092
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_cflags_defined_symbols</td>
1093
</tr>
1094
<tr>
1095
<td width="20%">Identifier:</td><td>BSP_CFLAGS_DEFINED_SYMBOLS</td>
1096
</tr>
1097
<tr>
1098
<td width="20%">Default Value:</td><td>none</td>
1099
</tr>
1100
<tr>
1101
<td width="20%">Value:</td><td>none</td>
1102
</tr>
1103
<tr>
1104
<td width="20%">Type:</td><td>UnquotedString</td>
1105
</tr>
1106
<tr mode="wrap">
1107
<td width="20%">Destination:</td><td>makefile_variable</td>
1108
</tr>
1109
<tr mode="wrap">
1110
<td width="20%">Description:</td><td>Preprocessor macros to define. A macro definition in this setting has the same effect as a "#define" in source code. Adding "-DALT_DEBUG" to this setting has the same effect as "#define ALT_DEBUG" in a souce file. Adding "-DFOO=1" to this setting is equivalent to the macro "#define FOO 1" in a source file. Macros defined with this setting are applied to all .S, .c, and C++ files in the BSP. This setting defines the value of BSP_CFLAGS_DEFINED_SYMBOLS in the BSP Makefile.</td>
1111
</tr>
1112
<tr mode="wrap">
1113
<td width="20%">Restrictions:</td><td>none</td>
1114
</tr>
1115
</table>
1116
<br>
1117
<table border="1" bgcolor="#FFFFCC" width="60%">
1118
<tr bgcolor="#77BBFF">
1119
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_cflags_optimization</td>
1120
</tr>
1121
<tr>
1122
<td width="20%">Identifier:</td><td>BSP_CFLAGS_OPTIMIZATION</td>
1123
</tr>
1124
<tr>
1125
<td width="20%">Default Value:</td><td>-O0</td>
1126
</tr>
1127
<tr>
1128
<td width="20%">Value:</td><td>-Os</td>
1129
</tr>
1130
<tr>
1131
<td width="20%">Type:</td><td>UnquotedString</td>
1132
</tr>
1133
<tr mode="wrap">
1134
<td width="20%">Destination:</td><td>makefile_variable</td>
1135
</tr>
1136
<tr mode="wrap">
1137
<td width="20%">Description:</td><td>C/C++ compiler optimization level. "-O0" = no optimization,"-O2" = "normal" optimization, etc. "-O0" is recommended for code that you want to debug since compiler optimization can remove variables and produce non-sequential execution of code while debugging. This setting defines the value of BSP_CFLAGS_OPTIMIZATION in Makefile.</td>
1138
</tr>
1139
<tr mode="wrap">
1140
<td width="20%">Restrictions:</td><td>none</td>
1141
</tr>
1142
</table>
1143
<br>
1144
<table border="1" bgcolor="#FFFFCC" width="60%">
1145
<tr bgcolor="#77BBFF">
1146
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_cflags_undefined_symbols</td>
1147
</tr>
1148
<tr>
1149
<td width="20%">Identifier:</td><td>BSP_CFLAGS_UNDEFINED_SYMBOLS</td>
1150
</tr>
1151
<tr>
1152
<td width="20%">Default Value:</td><td>none</td>
1153
</tr>
1154
<tr>
1155
<td width="20%">Value:</td><td>none</td>
1156
</tr>
1157
<tr>
1158
<td width="20%">Type:</td><td>UnquotedString</td>
1159
</tr>
1160
<tr mode="wrap">
1161
<td width="20%">Destination:</td><td>makefile_variable</td>
1162
</tr>
1163
<tr mode="wrap">
1164
<td width="20%">Description:</td><td>Preprocessor macros to undefine. Undefined macros are similar to defined macros, but replicate the "#undef" directive in source code. To undefine the macro FOO use the syntax "-u FOO" in this setting. This is equivalent to "#undef FOO" in a source file. Note: the syntax differs from macro definition (there is a space, i.e. "-u FOO" versus "-DFOO"). Macros defined with this setting are applied to all .S, .c, and C++ files in the BSP. This setting defines the value of BSP_CFLAGS_UNDEFINED_SYMBOLS in the BSP Makefile.</td>
1165
</tr>
1166
<tr mode="wrap">
1167
<td width="20%">Restrictions:</td><td>none</td>
1168
</tr>
1169
</table>
1170
<br>
1171
<table border="1" bgcolor="#FFFFCC" width="60%">
1172
<tr bgcolor="#77BBFF">
1173
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_cflags_user_flags</td>
1174
</tr>
1175
<tr>
1176
<td width="20%">Identifier:</td><td>BSP_CFLAGS_USER_FLAGS</td>
1177
</tr>
1178
<tr>
1179
<td width="20%">Default Value:</td><td>none</td>
1180
</tr>
1181
<tr>
1182
<td width="20%">Value:</td><td>none</td>
1183
</tr>
1184
<tr>
1185
<td width="20%">Type:</td><td>UnquotedString</td>
1186
</tr>
1187
<tr mode="wrap">
1188
<td width="20%">Destination:</td><td>makefile_variable</td>
1189
</tr>
1190
<tr mode="wrap">
1191
<td width="20%">Description:</td><td>Custom flags passed to the compiler when compiling C, C++, and .S files. This setting defines the value of BSP_CFLAGS_USER_FLAGS in Makefile.</td>
1192
</tr>
1193
<tr mode="wrap">
1194
<td width="20%">Restrictions:</td><td>none</td>
1195
</tr>
1196
</table>
1197
<br>
1198
<table border="1" bgcolor="#FFFFCC" width="60%">
1199
<tr bgcolor="#77BBFF">
1200
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_cflags_warnings</td>
1201
</tr>
1202
<tr>
1203
<td width="20%">Identifier:</td><td>BSP_CFLAGS_WARNINGS</td>
1204
</tr>
1205
<tr>
1206
<td width="20%">Default Value:</td><td>-Wall</td>
1207
</tr>
1208
<tr>
1209
<td width="20%">Value:</td><td>-Wall</td>
1210
</tr>
1211
<tr>
1212
<td width="20%">Type:</td><td>UnquotedString</td>
1213
</tr>
1214
<tr mode="wrap">
1215
<td width="20%">Destination:</td><td>makefile_variable</td>
1216
</tr>
1217
<tr mode="wrap">
1218
<td width="20%">Description:</td><td>C/C++ compiler warning level. "-Wall" is commonly used.This setting defines the value of BSP_CFLAGS_WARNINGS in Makefile.</td>
1219
</tr>
1220
<tr mode="wrap">
1221
<td width="20%">Restrictions:</td><td>none</td>
1222
</tr>
1223
</table>
1224
<br>
1225
<table border="1" bgcolor="#FFFFCC" width="60%">
1226
<tr bgcolor="#77BBFF">
1227
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_cxx_flags</td>
1228
</tr>
1229
<tr>
1230
<td width="20%">Identifier:</td><td>BSP_CXXFLAGS</td>
1231
</tr>
1232
<tr>
1233
<td width="20%">Default Value:</td><td>none</td>
1234
</tr>
1235
<tr>
1236
<td width="20%">Value:</td><td>none</td>
1237
</tr>
1238
<tr>
1239
<td width="20%">Type:</td><td>UnquotedString</td>
1240
</tr>
1241
<tr mode="wrap">
1242
<td width="20%">Destination:</td><td>makefile_variable</td>
1243
</tr>
1244
<tr mode="wrap">
1245
<td width="20%">Description:</td><td>Custom flags only passed to the C++ compiler. This setting defines the value of BSP_CXXFLAGS in Makefile.</td>
1246
</tr>
1247
<tr mode="wrap">
1248
<td width="20%">Restrictions:</td><td>none</td>
1249
</tr>
1250
</table>
1251
<br>
1252
<table border="1" bgcolor="#FFFFCC" width="60%">
1253
<tr bgcolor="#77BBFF">
1254
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_inc_dirs</td>
1255
</tr>
1256
<tr>
1257
<td width="20%">Identifier:</td><td>BSP_INC_DIRS</td>
1258
</tr>
1259
<tr>
1260
<td width="20%">Default Value:</td><td>none</td>
1261
</tr>
1262
<tr>
1263
<td width="20%">Value:</td><td>none</td>
1264
</tr>
1265
<tr>
1266
<td width="20%">Type:</td><td>UnquotedString</td>
1267
</tr>
1268
<tr mode="wrap">
1269
<td width="20%">Destination:</td><td>makefile_variable</td>
1270
</tr>
1271
<tr mode="wrap">
1272
<td width="20%">Description:</td><td>Space separated list of extra include directories to scan for header files. Directories are relative to the top-level BSP directory. The -I prefix's added by the makefile so don't add it here. This setting defines the value of BSP_INC_DIRS in Makefile.</td>
1273
</tr>
1274
<tr mode="wrap">
1275
<td width="20%">Restrictions:</td><td>none</td>
1276
</tr>
1277
</table>
1278
<br>
1279
<table border="1" bgcolor="#FFFFCC" width="60%">
1280
<tr bgcolor="#77BBFF">
1281
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.build_post_process</td>
1282
</tr>
1283
<tr>
1284
<td width="20%">Identifier:</td><td>BUILD_POST_PROCESS</td>
1285
</tr>
1286
<tr>
1287
<td width="20%">Default Value:</td><td>none</td>
1288
</tr>
1289
<tr>
1290
<td width="20%">Value:</td><td>none</td>
1291
</tr>
1292
<tr>
1293
<td width="20%">Type:</td><td>UnquotedString</td>
1294
</tr>
1295
<tr mode="wrap">
1296
<td width="20%">Destination:</td><td>makefile_variable</td>
1297
</tr>
1298
<tr mode="wrap">
1299
<td width="20%">Description:</td><td>Command executed after BSP built.</td>
1300
</tr>
1301
<tr mode="wrap">
1302
<td width="20%">Restrictions:</td><td>none</td>
1303
</tr>
1304
</table>
1305
<br>
1306
<table border="1" bgcolor="#FFFFCC" width="60%">
1307
<tr bgcolor="#77BBFF">
1308
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.build_pre_process</td>
1309
</tr>
1310
<tr>
1311
<td width="20%">Identifier:</td><td>BUILD_PRE_PROCESS</td>
1312
</tr>
1313
<tr>
1314
<td width="20%">Default Value:</td><td>none</td>
1315
</tr>
1316
<tr>
1317
<td width="20%">Value:</td><td>none</td>
1318
</tr>
1319
<tr>
1320
<td width="20%">Type:</td><td>UnquotedString</td>
1321
</tr>
1322
<tr mode="wrap">
1323
<td width="20%">Destination:</td><td>makefile_variable</td>
1324
</tr>
1325
<tr mode="wrap">
1326
<td width="20%">Description:</td><td>Command executed before BSP built.</td>
1327
</tr>
1328
<tr mode="wrap">
1329
<td width="20%">Restrictions:</td><td>none</td>
1330
</tr>
1331
</table>
1332
<br>
1333
<table border="1" bgcolor="#FFFFCC" width="60%">
1334
<tr bgcolor="#77BBFF">
1335
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.cc</td>
1336
</tr>
1337
<tr>
1338
<td width="20%">Identifier:</td><td>CC</td>
1339
</tr>
1340
<tr>
1341
<td width="20%">Default Value:</td><td>nios2-elf-gcc -xc</td>
1342
</tr>
1343
<tr>
1344
<td width="20%">Value:</td><td>nios2-elf-gcc -xc</td>
1345
</tr>
1346
<tr>
1347
<td width="20%">Type:</td><td>UnquotedString</td>
1348
</tr>
1349
<tr mode="wrap">
1350
<td width="20%">Destination:</td><td>makefile_variable</td>
1351
</tr>
1352
<tr mode="wrap">
1353
<td width="20%">Description:</td><td>C compiler command.</td>
1354
</tr>
1355
<tr mode="wrap">
1356
<td width="20%">Restrictions:</td><td>none</td>
1357
</tr>
1358
</table>
1359
<br>
1360
<table border="1" bgcolor="#FFFFCC" width="60%">
1361
<tr bgcolor="#77BBFF">
1362
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.cc_post_process</td>
1363
</tr>
1364
<tr>
1365
<td width="20%">Identifier:</td><td>CC_POST_PROCESS</td>
1366
</tr>
1367
<tr>
1368
<td width="20%">Default Value:</td><td>none</td>
1369
</tr>
1370
<tr>
1371
<td width="20%">Value:</td><td>none</td>
1372
</tr>
1373
<tr>
1374
<td width="20%">Type:</td><td>UnquotedString</td>
1375
</tr>
1376
<tr mode="wrap">
1377
<td width="20%">Destination:</td><td>makefile_variable</td>
1378
</tr>
1379
<tr mode="wrap">
1380
<td width="20%">Description:</td><td>Command executed after each .c/.S file is compiled.</td>
1381
</tr>
1382
<tr mode="wrap">
1383
<td width="20%">Restrictions:</td><td>none</td>
1384
</tr>
1385
</table>
1386
<br>
1387
<table border="1" bgcolor="#FFFFCC" width="60%">
1388
<tr bgcolor="#77BBFF">
1389
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.cc_pre_process</td>
1390
</tr>
1391
<tr>
1392
<td width="20%">Identifier:</td><td>CC_PRE_PROCESS</td>
1393
</tr>
1394
<tr>
1395
<td width="20%">Default Value:</td><td>none</td>
1396
</tr>
1397
<tr>
1398
<td width="20%">Value:</td><td>none</td>
1399
</tr>
1400
<tr>
1401
<td width="20%">Type:</td><td>UnquotedString</td>
1402
</tr>
1403
<tr mode="wrap">
1404
<td width="20%">Destination:</td><td>makefile_variable</td>
1405
</tr>
1406
<tr mode="wrap">
1407
<td width="20%">Description:</td><td>Command executed before each .c/.S file is compiled.</td>
1408
</tr>
1409
<tr mode="wrap">
1410
<td width="20%">Restrictions:</td><td>none</td>
1411
</tr>
1412
</table>
1413
<br>
1414
<table border="1" bgcolor="#FFFFCC" width="60%">
1415
<tr bgcolor="#77BBFF">
1416
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.cxx</td>
1417
</tr>
1418
<tr>
1419
<td width="20%">Identifier:</td><td>CXX</td>
1420
</tr>
1421
<tr>
1422
<td width="20%">Default Value:</td><td>nios2-elf-gcc -xc++</td>
1423
</tr>
1424
<tr>
1425
<td width="20%">Value:</td><td>nios2-elf-gcc -xc++</td>
1426
</tr>
1427
<tr>
1428
<td width="20%">Type:</td><td>UnquotedString</td>
1429
</tr>
1430
<tr mode="wrap">
1431
<td width="20%">Destination:</td><td>makefile_variable</td>
1432
</tr>
1433
<tr mode="wrap">
1434
<td width="20%">Description:</td><td>C++ compiler command.</td>
1435
</tr>
1436
<tr mode="wrap">
1437
<td width="20%">Restrictions:</td><td>none</td>
1438
</tr>
1439
</table>
1440
<br>
1441
<table border="1" bgcolor="#FFFFCC" width="60%">
1442
<tr bgcolor="#77BBFF">
1443
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.cxx_post_process</td>
1444
</tr>
1445
<tr>
1446
<td width="20%">Identifier:</td><td>CXX_POST_PROCESS</td>
1447
</tr>
1448
<tr>
1449
<td width="20%">Default Value:</td><td>none</td>
1450
</tr>
1451
<tr>
1452
<td width="20%">Value:</td><td>none</td>
1453
</tr>
1454
<tr>
1455
<td width="20%">Type:</td><td>UnquotedString</td>
1456
</tr>
1457
<tr mode="wrap">
1458
<td width="20%">Destination:</td><td>makefile_variable</td>
1459
</tr>
1460
<tr mode="wrap">
1461
<td width="20%">Description:</td><td>Command executed before each C++ file is compiled.</td>
1462
</tr>
1463
<tr mode="wrap">
1464
<td width="20%">Restrictions:</td><td>none</td>
1465
</tr>
1466
</table>
1467
<br>
1468
<table border="1" bgcolor="#FFFFCC" width="60%">
1469
<tr bgcolor="#77BBFF">
1470
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.cxx_pre_process</td>
1471
</tr>
1472
<tr>
1473
<td width="20%">Identifier:</td><td>CXX_PRE_PROCESS</td>
1474
</tr>
1475
<tr>
1476
<td width="20%">Default Value:</td><td>none</td>
1477
</tr>
1478
<tr>
1479
<td width="20%">Value:</td><td>none</td>
1480
</tr>
1481
<tr>
1482
<td width="20%">Type:</td><td>UnquotedString</td>
1483
</tr>
1484
<tr mode="wrap">
1485
<td width="20%">Destination:</td><td>makefile_variable</td>
1486
</tr>
1487
<tr mode="wrap">
1488
<td width="20%">Description:</td><td>Command executed before each C++ file is compiled.</td>
1489
</tr>
1490
<tr mode="wrap">
1491
<td width="20%">Restrictions:</td><td>none</td>
1492
</tr>
1493
</table>
1494
<br>
1495
<table border="1" bgcolor="#FFFFCC" width="60%">
1496
<tr bgcolor="#77BBFF">
1497
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.big_endian</td>
1498
</tr>
1499
<tr>
1500
<td width="20%">Identifier:</td><td>NONE</td>
1501
</tr>
1502
<tr>
1503
<td width="20%">Default Value:</td><td>0</td>
1504
</tr>
1505
<tr>
1506
<td width="20%">Value:</td><td>0</td>
1507
</tr>
1508
<tr>
1509
<td width="20%">Type:</td><td>Boolean</td>
1510
</tr>
1511
<tr mode="wrap">
1512
<td width="20%">Destination:</td><td>public_mk_define</td>
1513
</tr>
1514
<tr mode="wrap">
1515
<td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system is big endian. If true ignores export of 'ALT_CFLAGS += -meb' to public.mk if big endian system.</td>
1516
</tr>
1517
<tr mode="wrap">
1518
<td width="20%">Restrictions:</td><td>none</td>
1519
</tr>
1520
</table>
1521
<br>
1522
<table border="1" bgcolor="#FFFFCC" width="60%">
1523
<tr bgcolor="#77BBFF">
1524
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.debug_core_present</td>
1525
</tr>
1526
<tr>
1527
<td width="20%">Identifier:</td><td>NONE</td>
1528
</tr>
1529
<tr>
1530
<td width="20%">Default Value:</td><td>0</td>
1531
</tr>
1532
<tr>
1533
<td width="20%">Value:</td><td>0</td>
1534
</tr>
1535
<tr>
1536
<td width="20%">Type:</td><td>Boolean</td>
1537
</tr>
1538
<tr mode="wrap">
1539
<td width="20%">Destination:</td><td>public_mk_define</td>
1540
</tr>
1541
<tr mode="wrap">
1542
<td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system has a debug core present. If true ignores export of 'CPU_HAS_DEBUG_CORE = 1' to public.mk if a debug core is found in the system. If true ignores export of 'CPU_HAS_DEBUG_CORE = 0' if no debug core is found in the system.</td>
1543
</tr>
1544
<tr mode="wrap">
1545
<td width="20%">Restrictions:</td><td>none</td>
1546
</tr>
1547
</table>
1548
<br>
1549
<table border="1" bgcolor="#FFFFCC" width="60%">
1550
<tr bgcolor="#77BBFF">
1551
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.fpu_present</td>
1552
</tr>
1553
<tr>
1554
<td width="20%">Identifier:</td><td>NONE</td>
1555
</tr>
1556
<tr>
1557
<td width="20%">Default Value:</td><td>0</td>
1558
</tr>
1559
<tr>
1560
<td width="20%">Value:</td><td>0</td>
1561
</tr>
1562
<tr>
1563
<td width="20%">Type:</td><td>Boolean</td>
1564
</tr>
1565
<tr mode="wrap">
1566
<td width="20%">Destination:</td><td>public_mk_define</td>
1567
</tr>
1568
<tr mode="wrap">
1569
<td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system has FPU present. If true ignores export of 'ALT_CFLAGS += -mhard-float' to public.mk if FPU is found in the system. If true ignores export of 'ALT_CFLAGS += -mhard-soft' if FPU is not found in the system.</td>
1570
</tr>
1571
<tr mode="wrap">
1572
<td width="20%">Restrictions:</td><td>none</td>
1573
</tr>
1574
</table>
1575
<br>
1576
<table border="1" bgcolor="#FFFFCC" width="60%">
1577
<tr bgcolor="#77BBFF">
1578
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.hardware_divide_present</td>
1579
</tr>
1580
<tr>
1581
<td width="20%">Identifier:</td><td>NONE</td>
1582
</tr>
1583
<tr>
1584
<td width="20%">Default Value:</td><td>0</td>
1585
</tr>
1586
<tr>
1587
<td width="20%">Value:</td><td>0</td>
1588
</tr>
1589
<tr>
1590
<td width="20%">Type:</td><td>Boolean</td>
1591
</tr>
1592
<tr mode="wrap">
1593
<td width="20%">Destination:</td><td>public_mk_define</td>
1594
</tr>
1595
<tr mode="wrap">
1596
<td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system has hardware divide present. If true ignores export of 'ALT_CFLAGS += -mno-hw-div' to public.mk if no division is found in system. If true ignores export of 'ALT_CFLAGS += -mhw-div' if division is found in the system.</td>
1597
</tr>
1598
<tr mode="wrap">
1599
<td width="20%">Restrictions:</td><td>none</td>
1600
</tr>
1601
</table>
1602
<br>
1603
<table border="1" bgcolor="#FFFFCC" width="60%">
1604
<tr bgcolor="#77BBFF">
1605
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.hardware_fp_cust_inst_divider_present</td>
1606
</tr>
1607
<tr>
1608
<td width="20%">Identifier:</td><td>NONE</td>
1609
</tr>
1610
<tr>
1611
<td width="20%">Default Value:</td><td>0</td>
1612
</tr>
1613
<tr>
1614
<td width="20%">Value:</td><td>0</td>
1615
</tr>
1616
<tr>
1617
<td width="20%">Type:</td><td>Boolean</td>
1618
</tr>
1619
<tr mode="wrap">
1620
<td width="20%">Destination:</td><td>public_mk_define</td>
1621
</tr>
1622
<tr mode="wrap">
1623
<td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system floating point custom instruction with a divider is present. If true ignores export of 'ALT_CFLAGS += -mcustom-fpu-cfg=60-2' and 'ALT_LDFLAGS += -mcustom-fpu-cfg=60-2' to public.mk if the custom instruction is found in the system.</td>
1624
</tr>
1625
<tr mode="wrap">
1626
<td width="20%">Restrictions:</td><td>none</td>
1627
</tr>
1628
</table>
1629
<br>
1630
<table border="1" bgcolor="#FFFFCC" width="60%">
1631
<tr bgcolor="#77BBFF">
1632
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.hardware_fp_cust_inst_no_divider_present</td>
1633
</tr>
1634
<tr>
1635
<td width="20%">Identifier:</td><td>NONE</td>
1636
</tr>
1637
<tr>
1638
<td width="20%">Default Value:</td><td>0</td>
1639
</tr>
1640
<tr>
1641
<td width="20%">Value:</td><td>0</td>
1642
</tr>
1643
<tr>
1644
<td width="20%">Type:</td><td>Boolean</td>
1645
</tr>
1646
<tr mode="wrap">
1647
<td width="20%">Destination:</td><td>public_mk_define</td>
1648
</tr>
1649
<tr mode="wrap">
1650
<td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system floating point custom instruction without a divider is present. If true ignores export of 'ALT_CFLAGS += -mcustom-fpu-cfg=60-1' and 'ALT_LDFLAGS += -mcustom-fpu-cfg=60-1' to public.mk if the custom instruction is found in the system.</td>
1651
</tr>
1652
<tr mode="wrap">
1653
<td width="20%">Restrictions:</td><td>none</td>
1654
</tr>
1655
</table>
1656
<br>
1657
<table border="1" bgcolor="#FFFFCC" width="60%">
1658
<tr bgcolor="#77BBFF">
1659
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.hardware_multiplier_present</td>
1660
</tr>
1661
<tr>
1662
<td width="20%">Identifier:</td><td>NONE</td>
1663
</tr>
1664
<tr>
1665
<td width="20%">Default Value:</td><td>0</td>
1666
</tr>
1667
<tr>
1668
<td width="20%">Value:</td><td>0</td>
1669
</tr>
1670
<tr>
1671
<td width="20%">Type:</td><td>Boolean</td>
1672
</tr>
1673
<tr mode="wrap">
1674
<td width="20%">Destination:</td><td>public_mk_define</td>
1675
</tr>
1676
<tr mode="wrap">
1677
<td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system has multiplier present. If true ignores export of 'ALT_CFLAGS += -mno-hw-mul' to public.mk if no multiplier is found in the system. If true ignores export of 'ALT_CFLAGS += -mhw-mul' if multiplier is found in the system.</td>
1678
</tr>
1679
<tr mode="wrap">
1680
<td width="20%">Restrictions:</td><td>none</td>
1681
</tr>
1682
</table>
1683
<br>
1684
<table border="1" bgcolor="#FFFFCC" width="60%">
1685
<tr bgcolor="#77BBFF">
1686
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.hardware_mulx_present</td>
1687
</tr>
1688
<tr>
1689
<td width="20%">Identifier:</td><td>NONE</td>
1690
</tr>
1691
<tr>
1692
<td width="20%">Default Value:</td><td>0</td>
1693
</tr>
1694
<tr>
1695
<td width="20%">Value:</td><td>0</td>
1696
</tr>
1697
<tr>
1698
<td width="20%">Type:</td><td>Boolean</td>
1699
</tr>
1700
<tr mode="wrap">
1701
<td width="20%">Destination:</td><td>public_mk_define</td>
1702
</tr>
1703
<tr mode="wrap">
1704
<td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system has hardware mulx present. If true ignores export of 'ALT_CFLAGS += -mno-hw-mulx' to public.mk if no mulx is found in the system. If true ignores export of 'ALT_CFLAGS += -mhw-mulx' if mulx is found in the system.</td>
1705
</tr>
1706
<tr mode="wrap">
1707
<td width="20%">Restrictions:</td><td>none</td>
1708
</tr>
1709
</table>
1710
<br>
1711
<table border="1" bgcolor="#FFFFCC" width="60%">
1712
<tr bgcolor="#77BBFF">
1713
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.sopc_simulation_enabled</td>
1714
</tr>
1715
<tr>
1716
<td width="20%">Identifier:</td><td>NONE</td>
1717
</tr>
1718
<tr>
1719
<td width="20%">Default Value:</td><td>0</td>
1720
</tr>
1721
<tr>
1722
<td width="20%">Value:</td><td>0</td>
1723
</tr>
1724
<tr>
1725
<td width="20%">Type:</td><td>Boolean</td>
1726
</tr>
1727
<tr mode="wrap">
1728
<td width="20%">Destination:</td><td>public_mk_define</td>
1729
</tr>
1730
<tr mode="wrap">
1731
<td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system has simulation enabled. If true ignores export of 'ELF_PATCH_FLAG  += --simulation_enabled' to public.mk.</td>
1732
</tr>
1733
<tr mode="wrap">
1734
<td width="20%">Restrictions:</td><td>none</td>
1735
</tr>
1736
</table>
1737
<br>
1738
<table border="1" bgcolor="#FFFFCC" width="60%">
1739
<tr bgcolor="#77BBFF">
1740
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.sopc_system_base_address</td>
1741
</tr>
1742
<tr>
1743
<td width="20%">Identifier:</td><td>NONE</td>
1744
</tr>
1745
<tr>
1746
<td width="20%">Default Value:</td><td>0</td>
1747
</tr>
1748
<tr>
1749
<td width="20%">Value:</td><td>0</td>
1750
</tr>
1751
<tr>
1752
<td width="20%">Type:</td><td>Boolean</td>
1753
</tr>
1754
<tr mode="wrap">
1755
<td width="20%">Destination:</td><td>public_mk_define</td>
1756
</tr>
1757
<tr mode="wrap">
1758
<td width="20%">Description:</td><td>Enable BSP generation to query SOPC system for system ID base address. If true ignores export of 'SOPC_SYSID_FLAG += --sidp=&lt;address&gt;' and 'ELF_PATCH_FLAG  += --sidp=&lt;address&gt;' to public.mk.</td>
1759
</tr>
1760
<tr mode="wrap">
1761
<td width="20%">Restrictions:</td><td>none</td>
1762
</tr>
1763
</table>
1764
<br>
1765
<table border="1" bgcolor="#FFFFCC" width="60%">
1766
<tr bgcolor="#77BBFF">
1767
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.sopc_system_id</td>
1768
</tr>
1769
<tr>
1770
<td width="20%">Identifier:</td><td>NONE</td>
1771
</tr>
1772
<tr>
1773
<td width="20%">Default Value:</td><td>0</td>
1774
</tr>
1775
<tr>
1776
<td width="20%">Value:</td><td>0</td>
1777
</tr>
1778
<tr>
1779
<td width="20%">Type:</td><td>Boolean</td>
1780
</tr>
1781
<tr mode="wrap">
1782
<td width="20%">Destination:</td><td>public_mk_define</td>
1783
</tr>
1784
<tr mode="wrap">
1785
<td width="20%">Description:</td><td>Enable BSP generation to query SOPC system for system ID. If true ignores export of 'SOPC_SYSID_FLAG += --id=&lt;sysid&gt;' and 'ELF_PATCH_FLAG  += --id=&lt;sysid&gt;' to public.mk.</td>
1786
</tr>
1787
<tr mode="wrap">
1788
<td width="20%">Restrictions:</td><td>none</td>
1789
</tr>
1790
</table>
1791
<br>
1792
<table border="1" bgcolor="#FFFFCC" width="60%">
1793
<tr bgcolor="#77BBFF">
1794
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.sopc_system_timestamp</td>
1795
</tr>
1796
<tr>
1797
<td width="20%">Identifier:</td><td>NONE</td>
1798
</tr>
1799
<tr>
1800
<td width="20%">Default Value:</td><td>0</td>
1801
</tr>
1802
<tr>
1803
<td width="20%">Value:</td><td>0</td>
1804
</tr>
1805
<tr>
1806
<td width="20%">Type:</td><td>Boolean</td>
1807
</tr>
1808
<tr mode="wrap">
1809
<td width="20%">Destination:</td><td>public_mk_define</td>
1810
</tr>
1811
<tr mode="wrap">
1812
<td width="20%">Description:</td><td>Enable BSP generation to query SOPC system for system timestamp. If true ignores export of 'SOPC_SYSID_FLAG += --timestamp=&lt;timestamp&gt;' and 'ELF_PATCH_FLAG  += --timestamp=&lt;timestamp&gt;' to public.mk.</td>
1813
</tr>
1814
<tr mode="wrap">
1815
<td width="20%">Restrictions:</td><td>none</td>
1816
</tr>
1817
</table>
1818
<br>
1819
<table border="1" bgcolor="#FFFFCC" width="60%">
1820
<tr bgcolor="#77BBFF">
1821
<td align="left" width="15%">Setting Name:</td><td align="left">hal.make.rm</td>
1822
</tr>
1823
<tr>
1824
<td width="20%">Identifier:</td><td>RM</td>
1825
</tr>
1826
<tr>
1827
<td width="20%">Default Value:</td><td>rm -f</td>
1828
</tr>
1829
<tr>
1830
<td width="20%">Value:</td><td>rm -f</td>
1831
</tr>
1832
<tr>
1833
<td width="20%">Type:</td><td>UnquotedString</td>
1834
</tr>
1835
<tr mode="wrap">
1836
<td width="20%">Destination:</td><td>makefile_variable</td>
1837
</tr>
1838
<tr mode="wrap">
1839
<td width="20%">Description:</td><td>Command used to remove files during 'clean' target.</td>
1840
</tr>
1841
<tr mode="wrap">
1842
<td width="20%">Restrictions:</td><td>none</td>
1843
</tr>
1844
</table>
1845
<br>
1846
<table border="1" bgcolor="#FFFFCC" width="60%">
1847
<tr bgcolor="#77BBFF">
1848
<td align="left" width="15%">Setting Name:</td><td align="left">hal.max_file_descriptors</td>
1849
</tr>
1850
<tr>
1851
<td width="20%">Identifier:</td><td>ALT_MAX_FD</td>
1852
</tr>
1853
<tr>
1854
<td width="20%">Default Value:</td><td>32</td>
1855
</tr>
1856
<tr>
1857
<td width="20%">Value:</td><td>32</td>
1858
</tr>
1859
<tr>
1860
<td width="20%">Type:</td><td>DecimalNumber</td>
1861
</tr>
1862
<tr mode="wrap">
1863
<td width="20%">Destination:</td><td>system_h_define</td>
1864
</tr>
1865
<tr mode="wrap">
1866
<td width="20%">Description:</td><td>Determines the number of file descriptors statically allocated. This setting defines the value of ALT_MAX_FD in system.h.</td>
1867
</tr>
1868
<tr mode="wrap">
1869
<td width="20%">Restrictions:</td><td>If hal.enable_lightweight_device_driver_api is true, there are no file descriptors so this setting is ignored. If hal.enable_lightweight_device_driver_api is false, this setting must be at least 4 because HAL needs a file descriptor for /dev/null, /dev/stdin, /dev/stdout, and /dev/stderr.</td>
1870
</tr>
1871
</table>
1872
<br>
1873
<table border="1" bgcolor="#FFFFCC" width="60%">
1874
<tr bgcolor="#77BBFF">
1875
<td align="left" width="15%">Setting Name:</td><td align="left">hal.stderr</td>
1876
</tr>
1877
<tr>
1878
<td width="20%">Identifier:</td><td>NONE</td>
1879
</tr>
1880
<tr>
1881
<td width="20%">Default Value:</td><td>none</td>
1882
</tr>
1883
<tr>
1884
<td width="20%">Value:</td><td>jtag_uart</td>
1885
</tr>
1886
<tr>
1887
<td width="20%">Type:</td><td>UnquotedString</td>
1888
</tr>
1889
<tr mode="wrap">
1890
<td width="20%">Destination:</td><td>system_h_define</td>
1891
</tr>
1892
<tr mode="wrap">
1893
<td width="20%">Description:</td><td>Slave descriptor of STDERR character-mode device. This setting is used by the ALT_STDERR family of defines in system.h.</td>
1894
</tr>
1895
<tr mode="wrap">
1896
<td width="20%">Restrictions:</td><td>none</td>
1897
</tr>
1898
</table>
1899
<br>
1900
<table border="1" bgcolor="#FFFFCC" width="60%">
1901
<tr bgcolor="#77BBFF">
1902
<td align="left" width="15%">Setting Name:</td><td align="left">hal.stdin</td>
1903
</tr>
1904
<tr>
1905
<td width="20%">Identifier:</td><td>NONE</td>
1906
</tr>
1907
<tr>
1908
<td width="20%">Default Value:</td><td>none</td>
1909
</tr>
1910
<tr>
1911
<td width="20%">Value:</td><td>jtag_uart</td>
1912
</tr>
1913
<tr>
1914
<td width="20%">Type:</td><td>UnquotedString</td>
1915
</tr>
1916
<tr mode="wrap">
1917
<td width="20%">Destination:</td><td>system_h_define</td>
1918
</tr>
1919
<tr mode="wrap">
1920
<td width="20%">Description:</td><td>Slave descriptor of STDIN character-mode device. This setting is used by the ALT_STDIN family of defines in system.h.</td>
1921
</tr>
1922
<tr mode="wrap">
1923
<td width="20%">Restrictions:</td><td>none</td>
1924
</tr>
1925
</table>
1926
<br>
1927
<table border="1" bgcolor="#FFFFCC" width="60%">
1928
<tr bgcolor="#77BBFF">
1929
<td align="left" width="15%">Setting Name:</td><td align="left">hal.stdout</td>
1930
</tr>
1931
<tr>
1932
<td width="20%">Identifier:</td><td>NONE</td>
1933
</tr>
1934
<tr>
1935
<td width="20%">Default Value:</td><td>none</td>
1936
</tr>
1937
<tr>
1938
<td width="20%">Value:</td><td>jtag_uart</td>
1939
</tr>
1940
<tr>
1941
<td width="20%">Type:</td><td>UnquotedString</td>
1942
</tr>
1943
<tr mode="wrap">
1944
<td width="20%">Destination:</td><td>system_h_define</td>
1945
</tr>
1946
<tr mode="wrap">
1947
<td width="20%">Description:</td><td>Slave descriptor of STDOUT character-mode device. This setting is used by the ALT_STDOUT family of defines in system.h.</td>
1948
</tr>
1949
<tr mode="wrap">
1950
<td width="20%">Restrictions:</td><td>none</td>
1951
</tr>
1952
</table>
1953
<br>
1954
<table border="1" bgcolor="#FFFFCC" width="60%">
1955
<tr bgcolor="#77BBFF">
1956
<td align="left" width="15%">Setting Name:</td><td align="left">hal.sys_clk_timer</td>
1957
</tr>
1958
<tr>
1959
<td width="20%">Identifier:</td><td>ALT_SYS_CLK</td>
1960
</tr>
1961
<tr>
1962
<td width="20%">Default Value:</td><td>none</td>
1963
</tr>
1964
<tr>
1965
<td width="20%">Value:</td><td>none</td>
1966
</tr>
1967
<tr>
1968
<td width="20%">Type:</td><td>UnquotedString</td>
1969
</tr>
1970
<tr mode="wrap">
1971
<td width="20%">Destination:</td><td>system_h_define</td>
1972
</tr>
1973
<tr mode="wrap">
1974
<td width="20%">Description:</td><td>Slave descriptor of the system clock timer device. This device provides a periodic interrupt ("tick") and is typically required for RTOS use. This setting defines the value of ALT_SYS_CLK in system.h.</td>
1975
</tr>
1976
<tr mode="wrap">
1977
<td width="20%">Restrictions:</td><td>none</td>
1978
</tr>
1979
</table>
1980
<br>
1981
<table border="1" bgcolor="#FFFFCC" width="60%">
1982
<tr bgcolor="#77BBFF">
1983
<td align="left" width="15%">Setting Name:</td><td align="left">hal.timestamp_timer</td>
1984
</tr>
1985
<tr>
1986
<td width="20%">Identifier:</td><td>ALT_TIMESTAMP_CLK</td>
1987
</tr>
1988
<tr>
1989
<td width="20%">Default Value:</td><td>none</td>
1990
</tr>
1991
<tr>
1992
<td width="20%">Value:</td><td>none</td>
1993
</tr>
1994
<tr>
1995
<td width="20%">Type:</td><td>UnquotedString</td>
1996
</tr>
1997
<tr mode="wrap">
1998
<td width="20%">Destination:</td><td>system_h_define</td>
1999
</tr>
2000
<tr mode="wrap">
2001
<td width="20%">Description:</td><td>Slave descriptor of timestamp timer device. This device is used by Altera HAL timestamp drivers for high-resolution time measurement. This setting defines the value of ALT_TIMESTAMP_CLK in system.h.</td>
2002
</tr>
2003
<tr mode="wrap">
2004
<td width="20%">Restrictions:</td><td>none</td>
2005
</tr>
2006
</table>
2007
<br>
2008
<br>
2009
<br>
2010
</body>
2011
</html>

powered by: WebSVN 2.1.0

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