分类目录:嵌入式笔记

以下是分类 嵌入式笔记 下的所有文章

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互斥锁,信号量

互斥锁与信号量的区别 作用域 信号量: 进程间或线程间(linux仅线程间) 互斥锁: 线程间 上锁时 信号量: 与ucos的一样,只要信号量的value大于0,其他线程就可以sem_wait成功,成功后信号量的value减一.若value值不大于0,则sem_wait阻塞,直到sem_post释放后value值加一 互斥锁: 只要被锁住……


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

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 混杂设备驱动复习

以前写的文章丢失.现在重新复习一下. 首先搞定makefile文件.基本格式如下: #定义最终的模块名,不能与现有的任何.c .h等文件重名 MODULE_NAME := it6604driver #指定驱动模块的核心文件(有init 和 exit) RESMAIN_CORE_OBJS := it6604dev.o #所依赖的文件 RES……


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

QT:编译问题整理

编译错误 undefined reference to ‘accept4’ 打开文件qplatformdefs.h增加 #undef O_CLOEXEC 此处主要为解决:编译过程中找不到accept4函数问题 error: ‘stderr’ was not declared in this scope 出现版本:5.12.1 编译器,HI……


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