Forum Discussion
5 Replies
- Altera_Forum
Honored Contributor
You should be able to open the 'workspace' directory for the existing project. This is typically the folder with the '.metadata' folder in it.
Alternatively, open a new workspace and 'import an existing project' into workspace. Then point at the folder containing the example project (typically with a '_app' & '_hw_platform' folders in) and import them. Cheers, Alex - Altera_Forum
Honored Contributor
--- Quote Start --- You should be able to open the 'workspace' directory for the existing project. This is typically the folder with the '.metadata' folder in it. Alex --- Quote End --- Hi, Alex, thanks. Yes, so i see a folder called software in NIOS designs. This is where the .metadata file is. I also see the main.c file and many others - i have tried opening main.c but do not think this is the way. --- Quote Start --- Alternatively, open a new workspace and 'import an existing project' into workspace. Then point at the folder containing the example project (typically with a '_app' & '_hw_platform' folders in) and import them. Cheers, Alex --- Quote End --- Regarding 'workspace' and 'import an existing project' , here are you referring to the Eclipse application or Quartus II/Quatrus host application? Thanks, - Altera_Forum
Honored Contributor
You open a workspace in Eclipse, not Quartus.
Cheers, Alex - Altera_Forum
Honored Contributor
Thank you, Alex. Here's what isn't clear yet - what are the steps to load software examples into Eclipse from a dev. boards?
Is this the way?- Start a new workspace and make the directory the specific example's folder that contains main.c? - then load the main.c file into a 'hello world" and then build it? Sorry if this is documented or obvious, but it's not apparent to me, in my searching. I have tried making an example folder the workspace, and eclipse opens ready for work, but then how do i load the actual software example in? Perhaps i clicked the wrong folder? Thanks. - Altera_Forum
Honored Contributor
Try this:
https://www.altera.com/en_us/pdfs/literature/tt/tt_my_first_nios_sw.pdf To load existing software projects you will need to 'Import an existing project'. Point to the same point in the folder structure and tick the relevant folders that Eclipse picks up as project folders. Cheers, Alex