- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Labels:
-
PSoC Creator Software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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