Crash of emWin library when text is rotated

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 18, 2016 by lpcware
Content originally posted in LPCWare by Herrbert on Wed Mar 02 08:01:34 MST 2016

I use GUI_DispStringInRectEx to rotate a text.

Here is a simple snippet:

GUI_RECT rect = {0, 0, 300, 300};

GUI_DispStringInRectEx("Text", &rect,
            7, GUI_ROTATE_180);

This code works, when called with GUI_ROTATE_0. When it is called with any other value e.g. GUI_ROTATE_180 then a hardfault occures.

I use the following environment:
LP1788 on custom board
Crossworks 2.3.5
Precompiled emWin 5.30c library from NXP

Has anyone else experienced the same problem?