AnsweredAssumed Answered

LPCXpresso add header file to include path

Question asked by Mateusz Kiełbasa on Feb 7, 2017
Latest reply on Jul 7, 2018 by ATHMESH NANDAKUMAR

I would like to add simple own library to project include path. Project structure (I created folder delay)












In project.c I added #include "inc/delay.h"


I added new include path in MCU C Compiler -> Includes -> Include path like this: "${workspace_loc:/project/delay}". When I try to Build it I get error:


/home/user/LPCXpresso/workspace/project/Debug/../src/project.c:41: undefined reference to `Delay_Init'
/home/user/LPCXpresso/workspace/project/Debug/../src/project.c:47: undefined reference to `Delay'


Delay_Init and Delay was created in delay.h and delay.c