Touchgfx Designer Adding Outside Source and Header Files
I Started my project with touchgfx designer and have added in many hardware files. After adding the files to c and c++ compiler paths in CubeIDE they project works fine. However, when I Program and Run Target from ToughGfX Designer, none of the files are found ie.
"c:\TouchGFXProjects\CustomWheel/Core/Src/main.c:1094: undefined reference to <everything not in main.cpp>"
I have tried changing $projectName/TouchGFX/simulator/gcc/Makefile to the following but it does not work.
ADDITIONAL_SOURCES := ../STM32CubeIDE/Application/User/Encoder.c ../STM32CubeIDE/Application/User/CarrierFuncs.c
ADDITIONAL_INCLUDE_PATHS := ../STM32CubeIDE/Application/User
I have gotten it to work after modifying $projectName\gcc\Makefile and adding the c files individually to the list of
"board_c_files". However, I have many .c and .cpp files and it is unrealistic to add each individual one.
Where is the indended location to add these files so that touchgfx designer can see them?


