Posts by SEGGER - Adrian

    Hello Francofgs4,

    Please note that you accepted our Legal Notice which includes the following term:

    Quote

    Post in English language only as this should be the common spoken language of all forum users.
    This will help other users if they are searching for the exect same problem that might be already solved.

    Please feel free to recompose your post. Thank you.

    Best regards,
    Adrian

    Hello Andy,

    In order to use timers in emWin, a timing base is required. Since you use an RTOS I would recommend you to adapt the GUI_X_GetTime() function to call the RTOS related "GetTime" function. For details on how to implement GUI_X_GetTime(), please refer to the chapter "Configuration" in the emWin user manual.

    Otherwise you can also use a timer interrupt to count a variable which is then returned by GUI_X_GetTime().

    Best regards,
    Adrian

    Hello Thomas,

    This option is use as a define in order to be able to avoid the according source code to be linked. The additional source code is required for thread safety which in turn enables the application to call emWin functions from more than 1 task. Since this can not be reconfigured at runtime, there is no possibility to change this using a precompiled library.

    Please note that besides additional memory requirements there is no disadvantage when using emWin configured for multitasking.

    Best regards,
    Adrian

    Dear pvo125 and lehacheb,

    Please understand that I have to ask you to write your posts in this forum solely in English using the Latin script. For detailed information about the terms of use, please refer to the Legal Notice. Thank you.

    Please note that further posts written in other languages and/or scripts will be deleted without prior notification.

    If you have any questions regarding the forum terms, please let me know.

    Best regards,
    Adrian

    Hello,

    Please note that the function GUI_CreateBitmapFromStream...() can be used only to display emWin bitmaps, which can be created using the Bitmap Converter. For details on how to use the function GUI_CreateBitmapFromStream...(), please refer to the section 8.1.5 "2-D Graphic Library" -> "Graphic API" -> "Drawing streamed bitmaps".

    Reading cache or Memory Device data from RAM is faster than reading the frame buffer via indirect interface. Please note that the writing speed may also have an impact on the performance of the function GUI_BMP_SerializeEx().

    Best regards,
    Adrian

    Hello,

    Does your CPU interface with the frame buffer directly or in an indirect way?

    Please note that the function GUI_BMP_SerializeEx() reads the frame buffer, so storing a screenshot takes exactly the time for reading the frame buffer. In case of a direct interface reading preformance can not be improved. In case of an indirect interface it is recommended to use a display driver cache or Memory Devices.

    Drawing performance usually can be improved by using a data and instruction cache. For details on how to configure this, please refer to the user manual of your MCU.

    Best regards,
    Adrian

    Hello,

    You are right. I thought you tried using extended fonts. Standard antialiased fonts indeed can not be stored in the XBF.

    Please note that it is generally recommended to use Extended fonts.

    Best regards,
    Adrian

    Hello Brian,

    This is not an actual Unicode rule, but you should consider the fact that following characters might be taken as a hex digit. You actually insert the hex values 0xC3 and 0xA7A to your text. The U2C tool inserts the double quotes "" to let the compiler know that the following byte should be taken as a character again.

    Best regards,
    Adrian

    Hello,

    emWin does not support it directly, but it comes with the functionality to display pixel data. The reason for emWin not to include a dedicated driver for that purpose is that this is just as easy to implement as using a Memory Device.

    In order to do so, please create a Memory Device and use the data pointer (GUI_MEMDEV_GetDataPtr()) to write the video data to the Memory Device (which is used as a video buffer here). The Memory Device just needs to be displayed regularly using GUI_MEMDEV_CopyToLCD() or GUI_MEMDEV_Write...().

    Best regards,
    Adrian