Hello, I have two c source files in my project, and they both need include hardware.h(register define) file. I try to include the .h file to both C file but the compilter says the memory overlap. I choice include .h file to the main C file ,the compiliter says another c file's register not define. How to avoid it , thanks a lot.
Refer to the following knowledgebase article if you want to define and declare in a header file: http://www.keil.com/support/docs/1868.htm Jon