PSoC Creator: Enable/Disable schematic page

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

cross mob
VaCe_2419971
Level 2
Level 2

Hi,

In order to manage different hardware variants of hardware in a single project (controlled by a config file), is it possible to enable / disable schematic pages created in PSoc Creator using #ifdef​?

Something like:

#ifdef i2c-comm

     i2c_page = enabled;

     serial_page = disabled;

     usb_page = disabled;

#endif

#ifdef serial

     i2c_page = disabled;

     serial_page = enabled;

     usb_page = disabled;

#endif

... and so on....

0 Likes
1 Solution
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

VaCe,

General answer is No, but there are some options available. Please check previous discussion on the subject,

Are these rubbishy ideas?

/odissey1

View solution in original post

2 Replies