2011-02-23 19:00:03 UTC
First i really apologize as i'm floading the forum with my questions. I'm trying nuttx for a new project so i'm trying to test every thing.
i'm now compiling for the simulator for nx. when i compiled i get an error:
up_framebuffer.c:145: error: `FB_FMT_RGB8' undeclared here (not in a function)
i searched and found that in case of CONFIG_SIM_FBBPP = 8, then FB_FMT equal FB_FMT_RGB8 which is not defined in fb.h
there is another definition FB_FMT_RGB8_32
#define FB_FMT_RGB1 3 /* BPP=1 */
#define FB_FMT_RGB4 4 /* BPP=4 */
#define FB_FMT_RGB8_332 5 /* BPP=8 */
#define FB_FMT_RGB12_444 6 /* BPP=12 */
#define FB_FMT_RGB16_555 7 /* BPP=16 R=5, G=5, B=5 (1 unused bit) */
#define FB_FMT_RGB16_565 8 /* BPP=16 R=6, G=6, B=5 */
#define FB_FMT_RGB24 9 /* BPP=24 */
#define FB_FMT_RGB32 10 /* BPP=32 */
I tried changing the CONFIG_SIM_FBBPP to 4. it compiled but there was an error in playing saying that BPP = 4 is not supported.
so can any body tell what is wrong?