Setup with IAR

[moved from support request tracker] How do I set up a new Project for the AT91SAM7XC with the IAR compiler correctly? I tried it several times, but even the sources for the AT91SAM7S doesn’t seem to work. The uIP example works well, but I still can’t figure out the configuration. You would help me much. Regards

Setup with IAR

The suggested method of creating a new project is to take the demo project, remove the demo files (leaving the RTOS source files, naturally), then add in your application files.  This way you have all the correct compiler options and startup files. The demos include the correct #defines in the project pre-processor options.  They also include startup files that ensure the stacks and processor modes are correct to be able to start the scheduler. What are you having problems with?  Compiling, linking or executing? Regards.