I am intending on running emWin using built in RAM only. I do not want to use more than half of the built in RAM for display buffering, and our application allows us to run the display using a fixed, custom 16-color palette (which can be themed) using 4bpp mappings. This would utilize roughly 35K of RAM for a 320x240 LCD. Is there an example of the code required to set this up? I am pretty sure the LPC1788 supports this mode.
/P
I was hoping to avoid having to write a from-scratch c-program, and leverage emwin for this application. What I could not determine from the emWin documentation is how to establish a custom pallete to work with a 4bpp drive. I think its about initializing emWin properly.
The LCP1788 LCD controller is very easy to set up. Just look in the manual and setup the register.
But: if you want to change the display contents without visible screen disturbance, you have to use 2 RAM buffers. So I think your approch of using only internal RAM will not work.