2011-10-26 11:20 PM
Hi
Whilst compiling the demo with warnings enabled I get the following error ''src/graphicObject.c:1476:7: warning: the address of 'pPage' will always evaluate as 'true''' This error is associated with the following from source file graphicObject.c GL_ErrStatus DestroyPageControl ( GL_Page_TypeDef* pPage, uint16_t ID ) { uint32_t index = 0; if (!&pPage) { return GL_ERROR; } ..... ...... } What is being tested here?, the pointer or the address of the pointer? Appreciate if somebody from the MCD Application Team could have a look at this. There are also numerous other warnings being emitted from the library which clutter the output from the compiler (gcc in my case) and which make developing with the library most irritating. I noted that the tool vendor's solution is to disable all warnings (most useful). Best regards, Noel Diviney. #gui #don't-hijack-old-threads #when-will-gui-lib-forstm32f4? #setting-a-bad-example2011-10-27 07:46 AM
No doubt it's trying to confirm pPage is not NULL, before accessing the structure. ie if (!pPage)
A lot of the demo board software seems to be missing source, perhaps because it's a bit of a dogs breakfast, with various third party code lashed together and written by interns. Assume that it's like free code on the internet, and value it, and your time accordingly. Chat with your local FAE, and see if there is a newer/cleaner version.2011-10-27 02:38 PM
Doubts have previously been expressed regarding the quality of the Graphics Library code:
/b3a36b89
2011-10-27 03:40 PM
2011-10-30 09:00 AM
2011-10-30 10:20 PM
2012-07-17 12:20 AM
In the STM32 GUI Library IAR project, there are example for STM322XG_EVAL, STM32L152 EVAL, but no example for STM324XG. When will it available?
Regards Samuel2013-04-02 04:59 AM
Hi
In these PDFhttp://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00056722.pdf
http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00056717.pdf
http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00056722.pdf
http://www.st.com/web/en/resource/technical/document/user_manual/DM00025492.pdf
you can see ''Stm32 Graphical library with extensions''How to get this library? Or an example from these PDF.2013-04-02 06:47 AM
Isn't the GUI Library included in the Demo Builder Platform?
http://www.st.com/web/en/catalog/tools/PF258142
V2.0.0 of the Library can be found herehttp://www.element14.com/community/solutions/5949/l/stm-stm32-embedded-gui-library
2013-04-02 06:53 AM
Thanks a lot. This is what I've been looking for