Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

VlYe_281166
New Contributor II

When using GraphicLCDIntf  (e.g. in Ce222221_Voice_Recorder example) changing GraphicLCDIntf from v.1.0 to v.1.80 causes errors:

undefined reference to `Cy_GPIO_Clr',

undefined reference to `Cy_GPIO_Set'

so, using Pins became inavailable.

At the first glance I could not find what is the reason.

Generated API files are the same.

0 Likes
1 Solution
DheerajK_81
Moderator
Moderator

Yes, I was able to reproduce your issue. For some reason, the GPIO functions weren't getting referenced. Please do the following and then it will work.

The error shows in tft_display.c. Open the file and include the following header file:

#include "gpio/cy_gpio.h"

I have included the updated project and the tft_display.c file for reference which builds successfully.

Regards,

Dheeraj

View solution in original post

1 Reply
DheerajK_81
Moderator
Moderator

Yes, I was able to reproduce your issue. For some reason, the GPIO functions weren't getting referenced. Please do the following and then it will work.

The error shows in tft_display.c. Open the file and include the following header file:

#include "gpio/cy_gpio.h"

I have included the updated project and the tft_display.c file for reference which builds successfully.

Regards,

Dheeraj

View solution in original post