上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 90 下一页

2017年8月3日

在linux,arm上的屏幕搜索wifi并连接(qt,多选择,wifi按信号排列)转

摘要: 先上代码!! #include "widget.h"#include "ui_widget.h"#include <QVBoxLayout>#include <QMessageBox>Widget::Widget(QWidget *parent) : QWidget(parent), ui(new 阅读全文

posted @ 2017-08-03 22:07 xihong 阅读(406) 评论(0) 推荐(0) 编辑

2017年7月19日

将DHT11移植到Linux系统上(转)

摘要: 由于项目需要,需要将DHT11移植到Linux。驱动程序如下 [plain] view plain copy #include <linux/kernel.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/inp 阅读全文

posted @ 2017-07-19 21:50 xihong 阅读(842) 评论(0) 推荐(0) 编辑

2017年7月6日

Linux下用文件IO的方式操作GPIO(/sys/class/gpio)(转)

摘要: 通过sysfs方式控制GPIO,先访问/sys/class/gpio目录,向export文件写入GPIO编号,使得该GPIO的操作接口从内核空间暴露到用户空间,GPIO的操作接口包括direction和value等,direction控制GPIO方向,而value可控制GPIO输出或获得GPIO输入 阅读全文

posted @ 2017-07-06 21:41 xihong 阅读(881) 评论(0) 推荐(0) 编辑

2017年6月30日

asm335x系列adc和触摸屏驱动(转)

摘要: An analog-to-digital converter (abbreviated ADC) is a device that uses sampling to convert a continuous quantity to a discrete time representation in 阅读全文

posted @ 2017-06-30 13:53 xihong 阅读(844) 评论(0) 推荐(0) 编辑

2017年6月26日

(原创)AP6212蓝牙模块在am335x控制板上的应用

摘要: 主控板wifi模块调通后接着调试蓝牙,经过两周的摸索,终于把蓝牙应用基本建立起来,下面记录下大概流程。 1、硬件管脚设置 static void uart4_init(int evm_id, int profile){ /* Configure Uart4*/ printk(KERN_ERR" BT 阅读全文

posted @ 2017-06-26 09:03 xihong 阅读(3906) 评论(0) 推荐(1) 编辑

2017年6月13日

Am335x 下GPIO控制实例-驱动程序(转)

摘要: 看了这么多的资料,现在决定上手了,下面将用两种方式来实现对GPIO 117的控制1,用直接添加到内核的方式,实现MISC的驱动(misc_register)2,用手工安装的方式,实现简单字符设备驱动(register_chrdev)实现前提:当前所用的GPIO没有被其它设备所使用,大家可以用我前面B 阅读全文

posted @ 2017-06-13 21:47 xihong 阅读(3140) 评论(0) 推荐(0) 编辑

2017年6月9日

(原创)AP6212移植到AM335X自主开发板上

摘要: 转载请指明出处。 参考《关于AM335X移植SDIO WIFI的简易教程》 http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/127565.aspx 经过一周的摸索,基本上实现了wifi的功能。以下记录下移植的步 阅读全文

posted @ 2017-06-09 11:29 xihong 阅读(5362) 评论(0) 推荐(0) 编辑

2017年6月6日

关于AM335X移植SDIO WIFI的简易教程(转)

摘要: 最近应一个朋友邀请,帮他移植了SDIO WIFI到3.2版本内核。因为之前已经成功移植了3.14内核,所以整个过程花了一个下午就完成了。话不多说,先交待一下平台: CPU:TI AM3352 600MOS:ubuntu core 12.04 for armSDK版本:TI SDK 06.00.00( 阅读全文

posted @ 2017-06-06 14:22 xihong 阅读(3456) 评论(0) 推荐(0) 编辑

2017年5月11日

am335x内核初始化路径

摘要: /arch/arm/mach-omap2/board_am335xevm.c中 1、myd_am335x_dev_cfg[]{ evm_nand_init() ... myir_gpio_init() myir_wdt_init()} 2、__init am335x_evm_init(void) { 阅读全文

posted @ 2017-05-11 09:12 xihong 阅读(699) 评论(0) 推荐(0) 编辑

am335x_y蜂鸣器驱动

摘要: 修改文件:1、板级文件/arch/arm/mach-omap2/board-am335xevm.c static struct platform_device buzzer_device= { .name = "buzzer", .id = -1, }; static void __init am3 阅读全文

posted @ 2017-05-11 09:07 xihong 阅读(444) 评论(0) 推荐(0) 编辑

上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 90 下一页

导航