OpenCores
URL https://opencores.org/ocsvn/usb_ft232h_avalon-mm_interface/usb_ft232h_avalon-mm_interface/trunk

Subversion Repositories usb_ft232h_avalon-mm_interface

[/] [usb_ft232h_avalon-mm_interface/] [trunk/] [testbench/] [altera_project/] [test_usb_ft232h/] [software/] [usb_ft232h_bsp/] [settings.bsp] - Blame information for rev 6

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 6 melman701
2
3
        hal
4
        default
5
        Apr 7, 2017 5:55:28 PM
6
        1491576928819
7
        /mnt/2E8816D588169B81/edv/workspace/usb_ft232h/altera/test_usb_ft232h/software/usb_ft232h_bsp
8
        settings.bsp
9
        ../../sopc.sopcinfo
10
        default
11
        cpu
12
        1.9
13
        
14
                hal.sys_clk_timer
15
                ALT_SYS_CLK
16
                UnquotedString
17
                none
18
                none
19
                system_h_define
20
                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.
21
                none
22
                false
23
                common
24
        
25
        
26
                hal.timestamp_timer
27
                ALT_TIMESTAMP_CLK
28
                UnquotedString
29
                none
30
                none
31
                system_h_define
32
                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.
33
                none
34
                false
35
                common
36
        
37
        
38
                hal.max_file_descriptors
39
                ALT_MAX_FD
40
                DecimalNumber
41
                32
42
                32
43
                system_h_define
44
                Determines the number of file descriptors statically allocated. This setting defines the value of ALT_MAX_FD in system.h.
45
                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.
46
                false
47
                
48
        
49
        
50
                hal.enable_instruction_related_exceptions_api
51
                ALT_INCLUDE_INSTRUCTION_RELATED_EXCEPTION_API
52
                BooleanDefineOnly
53
                true
54
                false
55
                system_h_define
56
                Enables API for registering handlers to service instruction-related exceptions. Enabling this setting increases the size of the exception entry code.
57
                These exception types can be generated if various processor options are enabled, such as the MMU, MPU, or other advanced exception types.
58
                false
59
                
60
        
61
        
62
                hal.linker.allow_code_at_reset
63
                ALT_ALLOW_CODE_AT_RESET
64
                Boolean
65
                1
66
                0
67
                none
68
                Indicates if initialization code is allowed at the reset address. If true, defines the macro ALT_ALLOW_CODE_AT_RESET in linker.h.
69
                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.
70
                false
71
                
72
        
73
        
74
                hal.linker.enable_alt_load
75
                none
76
                Boolean
77
                1
78
                0
79
                none
80
                Enables the alt_load() facility. The alt_load() facility copies data sections (.rodata, .rwdata, or .exceptions) from boot memory to 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.
81
                This setting is typically false if an external bootloader (e.g. flash bootloader) is present.
82
                false
83
                
84
        
85
        
86
                hal.linker.enable_alt_load_copy_rodata
87
                none
88
                Boolean
89
                0
90
                0
91
                none
92
                Causes the alt_load() facility to copy the .rodata section. If true, this setting defines the macro ALT_LOAD_COPY_RODATA in linker.h.
93
                none
94
                false
95
                
96
        
97
        
98
                hal.linker.enable_alt_load_copy_rwdata
99
                none
100
                Boolean
101
                1
102
                0
103
                none
104
                Causes the alt_load() facility to copy the .rwdata section. If true, this setting defines the macro ALT_LOAD_COPY_RWDATA in linker.h.
105
                none
106
                false
107
                
108
        
109
        
110
                hal.linker.enable_alt_load_copy_exceptions
111
                none
112
                Boolean
113
                0
114
                0
115
                none
116
                Causes the alt_load() facility to copy the .exceptions section. If true, this setting defines the macro ALT_LOAD_COPY_EXCEPTIONS in linker.h.
117
                none
118
                false
119
                
120
        
121
        
122
                hal.linker.enable_exception_stack
123
                none
124
                Boolean
125
                0
126
                0
127
                none
128
                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.
129
                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.
130
                false
131
                common
132
        
133
        
134
                hal.linker.exception_stack_size
135
                none
136
                DecimalNumber
137
                1024
138
                1024
139
                none
140
                Size of the exception stack in bytes.
141
                Only used if hal.linker.enable_exception_stack is true.
142
                false
143
                common
144
        
145
        
146
                hal.linker.exception_stack_memory_region_name
147
                none
148
                UnquotedString
149
                sdram
150
                none
151
                none
152
                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.
153
                Only used if hal.linker.enable_exception_stack is true.
154
                false
155
                common
156
        
157
        
158
                hal.linker.enable_interrupt_stack
159
                none
160
                Boolean
161
                0
162
                0
163
                none
164
                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.
165
                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.
166
                false
167
                common
168
        
169
        
170
                hal.linker.interrupt_stack_size
171
                none
172
                DecimalNumber
173
                1024
174
                1024
175
                none
176
                Size of the interrupt stack in bytes.
177
                Only used if hal.linker.enable_interrupt_stack is true.
178
                false
179
                common
180
        
181
        
182
                hal.linker.interrupt_stack_memory_region_name
183
                none
184
                UnquotedString
185
                sdram
186
                none
187
                none
188
                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.
189
                Only used if hal.linker.enable_interrupt_stack is true.
190
                false
191
                common
192
        
193
        
194
                hal.stdin
195
                none
196
                UnquotedString
197
                jtag_uart
198
                none
199
                system_h_define
200
                Slave descriptor of STDIN character-mode device. This setting is used by the ALT_STDIN family of defines in system.h.
201
                none
202
                false
203
                common
204
        
205
        
206
                hal.stdout
207
                none
208
                UnquotedString
209
                jtag_uart
210
                none
211
                system_h_define
212
                Slave descriptor of STDOUT character-mode device. This setting is used by the ALT_STDOUT family of defines in system.h.
213
                none
214
                false
215
                common
216
        
217
        
218
                hal.stderr
219
                none
220
                UnquotedString
221
                jtag_uart
222
                none
223
                system_h_define
224
                Slave descriptor of STDERR character-mode device. This setting is used by the ALT_STDERR family of defines in system.h.
225
                none
226
                false
227
                common
228
        
229
        
230
                hal.log_port
231
                none
232
                UnquotedString
233
                none
234
                none
235
                public_mk_define
236
                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.
237
                none
238
                false
239
                none
240
        
241
        
242
                hal.make.build_pre_process
243
                BUILD_PRE_PROCESS
244
                UnquotedString
245
                none
246
                none
247
                makefile_variable
248
                Command executed before BSP built.
249
                none
250
                false
251
                none
252
        
253
        
254
                hal.make.ar_pre_process
255
                AR_PRE_PROCESS
256
                UnquotedString
257
                none
258
                none
259
                makefile_variable
260
                Command executed before archiver execution.
261
                none
262
                false
263
                none
264
        
265
        
266
                hal.make.bsp_cflags_defined_symbols
267
                BSP_CFLAGS_DEFINED_SYMBOLS
268
                UnquotedString
269
                none
270
                none
271
                makefile_variable
272
                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.
273
                none
274
                false
275
                none
276
        
277
        
278
                hal.make.ar_post_process
279
                AR_POST_PROCESS
280
                UnquotedString
281
                none
282
                none
283
                makefile_variable
284
                Command executed after archiver execution.
285
                none
286
                false
287
                none
288
        
289
        
290
                hal.make.as
291
                AS
292
                UnquotedString
293
                nios2-elf-gcc
294
                nios2-elf-gcc
295
                makefile_variable
296
                Assembler command. Note that CC is used for .S files.
297
                none
298
                false
299
                none
300
        
301
        
302
                hal.make.build_post_process
303
                BUILD_POST_PROCESS
304
                UnquotedString
305
                none
306
                none
307
                makefile_variable
308
                Command executed after BSP built.
309
                none
310
                false
311
                none
312
        
313
        
314
                hal.make.bsp_cflags_debug
315
                BSP_CFLAGS_DEBUG
316
                UnquotedString
317
                -g
318
                -g
319
                makefile_variable
320
                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.
321
                none
322
                false
323
                common
324
        
325
        
326
                hal.make.ar
327
                AR
328
                UnquotedString
329
                nios2-elf-ar
330
                nios2-elf-ar
331
                makefile_variable
332
                Archiver command. Creates library files.
333
                none
334
                false
335
                none
336
        
337
        
338
                hal.make.rm
339
                RM
340
                UnquotedString
341
                rm -f
342
                rm -f
343
                makefile_variable
344
                Command used to remove files during 'clean' target.
345
                none
346
                false
347
                none
348
        
349
        
350
                hal.make.cxx_pre_process
351
                CXX_PRE_PROCESS
352
                UnquotedString
353
                none
354
                none
355
                makefile_variable
356
                Command executed before each C++ file is compiled.
357
                none
358
                false
359
                none
360
        
361
        
362
                hal.make.bsp_cflags_warnings
363
                BSP_CFLAGS_WARNINGS
364
                UnquotedString
365
                -Wall
366
                -Wall
367
                makefile_variable
368
                C/C++ compiler warning level. "-Wall" is commonly used.This setting defines the value of BSP_CFLAGS_WARNINGS in Makefile.
369
                none
370
                false
371
                none
372
        
373
        
374
                hal.make.bsp_arflags
375
                BSP_ARFLAGS
376
                UnquotedString
377
                -src
378
                -src
379
                makefile_variable
380
                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.
381
                none
382
                false
383
                none
384
        
385
        
386
                hal.make.bsp_cflags_optimization
387
                BSP_CFLAGS_OPTIMIZATION
388
                UnquotedString
389
                -O0
390
                -O0
391
                makefile_variable
392
                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.
393
                none
394
                false
395
                common
396
        
397
        
398
                hal.make.as_post_process
399
                AS_POST_PROCESS
400
                UnquotedString
401
                none
402
                none
403
                makefile_variable
404
                Command executed after each assembly file is compiled.
405
                none
406
                false
407
                none
408
        
409
        
410
                hal.make.cc_pre_process
411
                CC_PRE_PROCESS
412
                UnquotedString
413
                none
414
                none
415
                makefile_variable
416
                Command executed before each .c/.S file is compiled.
417
                none
418
                false
419
                none
420
        
421
        
422
                hal.make.bsp_asflags
423
                BSP_ASFLAGS
424
                UnquotedString
425
                -Wa,-gdwarf2
426
                -Wa,-gdwarf2
427
                makefile_variable
428
                Custom flags only passed to the assembler. This setting defines the value of BSP_ASFLAGS in Makefile.
429
                none
430
                false
431
                none
432
        
433
        
434
                hal.make.as_pre_process
435
                AS_PRE_PROCESS
436
                UnquotedString
437
                none
438
                none
439
                makefile_variable
440
                Command executed before each assembly file is compiled.
441
                none
442
                false
443
                none
444
        
445
        
446
                hal.make.bsp_cflags_undefined_symbols
447
                BSP_CFLAGS_UNDEFINED_SYMBOLS
448
                UnquotedString
449
                none
450
                none
451
                makefile_variable
452
                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.
453
                none
454
                false
455
                none
456
        
457
        
458
                hal.make.cc_post_process
459
                CC_POST_PROCESS
460
                UnquotedString
461
                none
462
                none
463
                makefile_variable
464
                Command executed after each .c/.S file is compiled.
465
                none
466
                false
467
                none
468
        
469
        
470
                hal.make.cxx_post_process
471
                CXX_POST_PROCESS
472
                UnquotedString
473
                none
474
                none
475
                makefile_variable
476
                Command executed before each C++ file is compiled.
477
                none
478
                false
479
                none
480
        
481
        
482
                hal.make.cc
483
                CC
484
                UnquotedString
485
                nios2-elf-gcc -xc
486
                nios2-elf-gcc -xc
487
                makefile_variable
488
                C compiler command.
489
                none
490
                false
491
                none
492
        
493
        
494
                hal.make.bsp_cxx_flags
495
                BSP_CXXFLAGS
496
                UnquotedString
497
                none
498
                none
499
                makefile_variable
500
                Custom flags only passed to the C++ compiler. This setting defines the value of BSP_CXXFLAGS in Makefile.
501
                none
502
                false
503
                none
504
        
505
        
506
                hal.make.bsp_inc_dirs
507
                BSP_INC_DIRS
508
                UnquotedString
509
                none
510
                none
511
                makefile_variable
512
                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.
513
                none
514
                false
515
                none
516
        
517
        
518
                hal.make.cxx
519
                CXX
520
                UnquotedString
521
                nios2-elf-gcc -xc++
522
                nios2-elf-gcc -xc++
523
                makefile_variable
524
                C++ compiler command.
525
                none
526
                false
527
                none
528
        
529
        
530
                hal.make.bsp_cflags_user_flags
531
                BSP_CFLAGS_USER_FLAGS
532
                UnquotedString
533
                none
534
                none
535
                makefile_variable
536
                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.
537
                none
538
                false
539
                none
540
        
541
        
542
                hal.make.cflags_mgpopt
543
                CFLAGS_MGPOPT
544
                UnquotedString
545
                -mgpopt=local
546
                -mgpopt=global
547
                public_mk_define
548
                C/C++ compiler to generate (do not generate) GP-relative accesses. 'none' tells the compilter not to generate GP-relative accesses. 'local' will generate GP-relative accesses for small data objects that are not external, weak, or uninitialized common symbols. Also use GP-relative addressing for objects that have been explicitly placed in a small data section via a section attribute. provides the default set of debug symbols typically required to debug a typical application. 'global' is same as 'local' but also generate GP-relative accesses for small data objects that are external, weak, or common.
549
                none
550
                false
551
                common
552
        
553
        
554
                hal.make.ignore_system_derived.sopc_system_id
555
                none
556
                Boolean
557
                0
558
                0
559
                public_mk_define
560
                Enable BSP generation to query SOPC system for system ID. If true ignores export of 'SOPC_SYSID_FLAG += --id=<sysid>' and 'ELF_PATCH_FLAG  += --id=<sysid>' to public.mk.
561
                none
562
                false
563
                none
564
        
565
        
566
                hal.make.ignore_system_derived.sopc_system_timestamp
567
                none
568
                Boolean
569
                0
570
                0
571
                public_mk_define
572
                Enable BSP generation to query SOPC system for system timestamp. If true ignores export of 'SOPC_SYSID_FLAG += --timestamp=<timestamp>' and 'ELF_PATCH_FLAG  += --timestamp=<timestamp>' to public.mk.
573
                none
574
                false
575
                none
576
        
577
        
578
                hal.make.ignore_system_derived.sopc_system_base_address
579
                none
580
                Boolean
581
                0
582
                0
583
                public_mk_define
584
                Enable BSP generation to query SOPC system for system ID base address. If true ignores export of 'SOPC_SYSID_FLAG += --sidp=<address>' and 'ELF_PATCH_FLAG  += --sidp=<address>' to public.mk.
585
                none
586
                false
587
                none
588
        
589
        
590
                hal.make.ignore_system_derived.sopc_simulation_enabled
591
                none
592
                Boolean
593
                0
594
                0
595
                public_mk_define
596
                Enable BSP generation to query if SOPC system has simulation enabled. If true ignores export of 'ELF_PATCH_FLAG  += --simulation_enabled' to public.mk.
597
                none
598
                false
599
                none
600
        
601
        
602
                hal.make.ignore_system_derived.fpu_present
603
                none
604
                Boolean
605
                0
606
                0
607
                public_mk_define
608
                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.
609
                none
610
                false
611
                none
612
        
613
        
614
                hal.make.ignore_system_derived.cdx_present
615
                none
616
                Boolean
617
                0
618
                0
619
                public_mk_define
620
                If true, prevents GCC from using CDX instructions. If false, GCC uses CDX instructions if present in the CPU.
621
                none
622
                false
623
                none
624
        
625
        
626
                hal.make.ignore_system_derived.bmx_present
627
                none
628
                Boolean
629
                0
630
                0
631
                public_mk_define
632
                If true, prevents GCC from using BMX instructions. If false, GCC uses BMX instructions if present in the CPU.
633
                none
634
                false
635
                none
636
        
637
        
638
                hal.make.ignore_system_derived.hardware_multiplier_present
639
                none
640
                Boolean
641
                0
642
                0
643
                public_mk_define
644
                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.
645
                none
646
                false
647
                none
648
        
649
        
650
                hal.make.ignore_system_derived.hardware_mulx_present
651
                none
652
                Boolean
653
                0
654
                0
655
                public_mk_define
656
                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.
657
                none
658
                false
659
                none
660
        
661
        
662
                hal.make.ignore_system_derived.hardware_divide_present
663
                none
664
                Boolean
665
                0
666
                0
667
                public_mk_define
668
                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.
669
                none
670
                false
671
                none
672
        
673
        
674
                hal.make.ignore_system_derived.debug_core_present
675
                none
676
                Boolean
677
                0
678
                0
679
                public_mk_define
680
                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.
681
                none
682
                false
683
                none
684
        
685
        
686
                hal.make.ignore_system_derived.big_endian
687
                none
688
                Boolean
689
                0
690
                0
691
                public_mk_define
692
                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.
693
                none
694
                false
695
                none
696
        
697
        
698
                hal.make.ignore_system_derived.hardware_fp_cust_inst_divider_present
699
                none
700
                Boolean
701
                0
702
                0
703
                public_mk_define
704
                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.
705
                none
706
                false
707
                none
708
        
709
        
710
                hal.make.ignore_system_derived.hardware_fp_cust_inst_no_divider_present
711
                none
712
                Boolean
713
                0
714
                0
715
                public_mk_define
716
                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.
717
                none
718
                false
719
                none
720
        
721
        
722
                hal.enable_exit
723
                ALT_NO_EXIT
724
                Boolean
725
                1
726
                1
727
                public_mk_define
728
                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
729
                none
730
                false
731
                none
732
        
733
        
734
                hal.enable_small_c_library
735
                none
736
                Boolean
737
                0
738
                0
739
                public_mk_define
740
                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.
741
                none
742
                false
743
                common
744
        
745
        
746
                hal.enable_clean_exit
747
                ALT_NO_CLEAN_EXIT
748
                Boolean
749
                1
750
                1
751
                public_mk_define
752
                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.
753
                none
754
                false
755
                none
756
        
757
        
758
                hal.enable_runtime_stack_checking
759
                ALT_STACK_CHECK
760
                Boolean
761
                0
762
                0
763
                public_mk_define
764
                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.
765
                none
766
                false
767
                none
768
        
769
        
770
                hal.enable_gprof
771
                ALT_PROVIDE_GMON
772
                Boolean
773
                0
774
                0
775
                public_mk_define
776
                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.
777
                none
778
                false
779
                common
780
        
781
        
782
                hal.enable_c_plus_plus
783
                ALT_NO_C_PLUS_PLUS
784
                Boolean
785
                1
786
                1
787
                public_mk_define
788
                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.
789
                none
790
                false
791
                none
792
        
793
        
794
                hal.enable_reduced_device_drivers
795
                ALT_USE_SMALL_DRIVERS
796
                Boolean
797
                0
798
                0
799
                public_mk_define
800
                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.
801
                none
802
                false
803
                common
804
        
805
        
806
                hal.enable_lightweight_device_driver_api
807
                ALT_USE_DIRECT_DRIVERS
808
                Boolean
809
                0
810
                0
811
                public_mk_define
812
                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.
813
                The Altera Host and read-only ZIP file systems can't be used if hal.enable_lightweight_device_driver_api is true.
814
                false
815
                none
816
        
817
        
818
                hal.enable_mul_div_emulation
819
                ALT_NO_INSTRUCTION_EMULATION
820
                Boolean
821
                0
822
                0
823
                public_mk_define
824
                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.
825
                none
826
                false
827
                none
828
        
829
        
830
                hal.enable_sim_optimize
831
                ALT_SIM_OPTIMIZE
832
                Boolean
833
                0
834
                0
835
                public_mk_define
836
                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.
837
                When this setting is true, the BSP shouldn't be used to build applications that are expected to run real hardware.
838
                false
839
                common
840
        
841
        
842
                hal.enable_sopc_sysid_check
843
                none
844
                Boolean
845
                1
846
                1
847
                public_mk_define
848
                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.
849
                none
850
                false
851
                none
852
        
853
        
854
                hal.custom_newlib_flags
855
                CUSTOM_NEWLIB_FLAGS
856
                UnquotedString
857
                none
858
                none
859
                public_mk_define
860
                Build a custom version of newlib with the specified space-separated compiler flags.
861
                The custom newlib build will be placed in the <bsp root>/newlib directory, and will be used only for applications that utilize this BSP.
862
                false
863
                none
864
        
865
        
866
                hal.log_flags
867
                ALT_LOG_FLAGS
868
                DecimalNumber
869
                0
870
                0
871
                public_mk_define
872
                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.
873
                hal.log_port must be set for this to be used.
874
                false
875
                none
876
        
877
        
878
                altera_avalon_jtag_uart_driver.enable_small_driver
879
                ALTERA_AVALON_JTAG_UART_SMALL
880
                BooleanDefineOnly
881
                false
882
                false
883
                public_mk_define
884
                Small-footprint (polled mode) driver
885
                none
886
                false
887
                
888
        
889
        
890
                altera_avalon_jtag_uart_driver.enable_jtag_uart_ignore_fifo_full_error
891
                ALTERA_AVALON_JTAG_UART_IGNORE_FIFO_FULL_ERROR
892
                BooleanDefineOnly
893
                false
894
                false
895
                public_mk_define
896
                Enable JTAG UART driver to recover when host is inactive causing buffer to full without returning error. Printf will not fail with this recovery.
897
                none
898
                false
899
                
900
        
901
        
902
                led
903
                0x00000000 - 0x0000000F
904
                16
905
                
906
        
907
        
908
                sdram
909
                0x00800000 - 0x00FFFFFF
910
                8388608
911
                memory
912
        
913
        
914
                dma_rx
915
                0x01001000 - 0x0100101F
916
                32
917
                
918
        
919
        
920
                dma_tx
921
                0x01001020 - 0x0100103F
922
                32
923
                
924
        
925
        
926
                sysid
927
                0x01001048 - 0x0100104F
928
                8
929
                
930
        
931
        
932
                usb
933
                0x01001050 - 0x01001057
934
                8
935
                
936
        
937
        
938
                jtag_uart
939
                0x01001058 - 0x0100105F
940
                8
941
                printable
942
        
943
        
944
                .text
945
                sdram
946
        
947
        
948
                .rodata
949
                sdram
950
        
951
        
952
                .rwdata
953
                sdram
954
        
955
        
956
                .bss
957
                sdram
958
        
959
        
960
                .heap
961
                sdram
962
        
963
        
964
                .stack
965
                sdram
966
        
967

powered by: WebSVN 2.1.0

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