Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

HI3516D I2C与it6801驱动调试记录

一:解决I2C问题 以前用HI3520D是使用的软件模拟的I2C,今天在弄3516时发现SDK里已经改为硬件I2C的方式了,说明SDK已经做过内核驱动. 到/bin目录里一看,还有i2c_read之类的文件. 然后 板子上的IT6801连接的是I2C0,尝试一下 i2c_read 0x00 0x90 0x02 返回为I2C错误,由于身边没……


Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

内核调试笔记

一:dmesg 当我们没有使用串口连到板子上时.可以使用dmesg命令查看内核打印的信息.详细的 dmesg用法https://linux.cn/article-3587-1.html 二:驱动崩溃查询 如图所示,应该是在it6604driver 开始崩溃 ,利用反汇编工具查找(objdump) bfa9203c以及bfa990c8所指向……


Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

cmake笔记

本文转自:https://elloop.github.io/tools/2016-04-10/learning-cmake-2-commands 版权声明:本文基于署名 2.5 中国大陆许可协议发布,欢迎转载,演绎或用于商业目的,但是必须保留本文的署名elloop(包含链接) 前言 为了让下面的说明举例更加容易理解,先给出本文的示例工程目……


Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

linux把多个静态库合并为一个

最近打算把项目里多个模块分开写,每个模块生成一个库,这样在可以在主项目里直接调用,方便项目的管理. 但理想丰满但现实是残酷的,先不说模块的划分难,因为模块里都要调用到一些库,然而库再生成库时出大事了.因为生成的库并没有把它自已调用的库编译进来,这样还是得在主项目里添加一堆库路径,一堆.a引用.又是一夜的google资料,并没发现有好的方面……


Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97