I have to write some code for an ATmega162, a processor that I have never used before.
As the code is of medium complexity, I intend to write it in C. The GCC compiler thus seems a good choice, as I have used it extensively with H8s.
Does anybody know of the existence of/ would be kind enough to supply a "shell project" that could be used with GCC? What I mean by that is an empty "main()", but with necessary interrupt vectors, stack initialisation etc. prior to the execution of main().
I am not going to get the luxury of an ICE, I believe, so it is just to try to avoid the heartache of getting off first base with an unfamiliar architecture, instruction set etc.
Thanks in advance if anyone can help.
Andy G.