How to include paths for FreeRTOS in TouchGFX Designer 4.16.x
Windows 10, CubeIDE1.6.1, TouchGFX4.16.1,FreeRTOS
Trying to... (in Model.cpp)
#include "FreeRTOS.h"
#include "queue.h"
#include "task.h"
FreeRTOS.h: No such file or directory
the "TouchGFX/simulator/gcc/Makefile" is (I guess) probably where I need to add the
"Core/Inc" and "Middlewares/Third_Party/FreeRTOS/Source/include" paths
I tried in the Makefile adding:
project_path := $(call qs,$(abspath $(call sq,$(makefile_path)../../..)))
core_path := $(call qs,$(abspath $(call sq,$(project_path)/Core/Inc)))
freeRtos_path := $(call qs,$(abspath $(call sq,$(project_path)/Middlewares/Third_Party/FreeRTOS/Source/include)))
ADDITIONAL_INCLUDE_PATHS := $(core_path)
ADDITIONAL_INCLUDE_PATHS += $(freeRtos_path)
ADDITIONAL_SOURCES :=
ADDITIONAL_LIBRARY_PATHS :=
ADDITIONAL_LIBRARIES :=
export ADDITIONAL_SOURCES ADDITIONAL_INCLUDE_PATHS ADDITIONAL_LIBRARY_PATHS ADDITIONAL_LIBRARIES
but somehow I create more problems for myself where the compiler lost the orginal source path for the compile.
Compiling gui/src/model/Model.cpp
g++.exe: fatal error: no input files
There was some suggestions on the community forum 2 years ago but it was incomplete for the curent version of tool.
Anyone have a correct way to do this?
