Forum Discussion
Mikhail_a
Occasional Contributor
3 years agoCant compile NIOSV bsp
Hello. I have a Nios V system in platform designer. I've created a bsp, then created an application project as in 1.4.3.2 in Nios® V Embedded Processor Design Handbook. Then I tried to use RiscFree ...
Mikhail_a
Occasional Contributor
3 years agoHello.
Thank you for your answer.
I've found out that this error was probably due to I used Nios V/g IP core. Unfortunately I coundn't find any info about development flow for this processor and existing one for Nios V/m doesn't work for it. So after switching to Nios V/m and doing the flow from the scratch I was able to get an .elf file for my design. But also I got an error:
make[2]: niosv-stack-report: Command not found make[2]: *** [CMakeFiles/niosv-stack-report.dir/build.make:73: main.elf.stack_report] Error 127 make[1]: *** [CMakeFiles/Makefile2:156: CMakeFiles/niosv-stack-report.dir/all] Error 2 make: *** [Makefile:91: all] Error 2
It seems that Ashling IDE somehow doesn't find niosv-stack-report binary, while i can see it at niosv/bin directory:
$ ls intelFPGA_pro/23.1/niosv/bin/ commons-cli-1.4.jar elf2flash elf2flash.jar elf2hex elf2hex.jar niosv-app niosv-bsp niosv-download niosv-download-files niosv-shell niosv-shell-files niosv-stack-report niosv-stack-report-files
Is there any workaround for this issue?