cancel
Showing results for 
Search instead for 
Did you mean: 

UTGENT! HELP Required if anyone can show me how to add a file path correctly to a makefile,

BO Re.1
Associate II

i have tried numerous time to add the file path for FatFS files in my project to makeFile, touch designer wont flash board because icant file the .Fatfs,h file.

i was advised by ST employee to add file path to the MakeFile , not being a software engineer i dont know how its written, below is the location where it goes i have it highlighted.

i cant find info anywhere that relates to this makefile format

thanks

Barry

0693W000000V9gmQAC.jpg

5 REPLIES 5

I'm an electronics engineer...

Attach the actual makefile, not pictures of it.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Hi Clive1

thanks for the reply

i have attached the file

I too have a degree in electronics.

#keep framework include and source out of this mess! :)
include_paths := $(library_includes) \
								 $(foreach comp, $(all_components), $(comp)/include) \
								 $(foreach comp, $(cubemx_components), $(comp)/Inc) \
								 $(foreach comp, $(touchgfx_generator_components), $(comp)/generated) \
								 $(framework_includes) \
								 $(source_Middlewares_paths) \
								 $(touchgfx_generator_components)\
								 	$(os_path)/UseCanvassBuffer_Add_SDMMC/FATFS/App/fatfs.c

You are supposed to add a path to the directory (in modern micro$oft lingo, folder) where fatfs.h in question is located, not complete path to fatfs.c file.

You surely can navigate the directory structure on your PC.

JW

Hi Jan,

thank you getting back to me

the fatFS.h file is in the folder as above, which I also tried, my problem is how to include ie what comes before it $( ??????) what is required in here , screen shot above was from one of attempts , and yes I can navigate the directory, just the root folder required not complete path

Pavel A.
Evangelist III

If you can navigate the path, just put it there as is. (of course replace all backslashes to /). See if this works.

-- pa