added support for 8-bit frame buffer when compiled with RGB332 defined
I have tested these changes on Nexys4DDR at 100MHz and miniSpartan6+ at 50MHz. The default is RGB565 as before. But when compiled with CFLAGS=-DRGB332, it uses 8-bit color depth, and the code fits to 400KB BRAM.
I have tested these changes on Nexys4DDR at 100MHz and miniSpartan6+ at 50MHz. The default is RGB565 as before. But when compiled with CFLAGS=-DRGB332, it uses 8-bit color depth, and the code fits to 400KB BRAM.