_tpTransform is not defined

etmatrix
Posts: 46
Joined: Sun Oct 21, 2012 10:05 pm

_tpTransform is not defined

Postby etmatrix » Sun Dec 16, 2012 1:23 pm

I trying this external project, with my STM32F4Discovery + TFT 3.2'' HY32D (SSD1289 + TSC2046).
TSC2046 is compatible with XPT2046, so I'm using this driver.
LCD is working without problem, but in touch screen calibration I have an exception. I'm not writing for the exception. I tried to define TOUCHSCREEN_VERIFY_CALIBRATION in halconf.h but the function _tpTransform is missing. I think it is internal function, I do not have to define it, if yes I don't understand what I need todo. In documentation I can't find nothing.

Thank you for your suggestion.

User avatar
Tectu
Posts: 1226
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland
Contact:

Re: _tpTransform is not defined

Postby Tectu » Sun Dec 16, 2012 3:32 pm

Can you tell me which version of ChibiOS/GFX you currently try to use? Or are you on the latest master?

Just a small tip: When you can wait until this evening (let's say a couple of hours), a new version of ChibiOS/GFX will be released with many many changes. For one, the touchscreen module will be removed because of a complete rewrite. Also, the halconf.h will become unnecessary because everthing will be defined in a global file called gfxconf.h. You'll also only need to include gfx.h in your project, not all the submodule headers anymore.


~ Tectu

etmatrix
Posts: 46
Joined: Sun Oct 21, 2012 10:05 pm

Re: _tpTransform is not defined

Postby etmatrix » Sun Dec 16, 2012 5:21 pm

Sorry for missing informations. Latest git pull for Chibios/GFX and ChibiOS. Ok I wait new version.
I resolved the unhandled exception. Touchscreen module require USE_FPU=yes.
gfxconf.h is a good choice thank you for the improve.

User avatar
Tectu
Posts: 1226
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland
Contact:

Re: _tpTransform is not defined

Postby Tectu » Sun Dec 16, 2012 7:30 pm

Hello etmatrix,

The current master has been updated. You can use it now. The official release will be made after a few cosmetic changes have been applied.
You should also check out the new website. The documentation has been updated, you shuld read it: http://chibios-gfx.com/documentation

Please let me know if you have any questions!


~ Tectu


Return to “LCD Driver and Graphic Framework”

Who is online

Users browsing this forum: No registered users and 1 guest