I attempting to add some code to the main.c file of the kernel provided with the Si8250x Development Kit. When I compile the project in the SiLabs IDE using the Keil C51 tools without my additional code it works. However, when I add my code to the main.c file, a main.obj file is not created when I build the project. This prompts a Fatal Error L210 because there is no main.obj file. When I try to manually add the file to project and then build it, the file is renamed during the process and the same error occurs. Any ideas on how to fix this problem? Thanks
I am getting a main.#1 file which I'm not sure about the SILabs editor, if I recall, generates backup files xxx.#1, xxx.#2 when you save the changed file
Erik
Was it?
"I was trying to write to a register which hadn't been defined in the .h file."
Surely that would be a symbol definition issue?
error c202: undefined identifier
which SFR is missing from the .h?
Sorry, none were missing I had just made an error in my assignments in the code. After changing the operand to a valid SFR it began working.