嵌入式linux常用测试
Dasg_wf
这个作者很懒,什么都没留下…
展开
-
gpio测试
浏览OpenWrt时看到的,感觉不错,整理装载于此,https://openwrt.org/docs/guide-developer/add.new.device# 一、说明基于gpiolib子系统,sys文件系统,还需要选中板级的gpio驱动。```Device Drivers ---> -*- GPIO Support ---> --- GPIO Support [*] /sys/class/gpio/... (sysf...原创 2020-06-30 10:47:35 · 1934 阅读 · 0 评论 -
linux串口测试例程
#例程有两种基本用法##一、短接tx rx,自发自收,如短接开发板待测串口的tx和rx,运行如下例程,$ ./uart_test /dev/ttyS1 "ti is loop test"##二、用电脑的串口助手进行收发测试1、将开发板待测串口和电脑连接起来(用USB转串口连接板)2、开发板运行例程(循环读取串口内容并回传)$ ./uart_test /dev/ttyS13...原创 2019-06-25 11:44:33 · 2734 阅读 · 0 评论