Hi guys. I am new to arm and keil and I'm working on LPC1768 and keil5. I've wrote a header and source file and want to add it to my project. This is my steps:
- Source group -> add existing -> add MyHeader.c file
- target -> options -> C/C++ -> include paths -> add my include path
- write #include "MyHeader.h" at the top of main.c file
but still when I build the file i get error "Undefined symbol Function (referred from MyHeader.o)"
so pls help me with this. thank you
So you would get very much the same message from Atmel Studio!
eg, https://www.avrfreaks.net/forum/undefined-reference-error-0