I have a Emwin Demo SDK code generated for iMXRT EVK 1064 board. I am using MCUXpresso 11.1 version with SDK 2.7.0
The Emwin Demo default LCD configuration is for 32 bit mode i.e. LCD_BITS_PER_PIXEL is 32. I am using 2 LCD buffers. When i change LCD_BITS_PER_PIXEL to 16 bit i get linker error regarding memory as NCACHE_REGION is only 2MB and BOARD_SDRAM region is 30MB. (Error: section `.bss_RAM2' will not fit in region `NCACHE_REGION')
Following is the summary of settings
NCACHE_REGION BOARD_SDRAM LCD_BITS_PER_PIXEL Debug
30 MB 2 MB 16 program crashes **
2 MB 30 MB 32 success
** runs ok when MCUXpresso 10.3 and SDK 2.6.1.
So what is the ideal BOARD_SDRAM and NCACHE_REGION memory settings for 16 bits per pixel on MCUXpresso 11.1 and SDK 2.7.0