SinA332.0开发板Linux&Qt调整VGA分辨率为1280x720
[复制链接]
Step 1 修改build.sh
vim /root/work/sinlinx/a33/lichee/buildroot/target/sinlinx_board/build.sh
添加下面红色字体修改保存
27 if [ $SINLINX_LCD = "lcd800x480" ]; then
28 sed -i "/export QWS_SIZE/c export QWS_SIZE=800x480" rootfs/etc/profile
29 elif [ $SINLINX_LCD = "lcd1024x600" ]; then
30 sed -i "/export QWS_SIZE/c export QWS_SIZE=1024x600" rootfs/etc/profile
31 else
32 sed -i "/export QWS_SIZE/c export QWS_SIZE=1280x720" rootfs/etc/profile
Step 2 修改sinlinx_config.sh
vim /root/work/sinlinx/a33/lichee/sinlinx_config.sh
添加下面红色字体修改保存
27 lcds=(
28 "lcd1280x720"
29 "lcd1024x600"
30 "lcd800x480"
31 )
Step 3 复制lcd1280x720.fex文件到/root/work/sinlinx/a33/lichee/sinlinx_config
Step 4 重新配置编译镜像文件
./sinlinx_config.sh
./build.sh
./build.sh pack
Step 5 烧写镜像,连接1280x720显示器完美适配
此内容由EEWORLD论坛网友babyking原创,如需转载或用于商业用途需征得作者同意并注明出处
|