6.10. Altera HAL Settings
The Nios® II processor embedded peripherals HAL driver is backward compatible with the Nios® V processor with the following _sw.tcl settings changes.
| Nios® V Processor (hal.*) | Nios® II Processor (hal.*) |
|---|---|
| enable_instruction_related_exceptions_api | enable_instruction_related_exceptions_api |
| max_file_descriptors | max_file_descriptors |
| — | disable_startup_thread_sync |
| — | enable_small_stack |
| — | exclude_default_exception |
| sys_clk_timer | sys_clk_timer |
| timestamp_timer | timestamp_timer |
| linker.allow_code_at_reset | linker.allow_code_at_reset |
| linker.enable_alt_load | linker.enable_alt_load |
| linker.enable_alt_load_copy_exceptions | linker.enable_alt_load_copy_exceptions |
| linker.enable_alt_load_copy_rodata | linker.enable_alt_load_copy_rodata |
| linker.enable_alt_load_copy_rwdata | linker.enable_alt_load_copy_rwdata |
| linker.enable_exception_stack | linker.enable_exception_stack |
| linker.exception_stack_memory_region_name | linker.exception_stack_memory_region_name |
| linker.exception_stack_size | linker.exception_stack_size |
| — | linker.enable_interrupt_stack |
| — | linker.interrupt_stack_memory_region_name |
| — | linker.interrupt_stack_size |
| linker.use_picolibc | — |
| toolchain.prefix | — |
| toolchain.enable_executable_overrides | — |
| toolchain.ar | make.ar |
| toolchain.as | make.as |
| toolchain.cc | make.cc |
| toolchain.cxx | make.cxx |
| toolchain.objdump | — |
| — | make:
|
| — | make.bsp_arflags |
| make.asflags | make.bsp_asflags |
| make.cflags_debug | make.bsp_cflags_debug |
| make.cflags_defined_symbols | make.bsp_cflags_defined_symbols |
| make.cflags_optimization | make.bsp_cflags_optimization |
| make.cflags_undefined_symbols | make.bsp_cflags_undefined_symbols |
| make.cflags_user_flags | make.bsp_cflags_user_flags |
| make.cflags_warnings | make.bsp_cflags_warnings |
| make.cxx_flags | make.bsp_cxx_flags |
| — | make.bsp_inc_dirs |
| make.link_flags | — |
| make.objdump_flags | — |
| make.enable_cflag_fstack_protector_strong | make.enable_cflag_fstack_protector_strong |
| make.enable_cflag_wformat_security | make.enable_cflag_wformat_security |
| — | make.ignore_system_derived:
|
| — | make.rm |
| — | custom_newlib_flags |
| enable_c_puls_plus | enable_c_plus_plus |
| enable_clean_exit | enable_clean_exit |
| enable_exit | enable_exit |
| — | enable_gprof |
| enable_reduced_device_drivers | enable_reduced_device_drivers |
| enable_lightweight_device_driver_api | enable_lightweight_device_driver_api |
| — | enable_mul_div_emulation |
| enable_runtime_stack_checking | enable_runtime_stack_checking |
| enable_sim_optimize | enable_sim_optimize |
| — | enable_small_c_library |
| — | enable_sopc_sysid_check |
| log_port | log_port |
| log_flags | log_flags |
| stderr | stderr |
| stdin | stdin |
| stdout | stdout |
| — | thread_stack_size |