User Profile
Boondoggler
Joined 5 years ago
User Widgets
Contributions
Re: NIOS application build fail
Hi, really that's for another thread and doesn't answer my question. Unfotunately I can't give the source out. The inspirations came from: https://ralphexe.wordpress.com/2016/11/01/altera-uart-ip-core-using-de0-nano/ which the first part is useful but very basic, but is pretty standard adding UART to NIOS builds and this: https://community.intel.com/t5/Nios-II-Embedded-Design-Suite/NiosII-Uart-Interrupt-Handler/td-p/84690 which gave me direction on creating my own. Or use DMA which requires working out the code to understand how many characters are in the Rx buffer. If so, this worth a read: https://community.intel.com/t5/Programmable-Devices/Nios-Uart-And-Dma/td-p/15995 Also this is a useful source: https://class.ece.uw.edu/469/peckol/index.html4KViews0likes0CommentsNIOS application build fail
Hi, I have recently created a NIOS II application for UART which has built and run correctly up until today. I have not made any changes other than to rebuild the release/debug app. In fact all my apps now wont build in Eclipse (again no changes to settings or code have been made). I am running Quartus Lite 20.1 using EDS (Eclipse Mars 4.5.2 release) to create the NIOS application. The only thing I can see is different is that my Windows box updated to 2004 build between builds (I know there have been changes to WSL in this). This is the output from the toolchain: Info: Linking uart_int_app.elf nios2-elf-g++.exe -T'C:/Users/xxx/Desktop/Quartus/DE0/UART/software/uart_int_app_bsp/linker.x' -msys-crt0='C:/Users/xxx/Desktop/Quartus/DE0/UART/software/uart_int_app_bsp/obj/HAL/src/crt0.o' -msys-lib= -LC:/Users/xxx/Desktop/Quartus/DE0/UART/software/uart_int_app_bsp -msmallc -Wl,-Map=uart_int_app.map -O0 -g -Wall -mno-hw-div -mno-hw-mul -mno-hw-mulx -mgpopt=global -o uart_int_app.elf obj/default/InterruptHandlerForUart.o obj/default/hello_world.o -lm -msys-lib=m nios2-elf-g++.exe: error: missing argument to '-msys-lib=' Makefile:1011: recipe for target 'uart_int_app.elf' failed make: *** [uart_int_app.elf] Error 1 Any ideas?4.1KViews0likes10Comments