上一页 1 ··· 93 94 95 96 97 98 99 100 101 ··· 107 下一页
摘要: linux 驱动所用 Makefile 介绍 1、目标定义:目标定义就是用来定义哪些内容作为模块编译,哪些要编译并链接进内核。 obj-y += foo.o 表示要由foo.c或者foo.s文件编译得到foo.o并链接进内核(无“条件编译”,所以不需要Kconfig配置),而obj-m则表示该文件要 阅读全文
posted @ 2016-12-13 22:47 流水灯 阅读(157) 评论(0) 推荐(0)
摘要: 1、set echo(display characters which are sent) 由于在软件中每输入一个字符立马发送出去,如果串口另一端开启回显(比如NB-IoT的AT指令设置开启回显),软件立马显示收到发送的字符并显示;这时候如果选择Local echo,会出现重复的字符 建议: 如果串 阅读全文
posted @ 2016-12-13 22:25 流水灯 阅读(693) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2016-12-13 00:28 流水灯 阅读(6) 评论(0) 推荐(0)
摘要: 可变参数宏:宏的参数个数是可变的 作用:可以用于LOG打印语句 可变参数宏使用例子 C99中规定宏可以像函数一样带有可变参数,比如 #define LOG(format, ...) fprintf(stdout, format, __VA_ARGS__) 其中,...表示可变参数表,保留项__VA_ 阅读全文
posted @ 2016-12-11 16:34 流水灯 阅读(20) 评论(0) 推荐(0)
摘要: default username : pi default password : raspberry enter system setting interface : sudo raspi-config download schematic https://www.raspberrypi.org/d 阅读全文
posted @ 2016-12-09 23:05 流水灯 阅读(188) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2016-12-09 22:59 流水灯 阅读(24) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2016-12-09 21:53 流水灯 阅读(11) 评论(0) 推荐(0)
摘要: open it 阅读全文
posted @ 2016-12-07 22:18 流水灯 阅读(154) 评论(0) 推荐(0)
摘要: for example: #include <stdlib.h>#include <stdio.h>#include <wiringPi.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include "linux/in 阅读全文
posted @ 2016-12-07 21:48 流水灯 阅读(192) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2016-12-06 18:57 流水灯 阅读(3) 评论(0) 推荐(0)
上一页 1 ··· 93 94 95 96 97 98 99 100 101 ··· 107 下一页