cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC™ 6

Len_CONSULTRON
Honored Contributor II

I'm using a a CY8CKIT-062-BLE with the EINK display.

I have two projects using this kit.

One works to update the display the other does not.

On the one that doesn't work (link) it complains about a code line using:

LCD_GetDisplayBuffer().

 

The linker complains and aborts:

.\CortexM4\ARM_GCC_541\Debug\main_cm4.o: In function `UpdateDisplay':
C:\Users\lpoma\Desktop\SineGen_Audio\SineGen_Audio_EINK_062-BLE.cydsn/main_cm4.c:174: undefined reference to `LCD_GetDisplayBuffer'
collect2.exe: error: ld returned 1 exit status
The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.

I compared the build specs of the two projects and the issue is not immediately apparent.

Apparently I'm missing a em-Win library reference some where.

I can use some expert help here.

Thanks in advance.

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
2 Replies
Aashita_Raj
Moderator
Moderator

Hi @Len_CONSULTRON ,

1. Can you please let me know the version of PDL you are using?

2. Also, could you try checking both "Core" and "LCD Driver" - the options for graphics package under emwin, in the build settings? For reference, please check this thread here :  Solved: PSoC6 integrated with EmWin library - Graphics opt... - Infineon Developer Community  

Please respond to the above queries and let me know in case of any help.

Best Regards,

Aashita

 

0 Likes
Len_CONSULTRON
Honored Contributor II

AAshita,

Thanks for looking at this issue.



1. Can you please let me know the version of PDL you are using?

2. Also, could you try checking both "Core" and "LCD Driver" - the options for graphics package under emwin, in the build settings? 

 

Here is a snapshot of the PDL version and emWin options being used:Len_CONSULTRON_0-1636378631611.png

Additionally as I mentioned one project works.  The second project that is not working is based off of the first project.  Both projects are using the CY8CKIT-062-BLE with the EINK display.

UPDATE:

Attached is the Output window verbose text from the linker phase if this helps.

 

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
Top labels