Specifications

Altera Avalon-MM UART Driver Settings
The Altera Avalon-MM UART driver settings are available if the altera_avalon_uart driver is present.
By default, this driver is used if your hardware system has an altera_avalon_uart module connected to
it.
Settings Reference
This section lists all settings for BSPs, software packages, and device drivers.
hal.enable_instruction_related_exceptions_api
Identifier: none
Type: Boolean definition
Default Value: false
Destination File: none
Description: Enables application program interface (API) for registering handlers to service instruc‐
tion-related exceptions. These exception types can be generated if various processor options are
enabled, such as the memory management unit (MMU), memory protection unit (MPU), or other
advanced exception types. Enabling this setting increases the size of the exception entry code.
Restrictions: none
hal.max_file_descriptors
Identifier: none
Type: Decimal number
Default Value: 32
Destination File: none
Description: Determines the number of file descriptors statically allocated.
Restriction: 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.disable_startup_thread_sync
Identifier: ALT_DISABLE_STARTUP_THREAD_SYNC
Type: Boolean definition
Default Value: false
Destination File: system.h
Description: Disables thread synchronization checking on startup. By default, startup code in crt0.S
assumes that the .rwdata section must be reloaded every time the system is reset. Thread 0 waits until
the .rwdata section is reloaded before executing initialization code.
The hal.disable_startup_thread_sync setting allows you to disable this restriction in your BSP, if
your software is written without initialized global or static variables. This setting might be useful if you
develop assembly language, and want to take advantage of initialization code in crt0.S.
Restriction: Do not disable startup thread synchronization under the following circumstances:
Your code uses initialized global or static variables
Your application uses memory management functions such as alt_malloc(), alt_free() and
alt_calloc()
15-28
Altera Avalon-MM UART Driver Settings
NII5V2
2015.05.14
Altera Corporation
Nios II Software Build Tools Reference
Send Feedback