You can fix the issue by removing uncheck HW connections in the Sensor now it compiles but you have 8 other errors such as Update_GATT(&FlangePosition, sizeof(FlangePosition), CYBLE_MY_WAKEMEUPPOSITION_CHAR_HANDLE);.

The sensor pins are not hardware connected. But somehow the old PSoC Creator version did not issued an error message for this. Now the fitting is OK, but the compiler issued ...40 errors. All the errors related to undeclared functions. I don't know why. May be the new GCC compiler wants us something different on function definition / declaration

Another problem that faced is that the compiler did not recognize inline functions if they are declared in separate files (.h for function signature, c fr the body). The reason is that the new PSoC Creator is based on GCC 5.4.1 compiler instead GCC 4.5 version. The GCC 5.4.1 uses CNU11 standard instead GNU89.

The solution to this is to declare all the inline functions as extern inline.

So sorry for the problem. It is actually an error that your design routed in Creator 4.0.1. For some devices, there can be a conflict between Digital Signal Interface (DSI) routing lines and Sequencing SARs with multiple channels. I will post more later, but if you can change "sensors" to not be on '2' or change the signal on P2[2] so that it is on a different port (or not the same index, [2], as sensors) you can avoid the conflict.

We are writing up a knowledge base article and will post something to the Creator start page.

Summarizing the conditions where this can occur

1. PSoC 4 design using the ADC_SAR_SEQ_P4 component 2. ADC_SAR_SEQ_P4 uses multiple channels 3. A locked, hardware-driven digital pin routed through the DSI shares either the port or pin index as one of the ADC_SAR_SEQ_P4 inputs.

It's actually not all PSoC 4 designs, we are putting together a list. If your design matches those conditions, it will almost certainly fail.

Thanks for posting to the community, and I apologize for the trouble.

If you contact me at mdl@cypress.com, I'll have someone from technical support contact you directly.