Forum Discussion
Hello Michael,
The "wsl make all" is expected since you run Nios II environment on Windows using wsl. Unfortunately, I couldn't replicate this issue on my computer under Windows environment due to some technical difficulties, I will try t find an alternative for this. The only replication I did was based on Linux environment. The setup is different between the two environments.
I would suggest either:
1- Use one environment for building the project. Lets say, build using Nios II command shell, and debug using Nios II IDE.
2- If you want to build and debug using the IDE environment, try to start creating the project from the IDE itself instead of the command shell.
Side note: when you import the app and bsp directories into your IDE environment, try to check the option that clears the builds. This will import the projects as "cleared", so you can build it inside the Nios II IDE.
I will let you know if I can replicate on a Windows system.
Thank you,
Fawaz.
- Michael20214 months ago
Occasional Contributor
Hello Fawaz,
After running "source build_sw.sh" to generate an ELF file,
I edited maic.c in nios2 SDT and clicked "Build Project." The ELF file was generated.
For some reason, the ELF file wasn't generated when I tried a few days ago, but it is now.
The problem has been solved.
Thank you for your help.
Michael