GUI_DEVICE_CreateAndLink multiple layer problem

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • GUI_DEVICE_CreateAndLink multiple layer problem

      Hi. I'm using STM32H747 mcu and STemWin.
      I can init multiple layer on STemWin 5.12 which is provided with STM32Cube.
      But I want to upgrade to newer version so I downloaded emWin_V646_OBJ_STM32 which is provided in Segger.
      I changed STemWin library to these files and changed linker file to libGUI_v7em_fpv4_sp_d16_hard_OS1.a.
      After that pTest = GUI_DEVICE_CreateAndLink(DISPLAY_DRIVER_1, COLOR_CONVERSION_1, 0, 1); return always NULL.
      I already checked that GUI_NUM_LAYERS are 2.
      I'm not sure but when I look up the assembly, I think the linker file(.a) was compiled with only one layer.
      Is there any help with that?

      Thanks.
    • Hello,

      one of the boards I'm using is nearly with the same MCU (STM32H745) and the same library but "-OS0". Just checked in GUI_ConfDefaults.h that library compiled with GUI_NUM_LAYERS set to 1 (at least in v6.46). That means there is no Multilayer support. I'm afraid you can't change things. As alternative maybe you can try to use Softlayers feature, but of course it would work slower. Also it is not clear from the manual whether Softlayers work without Multilayer support...
      Regards,

      Anthony

      The post was edited 3 times, last by cilmagemlu ().