22.214.171.124. 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?