Hello!
I just found myself writing this code in my .CFG file:
var SPIPkg = xdc.loadPackage('ti.drv.spi');
in order to link with the Processor SDK for TI-RTOS's (v3.0) SPI library. However, I see that some packages require modifying a field in the package Settings object like this:
CslPkg.Settings.deviceType = socType;
or
I2CPkg.Settings.socType = socType;
Note that the field names on the Settings object are different in the above 2 cases.
How can I know:
A. when I need to modify such a field, and
B. what its field name is going to be?
Furthermore:
C. Where is this language documented, and
D. where are these related objects documented?
Try as I may, I have not been able to find any documentation whatsoever on these things -- only examples in other .CFG files, and this is not enough to give me certainty that I'm doing the right thing, nor give me an understanding of what options I have and how I might use them to the advantage of the firmware I develop.
=-=-=-=
What I'm working with: Win7-64-bit,
Dev Env: CCS 6.1.2
Platform: Custom board with MYIR brand MCC-AM335X-Y board with AM3358, 250MB RAM and other electronics that seem to be working perfectly.
Packages: SYS/BIOS 6.45.1.29, UIA 2.0.5.50, AM335x PDK 1.0.3
Kind regards,
Vic