Hello,
I am new to ARM. Right I am trying to get up to speed with the SAM7S examples pack "at91sam7s-ek" available from the Microchip website.
When I load any project into Eclipse I get the following error After building project.
make: *** [obj/flash_board_cstartup.o] Error 2
I have checked that paths are correct and that the files are where they are supposed to be.
Is there anyone that can help me to get this running or can anyone recommend a better set of examples that actually work for the SAM7S devices.
your project is not standalone, it requires the presence of other folders, probably other projects:
ilg-mbp:basic-emac-lwip-project-at91sam7x-ek-gnu ilg$ make Makefile:60: ../at91lib/boards/atmu1245_sam7x/board.mak: No such file or directory make: *** No rule to make target `../at91lib/boards/atmu1245_sam7x/board.mak'. Stop. ilg-mbp:basic-emac-lwip-project-at91sam7x-ek-gnu ilg$
this has nothing to do with Eclipse, any Makefile project, regardless the build plug-ins you use, is build by invoking make, step that you can easily perform in a terminal.
in fact, until you cannot build the project manually in a terminal, do not expect Eclipse to build it in the IDE.
for the Atmel projects I suggest you study the Atmel documentation, and eventually the Atmel forums, I doubt you'll get much help here.