Feature request for dynamic configuration of schematic pages or component properties

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

cross mob
BrBr_1320441
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted

I have developed firmware for a family of products that we sell, all targeting the PSoC 5LP, which can be configured to be run on one of a few different products. Essentially I have a configuration file to compile against, and then I selectively enable/disable certain pages containing hardware that is product-specific (by manually disabling/enabling the schematic pages).

I am in the middle of working on an automated build system, and ideally it would automatically create a firmware build package for each separate product whenever I push new firmware.

In order to do this, I would need the ability to automatically do some of the things I manually have to do. After a bit of experimenting, I get the impression that there is no way to do this (please correct me if I am wrong).

Any of these options would be solutions that would solve my problem:

  • Ability to disable a schematic page from a CLI or configuration file
  • Ability to disable a component and all APIs for that component instance from CLI or configuration file
  • Ability to change the environmental variable CY_REMOVE/CY_SUPPRESS_API_GEN for a component instance from a CLI or a configuration file
  • Ability to have CY_REMOVE/CY_SUPPRESS_API_GEN in each component instance depend on some user controllable variable/configuration. (For instance, change the value of CY_REMOVE from "false" to "GetConfig()==$config1", where config1 is held in some config file that can be updated and GetConfig() is some user defined function)
  • Ability to make changes to a non-binary format of the cysch file that would be reflected in the cysch file (such as make a change to the .cysem/.cyvis files that would actually change the .cysch file)

I am hoping that I can make a feature request that would solve this problem for me. For now, my workaround is to have multiple copies of the project that all point to the same source, and any schematic changes that I make in shared portions of the designs (90%), I need to remember to make that change to all versions.

Thank you.

0 Likes
1 Solution
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

I do understand your requirement for automating your process. But we do not have any such provisions in the CLI for the points you have mentioned. I will however put forward your feature request to the product development team who will evaluate your query. Thank you for your interest in Cypress Products.

Regards,

Dheeraj

View solution in original post

0 Likes
2 Replies
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

I do understand your requirement for automating your process. But we do not have any such provisions in the CLI for the points you have mentioned. I will however put forward your feature request to the product development team who will evaluate your query. Thank you for your interest in Cypress Products.

Regards,

Dheeraj

0 Likes

Thanks. I assumed there was no such way as I looked into it pretty in depth. I think there are a number of ways to introduce the feature, and I am fine with it being clunky. For now though I will manually manage it, but it is certainly not ideal. Thanks for the quick reply!

0 Likes