分类目录:嵌入式笔记

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

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

Git 中出现 ^M 解决方案

下面简单的方法可以让git diff的时候忽略换行符的差异: git config –global core.whitespace cr-at-eol 对于已经被修改的文件.使用dos2unix批量替换 # 单个文件直接 dos2unix.exe xxx.file # 多个文件使用 xargs处理 find ./ -name “*” |……


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

linxu 线程独占CPU

线程或进程独占CPU一般用来相对地提升实时性,但也不要指忘达到真正的实时操作系统的性能. 进程邦定CPU 我们通过系统调用sched_setaffinity进行绑定,通过sched_getaffinity获取绑定关系。注意这对方法是进程级别的绑定。代码中指定cpu0和cpu3,我们可以通过htop查看,两个cpu使用达到了100%,其他的……


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

uboot下备份镜像

当前仅适用于海思 1 、设置环境变量 setenv serverip 192.168.230.111 setenv ipaddr 192.168.230.124 sa ping 192.168.230.111  2、将要备份flash数据读入内存中 sf probe 0 sf read 82000000 100000   400000 s……


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