I've been looking at the low-level drivers that are supported in the PDK in PSDK 3.0; that is, those found in the subfolders of:
pdk_am57xx_1_0_3\packages\ti\drv
I see that the drivers are built into several libraries. Let's take the i2c driver as an example. In i2c_component.mk, we see that four libraries are actually built for the I2C driver:
i2c_LIB_LIST = i2c i2c_indp i2c_profile i2c_profile_indp
I am interested in the "_indp" libraries, which seem to be built "independent" of a particular target device (SoC). My question is, what is the purpose of building these independent libraries? In what situation would I want to use the independent library instead of the one that is built specifically for my device? For example, my pdk_am57xx_1_0_3\packages\ti\drv\spi\lib folder contains the following subfolders:
a15 <-- independent library
am571x <-- SoC-specific libraries
c66 <-- independent library
m4 <-- independent library
Is there a situation where I shouldn't use the libraries that are built into the "am571x" subfolder?
Thanks in advance,
Dave