David,
Thanks for the response. Yes I have declared a prototype with and without
adding "extern" to the definition. The function that I am having a problem
with is the first call in main() to initialize the HW and SW, so it is
definitely being called.
I have tried everything that I can think of. My processor is a Kinetis
MK22FN with 256K of Flash memory. The size of my application is
just under 12K.
Problem is that I am modifying third party SW which is using the
main() to call every other function in the application. So it would be
tedious to start stubbing code out, and then trying the link.
I have another project which is very similar, but much smaller, and
it builds correctly.
Dick Fox
Firmware Engineer
NATIONAL CONTROLS CORPORATION BUSINESS UNIT
INSTRUMENTATION AND SPECIALTY CONTROLS DIVISION
1725 Western Dr | West Chicago, IL 60185 | http://www.ametekncc.com
Phone: (630)621-3118 | email: Dick Fox@ametek.com