Re: Working example Prject!?
psavr,
I've had a similar problem with IAR EWARM projects, but (I think) I have found the issue - at least for my particular setup. I decided to install the IAR plugins for Eclipse to make the import process easier. See this site for those plugins: http://eclipse-update.iar.com/
Now, after importing a working IAR project and running, clean, then build - the Console shows no errors from the IAR compiler and the IAR linker runs fine. However, once I open any of the source code modules to do something, all sorts of errors show up - hundreds. Things like uint8_t are not found, so I thought it was a path problem and spent way too much time debugging it.
What I found was that System Workbench has a code analysis tool running all the time and apparently it's seeing these things as errors. If you go to the project properties and select C/C++ General/Code Analysis/Launching and uncheck both boxes it worked for me.
All this assumes that you are using the IAR compiler. My next task is to figure out how to swtich that compiler out and go with the native ARM compiler delivered with SWB.
DT