Hi, I'm just starting out in CCS. I've got the project set up, have a main.c which calls a single function, InitHardware();.
I have a file called Init_Hardware.cpp that defines void InitHardware(void);
And a file called Init_Hardware.cpp that has the code for void InitHardware(void) { P1DIR = 0x00;};
main.c does include Init_Hardware.hpp as the linker map verifies this
When I build this I get an undefined symbol error.
undefined first referenced
symbol in file
--------- ----------------
InitHardware ./main.obj
For the life of me I can't figure out why. Any help would be appreciated and any insult about my programming prowess would be accepted..
Thanks!
Rich