cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

New Contributor

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
Reply
1 Solution
Honored Contributor II

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
Honored Contributor II

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

Esteemed Contributor

Hi,

With /odissey1-san's hint, I wrote a following sample.

PSoC Creator Schematic Page Enable/Disable Sample

I hope this can be a hint, too 😉

moto

0 Likes
Reply