Search Results
Search results 1-8 of 8.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
emwin with freeRTOS
PostQuote from SEGGER - Adrian: “Hello, In case an emWin library was precompiled using the macro (GUI_OS == 0), calling emWin functions from more than one task will not work properly. Best regards, Adrian” so what should i do? i pretty sure STemWin522_CM4_OS_Keil.lib is precompiled with OS==1, cause i get from st website, emwin with freertos example. and i get confused that if macro change not work why you guys still leave the macro there? As my understand the lib will run the function depend on the…
-
emwin with freeRTOS
PostQuote from SEGGER - Adrian: “Hello, Please understand that preprocessor directives can have an impact only at compile-time. The libraries you use are already compiled. Best regards, Adrian” Of course i know it so i picked STemWin522_CM4_OS_Keil.lib file but still not work, and the documentation just tell me to change the marco, please just tell me what should i do.
-
emwin with freeRTOS
Postanyone?
-
emwin with freeRTOS
PostQuote from SEGGER - Adrian: “Hello, Please note that changing preprocessor definitions can not have a effect to a precompiled library. Still emWin should work well with GUI_OS == 0 as long as it is called by one task only. Please refer to the chapters "Getting Started" and "Configuration" for detailed information on how to set up a working project. Best regards, Adrian” Hi, i used two different library one is Keil GUI_CM4F.lib antoher one is STemWin522_CM4_OS_Keil.lib but the system still not wo…
-
emwin with freeRTOS
PostHi, guys i try to use emwin and freeRTOS on my stm32f4 board, but i found something really wired I found the task include emwin function(like WM_Exec(),GUI_TOUCH_Exec() or GUI_DispStringAt()) can not work with any another tasks even its empty task but when i only run emwin task the system works fine. i make macro GUI_OS is 1 GUI_MAXTASKis 5 emwin memory to 64k bytes freeRTOS heap size from 90k bytes system heap and stack size to 8k bytes this is maximum ram i can provide but the system still not…
-
xbf font use
PostQuote from SEGGER - Adrian: “Hello, Unfortunately I am not able to reproduce the problem. I would recommend to verify your file system works ok. emWin works very simple regarding GetData()-functions. Either the data is fetched ok, or it is not. If it is not, emWin just cancels the drawing process and returns. It should never come to a hard fault when displaying bitmaps. Best regards, Adrian” Hi Adrian i'm pretty sure my file system works fine. and when i try to close font file which means getdat…
-
xbf font use
PostIts almost done but still two problems there: I can use font on my button or text staff but when i just touch the screen(anywhere even not on button), the system hard fault(when its runing GUI_CURSOR_SetpostionEx function that i can see it from assemble code) but when i use emwin default font all good, whats going wrong? and another problem is should keep font file open all the time? if my ui need open another file it may cause some problem i think
-
xbf font use
PostHi, i'm new for emwin i got some problem with xbf font use there is my code about xbf: #include "GUI.h" #include "ff.h" #include "GUI_Private.h" GUI_FONT XBFFont; GUI_XBF_DATA XBF_Data; static int _cbGetData(U32 Off, U16 NumBytes, void * pVoid, void * pBuffer) { FIL fsrc; // FRESULT res; // UINT br; char string[30]; int flag=0; fsrc = *(FIL *)pVoid; /* Set file pointer to the requested position */ // res = f_lseek(&fsrc,Off); // // if (res != FR_OK) { // res = f_open(&fsrc, "0:/sys/Font18.xbf", …