ucosii 9.1 28 juil. 2010 09:02:07 1280300527109 settings.bsp ..\..\nios3_608A.sopcinfo default cpu_0 1.7 hal.enable_instruction_related_exceptions_api none BooleanDefineOnly true false none 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. none hal.max_file_descriptors none DecimalNumber 32 32 none Determines the number of file descriptors statically allocated. 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. hal.sys_clk_timer none UnquotedString none none none 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. none Common hal.timestamp_timer none UnquotedString none none none 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. none Common ucosii.os_max_tasks OS_MAX_TASKS DecimalNumber 10 10 system_h_define Maximum number of tasks none false ucosii.os_lowest_prio OS_LOWEST_PRIO DecimalNumber 20 20 system_h_define Lowest assignable priority none false ucosii.os_thread_safe_newlib OS_THREAD_SAFE_NEWLIB Boolean 1 1 system_h_define Thread safe C library none false ucosii.miscellaneous.os_arg_chk_en OS_ARG_CHK_EN Boolean 1 1 system_h_define Enable argument checking none false ucosii.miscellaneous.os_cpu_hooks_en OS_CPU_HOOKS_EN Boolean 1 1 system_h_define Enable uCOS-II hooks none false ucosii.miscellaneous.os_debug_en OS_DEBUG_EN Boolean 1 1 system_h_define Enable debug variables none false ucosii.miscellaneous.os_sched_lock_en OS_SCHED_LOCK_EN Boolean 1 1 system_h_define Include code for OSSchedLock() and OSSchedUnlock() none false ucosii.miscellaneous.os_task_stat_en OS_TASK_STAT_EN Boolean 1 1 system_h_define Enable statistics task none false ucosii.miscellaneous.os_task_stat_stk_chk_en OS_TASK_STAT_STK_CHK_EN Boolean 1 1 system_h_define Check task stacks from statistics task none false ucosii.miscellaneous.os_tick_step_en OS_TICK_STEP_EN Boolean 1 1 system_h_define Enable tick stepping feature for uCOS-View none false ucosii.miscellaneous.os_event_name_size OS_EVENT_NAME_SIZE DecimalNumber 32 32 system_h_define Size of name of Event Control Block groups none false ucosii.miscellaneous.os_max_events OS_MAX_EVENTS DecimalNumber 60 60 system_h_define Maximum number of event control blocks none false ucosii.miscellaneous.os_task_idle_stk_size OS_TASK_IDLE_STK_SIZE DecimalNumber 512 512 system_h_define Idle task stack size none false ucosii.miscellaneous.os_task_stat_stk_size OS_TASK_STAT_STK_SIZE DecimalNumber 512 512 system_h_define Statistics task stack size none false ucosii.task.os_task_change_prio_en OS_TASK_CHANGE_PRIO_EN Boolean 1 1 system_h_define Include code for OSTaskChangePrio() none false ucosii.task.os_task_create_en OS_TASK_CREATE_EN Boolean 1 1 system_h_define Include code for OSTaskCreate() none false ucosii.task.os_task_create_ext_en OS_TASK_CREATE_EXT_EN Boolean 1 1 system_h_define Include code for OSTaskCreateExt() none false ucosii.task.os_task_del_en OS_TASK_DEL_EN Boolean 1 1 system_h_define Include code for OSTaskDel() none false ucosii.task.os_task_name_size OS_TASK_NAME_SIZE DecimalNumber 32 32 system_h_define Size of task name none false ucosii.task.os_task_profile_en OS_TASK_PROFILE_EN Boolean 1 1 system_h_define Include data structure for run-time task profiling none false ucosii.task.os_task_query_en OS_TASK_QUERY_EN Boolean 1 1 system_h_define Include code for OSTaskQuery none false ucosii.task.os_task_suspend_en OS_TASK_SUSPEND_EN Boolean 1 1 system_h_define Include code for OSTaskSuspend() and OSTaskResume() none false ucosii.task.os_task_sw_hook_en OS_TASK_SW_HOOK_EN Boolean 1 1 system_h_define Include code for OSTaskSwHook() none false ucosii.time.os_time_tick_hook_en OS_TIME_TICK_HOOK_EN Boolean 1 1 system_h_define Include code for OSTimeTickHook() none false ucosii.time.os_time_dly_resume_en OS_TIME_DLY_RESUME_EN Boolean 1 1 system_h_define Include code for OSTimeDlyResume() none false ucosii.time.os_time_dly_hmsm_en OS_TIME_DLY_HMSM_EN Boolean 1 1 system_h_define Include code for OSTimeDlyHMSM() none false ucosii.time.os_time_get_set_en OS_TIME_GET_SET_EN Boolean 1 1 system_h_define Include code for OSTimeGet and OSTimeSet() none false ucosii.os_flag_en OS_FLAG_EN Boolean 1 1 system_h_define Enable code for Event Flags. CAUTION: This is required by the HAL and many Altera device drivers. none false ucosii.event_flag.os_flag_wait_clr_en OS_FLAG_WAIT_CLR_EN Boolean 1 1 system_h_define Include code for Wait on Clear Event Flags. CAUTION: This is required by the HAL and many Altera device drivers. none false ucosii.event_flag.os_flag_accept_en OS_FLAG_ACCEPT_EN Boolean 1 1 system_h_define Include code for OSFlagAccept(). CAUTION: This is required by the HAL and many Altera device drivers. none false ucosii.event_flag.os_flag_del_en OS_FLAG_DEL_EN Boolean 1 1 system_h_define Include code for OSFlagDel(). CAUTION: This is required by the HAL and many Altera device drivers. none false ucosii.event_flag.os_flag_query_en OS_FLAG_QUERY_EN Boolean 1 1 system_h_define Include code for OSFlagQuery(). CAUTION: This is required by the HAL and many Altera device drivers. none false ucosii.event_flag.os_flag_name_size OS_FLAG_NAME_SIZE DecimalNumber 32 32 system_h_define Size of name of Event Flags group. CAUTION: This is required by the HAL and many Altera device drivers; use caution in reducing this value. none false ucosii.event_flag.os_flags_nbits OS_FLAGS_NBITS DecimalNumber 16 16 system_h_define Event Flag bits (8,16,32). CAUTION: This is required by the HAL and many Altera device drivers; use caution in changing this value. none false ucosii.event_flag.os_max_flags OS_MAX_FLAGS DecimalNumber 20 20 system_h_define Maximum number of Event Flags groups. CAUTION: This is required by the HAL and many Altera device drivers; use caution in reducing this value. none false ucosii.os_mutex_en OS_MUTEX_EN Boolean 1 1 system_h_define Enable code for Mutex Semaphores none false ucosii.mutex.os_mutex_accept_en OS_MUTEX_ACCEPT_EN Boolean 1 1 system_h_define Include code for OSMutexAccept() none false ucosii.mutex.os_mutex_del_en OS_MUTEX_DEL_EN Boolean 1 1 system_h_define Include code for OSMutexDel() none false ucosii.mutex.os_mutex_query_en OS_MUTEX_QUERY_EN Boolean 1 1 system_h_define Include code for OSMutexQuery none false ucosii.os_sem_en OS_SEM_EN Boolean 1 1 system_h_define Enable code for semaphores. CAUTION: This is required by the HAL and many Altera device drivers. none false ucosii.semaphore.os_sem_accept_en OS_SEM_ACCEPT_EN Boolean 1 1 system_h_define Include code for OSSemAccept(). CAUTION: This is required by the HAL and many Altera device drivers. none false ucosii.semaphore.os_sem_set_en OS_SEM_SET_EN Boolean 1 1 system_h_define Include code for OSSemSet(). CAUTION: This is required by the HAL and many Altera device drivers. none false ucosii.semaphore.os_sem_del_en OS_SEM_DEL_EN Boolean 1 1 system_h_define Include code for OSSemDel(). CAUTION: This is required by the HAL and many Altera device drivers. none false ucosii.semaphore.os_sem_query_en OS_SEM_QUERY_EN Boolean 1 1 system_h_define Include code for OSSemQuery(). CAUTION: This is required by the HAL and many Altera device drivers. none false ucosii.os_mbox_en OS_MBOX_EN Boolean 1 1 system_h_define Enable code for mailboxes none false ucosii.mailbox.os_mbox_accept_en OS_MBOX_ACCEPT_EN Boolean 1 1 system_h_define Include code for OSMboxAccept() none false ucosii.mailbox.os_mbox_del_en OS_MBOX_DEL_EN Boolean 1 1 system_h_define Include code for OSMboxDel() none false ucosii.mailbox.os_mbox_post_en OS_MBOX_POST_EN Boolean 1 1 system_h_define Include code for OSMboxPost() none false ucosii.mailbox.os_mbox_post_opt_en OS_MBOX_POST_OPT_EN Boolean 1 1 system_h_define Include code for OSMboxPostOpt() none false ucosii.mailbox.os_mbox_query_en OS_MBOX_QUERY_EN Boolean 1 1 system_h_define Include code for OSMboxQuery() none false ucosii.os_q_en OS_Q_EN Boolean 1 1 system_h_define Enable code for Queues none false ucosii.queue.os_q_accept_en OS_Q_ACCEPT_EN Boolean 1 1 system_h_define Include code for OSQAccept() none false ucosii.queue.os_q_del_en OS_Q_DEL_EN Boolean 1 1 system_h_define Include code for OSQDel() none false ucosii.queue.os_q_flush_en OS_Q_FLUSH_EN Boolean 1 1 system_h_define Include code for OSQFlush() none false ucosii.queue.os_q_post_en OS_Q_POST_EN Boolean 1 1 system_h_define Include code of OSQFlush() none false ucosii.queue.os_q_post_front_en OS_Q_POST_FRONT_EN Boolean 1 1 system_h_define Include code for OSQPostFront() none false ucosii.queue.os_q_post_opt_en OS_Q_POST_OPT_EN Boolean 1 1 system_h_define Include code for OSQPostOpt() none false ucosii.queue.os_q_query_en OS_Q_QUERY_EN Boolean 1 1 system_h_define Include code for OSQQuery() none false ucosii.queue.os_max_qs OS_MAX_QS DecimalNumber 20 20 system_h_define Maximum number of Queue Control Blocks none false ucosii.os_mem_en OS_MEM_EN Boolean 1 1 system_h_define Enable code for memory management none false ucosii.memory.os_mem_query_en OS_MEM_QUERY_EN Boolean 1 1 system_h_define Include code for OSMemQuery() none false ucosii.memory.os_mem_name_size OS_MEM_NAME_SIZE DecimalNumber 32 32 system_h_define Size of memory partition name none false ucosii.memory.os_max_mem_part OS_MAX_MEM_PART DecimalNumber 60 60 system_h_define Maximum number of memory partitions none false ucosii.os_tmr_en OS_TMR_EN Boolean 0 0 system_h_define Enable code for timers none false ucosii.timer.os_task_tmr_stk_size OS_TASK_TMR_STK_SIZE DecimalNumber 512 512 system_h_define Stack size for timer task none false ucosii.timer.os_task_tmr_prio OS_TASK_TMR_PRIO DecimalNumber 2 2 system_h_define Priority of timer task (0=highest) none false ucosii.timer.os_tmr_cfg_max OS_TMR_CFG_MAX DecimalNumber 16 16 system_h_define Maximum number of timers none false ucosii.timer.os_tmr_cfg_name_size OS_TMR_CFG_NAME_SIZE DecimalNumber 16 16 system_h_define Size of timer name none false ucosii.timer.os_tmr_cfg_ticks_per_sec OS_TMR_CFG_TICKS_PER_SEC DecimalNumber 10 10 system_h_define Rate at which timer management task runs (Hz) none false ucosii.timer.os_tmr_cfg_wheel_size OS_TMR_CFG_WHEEL_SIZE DecimalNumber 2 2 system_h_define Size of timer wheel (number of spokes) none false altera_avalon_uart_driver.enable_small_driver ALTERA_AVALON_UART_SMALL BooleanDefineOnly true false public_mk_define Small-footprint (polled mode) driver none false altera_avalon_uart_driver.enable_ioctl ALTERA_AVALON_UART_USE_IOCTL BooleanDefineOnly false false public_mk_define Enable driver ioctl() support. This feature is not compatible with the 'small' driver; ioctl() support will not be compiled if either the UART 'enable_small_driver' or HAL 'enable_reduced_device_drivers' settings are enabled. none false altera_iniche.iniche_default_if INICHE_DEFAULT_IF QuotedString triple_speed_ethernet_0 NOT_USED system_h_define Deprecated setting: Default MAC interface. This setting was formerly used by Altera networking example applications. It need not be assigned a valid value for the use of networking example designs in Nios II 8.0. If you are using this setting in a project, it is recomended that you remove the dependency. This setting may be removed in a future release. none false altera_iniche.enable_dhcp_client DHCP_CLIENT BooleanDefineOnly false true system_h_define Use DHCP to automatically assign IP address none false altera_iniche.enable_ip_fragments IP_FRAGMENTS BooleanDefineOnly true true system_h_define Reassemble IP packet fragments none false altera_iniche.enable_include_tcp INCLUDE_TCP BooleanDefineOnly true true system_h_define Enable TCP protocol none false altera_iniche.enable_tcp_zerocopy TCP_ZEROCOPY BooleanDefineOnly false false system_h_define Use TCP zero-copy none false altera_iniche.enable_net_stats NET_STATS BooleanDefineOnly false false system_h_define Enable statistics none false hal.linker.allow_code_at_reset none Boolean 1 0 none Indicates if initialization code is allowed at the reset address. 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. hal.linker.enable_alt_load none Boolean 1 0 none 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. This setting is typically false if an external bootloader (e.g. flash bootloader) is present. hal.linker.enable_alt_load_copy_exceptions none Boolean 0 0 none Causes the alt_load() facility to copy the .exceptions section. If true, this setting defines the macro ALT_LOAD_COPY_EXCEPTIONS in linker.h. none hal.linker.enable_alt_load_copy_rodata none Boolean 0 0 none Causes the alt_load() facility to copy the .rodata section. If true, this setting defines the macro ALT_LOAD_COPY_RODATA in linker.h. none hal.linker.enable_alt_load_copy_rwdata none Boolean 0 0 none Causes the alt_load() facility to copy the .rwdata section. If true, this setting defines the macro ALT_LOAD_COPY_RWDATA in linker.h. none hal.linker.enable_exception_stack none Boolean 0 0 none 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. 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. Common hal.linker.enable_interrupt_stack none Boolean 0 0 none 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. 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. Common hal.linker.exception_stack_memory_region_name none UnquotedString ramprog none none 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. Only used if hal.linker.enable_exception_stack is true. Common hal.linker.exception_stack_size none DecimalNumber 1024 1024 none Size of the exception stack in bytes. Only used if hal.linker.enable_exception_stack is true. Common hal.linker.interrupt_stack_memory_region_name none UnquotedString ramprog none none 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. Only used if hal.linker.enable_interrupt_stack is true. Common hal.linker.interrupt_stack_size none DecimalNumber 1024 1024 none Size of the interrupt stack in bytes. Only used if hal.linker.enable_interrupt_stack is true. Common hal.make.ar AR UnquotedString nios2-elf-ar nios2-elf-ar makefile_variable Archiver command. Creates library files. none hal.make.ar_post_process AR_POST_PROCESS UnquotedString none none makefile_variable Command executed after archiver execution. none hal.make.ar_pre_process AR_PRE_PROCESS UnquotedString none none makefile_variable Command executed before archiver execution. none hal.make.as AS UnquotedString nios2-elf-gcc nios2-elf-gcc makefile_variable Assembler command. Note that CC is used for .S files. none hal.make.as_post_process AS_POST_PROCESS UnquotedString none none makefile_variable Command executed after each assembly file is compiled. none hal.make.as_pre_process AS_PRE_PROCESS UnquotedString none none makefile_variable Command executed before each assembly file is compiled. none hal.make.bsp_arflags BSP_ARFLAGS UnquotedString -src -src makefile_variable 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. none hal.make.bsp_asflags BSP_ASFLAGS UnquotedString -Wa,-gdwarf2 -Wa,-gdwarf2 makefile_variable Custom flags only passed to the assembler. This setting defines the value of BSP_ASFLAGS in Makefile. none hal.make.bsp_cflags_debug BSP_CFLAGS_DEBUG UnquotedString -g -g makefile_variable 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. none Common hal.make.bsp_cflags_defined_symbols BSP_CFLAGS_DEFINED_SYMBOLS UnquotedString none none makefile_variable 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. none hal.make.bsp_cflags_optimization BSP_CFLAGS_OPTIMIZATION UnquotedString -O0 -O0 makefile_variable 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. none Common hal.make.bsp_cflags_undefined_symbols BSP_CFLAGS_UNDEFINED_SYMBOLS UnquotedString none none makefile_variable 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. none hal.make.bsp_cflags_user_flags BSP_CFLAGS_USER_FLAGS UnquotedString none none makefile_variable 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. none hal.make.bsp_cflags_warnings BSP_CFLAGS_WARNINGS UnquotedString -Wall -Wall makefile_variable C/C++ compiler warning level. "-Wall" is commonly used.This setting defines the value of BSP_CFLAGS_WARNINGS in Makefile. none hal.make.bsp_cxx_flags BSP_CXXFLAGS UnquotedString none none makefile_variable Custom flags only passed to the C++ compiler. This setting defines the value of BSP_CXXFLAGS in Makefile. none hal.make.bsp_inc_dirs BSP_INC_DIRS UnquotedString none none makefile_variable 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. none hal.make.build_post_process BUILD_POST_PROCESS UnquotedString none none makefile_variable Command executed after BSP built. none hal.make.build_pre_process BUILD_PRE_PROCESS UnquotedString none none makefile_variable Command executed before BSP built. none hal.make.cc CC UnquotedString nios2-elf-gcc -xc nios2-elf-gcc -xc makefile_variable C compiler command none hal.make.cc_post_process CC_POST_PROCESS UnquotedString none none makefile_variable Command executed after each .c/.S file is compiled. none hal.make.cc_pre_process CC_PRE_PROCESS UnquotedString none none makefile_variable Command executed before each .c/.S file is compiled. none hal.make.cxx CXX UnquotedString nios2-elf-gcc -xc++ nios2-elf-gcc -xc++ makefile_variable C++ compiler command none hal.make.cxx_post_process CXX_POST_PROCESS UnquotedString none none makefile_variable Command executed before each C++ file is compiled. none hal.make.cxx_pre_process CXX_PRE_PROCESS UnquotedString none none makefile_variable Command executed before each C++ file is compiled. none hal.make.rm RM UnquotedString rm -f rm -f makefile_variable Command used to remove files during 'clean' target. none hal.custom_newlib_flags CUSTOM_NEWLIB_FLAGS UnquotedString none none public_mk_define Build a custom version of newlib with the specified space-separated compilerflags. The custom newlib build will be placed in the <bsp root>/newlib directory, and will be used only for applications that utilize this BSP. hal.enable_c_plus_plus ALT_NO_C_PLUS_PLUS Boolean 1 1 public_mk_define 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. none hal.enable_clean_exit ALT_NO_CLEAN_EXIT Boolean 1 1 public_mk_define 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. none hal.enable_exit ALT_NO_EXIT Boolean 1 1 public_mk_define 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. none hal.enable_gprof ALT_PROVIDE_GMON Boolean 1 0 public_mk_define 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. none Common hal.enable_lightweight_device_driver_api ALT_USE_DIRECT_DRIVERS Boolean 0 0 public_mk_define 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. The Altera Host and read-only ZIP file systems can't be used if hal.enable_lightweight_device_driver_api is true. hal.enable_mul_div_emulation ALT_NO_INSTRUCTION_EMULATION Boolean 0 0 public_mk_define 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. none hal.enable_reduced_device_drivers ALT_USE_SMALL_DRIVERS Boolean 0 0 public_mk_define 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. none Common hal.enable_runtime_stack_checking ALT_STACK_CHECK Boolean 0 0 public_mk_define 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. none hal.enable_sim_optimize ALT_SIM_OPTIMIZE Boolean 0 0 public_mk_define 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. When this setting is true, the BSP shouldn't be used to build applications that are expected to run real hardware. Common hal.enable_small_c_library none Boolean 0 0 public_mk_define 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. none Common hal.enable_sopc_sysid_check none Boolean 1 1 public_mk_define 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. none hal.log_flags ALT_LOG_FLAGS DecimalNumber 0 0 public_mk_define 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. hal.log_port must be set for this to be used. hal.log_port LOG_PORT UnquotedString none none public_mk_define 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. hal.stderr STDERR UnquotedString debug none system_h_define Slave descriptor of STDERR character-mode device. This setting is used by the ALT_STDERR family of defines in system.h. Common hal.stdin STDIN UnquotedString debug none system_h_define Slave descriptor of STDIN character-mode device. This setting is used by the ALT_STDIN family of defines in system.h. Common hal.stdout STDOUT UnquotedString debug none system_h_define Slave descriptor of STDOUT character-mode device. This setting is used by the ALT_STDOUT family of defines in system.h. Common Memory Memory 0 8192 0x2000 0x00002000 - 0x00003FFF reset boot 0 32 0x8000 0x00008000 - 0x0000801F boot boot 32 32736 0x8020 0x00008020 - 0x0000FFFF ramprog ramprog 0 2097152 0x8a00000 0x08A00000 - 0x08BFFFFF descriptor_memory descriptor_memory 0 4096 0x9000000 0x09000000 - 0x09000FFF Memory 0x00002000 - 0x00003FFF 8192 memory boot 0x00008000 - 0x0000FFFF 32768 memory LocalBus 0x04000000 - 0x07FFFFFF 67108864 ramprog 0x08A00000 - 0x08BFFFFF 2097152 memory descriptor_memory 0x09000000 - 0x09000FFF 4096 memory triple_speed_ethernet_0 0x0A409000 - 0x0A4093FF 1024 rx_sgdma 0x0A409400 - 0x0A40943F 64 tx_sgdma 0x0A409800 - 0x0A40983F 64 debug 0x0A409C00 - 0x0A409C1F 32 printable timer_0 0x0A409C20 - 0x0A409C3F 32 timer pio_in 0x0A409C40 - 0x0A409C4F 16 pio_out 0x0A409C50 - 0x0A409C5F 16 SCL 0x0A409C60 - 0x0A409C6F 16 SDA 0x0A409C70 - 0x0A409C7F 16 led 0x0A409C80 - 0x0A409C8F 16 .text ramprog .rodata ramprog .rwdata ramprog .bss ramprog .heap ramprog .stack ramprog triple_speed_ethernet_driver_ucosii_iniche default triple_speed_ethernet_0 altera_nios2_ucosii_driver default cpu_0 altera_avalon_uart_driver default debug altera_avalon_timer_driver default timer_0 altera_avalon_sgdma_driver default tx_sgdma altera_avalon_sgdma_driver default rx_sgdma altera_avalon_pio_driver default pio_out altera_avalon_pio_driver default pio_in altera_avalon_pio_driver default led altera_avalon_pio_driver default SDA altera_avalon_pio_driver default SCL altera_iniche 9.1