Page 1 of 1

_tpTransform is not defined

Posted: Sun Dec 16, 2012 1:23 pm
by etmatrix
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.

Re: _tpTransform is not defined

Posted: Sun Dec 16, 2012 3:32 pm
by Tectu
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

Re: _tpTransform is not defined

Posted: Sun Dec 16, 2012 5:21 pm
by etmatrix
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.

Re: _tpTransform is not defined

Posted: Sun Dec 16, 2012 7:30 pm
by Tectu
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