Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

same file name (spi.c) at different directory of StarterWare

$
0
0

Hi,

I noticed that there are two files that are having same name (spi.c) located the different directory (they are different content though).
Directory 1: C:\ti\OMAPL138_StarterWare_1_10_03_03\platform\evmOMAPL138
Directory 2: C:\ti\OMAPL138_StarterWare_1_10_03_03\drivers

In the example of spi_c674x_omapl138_evmOMAPL138 (spiflash.c), there are functions being used are from both of them.
For example: SPIPinMuxSetup is defined @ Directory 1 while SPIClkConfigure is defined @ Directory 2.

How's the project know which spi.c to look for particular function?

Regards,
Mok


Viewing all articles
Browse latest Browse all 262198

Trending Articles