diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-28 23:39:57 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-28 23:39:57 +0000 |
commit | 23ddf8e48b573f08c96d1bcde85f2e3f029b806d (patch) | |
tree | bd6d3a597498b29fc43985ca6fa75e581d065b28 /nuttx/configs/sim | |
parent | 4041d950714df40a207131894ca4121f53911820 (diff) | |
download | px4-nuttx-23ddf8e48b573f08c96d1bcde85f2e3f029b806d.tar.gz px4-nuttx-23ddf8e48b573f08c96d1bcde85f2e3f029b806d.tar.bz2 px4-nuttx-23ddf8e48b573f08c96d1bcde85f2e3f029b806d.zip |
Simulated touchscreen debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3994 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/sim')
-rw-r--r-- | nuttx/configs/sim/README.txt | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/nuttx/configs/sim/README.txt b/nuttx/configs/sim/README.txt index 3a9348d1c..592fb3a47 100644 --- a/nuttx/configs/sim/README.txt +++ b/nuttx/configs/sim/README.txt @@ -267,16 +267,23 @@ nx11 CONFIG_SIM_TOUCHSCREEN=y Then you must also have some application logic that will call - up_simtouchscreen(0) to register the touchscreen driver. + sim_tcinitializ(0) to register the touchscreen driver. NOTES: - 1. If you do not have this call, the build will mysteriously - fail claiming that is can't find up_tcenter(0 and up_tcleave(). - That is a consequence of the crazy way that the simulation is - built and can only be eliminated by call up_simtouchscreen(0) - from your application. - 2. You must first call + 1. If you do not have the call to sim_tcinitializE(0), the build + will mysteriously fail claiming that is can't find up_tcenter() + and up_tcleave(). That is a consequence of the crazy way that + the simulation is built and can only be eliminated by calling + up_simtouchscreen(0) from your application. + + 2. You must first up_fbinitialize() before calling up_simtouchscreen() + or you will get a crash. + + 3. Call sim_tcuninintialize() when you are finished with the + simulated touchscreen. + + 4. Enable CONFIG_DEBUG_INPUT=y for touchscreen debug output. X11 Build Issues ---------------- |