Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ Creator & Designer Forum Discussions

cadi_1014291
Level 6
Level 6
25 likes received 10 likes received 10 likes given

Hi,

So i'm working on a custom component and wanted to develop a customizer for it, the component is for a external IC that communicates via SPI with the PSoC device.

So i found this post on the forum, but it's not solved (at least not on the post): Getting a list of components of a specific type to show in the customizer interface

After reading the Bootloader customizer source i found the section that use the GetBootloaderCommunicationComponents function.

m_communicationComponentList = new List<string>();

m_communicationComponentList.Add(CyParameters.CUSTOM_INTERFACE);

try

{

     m_communicationComponentList.AddRange(m_parameters.InstQuery.DesignQuery.GetBootloaderCommunicationComponents());

}

catch

{

     Debug.Assert(false);

}

From the customizer documentation:

GetBootloaderCommunicationComponents():

Gets all of the communication components currently placed within the design that can be used by the bootloader for

communication with the Host. Clients can use register themselves with ICyInstEdit_v1.NotifyWhenDesignUpdates() to be

notified when the design changes which may be the result of adding or removeing a communications component.

So my question is:

Can i get a list of components placed on my schematic without using this function? to after filter and then display all the SPI Master components to display on the custom component cutomizer.

Regards,

Carlos Diaz

0 Likes
1 Solution
JobinT_31
Employee
Employee
25 likes received 10 likes received 5 likes given

Hi Carlos,

Checked 'PSoC Creator Customization API Reference Guide', no other functions available.

Thanks

Jobin GT

View solution in original post

0 Likes
1 Reply
JobinT_31
Employee
Employee
25 likes received 10 likes received 5 likes given

Hi Carlos,

Checked 'PSoC Creator Customization API Reference Guide', no other functions available.

Thanks

Jobin GT

0 Likes