Good day all,
I am using the NXP I.MXRT1064-EVK for some screen prototyping with the following constraints/features:
- Using precompiled emWin from NXP. - Interesting note, LCD_GetNumLayers() always returns 1.
- Using a ST7789 display driver (320x240, 16bits per pixel)
- emWin is working, I am able to write text/draw images/create graphs on the display.
- One screen buffer should be a total of 153,000 bytes.
- I have a total of 350,000 bytes declared as part of GUI_NUMBYTES.
- I have GUI_BUFFERS of 2
When calling GUI_SetOrientation() I am getting a return value of 1. Which by the documentation, looks to be a failure.
From trawling the web, I am seeing this usually occurs when emWin has not been given enough memory as GUI_SetOrientation creates a new frame. I am sure I have declared more than enough memory for the two frames however I am still receiving this error.
Thank you!
I am using the NXP I.MXRT1064-EVK for some screen prototyping with the following constraints/features:
- Using precompiled emWin from NXP. - Interesting note, LCD_GetNumLayers() always returns 1.
- Using a ST7789 display driver (320x240, 16bits per pixel)
- emWin is working, I am able to write text/draw images/create graphs on the display.
- One screen buffer should be a total of 153,000 bytes.
- I have a total of 350,000 bytes declared as part of GUI_NUMBYTES.
- I have GUI_BUFFERS of 2
When calling GUI_SetOrientation() I am getting a return value of 1. Which by the documentation, looks to be a failure.
From trawling the web, I am seeing this usually occurs when emWin has not been given enough memory as GUI_SetOrientation creates a new frame. I am sure I have declared more than enough memory for the two frames however I am still receiving this error.
Thank you!