Nios® V Processor Software Developer Handbook

ID 743810
Date 7/08/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

16.4.3.4. Device Drivers BSP

altera_avalon_uart_driver.enable_small_driver

  • Identifier: ALTERA_AVALON_UART_SMALL
  • Type: Boolean definition
  • Default Value: false
  • Destination File: toolchain.cmake
  • Description: Small-footprint (polled mode) driver
  • Restriction: none

altera_avalon_uart_driver.enable_ioctl

  • Identifier: ALTERA_AVALON_UART_USE_IOCTL
  • Type: Boolean definition
  • Default Value: false
  • Destination File: toolchain.cmake
  • Description: Enable driver ioctl() support. This feature is not compatible with the small driver; ioctl() support is not compiled if either the UART enable_small_driver or the HAL enable_reduced_device_drivers setting is enabled.
  • Restriction: none

altera_avalon_jtag_uart_driver.enable_small_driver

  • Identifier: ALTERA_AVALON_JTAG_UART_SMALL
  • Type: Boolean definition
  • Default Value: false
  • Destination File: toolchain.cmake
  • Description: Small-footprint (polled mode) driver
  • Restriction: none

altera_avalon_uart_driver.enable_jtag_uart_ignore_fifo_full_error

  • Identifier: ALTERA_AVALON_JTAG_UART_IGNORE_FIFO_FULL_ERROR
  • Type: Boolean definition
  • Default Value: false
  • Destination File: toolchain.cmake
  • Description: JTAG UART FIFO full error after timeout
  • Restriction: none

intel_niosv_m_hal_driver.internal_timer_ticks_per_sec

  • Identifier: NIOSV_INTERNAL_TIMER_TICKS_PER_SECOND
  • Type: Decimal Number
  • Default Value: 1000
  • Destination File: system.h
  • Description:
    • Replace CLOCKS_PER_SEC
    • Implement as configTICK_RATE_HZ in FreeRTOS to configure the period of each time slice.
  • Restriction: none