3 Replies Latest reply on Mar 29, 2020 7:21 AM by HemanthR_06

    How to include external header file


      Two Eclipse FX3 projects need some common external header file. The file have been included in to the project by creating a Linked Folder in Eclipse, the header file appear in the project tree, but during build the header can't be found.


      I include such line into makefile in the project:


      Include += -I"absolute path to the external folder that contains the header"




      include $(FX3FWROOT)/common/fx3_build_config.mak


      But it doesn't work. And even the line


      include $(FX3FWROOT)/common/fx3_build_config.mak


      is removed, during build the arm-none-eabi-gcc command line still use the same -I as before - the updated makefile doesn't have effect at all.