AN 978: Nios® V Processor Migration Guidelines

ID 773196
Date 5/15/2024
Public
Document Table of Contents

5.10. Intel® 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.
Table 34.  Changes in the _sw.tcl Settings for the Nios® V Processor
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:

  • build_pre_process
  • build_post_process
  • ar_pre_process
  • ar_post_process
  • as_pre_process
  • as_post_process
  • cc_pre_process
  • cc_post_process
  • cxx_pre_process
  • cxx_post_process
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:

  • big_endian
  • fpu_present
  • hardware_divide_present
  • hardware_fp_cust_inst_divider_present
  • hardware_fp_cust_inst_no_divider_present
  • sopc_simulation_enabled
  • debug_core_present
  • hardware_multiplier_present
  • hardware_mulx_present
  • sopc_system_base_address
  • sopc_system_id
  • sopc_system_timestamp
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_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