错误举例:
..\..\Libraries\STM32_USB-FS-Device_Driver\inc\usb_type.h(21): error: #5: cannot open source input file "usb_conf.h": No such file or directory
这是因为没有设置 STM32 固件库的目录, 编译器就默认到 “Keil”根目录下的某某目录找...
分类:
其他好文 时间:
2014-08-01 16:07:51
阅读次数:
294
ultrafine crusher is a single machine and also a new type of ore crushing device with high input, high crushing ratio, high output and low energy cons...
分类:
其他好文 时间:
2014-08-01 10:32:51
阅读次数:
192
For SATA disks badbclocks checking, please use commands
# badblocks -v /dev/sda
# badblocks -v /dev/sdb...
分类:
系统相关 时间:
2014-08-01 00:04:30
阅读次数:
366
废话不说,直接上代码C/C++ code?1234567891011121314151617181920212223__global__voidKernel(int*dv){inti=threadIdx.x;dv[i]=i;}intmain(){thrust::device_vectordv(10)...
分类:
其他好文 时间:
2014-07-31 09:31:45
阅读次数:
180
最近到4412最基本的都调了 然后觉得没事做了 所以增加一个HDMI的设置 不能闲着
以下使用的是广州斯道的icool210开发板 源码修改如下
最开始我是先在设置里加上这些设置然后在去实现功能 这里就一起说了 之前android2.3里有HDMI设置所以这里就参照那个增加 首先修改Setting
查看libhdmi库首先查看下hdmi能设置的格式 源码路径
device/samsung/...
分类:
移动开发 时间:
2014-07-30 20:53:14
阅读次数:
383
vmlite虚拟机启动出错,就把这个虚拟机删除掉重新建立,系统虚拟硬盘使用之前的,启动系统后不能上网,通过ifconfig查看网卡没启动,遂启动网卡服务,但是出错,就是:deviceeth0doesnotseemtobepresent,delayinginitialization,然后想到是不是ifcfg-eth0的配置文件里保存了以..
分类:
其他好文 时间:
2014-07-30 12:29:54
阅读次数:
195
昨天,阿里的电话面试,让我发现好多不足,好多微小的知识点平时都没怎么关注,好吧,第一篇blog来分析下android中各种尺寸单位。面试题1:“Android中很多尺寸单位有哪些,具体有哪些区别”1.尺寸种类dip , px , pt ,sp ,dpdip:(device indepedent pi...
分类:
移动开发 时间:
2014-07-30 11:57:23
阅读次数:
219
先介绍一下这几个单位:
px : pixels(像素),对应屏幕上的实际像素点。
dip :device independent pixels,与密度无关的像素,基于屏幕密度的抽象单位。在每英寸160点的显示器上,
1dp = 1px ,即1 :1关系。(dp 就是 dip)
sp : scaled pixels(放大像素).与密度和字体缩放度无关的像素。 主要用于字体显示...
分类:
移动开发 时间:
2014-07-30 10:01:57
阅读次数:
258
有必要了解的 Android中常见的单位 dip, dp, px, sp之间的区别:dip: device independent pixels(设备独立像素). 不同设备有不同的显示效果,这个和设备硬件有关,一般我们为了支持WVGA、HVGA和QVGA 推荐使用这个,不依赖像素。px: pixel...
分类:
移动开发 时间:
2014-07-30 09:47:43
阅读次数:
443
QT通过ODBC连接数据库SQL Server 2008,进行数据插入时遇到的问题: 先把数据存入变量中,如何使用变量进行插入?插入语句该怎么写? QSqlQuery query(db); query.exec("insert into device values('"+datetime+"','"...
分类:
数据库 时间:
2014-07-29 20:54:02
阅读次数:
247