Hi:
In one project,I found tow same named fuction in the same .c file,how the modustollbox design which funtion to be build?
Solved! Go to Solution.
If you look in the directory emwin/latest-v5.X/ you will find a file called ".cyignore"
The modus build system looks for that file... and then it it ignore all files/directories listed in that file.
You will see in that .cyignore it has
Config
Sample
Tool
Which is why those are ignored.
Alan
Hi @LODA_2997366,
When two files of the same name exist in a ModusToolbox application, the auto-discovery selects the file that has the smaller path relative to the application directory.
In your case, the configuration file in the folder emWin_config will be selected.
If you look in the directory emwin/latest-v5.X/ you will find a file called ".cyignore"
The modus build system looks for that file... and then it it ignore all files/directories listed in that file.
You will see in that .cyignore it has
Config
Sample
Tool
Which is why those are ignored.
Alan