cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6 MCU

LODA_2997366
New Contributor II

Hi:

    In one project,I found tow same named fuction in the same .c file,how the modustollbox design which funtion to be build?

  

LODA_2997366_0-1614868087692.png

LODA_2997366_1-1614868152416.png

 

0 Likes
1 Solution
AlanH_86
Employee

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

 

View solution in original post

0 Likes
2 Replies
Rakshith
Moderator
Moderator

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.

Thanks and Regards,
Rakshith M B
0 Likes
AlanH_86
Employee

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

 

View solution in original post

0 Likes
Top labels