Hi @akift,
There is no difference from the GUI Guider Code Viewer because this viewer only shows the files relevant to what it modifies inside folders like "Custom" and "Generated". However the actual project is bigger than this, and it contains a lot more information and code outside of the GUI Guider relevant files. If you open the project location using the green folder icon, you will see the whole scope of the project which includes the rest of the necessary files for the project to run on a i.MX RT. More specifically, on the "<project>\sdk\Core\board" path, you will find files with the name "lvgl_support.c" and "lvgl_support.h". The header file contains a macro definition:
#define FB_USE_SRAM 0
This macro states whether the FrameBuffer will use SRAM or not, so changing the Frame Buffer Location from SDRAM to SRAM will change the value of this macro from 0 to 1.
This will affect some lines of code on the lvgl_support.c file, like the following:
#if FB_USE_SRAM
#define DRAW_BUF_HEIGHT (LCD_HEIGHT / 5)
#define DEMO_DB_SIZE LCD_WIDTH * DRAW_BUF_HEIGHT * LCD_FB_BYTE_PER_PIXEL
SDK_ALIGN(__attribute__((section("FrameBuffer"))) static uint8_t s_frameBuffer[1][DEMO_FB_SIZE], DEMO_FB_ALIGN);
SDK_ALIGN(__attribute__((section("DrawBuffer"))) static uint8_t s_lvglBuffer[DEMO_DB_SIZE], DEMO_FB_ALIGN);
#else
SDK_ALIGN(static uint8_t s_frameBuffer[2][DEMO_FB_SIZE], DEMO_FB_ALIGN);
#endif
Using internal SRAM can result in better performance, as stated on the GUI Guider User Guide: https://docs.nxp.com/bundle/GUIGUIDERUG-1.6.1/page/topics/performance.html
BR,
Edwin.