Closed BingoFang closed 3 years ago
在awtk_config.py中配置好: TSLIB_LIB_DIR='xxx' TSLIB_INC_DIR='xxx' TOOLS_PREFIX='xxx' 并在开发板上将tslib库路径同上定义相同路径及export环境变量 export TSLIB_ROOT=/mnt/tslib export TSLIB_TSDEVICE=/dev/input/event0 export TSLIB_TSEVENTTYPE=input export TSLIB_CALIBFILE=/mnt/pointercal export TSLIB_CONFFILE=$TSLIB_ROOT/etc/ts.conf export TSLIB_PLUGINDIR=$TSLIB_ROOT/lib/ts export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TSLIB_ROOT/lib export TSLIB_FBDEVICE=/dev/fb0 export TSLIB_CONSOLEDEVICE=none
将tslib编译进去,运行时开发板白屏,打印log如下:
去掉tslib再进行编译,运行时可以显示界面,打印log如下:
请问老师:是使用tslib库有问题?有可以用的tslib麻烦提供下试试也行,谢谢!