Jump to content

ronan_rt

Members
  • Posts

    67
  • Joined

  • Last visited

Everything posted by ronan_rt

  1. Hello folks! Everytime I open a virtual keyboard, I am able to type letters and numbers into a textedit with total success. But somehow, there is a bug in the keyboard. The Keyboard seems to be reframing, like, "redrawing" every 'X' seconds when I try to type faster. There is some bug or My code is messed up?
  2. OBS: I was abble to do this on the EXAMPLE. But when I create some stuff like: click a button, change the screen, the keyboard never appear on the new screen. And Btw. Is there any TEXTEDIT event to appear the keyboard only when I click on the textedit box?
  3. Hello folks!! Im trying to work with virtual keyboard and textedit. Im suppoused to click on a Textedit and show keyboard, click OFF the textedit and hide keyboard. Im doing some tests for two days with no success. There is no example or topics helping this question. Can you help me out to do this stuff??
  4. Folks. Now I guess its working. There is some uploads mistakes (i guess). I downloaded the GIT REPOSITORI instead of the ufgx 2.7 (in the git is called UGFX MASTER). And I guess its working now. Ill keep upgrading info if something went wrong
  5. @inmarket, so, the gfxSleepMilliseconds(500); its called in the gos_x_threads.c. Than, into this function, there is a function called gfxYield(); (into the DO WHILE sintax). There is where it crashes. gfxYield(); its called too into the gos_x_threads.c. Inside the gfxYield(), there is a line that calls: _gfxTaskSwitch(me, _gfxCurrentThread);, that calls the: static void _gfxXSwitch(thread *oldt, thread *newt, bool_t doBuildFrame) . Well, as you saw, CXT_RESTORE(newt->cxt, 1); breaks into this function. And all that said is presented into the gos_x_threads.c. There is no other gos_x_threads??.c, only .h (like gos_x_threads347.h). I dont know how I change this. Ive already set GFX_CPU correctly, did you saw the gfx_conf.c that I pasted one day ago? How can I call the correct gox_x_threads function?
  6. Is it possible that I dont have suficient HEAP?? I put two threads into my program (as above). When I REMOVE mouse, I am able to see ONE time each thread (enter in THREAD 1, than enter in THREAD 2, and breaks). When I ACTIVATE mouse, the program just enter in THREAD 1. Is there any connection?
  7. Im using ugfx_2.7. I followed all the instructions to make it work (as my display is already working). And i am programing the screens at UFGX studio 0.15.
  8. After a several testings, I discovered that the problem is with gfxSleepMilliseconds function. So I add debug points in every single step. I discovered that "static void _gfxXSwitch(thread *oldt, thread *newt, bool_t doBuildFrame)", in the gos_x_threads.c is breaking. Just in the line: // Start the new context CXT_RESTORE(newt->cxt, 1); I believe this is going to something that calls that longjmp stuff, that I saw in your forum that is crashing. What should I do? Multiple tasks only work if i put HAL_Delay. But this is not the point, I should work with uGFX library.
  9. Folks. Now thread is working because i REMOVED thread 2. Is that correct thing to do? But still not entering in the function mouseXYZ, for touch implementations.
  10. Sorry folks, I did not paste the correct gfx_conf.h. As you can see now, Ive already set #define GFX_CPU GFX_CPU_CORTEX_M3 I even tried: #define GFX_CPU_NO_ALIGNMENT_FAULTS TRUE #define GFX_EMULATE_MALLOC TRUE Without sucess. I debug and the program stops in thread 1! /******************************************************************************/ /* This file has been generated by the uGFX-Studio */ /* */ /* http://ugfx.org */ /******************************************************************************/ #ifndef _GFXCONF_H #define _GFXCONF_H #define GFX_USE_OS_RAW32 TRUE #define GFX_OS_HEAP_SIZE 10240 #define GFX_CPU GFX_CPU_CORTEX_M3 //#define GFX_CPU_NO_ALIGNMENT_FAULTS TRUE //#define GFX_EMULATE_MALLOC TRUE /********************************************************/ /* GDISP stuff */ /********************************************************/ #define GFX_USE_GDISP TRUE #define GDISP_NEED_CONTROL TRUE #define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_CLIP TRUE #define GDISP_NEED_ARC FALSE #define GDISP_NEED_CONVEX_POLYGON FALSE #define GDISP_NEED_IMAGE FALSE #define GDISP_NEED_STARTUP_LOGO FALSE #define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_MULTITHREAD TRUE #define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_0 #define GDISP_STARTUP_COLOR HTML2COLOR(0xffffff) /********************************************************/ /* Font stuff */ /********************************************************/ #define GDISP_NEED_TEXT TRUE #define GDISP_NEED_ANTIALIAS FALSE #define GDISP_NEED_TEXT_KERNING FALSE #define GDISP_NEED_UTF8 FALSE #define GDISP_INCLUDE_USER_FONTS TRUE /********************************************************/ /* GWIN stuff */ /********************************************************/ #define GFX_USE_GWIN TRUE #define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_REDRAW_IMMEDIATE TRUE #define GWIN_REDRAW_SINGLEOP TRUE #define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_BUTTON TRUE #define GWIN_BUTTON_LAZY_RELEASE FALSE #define GWIN_FLAT_STYLING FALSE #define GWIN_NEED_CONTAINERS TRUE #define GWIN_NEED_CONTAINER TRUE #define GWIN_NEED_FRAME FALSE #define GWIN_NEED_TABSET FALSE /********************************************************/ /* GTIMER stuff */ /********************************************************/ #define GFX_USE_GTIMER TRUE #define GTIMER_THREAD_PRIORITY NORMAL_PRIORITY #define GTIMER_THREAD_WORKAREA_SIZE 2048 /********************************************************/ /* GINPUT stuff */ /********************************************************/ #define GFX_USE_GINPUT TRUE #define GINPUT_NEED_MOUSE TRUE #define GINPUT_TOUCH_USER_CALIBRATION_LOAD TRUE #define GINPUT_NEED_KEYBOARD FALSE//TRUE /********************************************************/ /* GEVENT stuff */ /********************************************************/ #define GFX_USE_GEVENT TRUE #define GEVENT_ASSERT_NO_RESOURCE FALSE #define GEVENT_MAXIMUM_SIZE 32 #define GEVENT_MAX_SOURCE_LISTENERS 32 /********************************************************/ /* GEVENT stuff */ /********************************************************/ #define GFX_USE_GQUEUE TRUE #define GQUEUE_NEED_ASYNC TRUE /********************************************************/ /* GFILE stuff */ /********************************************************/ #define GFX_USE_GFILE FALSE #define GFILE_NEED_NATIVEFS FALSE #define GFILE_NEED_ROMFS FALSE #define GFILE_MAX_GFILES 1 #endif /* _GFXCONF_H */ /* Includes ------------------------------------------------------------------*/ #include <stdio.h> #include "stm32f1xx_hal.h" #include "gfx.h" #include "gui.h" // ********* FPRINTF FOR KEIL ********************** // /* Private function prototypes -----------------------------------------------*/ #ifdef __GNUC__ /* With GCC/RAISONANCE, small printf (option LD Linker->Libraries->Small printf set to 'Yes') calls __io_putchar() */ #define PUTCHAR_PROTOTYPE int __io_putchar(int ch) #else #define PUTCHAR_PROTOTYPE int fputc(int ch, FILE *f) #endif /* __GNUC__ */ /** * @brief Retargets the C library printf function to the USART. * @param None * @retval None */ PUTCHAR_PROTOTYPE { /* Place your implementation of fputc here */ /* e.g. write a character to the USART */ HAL_UART_Transmit(&huart1, (uint8_t *)&ch, 1, 100); return ch; } // ************************************************** // //Implementação para uGFX systemticks_t gfxSystemTicks(void) { return HAL_GetTick(); } systemticks_t gfxMillisecondsToTicks(delaytime_t ms) { return ms; } threadreturn_t heartbeat1(void* param) { (void)param; while (TRUE) { printf("thread 1\n"); HAL_GPIO_TogglePin(Motor_Acion_GPIO_Port, Motor_Acion_Pin); gfxSleepMilliseconds(500); } return (threadreturn_t)0; } threadreturn_t heartbeat2(void* param) { (void)param; while (TRUE) { printf("thread 2\n"); HAL_GPIO_TogglePin(Motor_Acion_GPIO_Port, Motor_Acion_Pin); gfxSleepMilliseconds(900); } return (threadreturn_t)0; } int main(void) { HAL_Init(); /* Configure the system clock */ SystemClock_Config(); /* Initialize all configured peripherals */ MX_GPIO_Init(); MX_ADC1_Init(); MX_ADC2_Init(); //MX_SPI1_Init(); MX_SPI2_Init(); MX_TIM1_Init(); MX_TIM2_Init(); MX_TIM3_Init(); MX_TIM4_Init(); MX_USART1_UART_Init(); // SystemClock_Config(); MX_RTC_Init(); /* Initialize interrupts */ MX_NVIC_Init(); gfxInit(); gdispSetBacklight(100); gdispSetContrast(100); geventListenerInit(&glistener); //geventAttachSource(&glistener, ginputGetKeyboard(0), 0); gwinAttachListener(&glistener); guiCreate(); gfxThreadCreate(0, 2048, NORMAL_PRIORITY, heartbeat1, 0); gfxThreadCreate(0, 2048, NORMAL_PRIORITY, heartbeat2, 0); while (1) { printf("thread main\n"); gfxSleepMilliseconds(1400); // gfxSleepMilliseconds(500); uint16_t icon_touch_temp2 =0; } OBS: Printf working like a charm
  11. Already seen it. Ive posted it what I did. Setting UP the GFX_CPU to ARM M3. Tried to emmulate malloc. Non emmulate malloc. Everything. I really dont know what is the way now
  12. The printf worked. I received the message "thread 1" and then nothing. If I lower the HEAP_SIZE i receive "thread main" one time and then nothing too. But, i didt what you told me: toggle a Led pin. The result was what I expected: the led turn on, and never turn off (just like the printf solution: it showed me ONE time "thread 1"). What should I do now?
  13. I tried to #define GFX_CPU GFX_CPU_CORTEX_M3 and still the same
  14. So, the thread 1 happened one time and one time only. Nothing happened after. #include <stdio.h> #include "stm32f1xx_hal.h" #include "gfx.h" #include "gui.h" threadreturn_t heartbeat1(void* param) { (void)param; while (TRUE) { printf("thread 1\n"); gfxSleepMilliseconds(500); } return (threadreturn_t)0; } threadreturn_t heartbeat2(void* param) { (void)param; while (TRUE) { printf("thread 2\n"); gfxSleepMilliseconds(900); } return (threadreturn_t)0; } int main(void) { gfxInit(); gdispSetBacklight(100); gdispSetContrast(100); geventListenerInit(&glistener); //geventAttachSource(&glistener, ginputGetKeyboard(0), 0); gwinAttachListener(&glistener); guiCreate(); gfxThreadCreate(0, 2048, NORMAL_PRIORITY, heartbeat1, 0); gfxThreadCreate(0, 2048, NORMAL_PRIORITY, heartbeat2, 0); while (1) { printf("thread main\n"); gfxSleepMilliseconds(1400); } } /******************************************************************************/ /* This file has been generated by the uGFX-Studio */ /* */ /* http://ugfx.org */ /******************************************************************************/ #ifndef _GFXCONF_H #define _GFXCONF_H #define GFX_USE_OS_RAW32 TRUE #define GFX_OS_HEAP_SIZE 10240 /********************************************************/ /* GDISP stuff */ /********************************************************/ #define GFX_USE_GDISP TRUE #define GDISP_NEED_CONTROL TRUE #define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_CLIP TRUE #define GDISP_NEED_ARC FALSE #define GDISP_NEED_CONVEX_POLYGON FALSE #define GDISP_NEED_IMAGE FALSE #define GDISP_NEED_STARTUP_LOGO FALSE #define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_MULTITHREAD TRUE #define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_0 #define GDISP_STARTUP_COLOR HTML2COLOR(0xffffff) /********************************************************/ /* Font stuff */ /********************************************************/ #define GDISP_NEED_TEXT TRUE #define GDISP_NEED_ANTIALIAS FALSE #define GDISP_NEED_TEXT_KERNING FALSE #define GDISP_NEED_UTF8 FALSE #define GDISP_INCLUDE_USER_FONTS TRUE /********************************************************/ /* GWIN stuff */ /********************************************************/ #define GFX_USE_GWIN TRUE #define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_REDRAW_IMMEDIATE TRUE #define GWIN_REDRAW_SINGLEOP TRUE #define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_BUTTON TRUE #define GWIN_BUTTON_LAZY_RELEASE FALSE #define GWIN_FLAT_STYLING FALSE #define GWIN_NEED_CONTAINERS TRUE #define GWIN_NEED_CONTAINER TRUE #define GWIN_NEED_FRAME FALSE #define GWIN_NEED_TABSET FALSE /********************************************************/ /* GTIMER stuff */ /********************************************************/ #define GFX_USE_GTIMER TRUE #define GTIMER_THREAD_PRIORITY NORMAL_PRIORITY #define GTIMER_THREAD_WORKAREA_SIZE 2048 /********************************************************/ /* GINPUT stuff */ /********************************************************/ #define GFX_USE_GINPUT TRUE #define GINPUT_NEED_MOUSE TRUE #define GINPUT_TOUCH_USER_CALIBRATION_LOAD TRUE #define GINPUT_NEED_KEYBOARD FALSE//TRUE /********************************************************/ /* GEVENT stuff */ /********************************************************/ #define GFX_USE_GEVENT TRUE #define GEVENT_ASSERT_NO_RESOURCE FALSE #define GEVENT_MAXIMUM_SIZE 32 #define GEVENT_MAX_SOURCE_LISTENERS 32 /********************************************************/ /* GEVENT stuff */ /********************************************************/ #define GFX_USE_GQUEUE TRUE #define GQUEUE_NEED_ASYNC TRUE /********************************************************/ /* GFILE stuff */ /********************************************************/ #define GFX_USE_GFILE FALSE #define GFILE_NEED_NATIVEFS FALSE #define GFILE_NEED_ROMFS FALSE #define GFILE_MAX_GFILES 1 #endif /* _GFXCONF_H */ I took of the: #if defined(WIN32) #include <windows.h> static DWORD nres; // On Win32 don't use the C library fprintf or write as they crash. // Maybe we just need to add the multi-thread C library options to the compile. // Instead we use the Win32 API directly as that always works. #define DEBUGWRITE(str) WriteFile(GetStdHandle(STD_ERROR_HANDLE), str, strlen(str), &nres, 0) #else #warning "You must alter this demo to define a DEBUGWRITE macro for your platform." #warning "Be careful of using C library functions as they sometimes crash if they are not expecting stack changes (if possible use a multi-thread aware C library)" #warning "You might flash LED's instead if that is better for your platform." #error "--" #endif because it was not compiling. What is the error now?
  15. Hi! If I use #define GFX_USE_OS_FREERTOS TRUE, instead of RAW32, my problem maybe solved?
  16. Hello masters! After days of strugling, i discovered (throught your forum) that my GTimer is not working! I cant get the mouseXYZ() (of an ADS7843 resistive touch driver, modified by me) working. It is suppoused to enter in this function every X seconds, right? Well its not happening. I even try this example https://wiki.ugfx.io/index.php/GTIMER . I have a Relay working in my hardware. In the callback function, I put it to toggle. Nothing is happening. Can you show me where is the problem? gfxconf.h /******************************************************************************/ /* This file has been generated by the uGFX-Studio */ /* */ /* http://ugfx.org */ /******************************************************************************/ #ifndef _GFXCONF_H #define _GFXCONF_H #define GFX_USE_OS_RAW32 TRUE #define GFX_OS_HEAP_SIZE 2000 /********************************************************/ /* GDISP stuff */ /********************************************************/ #define GFX_USE_GDISP TRUE #define GDISP_NEED_CONTROL TRUE #define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_CLIP TRUE #define GDISP_NEED_ARC FALSE #define GDISP_NEED_CONVEX_POLYGON FALSE #define GDISP_NEED_IMAGE FALSE #define GDISP_NEED_STARTUP_LOGO FALSE #define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_MULTITHREAD TRUE #define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_0 #define GDISP_STARTUP_COLOR HTML2COLOR(0xffffff) /********************************************************/ /* Font stuff */ /********************************************************/ #define GDISP_NEED_TEXT TRUE #define GDISP_NEED_ANTIALIAS FALSE #define GDISP_NEED_TEXT_KERNING FALSE #define GDISP_NEED_UTF8 FALSE #define GDISP_INCLUDE_USER_FONTS TRUE /********************************************************/ /* GWIN stuff */ /********************************************************/ #define GFX_USE_GWIN TRUE #define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_REDRAW_IMMEDIATE TRUE #define GWIN_REDRAW_SINGLEOP TRUE #define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_BUTTON TRUE #define GWIN_BUTTON_LAZY_RELEASE FALSE #define GWIN_FLAT_STYLING FALSE #define GWIN_NEED_CONTAINERS TRUE #define GWIN_NEED_CONTAINER TRUE #define GWIN_NEED_FRAME FALSE #define GWIN_NEED_TABSET FALSE /********************************************************/ /* GTIMER stuff */ /********************************************************/ #define GFX_USE_GTIMER TRUE #define GTIMER_THREAD_PRIORITY NORMAL_PRIORITY #define GTIMER_THREAD_WORKAREA_SIZE 2048 /********************************************************/ /* GINPUT stuff */ /********************************************************/ #define GFX_USE_GINPUT TRUE #define GINPUT_NEED_MOUSE TRUE #define GINPUT_TOUCH_USER_CALIBRATION_LOAD TRUE #define GINPUT_NEED_KEYBOARD FALSE//TRUE /********************************************************/ /* GEVENT stuff */ /********************************************************/ #define GFX_USE_GEVENT TRUE #define GEVENT_ASSERT_NO_RESOURCE FALSE #define GEVENT_MAXIMUM_SIZE 32 #define GEVENT_MAX_SOURCE_LISTENERS 32 /********************************************************/ /* GEVENT stuff */ /********************************************************/ #define GFX_USE_GQUEUE TRUE #define GQUEUE_NEED_ASYNC TRUE /********************************************************/ /* GFILE stuff */ /********************************************************/ #define GFX_USE_GFILE FALSE #define GFILE_NEED_NATIVEFS FALSE #define GFILE_NEED_ROMFS FALSE #define GFILE_MAX_GFILES 1 #endif /* _GFXCONF_H */ gui.c Event Loop void guiEventLoop(void) { GEvent* pe; // while (1) { // Get an event pe = geventEventWait(&glistener, 0); //printf("pe = %d\r\n", pe); switch (pe->type) { case GEVENT_GWIN_BUTTON: if ( ((GEventGWinButton*)pe)->gwin == SISTEMA) { // Our button has been pressed printf("buttom press"); //guiShowPage(1); //TOUCH_FLAG = 0; } break; } //} } OBS: I saw in other posts that peep are modifiing the function geventWait to TIME_INFINITE, etc. I've tried everything.
  17. Just for my knowledge: how much will cost me for your full implementation of this driver? with full explanation and about 5 or 6 screens running? Its for my hardware based on STMF103CBT3 all communicated with SPI (touch and display). My project is control an AIR ANALYSER. The client get fed up with his PLC and decided to implement all in one (uC + TFT display). I wanna know your price because I think you will programm this very faster than me and maybe (just maybe) I can pay your work. If you want, You can put a price on a consulting too.
  18. And one dummy question: How I manage to get my button position with touch? What is the correct logic of it?
  19. Hello! Im not sure yet. I have that EastRising 4.3" display and a resistive touch is directly connected to RA8875 chip. And aparently, all commands are send/receive throught SPI. Am I right? Your ways above are the right ones for my case?
  20. Hello folks. Is there any example of RESISTIVE TOUCH application? I can see only drivers for Capacitive touch but not any C codes for resistive touchs. Cheers
  21. The easiest way to do this would be to manually clear the visible and sysvisible flags in the window structure before destroying the page. That may be sufficient although technically it leaves invalid flags on the page 1 children. If that method is not sufficient you may need to also cycle through page 1 children and clear the sysvisible flag (but not the visible flag) before destroying the object. Hello @inmarket! Im having such problem. How I do this? Im working with several screens and the change of then is too slow because im using SPI of a Stm32f103.
  22. Hello! I understood now! Everything is going right except for this slow transition of the colors. I read about the acceleration and search for the gdisp_driver.h. Can you give me an exemple of how I use this stuff to CLEAR the screen? I believe after this, i will be abble to succeed in my apps
  23. Good day! And happy new Year So, I was able to make my display work, finally! BUUUT: I couldnt work with gfxClear(); it says that this function doesnt exist. So I implement gdispClear(Blue); There is a big problem: It is TOO MUCH SLOW! The change of the screen colors are slow, slow, slow! too much slow! And btw, the RED color become yellow. Is there anything wrong with my code? while (1) { gdispClear(Blue); //gfxClear(Blue); gfxSleepMilliseconds(500); gdispClear(Red); //gfxClear(Red); gfxSleepMilliseconds(500); } gfxconf.h /******************************************************************************/ /* This file has been generated by the uGFX-Studio */ /* */ /* http://ugfx.org */ /******************************************************************************/ #ifndef _GFXCONF_H #define _GFXCONF_H //#define GFX_USE_OS_KEIL TRUE #define GFX_USE_OS_RAW32 TRUE /********************************************************/ /* GDISP stuff */ /********************************************************/ #define GFX_USE_GDISP TRUE #define GDISP_NEED_CONTROL TRUE #define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_CLIP TRUE #define GDISP_NEED_ARC TRUE #define GDISP_NEED_CONVEX_POLYGON FALSE #define GDISP_NEED_IMAGE FALSE #define GDISP_NEED_STARTUP_LOGO FALSE #define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_MULTITHREAD TRUE #define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_0 #define GDISP_STARTUP_COLOR HTML2COLOR(0xFFFFFF) /********************************************************/ /* Font stuff */ /********************************************************/ #define GDISP_NEED_TEXT TRUE #define GDISP_NEED_ANTIALIAS FALSE #define GDISP_NEED_TEXT_KERNING FALSE #define GDISP_NEED_UTF8 FALSE #define GDISP_INCLUDE_USER_FONTS TRUE /********************************************************/ /* GWIN stuff */ /********************************************************/ #define GFX_USE_GWIN TRUE #define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_REDRAW_IMMEDIATE TRUE #define GWIN_REDRAW_SINGLEOP TRUE #define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_BUTTON TRUE #define GWIN_BUTTON_LAZY_RELEASE FALSE #define GWIN_FLAT_STYLING FALSE #define GWIN_NEED_CONTAINERS TRUE #define GWIN_NEED_CONTAINER TRUE #define GWIN_NEED_FRAME FALSE #define GWIN_NEED_TABSET FALSE /********************************************************/ /* GTIMER stuff */ /********************************************************/ #define GFX_USE_GTIMER TRUE #define GTIMER_THREAD_PRIORITY NORMAL_PRIORITY #define GTIMER_THREAD_WORKAREA_SIZE 2048 /********************************************************/ /* GINPUT stuff */ /********************************************************/ #define GFX_USE_GINPUT TRUE #define GINPUT_NEED_MOUSE FALSE //TRUE #define GINPUT_TOUCH_USER_CALIBRATION_LOAD FALSE #define GINPUT_NEED_KEYBOARD FALSE /********************************************************/ /* GEVENT stuff */ /********************************************************/ #define GFX_USE_GEVENT TRUE #define GEVENT_ASSERT_NO_RESOURCE FALSE #define GEVENT_MAXIMUM_SIZE 32 #define GEVENT_MAX_SOURCE_LISTENERS 32 /********************************************************/ /* GEVENT stuff */ /********************************************************/ #define GFX_USE_GQUEUE TRUE #define GQUEUE_NEED_ASYNC TRUE /********************************************************/ /* GFILE stuff */ /********************************************************/ #define GFX_USE_GFILE FALSE #define GFILE_NEED_NATIVEFS FALSE #define GFILE_NEED_ROMFS TRUE #define GFILE_MAX_GFILES 1 #endif /* _GFXCONF_H */
  24. Hello!! Ive attached the configuration file now. Just to remind you that I pasted this on gfx.c: systemticks_t gfxSystemTicks(void) { return HAL_GetTick(); } systemticks_t gfxMillisecondsToTicks(delaytime_t ms) { return ms; } I will be on my business vacation till 3 january 2017. but I will see your answer here (if the configuration file is wrong) and will try a simple screen. You are saying that: I dont need to do ANYTHING on Studio right now? Only init and clear? configuration file.txt
  25. Ok! Now I Understood! (used to work with PIC, very different programming). I followed your steps, use RAW32 as OS, paste my "initial screen" (create on studio), and put some debugs with PRINTF (implemented on top, not showed but working). As you see on the attached picture, the programm is stucked on gfxInit(); . I paste the example functions (explained on the GUIDE) on gfx.c, and include gfx.h and stm32f1xx_hall.h. What could it be wrong??
×
×
  • Create New...