|
|
|
|
|
|
|
Re: Add new device (Leo) to catalog and new platform [message #5430 is a reply to message #5424] |
Thu, 09 July 2009 15:06   |
Madhvi Messages: 9 Registered: July 2009 |
Junior Member |
|
|
I dont think I understood the workaround Dave is talking about. In my
Platform.xdc (in ti.platforms.evmTNETV107X), I have the following:
readonly config xdc.platform.IExeContext.Cpu DSP = {
id: "0",
clockRate: 400.0,
catalogName: "ti.catalog.c6000",
deviceName: "TMS320CTNETV107X",
revision: "1.0",
};
readonly config xdc.platform.IExeContext.Cpu GPP = {
id: "1",
clockRate: 400.0,
catalogName: "ti.catalog.arm",
deviceName: "TMS320CTNETV107X",
revision: "1.0",
};
Now, my catalogName is ti.catalog.c6000 (for DSP). So if I dont put my
device under ti.catalog.c6000, then I will have to modify the catalogName
here to point to the new location?
Also whats the difficulty/hurdle in adding the new device under ti.catalog?
Thanks
-Madhvi
dave russo wrote:
> Amit Mookerjee wrote:
>>> Creation of devices in a separate "catalog" package is a good thing
>>> when more than one platform references the same device (almost always)
>>> but initially it is not required.
>>
>> In this case a device module is required since Madhvi wants to implement
>> the 'getLibs' method (in 'package.xs') that returns special libraries
>> built for the TNETV107X device.
>>
> Right, _but_ the device module need not be in the ti.catalog.c6000
> package. In fact, it can be in _any_ package, including the platform
> package.
>> Regards
>> Amit
>>
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02295 seconds