Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2248756
  • 博文数量: 318
  • 博客积分: 8752
  • 博客等级: 中将
  • 技术积分: 4944
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-23 07:56
文章分类

全部博文(318)

文章存档

2019年(1)

2017年(2)

2016年(12)

2015年(2)

2014年(1)

2013年(17)

2012年(22)

2011年(9)

2010年(37)

2009年(33)

2008年(44)

2007年(43)

2006年(95)

发布时间:2016-02-02 10:27:28

除了人工的分析之外,最简单最直接的调试方法要算printf了。不过,我们这里推荐使用的并不是初学C语言时使用的函数int printf(const char *format, ...),而是稍微复杂一点的fprintf()函数,因为它更方便我们之后重定向错误输出信息到指定的设备。fprintf()函数的原型如下:int fprint.........【阅读全文】

阅读(4946) | 评论(0) | 转发(0)

发布时间:2015-08-11 17:42:08

<div><u style="font-size:10pt;"><span style="font-size:small;">Device tree file changes</span></u><br /></div><div><span style="font-size:10pt;"><br /></span></div><div><span style="font-family:'Arial, sans-serif';font-size:x-small;"><b><u>Step 1:</u></b> OEMs can create their own device .........【阅读全文】

阅读(4671) | 评论(0) | 转发(0)

发布时间:2015-08-10 18:30:29

<p class="article_content" style="margin-top:20px;margin-bottom:0px;font-size:14px;line-height:26px;font-family:Arial;color:#333333;">如果要调试的时候信息打印到超级终端,添加console,像sh一样直接输出到console<br />&nbsp;service console /system/bin/sh<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; console</.........【阅读全文】

阅读(2725) | 评论(0) | 转发(0)

发布时间:2014-06-16 11:01:40

一 概述  Linux内核中gpio是最简单,最常用的资源(和 interrupt ,dma,timer一样)驱动程序,应用程序都能够通过相应的接口使用gpio,gpio使用0~MAX_INT之间的整数标识,不能使用负数,gpio与硬件体系密切相关的,不过linux有一个框架处理gpio,能够使用统一的接口来操作gpio.在讲gpio核心(gpi.........【阅读全文】

阅读(6372) | 评论(0) | 转发(1)

发布时间:2013-12-23 16:05:39

Modern CPUs are more and more powerful. When there is no job to do,itenters into idle state. During its ilde period, we certainly cancutoff its power and have it enter into low-power state only if weknowwhen there is new assignment and we can re-activate CPU and have itdoits jobs again. The .........【阅读全文】

阅读(6469) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

c语言达人2014-06-16 11:04

好你个肺

回复  |  举报

张子萌2012-03-26 13:34

博主您好,1-2月评选名单已公布您获得了系列博文参与奖,本次评选可选奖品种类较多,请您入内选择http://blog.chinaunix.net/uid-24789255-id-3132861.html,回复我您需要的奖品名称,也请把您的邮寄地址给我们(姓名、电话、邮寄具体地址),我们会尽快发给您快递。

回复  |  举报

chinaunix网友2007-04-08 11:28

顶你个肺~这么好!

回复 |  删除 |  举报

chinaunix网友2006-09-07 16:24

夺大

回复 |  删除 |  举报

chinaunix网友2006-06-08 10:26

太好了

回复 |  删除 |  举报
留言热议
请登录后留言。

登录 注册