Jump to content

cryptobeat

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by cryptobeat

  1. On 21/02/2019 at 15:21, inmarket said:

    Editing chibios.c/h is the way to go. We have already added support in our uGFX v3 code but that is significantly different to the current V2 code base.

    Due to the significant changes for v3, V2 is currently in lock-down (emergency bug fixes only). V3 is not yet available for the public as changes are still in progress.

    Any way I can get V3 code base? I'm currently porting my code from Chibios 17 to the latest and don't want to spend time on 2.9 build integration if newer uGfx requires significant changes

    Thx

  2. Hi

    I'm getting crash running under Simulator Chibios 1760 + ugfx. Works fine under Chibios 1615 + ugfx

    Please see attached project.

    Crash happens inside this file: gdisp_lld_Win32.c:

     

          mousemove:
             if (priv->capfn) ///////capfn must be null but under 1760 it 's not
                priv->capfn(hWnd, g, btns, (coord_t)LOWORD(lParam), (coord_t)HIWORD(lParam));


    It crashes because it looks like mouse structure initialization overruns the memory in here setting value of the capfn in mouse structure
       
       #if GFX_USE_GINPUT && GINPUT_NEED_MOUSE
          priv->mouseenabled = hWndParent ? FALSE : TRUE;
          priv->mouse = (GMouse *)gdriverRegister((const GDriverVMT const *)GMOUSE_DRIVER_VMT, g);
       #endif


    Any advise?

    Thank you!

    BugReport.zip

×
×
  • Create New...