AnsweredAssumed Answered

LPC43xx MCU C++ Linker: Undefined reference to ...

Question asked by xpressoguy on Sep 5, 2016
Latest reply on Sep 6, 2016 by LPCX presso support



I'm trying to get my first project compiled. main() function with a call to a simple, non fancy GPIO function, void GPIO_function( void ) in file GPIO_test.c. Header file included as #include "GPIO_test.h". Include path added via the project properties "Paths and Symbols". I copied the file GPIO_test.c in the /src folder of the project. I can insert the function with code completion in the source code. BUT I get an undefined reference to `GPIO_function()' error from the linker. Any hints are highly appreciated!



Many thanks and greetings