Are you saying you are using the tools without and IDE? You can use the KPIT tools with Renesas E2Studion or Hew, or use Eclipse. All these tools have a way of creating a new project and selecting a C application. This will give you the asssembler startup files the basic Main.c file and interrupt vector files. Also included will be header files such as iodefine.h which will include all the definitions for the peripheral registers for the processor you choose. Watch out for KPIT and there interrupt vectors though as they have been known to get them wrong on some processors. Paul.
↧