Forum Discussion
Altera_Forum
Honored Contributor
21 years agoeCos library IDE integration?
Hi! I've been working with Nios I and eCos for a time, and now I've decided to upgrade to Nios II and the altera eCos porting. I've been able to generate the library, but I s...
Altera_Forum
Honored Contributor
21 years agoCurrently you will need to build the eCos library outside of the Nios II IDE by running either nios2configtool (recommended) or configtool directly. Having done that, it is possible to build and debug applications using the IDE.
Instructions for using the debugger are provided in the getting started guide that comes with the eCos installer. You can build an application by simply creating an "Advanced C/C++ Project". This requires you to provide your own makefile. For example you could do this for the "examples" directory that comes with eCos. When creating the project, set the "Build Command" on the "Make Builder" tab to be the make command that you would have run on the command line, i.e.: make INSTALL_DIR=<install directory> rather than just: make Note that you can't do this for the examples directory in situ. You will need to copy it to another location outside of the components directory. Otherwise the project you create will overlap with the default "Nios II Device Drivers" project. Before attempting to do this, I recommend that you follow the instructions in the getting started guide to ensure that you can successfully build applications from the command line.