Altera_Forum
Honored Contributor
13 years agoNios2IDE to Nios2SBT issue
We've been building our software using the IDE (Eclipse) which has been fine. I'm trying to make our lives easier with more automation using SBT.
I've been playing with IDE2SBT conversion which went without a problem except one. Here's what I've done in steps. 1. run "nios2-convert-ide2sbt" 2. copied source into "src" sub-directory under "_app" directory 3. create makefile with "nios2-app-generate_makefile" 4. run "make" (error) The final builds the library files fine, but chokes when building the application file because we have some custom IP with the associated register files that must be accessed by the application source. How do I include this in the "makefile" in a clean manner without resorting to explicitly hand editing each source file to include the absolute directory to the register headers. I know it's a lot answer, but I would appreciate any help we can get. I think Altera is moving away or deprecating the IDE and I'd like to learn the SBT workflow before I'm forced to at the last moment. Thanks again.