Forum Discussion
Hi Thierry
I exercised the tutorial at the following application note: https://cdrdv2-public.intel.com/784469/an-784468-784469.pdf
At the section 1.2.2.4 there is an alternative to build the application .elf file from the command line instead for riscfree:
$cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -B software/app/debug -S
software/app
$ make -C software/app/debug
Have you tried this? You need to do it after entering into the niosv shell. I was told that everything that you need is already included as part of the Quartus installation, so no gmake from other application will be needed. I just tried with the software directory that you provided using Quartus Pro 25.1 and was able to generate the .elf (attaching this one compressed).
So, I am guessing that the issue that you are seeing is from actually being using the gmake from Matlab.
Thanks
Rolando
Hi Rolando,
I have attached the app and bsp directories that I generated (located in the "soft2" directory) so you can verify their accuracy. The next step is to import the project into Riscfree. The version of Riscfree I am using (v23.4.1, 3rd Nov 2023 installed with Quartus 23.1.1) does not implement the "Import Nios V CMake Project" option that is used in the application note 985.
Could you please tell me exactly how to import the project with this version of Riscfree?
Best regards,
Thierry