Jump to content


  • Content Count

  • Joined

  • Last visited

About jcc147

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello, I can make CMSIS_RTOS2 demo examples work and make uGFX examples work, but put them together. I used STM32Cubeide to generate the cmsis2 rtos frame work, and create a thread to call gfxInit() only. Is there any gfxconfig.h I can refer to for the CMSIS_RTOS2? It always got Hard Fault interrupt at loop of touch calibration in gfxInit(). Any help is very appreciated. Josh
  2. The problem solved by enabling #define GWIN_NEED_WINDOWMANAGER GFXON
  3. Hello, I'm trying to use STM32CubeIDE with STM32CubeMX to build a project for HT-MiniSTM board. The TFT driver and touch driver are modified as shown below. I've tried a couple of demo examples. For some reason, any kind of gwinXXX () functions if right after a geventEventWaitevent () will be stuck. the program seems in a loop of mouse read function and can't get out. Is there any hint? Any help is very appreciated. board_SSD1289.h gmouse_lld_ADS7843_board.h gfxconf.h main.c
  4. I used 2048 for the heap size. #define GFX_OS_HEAP_SIZE 2048
  5. I'm using Keil compiler. This project is a tryout to run uGFX on FREERTOS + HY-miniSTM32 (STM32F103VC) board. The base is a FREERTOS demo for HY-miniSTM32 board based on Standard Peripheral Lib. I revised the LCD and Touchscreen driver example codes provided in the uGFX package because the Standard Peripheral Lib is used. By following the instructions provided in the document, there is no problem to integrated uGFX to FREERTOS except the issue of deprecated attribute. Four tasks were created, Task1 : toggling LED1 every 200ms Task2: toggleing LED2 every 300ms
  6. The problem is gwinAttachMouse() is called nowhere in my code. The error is complaining the deprecated attribution doesn't take argument while a message is passed as an argument in gwin_widget.c and gwin_widget.h. #if GFX_USE_GINPUT && GINPUT_NEED_MOUSE bool_t DEPRECATED("This call can now be removed. Attaching the mouse to GWIN is now automatic.") gwinAttachMouse(uint16_t instance) { // This is now a NULL event because we automatically attach to all mice in the system. (void) instance; return TRUE; } #endif The compilation pas
  7. When setting both GINPUT_NEED_MOUSE and GWIN_NEED_WIDGET TRUE, I got this error message: ..\..\ugfx_2.8\src\../src/gwin/gwin_widget.h(340): error: #1204: attribute "deprecated" does not take arguments bool_t DEPRECATED("This call can now be removed. Attaching the mouse to GWIN is now automatic.") gwinAttachMouse(uint16_t instance); How could this happen? Thanks, Josh
  8. After tracing down the code, I found the Width and Height in the GDISP->g has been changed by the function call in _gmouseInitDriver() void gtimerStart(GTimer *pt, GTimerFunction fn, void *param, bool_t periodic, delaytime_t millisec) { gfxMutexEnter(&mutex); // Start our thread if not already going if (!hThread) { hThread = gfxThreadCreate(waTimerThread, GTIMER_THREAD_WORKAREA_SIZE, GTIMER_THREAD_PRIORITY, GTimerThreadHandler, 0); if (hThread) {gfxThreadClose(hThread);} // We never really need the handle again }
  9. Hello, I'm trying to make uGFX run on bare metal HY-miniSTM32 board(STM32F103VC) + SSD1289 + ADS7843 with Std Peripheral Library. The SSD1289 driver for 320x240 display has been revised to use Std Peripheral Library, and it works fine. Now, I'm working on touchscreen. The ADS7843 driver has been updated to use Std Peripheral Library as well. However, after GINPUT_NEED_MOUSE set TRUE, the screen size returned by function call gdispGetWidth() and gdispGetHeight becomes 3849x2048. It seems touchscreen drivers reset the screen size and it doesn't use the screen size set by
  • Create New...