2019-10-15 12:15 AM
Hello,
I need to add multiple include paths to makefile for touchgfx project.
I have two paths
I edit makefile like below but it doesnt work. Is this notification correct ?
include_paths := $(library_includes) $(foreach comp, $(all_components), $(comp)/include) $(framework_includes) mycode/include mycode/CMSIS_RTOS/include
source_paths = $(foreach comp, $(all_components), $(comp)/src) mycode_src mycode/CMSIS_RTOS/src
2019-10-15 12:55 AM
First glance it looks correct. Are your compiler errors obviously related to not being able to find referenced header files? Could you show me the log?
/Martin
2019-10-15 06:30 AM
Hello Martin,
I fixed the problem, my mistake.
Thanks
2019-10-15 06:32 AM
Great. What was wrong?
/Martin
2019-10-15 06:59 AM
When I write below texts to end of include_paths it works.
"indicator/include" - "indicator/CMSIS_OS"
But If I define
mycode_include := indicator/include
mycode_src := indicator/src
myoscode_include := indicator/CMSIS_OS
myoscode_src := indicator/CMSIS_OS
and then write
"mycode_include " - "myoscode_include"
to the end of include_paths it doesnt work.
I attach two makefiles and errorLOG
2019-10-15 06:59 AM