Lefora Pro Forum
login join
Loading
835 views

DT028TFT demo compile problem

Page 1
1–1
rookie - member
1 posts

I'm having a problem compiling the demo application to run on the Microchip Explorer 16 board.  I’m using the PIC24FJ64GA004 part on the Microchip Explorer 16 board and MPLAB v8.5.  I downloaded the Microchip graphics package v2010_04_28 and placed the demo software in that directory.  MPLAB finds all of the files except for gfxpmp.c.  I don’t see this file in the graphics package sources.  Is there another version of the graphics package that is needed?

Currently, when I try to compile I get the following output:
 
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ64GA004 -x c -c   "Pictures C30.c" -o"Objects - Graphics Object Layer Demo\Pictures C30.o" -I"." -I"..\Microchip\Include" -D__DEBUG -g -mlarge-code -mlarge-data -mlarge-scalar -Os
In file included from ./HardwareProfile.h:65,
                from ../Microchip/Include/Graphics\Graphics.h:87,
                from Pictures C30.c:5:
./Alternative Configurations\HardwareProfile_GFX_PICTAIL_V2_8PMP_ILI9326.h:164:10: error: #error "Error: DISPLAY_PANEL not defined"
In file included from ../Microchip/Include/Graphics\/DisplayDriverInterface.h:46,
                from ../Microchip/Include/Graphics\Graphics.h:89,
                from Pictures C30.c:5:
../Microchip/Include/Graphics\gfxpmp.h: In function 'DeviceSelect':
../Microchip/Include/Graphics\gfxpmp.h:146: error: 'LATDbits' undeclared (first use in this function)
../Microchip/Include/Graphics\gfxpmp.h:146: error: (Each undeclared identifier is reported only once
../Microchip/Include/Graphics\gfxpmp.h:146: error: for each function it appears in.)
../Microchip/Include/Graphics\gfxpmp.h: In function 'DeviceDeselect':
../Microchip/Include/Graphics\gfxpmp.h:165: error: 'LATDbits' undeclared (first use in this function)
../Microchip/Include/Graphics\gfxpmp.h: In function 'DeviceInit':
../Microchip/Include/Graphics\gfxpmp.h:298: error: 'LATDbits' undeclared (first use in this function)
../Microchip/Include/Graphics\gfxpmp.h:299: error: 'TRISDbits' undeclared (first use in this function)
In file included from ../Microchip/Include/Graphics\Graphics.h:90,
                from Pictures C30.c:5:
../Microchip/Include/Graphics\/DisplayDriver.h:105:10: error: #error GRAPHICS CONTROLLER IS NOT SUPPORTED
Halting build on first failure as requested.

What do I need to set for the DISPLAY_PANEL to be defined?  Would this be fixed if gfxpmp.c were present?


Page 1
1–1

Locked Topic


You must be a member to post in this forum

Join Now!