会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
dong1
抽象 , 总结 ...
博客园
首页
联系
订阅
管理
上一页
1
···
20
21
22
23
24
25
26
27
28
29
下一页
2018年3月15日
nodejs
摘要: 21、nodejs异步读写文件 https://blog.csdn.net/songmaolin_csdn/article/details/52910771 20、nodejs垃圾回收 node --max_semi_space_size=1 --max_old_space_size=10 1.js
阅读全文
posted @ 2018-03-15 13:47 dong1
阅读(441)
评论(0)
推荐(0)
2018年3月9日
linux ipc/its
摘要: linux线程间消息队列 #include <stdio.h>#include <stdlib.h>#include <string.h>#include <pthread.h> #include <unistd.h>#include <sys/ipc.h>#include <sys/msg.h>
阅读全文
posted @ 2018-03-09 09:59 dong1
阅读(414)
评论(0)
推荐(0)
2018年3月6日
SAMA5D3 Xplained Board
摘要: 一、烧录 1)先在官网 http://www.at91.com/linux4sam/bin/view/Linux4SAM/Sama5d3XplainedMainPage 下载 linux4sam-poky-sama5d3_xplained-5.7.zip 和 SAM-BA 3.x release 2
阅读全文
posted @ 2018-03-06 15:07 dong1
阅读(755)
评论(0)
推荐(0)
2018年1月12日
BlueZ
摘要: 一、BlueZ在ubuntu PC上的基础应用 1、bluez的安装及基本功能 dong@ubuntu:~/bluez$ lsbluez-5.47.tar.xz SPP-loopback.pydong@ubuntu:~/bluez$ tar xvf bluez-5.47.tar.xz dong@ub
阅读全文
posted @ 2018-01-12 00:23 dong1
阅读(8761)
评论(4)
推荐(0)
2017年11月6日
数据存储与导出
摘要: 嵌入式设备一般都处理一些数据,大多都是通过flash分块来管理。 如下示例写入一些调试数据到flash dump.c #include <stdlib.h> #include <string.h> #include "drivers/spi_flash.h" #define DEBUG_DATA_S
阅读全文
posted @ 2017-11-06 01:43 dong1
阅读(394)
评论(0)
推荐(0)
系统时间与时区
摘要: 经过几次吐血的教训,不要去转换时区。 用世界时间,100年不动摇。 时间转换(localtime和mktime),有些系统没有localtime和mketime, 把linux内核里边这两函数扣出来用。 #include <stdio.h> #include <string.h> #include
阅读全文
posted @ 2017-11-06 01:04 dong1
阅读(525)
评论(0)
推荐(0)
2017年11月4日
TP自适应
摘要: 最近又要求职了,梳理了下这两年折腾的东西,发现有个产品很可惜,都开发完了,但是废掉了没上市。中兴的一款手表,我很喜欢那个金属壳子,结实,拿在手里沉甸甸,可以用来砸核桃。 当时调TP的时候,换了几个厂家,程序里要做自适应,还好TP控制器里都有唯一的特征值,所以可以识别出设备类型。这里都是i2c接口的T
阅读全文
posted @ 2017-11-04 21:29 dong1
阅读(593)
评论(0)
推荐(0)
2017年7月23日
消息编解码Nanopb - protocol buffers
摘要: Google Protocol Buffer 有各种版本的代码包,Python C/C++、JAVA、C、OBJ-C、.NET等,嵌入式设备中使用的protobuf版本,我们选择的是nanoprobuf。 nanopb 1)Google Protocol Buffer 的使用和原理 https://
阅读全文
posted @ 2017-07-23 15:13 dong1
阅读(1880)
评论(0)
推荐(0)
协程coroutine
摘要: 非常好用的协程库,也可以当作线程管理来用 #include "coroutine.h" #include <stdio.h> struct args { int n; }; static void foo(struct schedule * S, void *ud) { struct args *
阅读全文
posted @ 2017-07-23 14:38 dong1
阅读(288)
评论(0)
推荐(0)
2017年6月20日
gui设计
摘要: 芯艺,你好! ... ... ... 芯艺,再见! http://www.chipart.cn/ 附件 http://files.cnblogs.com/files/dong1/%E8%89%BA%E8%8A%AFuI.rar
阅读全文
posted @ 2017-06-20 09:38 dong1
阅读(183)
评论(0)
推荐(0)
上一页
1
···
20
21
22
23
24
25
26
27
28
29
下一页
公告