summaryrefslogtreecommitdiff
path: root/nuttx/configs/sim/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-30 20:09:14 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-30 20:09:14 +0000
commitf89d3e1e2b6e387f4818003ef33b23d499b6722a (patch)
treefad4bd41afe5baad5eba144471d93fbbc35971e8 /nuttx/configs/sim/README.txt
parent35fca0444f23f80018b537db7e70a3abb3f0c5d5 (diff)
downloadpx4-nuttx-f89d3e1e2b6e387f4818003ef33b23d499b6722a.tar.gz
px4-nuttx-f89d3e1e2b6e387f4818003ef33b23d499b6722a.tar.bz2
px4-nuttx-f89d3e1e2b6e387f4818003ef33b23d499b6722a.zip
X reports 24 bpp depth, but wants 32 bpp size pixels
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1363 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/sim/README.txt')
-rw-r--r--nuttx/configs/sim/README.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/nuttx/configs/sim/README.txt b/nuttx/configs/sim/README.txt
index aed86deff..39f6d7a63 100644
--- a/nuttx/configs/sim/README.txt
+++ b/nuttx/configs/sim/README.txt
@@ -42,10 +42,16 @@ nx
CONFIG_SIM_FBBPP - Pixel depth in bits
NOTES:
- - If CONFIG_SIM_X11FB is selected then CONFIG_SIM_FBBPP must
- match the resolution of the display.
+ - If CONFIG_SIM_X11FB is selected then the following are
+ needed
+
+ CONFIG_SIM_FBBPP (must match the resolution of the display).
+ CONFIG_FB_CMAP=y
+
+ My system has 24-bit color, but packed into 32-bit words so
+ the correct seeting of CONFIG_SIM_FBBPP is 32.
- For whatever value of CONFIG_SIM_FBBPP is selected, then
- the corresponing CONFIG_NXGLIB_DISABLE_*BPP setting must
+ the corresponidng CONFIG_NXGLIB_DISABLE_*BPP setting must
not be disabled.
- The default in defconfig is to use a generic memory buffer
for the framebuffer. defconfig-x11 is an example with X11