Altera_Forum
Honored Contributor
14 years agoFIFOed UART BSP errors
Hello,
I am trying to use the FIFOed UART for Nios rev 9.3 and have instantiated the module successfully in SOPC builder. I generated SOPC and compiled Quartus successfully. I am trying to install the software components, but do not have the "Custom Components Search Path" button in the BSP Editor under tools/options and "BSP Component Search Paths" as mentioned in the FIFOed_Avalon_UART_v9.30.doc document. I am running Quartus version 10.1 software. When I build the BSP project and my Hello World project, I get the following errors: **** Build of configuration Nios II for project hello_world_1 **** make all Info: Building ../hello_world_1_bsp make --no-print-directory -C ../hello_world_1_bsp [BSP build complete] Info: Linking hello_world_1.elf nios2-elf-g++ -T'../hello_world_1_bsp/linker.x' -msys-crt0='../hello_world_1_bsp/obj/HAL/src/crt0.o' -msys-lib=hal_bsp -L../hello_world_1_bsp -Wl,-Map=hello_world_1.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mhw-mulx -o hello_world_1.elf obj/CWM_Main.o obj/Cal.o obj/DataLink.o obj/dual_port_ram.o obj/elapsed_time_recorder.o obj/reg_io.o obj/temp_sensor.o -lm ../hello_world_1_bsp\libhal_bsp.a(alt_sys_init.o): In function `alt_sys_init': c:/altera/cwm_dig_ctrl/quartus/software/hello_world_1_bsp/alt_sys_init.c:115: undefined reference to `fifoed_avalon_uart_init' ../hello_world_1_bsp\libhal_bsp.a(alt_sys_init.o):(.data+0x1138): undefined reference to `fifoed_avalon_uart_read_fd' ../hello_world_1_bsp\libhal_bsp.a(alt_sys_init.o):(.data+0x113c): undefined reference to `fifoed_avalon_uart_write_fd' collect2: ld returned 1 exit status make: *** [hello_world_1.elf] Error 1 Does anyone know how to resolve these errors and install the software driver without the "Custom Components Search Path" button in BSP Editor? Thanks.