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
The file seems to just be a copy of the source code in main.c
Yes, I am using SiLabs IDE.
So have you asked SiLabs about this?
I figured it out. It was an addressing issue. I was trying to write to a register which hadn't been defined in the .h file. Thanks for the help
there must have been a MAJOR communication problem here, I was trying to write to a register which hadn't been defined in the .h file. nowhere in your posts does it state you got an error during compile.
Erik
Indeed - and that would obviously explain why you didn't get an object file!
You're right. It's my first time using the SiLabs IDE and I didn't realize there was a compile error since the code got to the linker and then displayed the fatal error. I'll make sure to scroll up next time haha
I was trying to write to a register which hadn't been defined in the .h file. if by 'register' you mean SFR, it should be there. just curious, which one?