I'm using the KL03 in the Kinetis Design Studio environment. I decided to break down main.c code into various functions, such as core_clock_init.c and ports_init.c. I call these functions from within main.c. However, when I run my code, I get the following error related to the linker:
C:/Freescale/KSDK_1.3.0/examples/frdmkl03z/user_apps/Sara_Tiny_Tag_Devel_Board/main.c:79: undefined reference to `core_clock_init'
C:/Freescale/KSDK_1.3.0/examples/frdmkl03z/user_apps/Sara_Tiny_Tag_Devel_Board/main.c:82: undefined reference to `ports_init
Right now these functions are in the same location as the main.c. I have verified that that location is part of the includes.
So, where should I place these files? How do I make the linker see them?