BSP Type: | hal |
SOPC Design File: | ..\..\cpu.sopcinfo |
Quartus JDI File: | default |
CPU: | nios |
BSP Settings File: | .\settings.bsp |
BSP Version: | 9.1 |
BSP Generated On: | 05.06.2012 9:12:45 |
BSP Timestamp: | 1338876765593 |
Slave Descriptor | Address Range | Size | Attributes |
---|---|---|---|
jtag_uart | 0x00003420 - 0x00003427 | 8 | printable |
pio_tmi | 0x00003410 - 0x0000341F | 16 | |
pio_out | 0x00003400 - 0x0000340F | 16 | |
vic | 0x00003000 - 0x000033FF | 1024 | |
onchip_memory_instr | 0x00001000 - 0x00001FFF | 4096 | memory |
Region | Address Range | Size | Memory | Offset |
---|---|---|---|---|
onchip_memory_instr | 0x00001020 - 0x00001FFF | 4064 | onchip_memory_instr | 32 |
reset | 0x00001000 - 0x0000101F | 32 | onchip_memory_instr | 0 |
Section | Region |
---|---|
.text | onchip_memory_instr |
.rodata | onchip_memory_instr |
.rwdata | onchip_memory_instr |
.bss | onchip_memory_instr |
.heap | onchip_memory_instr |
.stack | onchip_memory_instr |
Module Name | Driver | Version |
---|---|---|
jtag_uart | altera_avalon_jtag_uart_driver | default |
pio_out | altera_avalon_pio_driver | default |
pio_tmi | altera_avalon_pio_driver | default |
vic | altera_vic_driver | default |
Setting Name: | altera_avalon_jtag_uart_driver.enable_small_driver |
Identifier: | ALTERA_AVALON_JTAG_UART_SMALL |
Default Value: | false |
Value: | false |
Type: | BooleanDefineOnly |
Destination: | public_mk_define |
Description: | Small-footprint (polled mode) driver |
Restrictions: | none |
Setting Name: | altera_vic_driver.enable_preemption |
Identifier: | ALTERA_VIC_DRIVER_ISR_PREEMPTION_ENABLED |
Default Value: | 1 |
Value: | 1 |
Type: | BooleanDefineOnly |
Destination: | system_h_define |
Description: | Enables global interrupt preemption. If true, defines the macro ALTERA_VIC_DRIVER_ISR_PREEMPTION_ENABLED in system.h |
Restrictions: | none |
Setting Name: | altera_vic_driver.enable_preemption_into_new_register_set |
Identifier: | ALTERA_VIC_DRIVER_PREEMPTION_INTO_NEW_REGISTER_SET_ENABLED |
Default Value: | 0 |
Value: | 0 |
Type: | BooleanDefineOnly |
Destination: | system_h_define |
Description: | Enables preemption into new register set. If true, defines the macro ALTERA_VIC_DRIVER_PREEMPTION_INTO_NEW_REGISTER_SET_ENABLED in system.h |
Restrictions: | none |
Setting Name: | altera_vic_driver.enable_preemption_rs_1 |
Identifier: | ALTERA_VIC_DRIVER_ENABLE_PREEMPTION_RS_1 |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Enables preemption for register set 1. |
Restrictions: | none |
Setting Name: | altera_vic_driver.enable_preemption_rs_2 |
Identifier: | ALTERA_VIC_DRIVER_ENABLE_PREEMPTION_RS_2 |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Enables preemption for register set 2. |
Restrictions: | none |
Setting Name: | altera_vic_driver.enable_preemption_rs_3 |
Identifier: | ALTERA_VIC_DRIVER_ENABLE_PREEMPTION_RS_3 |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Enables preemption for register set 3. |
Restrictions: | none |
Setting Name: | altera_vic_driver.linker_section |
Identifier: | ALTERA_VIC_DRIVER_LINKER_SECTION |
Default Value: | .text |
Value: | .text |
Type: | UnquotedString |
Destination: | system_h_define |
Description: | Linker section for vector table(s) and funnel code. This memory section must connect to data and instruction master of the CPU. |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq0_ril |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ0_RIL |
Default Value: | 15 |
Value: | 15 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested interrupt level (RIL) value for IRQ0 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq0_rnmi |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ0_RNMI |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Requested non-maskable interrupt (RNMI) value for IRQ0 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq0_rrs |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ0_RRS |
Default Value: | 3 |
Value: | 3 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested register set (RRS) value for IRQ0 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq1_ril |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ1_RIL |
Default Value: | 14 |
Value: | 14 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested interrupt level (RIL) value for IRQ1 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq1_rnmi |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ1_RNMI |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Requested non-maskable interrupt (RNMI) value for IRQ1 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq1_rrs |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ1_RRS |
Default Value: | 2 |
Value: | 2 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested register set (RRS) value for IRQ1 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq10_ril |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ10_RIL |
Default Value: | 5 |
Value: | 5 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested interrupt level (RIL) value for IRQ10 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq10_rnmi |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ10_RNMI |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Requested non-maskable interrupt (RNMI) value for IRQ10 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq10_rrs |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ10_RRS |
Default Value: | 1 |
Value: | 1 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested register set (RRS) value for IRQ10 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq11_ril |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ11_RIL |
Default Value: | 4 |
Value: | 4 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested interrupt level (RIL) value for IRQ11 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq11_rnmi |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ11_RNMI |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Requested non-maskable interrupt (RNMI) value for IRQ11 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq11_rrs |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ11_RRS |
Default Value: | 1 |
Value: | 1 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested register set (RRS) value for IRQ11 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq12_ril |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ12_RIL |
Default Value: | 3 |
Value: | 3 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested interrupt level (RIL) value for IRQ12 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq12_rnmi |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ12_RNMI |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Requested non-maskable interrupt (RNMI) value for IRQ12 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq12_rrs |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ12_RRS |
Default Value: | 1 |
Value: | 1 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested register set (RRS) value for IRQ12 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq13_ril |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ13_RIL |
Default Value: | 2 |
Value: | 2 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested interrupt level (RIL) value for IRQ13 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq13_rnmi |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ13_RNMI |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Requested non-maskable interrupt (RNMI) value for IRQ13 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq13_rrs |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ13_RRS |
Default Value: | 1 |
Value: | 1 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested register set (RRS) value for IRQ13 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq14_ril |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ14_RIL |
Default Value: | 1 |
Value: | 1 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested interrupt level (RIL) value for IRQ14 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq14_rnmi |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ14_RNMI |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Requested non-maskable interrupt (RNMI) value for IRQ14 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq14_rrs |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ14_RRS |
Default Value: | 1 |
Value: | 1 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested register set (RRS) value for IRQ14 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq15_ril |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ15_RIL |
Default Value: | 1 |
Value: | 1 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested interrupt level (RIL) value for IRQ15 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq15_rnmi |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ15_RNMI |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Requested non-maskable interrupt (RNMI) value for IRQ15 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq15_rrs |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ15_RRS |
Default Value: | 1 |
Value: | 1 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested register set (RRS) value for IRQ15 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq2_ril |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ2_RIL |
Default Value: | 13 |
Value: | 13 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested interrupt level (RIL) value for IRQ2 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq2_rnmi |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ2_RNMI |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Requested non-maskable interrupt (RNMI) value for IRQ2 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq2_rrs |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ2_RRS |
Default Value: | 1 |
Value: | 1 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested register set (RRS) value for IRQ2 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq3_ril |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ3_RIL |
Default Value: | 12 |
Value: | 12 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested interrupt level (RIL) value for IRQ3 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq3_rnmi |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ3_RNMI |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Requested non-maskable interrupt (RNMI) value for IRQ3 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq3_rrs |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ3_RRS |
Default Value: | 1 |
Value: | 1 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested register set (RRS) value for IRQ3 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq4_ril |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ4_RIL |
Default Value: | 11 |
Value: | 11 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested interrupt level (RIL) value for IRQ4 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq4_rnmi |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ4_RNMI |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Requested non-maskable interrupt (RNMI) value for IRQ4 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq4_rrs |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ4_RRS |
Default Value: | 1 |
Value: | 1 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested register set (RRS) value for IRQ4 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq5_ril |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ5_RIL |
Default Value: | 10 |
Value: | 10 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested interrupt level (RIL) value for IRQ5 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq5_rnmi |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ5_RNMI |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Requested non-maskable interrupt (RNMI) value for IRQ5 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq5_rrs |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ5_RRS |
Default Value: | 1 |
Value: | 1 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested register set (RRS) value for IRQ5 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq6_ril |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ6_RIL |
Default Value: | 9 |
Value: | 9 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested interrupt level (RIL) value for IRQ6 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq6_rnmi |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ6_RNMI |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Requested non-maskable interrupt (RNMI) value for IRQ6 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq6_rrs |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ6_RRS |
Default Value: | 1 |
Value: | 1 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested register set (RRS) value for IRQ6 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq7_ril |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ7_RIL |
Default Value: | 8 |
Value: | 8 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested interrupt level (RIL) value for IRQ7 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq7_rnmi |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ7_RNMI |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Requested non-maskable interrupt (RNMI) value for IRQ7 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq7_rrs |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ7_RRS |
Default Value: | 1 |
Value: | 1 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested register set (RRS) value for IRQ7 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq8_ril |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ8_RIL |
Default Value: | 7 |
Value: | 7 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested interrupt level (RIL) value for IRQ8 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq8_rnmi |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ8_RNMI |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Requested non-maskable interrupt (RNMI) value for IRQ8 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq8_rrs |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ8_RRS |
Default Value: | 1 |
Value: | 1 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested register set (RRS) value for IRQ8 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq9_ril |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ9_RIL |
Default Value: | 6 |
Value: | 6 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested interrupt level (RIL) value for IRQ9 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq9_rnmi |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ9_RNMI |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | system_h_define |
Description: | Requested non-maskable interrupt (RNMI) value for IRQ9 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.irq9_rrs |
Identifier: | ALTERA_VIC_DRIVER_VIC_IRQ9_RRS |
Default Value: | 1 |
Value: | 1 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | Requested register set (RRS) value for IRQ9 of 'vic' |
Restrictions: | none |
Setting Name: | altera_vic_driver.VIC.vec_size |
Identifier: | VIC_VEC_SIZE |
Default Value: | 16 |
Value: | 16 |
Type: | DecimalNumber |
Destination: | system_h_define |
Description: | The number of bytes in each vector table entry. Supported values are 16, 32, 64, 128, 256 and 512. |
Restrictions: | none |
Setting Name: | hal.custom_newlib_flags |
Identifier: | CUSTOM_NEWLIB_FLAGS |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | public_mk_define |
Description: | Build a custom version of newlib with the specified space-separated compilerflags. |
Restrictions: | The custom newlib build will be placed in the <bsp root>/newlib directory, and will be used only for applications that utilize this BSP. |
Setting Name: | hal.enable_c_plus_plus |
Identifier: | ALT_NO_C_PLUS_PLUS |
Default Value: | 1 |
Value: | 0 |
Type: | Boolean |
Destination: | public_mk_define |
Description: | 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. |
Restrictions: | none |
Setting Name: | hal.enable_clean_exit |
Identifier: | ALT_NO_CLEAN_EXIT |
Default Value: | 1 |
Value: | 0 |
Type: | Boolean |
Destination: | public_mk_define |
Description: | 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 and -Wl,--defsym, exit=_exit to ALT_LDFLAGS in public.mk. |
Restrictions: | none |
Setting Name: | hal.enable_exit |
Identifier: | ALT_NO_EXIT |
Default Value: | 1 |
Value: | 0 |
Type: | Boolean |
Destination: | public_mk_define |
Description: | 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. |
Restrictions: | none |
Setting Name: | hal.enable_gprof |
Identifier: | ALT_PROVIDE_GMON |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | public_mk_define |
Description: | 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. |
Restrictions: | none |
Setting Name: | hal.enable_instruction_related_exceptions_api |
Identifier: | none |
Default Value: | false |
Value: | false |
Type: | BooleanDefineOnly |
Destination: | none |
Description: | Enables API for registering handlers to service instruction-related exceptions. These exception types can be generated if various processor options are enabled, such as the MMU, MPU, or other advanced exception types. Enabling this setting increases the size of the exception entry code. |
Restrictions: | none |
Setting Name: | hal.enable_lightweight_device_driver_api |
Identifier: | ALT_USE_DIRECT_DRIVERS |
Default Value: | 0 |
Value: | 1 |
Type: | Boolean |
Destination: | public_mk_define |
Description: | 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. |
Restrictions: | The Altera Host and read-only ZIP file systems can't be used if hal.enable_lightweight_device_driver_api is true. |
Setting Name: | hal.enable_mul_div_emulation |
Identifier: | ALT_NO_INSTRUCTION_EMULATION |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | public_mk_define |
Description: | 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. |
Restrictions: | none |
Setting Name: | hal.enable_reduced_device_drivers |
Identifier: | ALT_USE_SMALL_DRIVERS |
Default Value: | 0 |
Value: | 1 |
Type: | Boolean |
Destination: | public_mk_define |
Description: | 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. |
Restrictions: | none |
Setting Name: | hal.enable_runtime_stack_checking |
Identifier: | ALT_STACK_CHECK |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | public_mk_define |
Description: | 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 -mstack-check to ALT_CPPFLAGS in public.mk. |
Restrictions: | none |
Setting Name: | hal.enable_sim_optimize |
Identifier: | ALT_SIM_OPTIMIZE |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | public_mk_define |
Description: | 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. |
Restrictions: | When this setting is true, the BSP shouldn't be used to build applications that are expected to run real hardware. |
Setting Name: | hal.enable_small_c_library |
Identifier: | none |
Default Value: | 0 |
Value: | 1 |
Type: | Boolean |
Destination: | public_mk_define |
Description: | 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. |
Restrictions: | none |
Setting Name: | hal.enable_sopc_sysid_check |
Identifier: | none |
Default Value: | 1 |
Value: | 1 |
Type: | Boolean |
Destination: | public_mk_define |
Description: | 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. |
Restrictions: | none |
Setting Name: | hal.linker.allow_code_at_reset |
Identifier: | none |
Default Value: | 0 |
Value: | 1 |
Type: | Boolean |
Destination: | none |
Description: | Indicates if initialization code is allowed at the reset address. If true, defines the macro ALT_ALLOW_CODE_AT_RESET in linker.h. |
Restrictions: | This setting is typically false if an external bootloader (e.g. flash bootloader) is present. |
Setting Name: | hal.linker.enable_alt_load |
Identifier: | none |
Default Value: | 0 |
Value: | 1 |
Type: | Boolean |
Destination: | none |
Description: | 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. |
Restrictions: | This setting is typically false if an external bootloader (e.g. flash bootloader) is present. |
Setting Name: | hal.linker.enable_alt_load_copy_exceptions |
Identifier: | none |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | none |
Description: | Causes the alt_load() facility to copy the .exceptions section. If true, this setting defines the macro ALT_LOAD_COPY_EXCEPTIONS in linker.h. |
Restrictions: | none |
Setting Name: | hal.linker.enable_alt_load_copy_rodata |
Identifier: | none |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | none |
Description: | Causes the alt_load() facility to copy the .rodata section. If true, this setting defines the macro ALT_LOAD_COPY_RODATA in linker.h. |
Restrictions: | none |
Setting Name: | hal.linker.enable_alt_load_copy_rwdata |
Identifier: | none |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | none |
Description: | Causes the alt_load() facility to copy the .rwdata section. If true, this setting defines the macro ALT_LOAD_COPY_RWDATA in linker.h. |
Restrictions: | none |
Setting Name: | hal.linker.enable_exception_stack |
Identifier: | none |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | none |
Description: | 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. |
Restrictions: | 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. |
Setting Name: | hal.linker.enable_interrupt_stack |
Identifier: | none |
Default Value: | 0 |
Value: | 0 |
Type: | Boolean |
Destination: | none |
Description: | 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. |
Restrictions: | 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. |
Setting Name: | hal.linker.exception_stack_memory_region_name |
Identifier: | none |
Default Value: | none |
Value: | onchip_memory_instr |
Type: | UnquotedString |
Destination: | none |
Description: | 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. |
Restrictions: | Only used if hal.linker.enable_exception_stack is true. |
Setting Name: | hal.linker.exception_stack_size |
Identifier: | none |
Default Value: | 1024 |
Value: | 1024 |
Type: | DecimalNumber |
Destination: | none |
Description: | Size of the exception stack in bytes. |
Restrictions: | Only used if hal.linker.enable_exception_stack is true. |
Setting Name: | hal.linker.interrupt_stack_memory_region_name |
Identifier: | none |
Default Value: | none |
Value: | onchip_memory_instr |
Type: | UnquotedString |
Destination: | none |
Description: | 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. |
Restrictions: | Only used if hal.linker.enable_interrupt_stack is true. |
Setting Name: | hal.linker.interrupt_stack_size |
Identifier: | none |
Default Value: | 1024 |
Value: | 1024 |
Type: | DecimalNumber |
Destination: | none |
Description: | Size of the interrupt stack in bytes. |
Restrictions: | Only used if hal.linker.enable_interrupt_stack is true. |
Setting Name: | hal.log_flags |
Identifier: | ALT_LOG_FLAGS |
Default Value: | 0 |
Value: | 0 |
Type: | DecimalNumber |
Destination: | public_mk_define |
Description: | The value is assigned to ALT_LOG_FLAGS in the generated public.mk. See hal.log_port setting description. Values can be 1 through 4. |
Restrictions: | hal.log_port must be set for this to be used. |
Setting Name: | hal.log_port |
Identifier: | LOG_PORT |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | public_mk_define |
Description: | 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. |
Restrictions: |
Setting Name: | hal.make.ar |
Identifier: | AR |
Default Value: | nios2-elf-ar |
Value: | nios2-elf-ar |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | Archiver command. Creates library files. |
Restrictions: | none |
Setting Name: | hal.make.ar_post_process |
Identifier: | AR_POST_PROCESS |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | Command executed after archiver execution. |
Restrictions: | none |
Setting Name: | hal.make.ar_pre_process |
Identifier: | AR_PRE_PROCESS |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | Command executed before archiver execution. |
Restrictions: | none |
Setting Name: | hal.make.as |
Identifier: | AS |
Default Value: | nios2-elf-gcc |
Value: | nios2-elf-gcc |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | Assembler command. Note that CC is used for .S files. |
Restrictions: | none |
Setting Name: | hal.make.as_post_process |
Identifier: | AS_POST_PROCESS |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | Command executed after each assembly file is compiled. |
Restrictions: | none |
Setting Name: | hal.make.as_pre_process |
Identifier: | AS_PRE_PROCESS |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | Command executed before each assembly file is compiled. |
Restrictions: | none |
Setting Name: | hal.make.bsp_arflags |
Identifier: | BSP_ARFLAGS |
Default Value: | -src |
Value: | -src |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | 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. |
Restrictions: | none |
Setting Name: | hal.make.bsp_asflags |
Identifier: | BSP_ASFLAGS |
Default Value: | -Wa,-gdwarf2 |
Value: | -Wa,-gdwarf2 |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | Custom flags only passed to the assembler. This setting defines the value of BSP_ASFLAGS in Makefile. |
Restrictions: | none |
Setting Name: | hal.make.bsp_cflags_debug |
Identifier: | BSP_CFLAGS_DEBUG |
Default Value: | -g |
Value: | -g |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | 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. |
Restrictions: | none |
Setting Name: | hal.make.bsp_cflags_defined_symbols |
Identifier: | BSP_CFLAGS_DEFINED_SYMBOLS |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | 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. |
Restrictions: | none |
Setting Name: | hal.make.bsp_cflags_optimization |
Identifier: | BSP_CFLAGS_OPTIMIZATION |
Default Value: | -O0 |
Value: | '-Os' |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | 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. |
Restrictions: | none |
Setting Name: | hal.make.bsp_cflags_undefined_symbols |
Identifier: | BSP_CFLAGS_UNDEFINED_SYMBOLS |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | 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. |
Restrictions: | none |
Setting Name: | hal.make.bsp_cflags_user_flags |
Identifier: | BSP_CFLAGS_USER_FLAGS |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | 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. |
Restrictions: | none |
Setting Name: | hal.make.bsp_cflags_warnings |
Identifier: | BSP_CFLAGS_WARNINGS |
Default Value: | -Wall |
Value: | -Wall |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | C/C++ compiler warning level. "-Wall" is commonly used.This setting defines the value of BSP_CFLAGS_WARNINGS in Makefile. |
Restrictions: | none |
Setting Name: | hal.make.bsp_cxx_flags |
Identifier: | BSP_CXXFLAGS |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | Custom flags only passed to the C++ compiler. This setting defines the value of BSP_CXXFLAGS in Makefile. |
Restrictions: | none |
Setting Name: | hal.make.bsp_inc_dirs |
Identifier: | BSP_INC_DIRS |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | 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. |
Restrictions: | none |
Setting Name: | hal.make.build_post_process |
Identifier: | BUILD_POST_PROCESS |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | Command executed after BSP built. |
Restrictions: | none |
Setting Name: | hal.make.build_pre_process |
Identifier: | BUILD_PRE_PROCESS |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | Command executed before BSP built. |
Restrictions: | none |
Setting Name: | hal.make.cc |
Identifier: | CC |
Default Value: | nios2-elf-gcc -xc |
Value: | nios2-elf-gcc -xc |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | C compiler command |
Restrictions: | none |
Setting Name: | hal.make.cc_post_process |
Identifier: | CC_POST_PROCESS |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | Command executed after each .c/.S file is compiled. |
Restrictions: | none |
Setting Name: | hal.make.cc_pre_process |
Identifier: | CC_PRE_PROCESS |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | Command executed before each .c/.S file is compiled. |
Restrictions: | none |
Setting Name: | hal.make.cxx |
Identifier: | CXX |
Default Value: | nios2-elf-gcc -xc++ |
Value: | nios2-elf-gcc -xc++ |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | C++ compiler command |
Restrictions: | none |
Setting Name: | hal.make.cxx_post_process |
Identifier: | CXX_POST_PROCESS |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | Command executed before each C++ file is compiled. |
Restrictions: | none |
Setting Name: | hal.make.cxx_pre_process |
Identifier: | CXX_PRE_PROCESS |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | Command executed before each C++ file is compiled. |
Restrictions: | none |
Setting Name: | hal.make.rm |
Identifier: | RM |
Default Value: | rm -f |
Value: | rm -f |
Type: | UnquotedString |
Destination: | makefile_variable |
Description: | Command used to remove files during 'clean' target. |
Restrictions: | none |
Setting Name: | hal.max_file_descriptors |
Identifier: | none |
Default Value: | 32 |
Value: | 4 |
Type: | DecimalNumber |
Destination: | none |
Description: | Determines the number of file descriptors statically allocated. |
Restrictions: | 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. This setting defines the value of ALT_MAX_FD in system.h. |
Setting Name: | hal.stderr |
Identifier: | STDERR |
Default Value: | none |
Value: | jtag_uart |
Type: | UnquotedString |
Destination: | system_h_define |
Description: | Slave descriptor of STDERR character-mode device. This setting is used by the ALT_STDERR family of defines in system.h. |
Restrictions: |
Setting Name: | hal.stdin |
Identifier: | STDIN |
Default Value: | none |
Value: | jtag_uart |
Type: | UnquotedString |
Destination: | system_h_define |
Description: | Slave descriptor of STDIN character-mode device. This setting is used by the ALT_STDIN family of defines in system.h. |
Restrictions: |
Setting Name: | hal.stdout |
Identifier: | STDOUT |
Default Value: | none |
Value: | jtag_uart |
Type: | UnquotedString |
Destination: | system_h_define |
Description: | Slave descriptor of STDOUT character-mode device. This setting is used by the ALT_STDOUT family of defines in system.h. |
Restrictions: |
Setting Name: | hal.sys_clk_timer |
Identifier: | none |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | none |
Description: | 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. |
Restrictions: | none |
Setting Name: | hal.timestamp_timer |
Identifier: | none |
Default Value: | none |
Value: | none |
Type: | UnquotedString |
Destination: | none |
Description: | 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. |
Restrictions: | none |