CE223549_IPC_Semaphore Example compiles with an error

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

cross mob
MiRo_263836
Level 5
Level 5
100 replies posted 50 likes received 50 replies posted

https://www.cypress.com/documentation/code-examples/ce223549-psoc-6-mcu-ipc-semaphore

I tried to get this example working.  I follow the instructions to compile and it and it gives me an error.

pastedImage_1.png

I changed the line to

    Cy_IPC_Sema_Init(CY_IPC_CHAN_CYPIPE_EP0, SEMA_COUNT, &semaData);

and it compiles fine.  You need to update this example.

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.

Hi. This error is due to an update in the PDL. If you use PDL 3.0.x, the code will compile.

We are in process to update this code example to use the newest PDL 3.1.0.

You can refer to the attached file for the newest..

View solution in original post

0 Likes
2 Replies
MiRo_263836
Level 5
Level 5
100 replies posted 50 likes received 50 replies posted

I guess I am really asking.  Is this the correct fix?

0 Likes
lock attach
Attachments are accessible only for community members.

Hi. This error is due to an update in the PDL. If you use PDL 3.0.x, the code will compile.

We are in process to update this code example to use the newest PDL 3.1.0.

You can refer to the attached file for the newest..

0 Likes