一些好用的指令收藏

生成patch文件好用指令
//会生成HEAD 到f4710c4a32975904b00609f3145c709f31392140 之间修改的文件的patch,然后生成一个压缩包为update_201800001.tar
git diff f4710c4a32975904b00609f3145c709f31392140 HEAD --name-only | xargs tar -rf update_201800001.tar
Android adb命令唤醒屏幕

adb shell input keyevent 26

rockchip gpio 计算公式

GPIO1_D6 = 1*32 + (D - A) * 8 + 6 = 62

用于在屏幕上显示触摸屏画线

adb shell settings put system pointer_location 1

猜你喜欢

转载自blog.csdn.net/qq_27809619/article/details/116060342