Guidelines for Developing a Nios II HAL Device Driver

ID 683146
Date 6/12/2015
Public
Document Table of Contents

1.2.6.1. Making Software Modifications

UART1_BASE is defined in system.h, a generated header file, and used in the bit_bang_uart.c source file. If you use a different hardware design, and the UART peripheral name is not uart1, search and replace the occurrences of UART1_BASE in bit_bang_uart.c with the name <your_uart_peripheral_name>_BASE. Find the UART peripheral module name and register base on the System Contents tab in Qsys. Refer to the "uart1 Peripheral Register Base Address" figure in the "Configuring the Altera_Avalon_UART Component" section.

Did you find the information on this page useful?

Characters remaining:

Feedback Message