上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 23 下一页
摘要: "support utf 8" cgdb github上的issues里面有人提到了这个问题,维护者回复的是需要使用 这个支持宽字符的库来解决这个问题。 查看是否安装了该库 ,未安装则查看有哪些库: shell thomas@ubuntu:~$ apt search libncursesw Sort 阅读全文
posted @ 2019-06-12 10:19 thammer 阅读(836) 评论(0) 推荐(0)
摘要: 1. OpenWrt目录结构说明 作者:辛勤的摆渡人 来源:CSDN 原文:https://blog.csdn.net/hunter168_wang/article/details/50780597 1.1. bin bin目录存放的是一些输出文件,主要是存放OpenWrt编译好的开发环境,比如to 阅读全文
posted @ 2019-05-23 16:55 thammer 阅读(670) 评论(0) 推荐(0)
摘要: cat /proc/sys/kernel/hotplug /sbin/hotplug cat /sbin/hotplug-call #!/bin/sh # Copyright (C) 2006-2010 OpenWrt.org export HOTPLUG_TYPE="$1" . /lib/func 阅读全文
posted @ 2019-05-08 16:00 thammer 阅读(502) 评论(0) 推荐(0)
摘要: 配置 1. git config git config 分为全局和局部 全局:git config --glabol 局部:git config 最终会生成配置文件,一般在~/.gitconfig。 2. core git config --global core.fileMode git conf 阅读全文
posted @ 2019-05-08 14:35 thammer 阅读(145) 评论(0) 推荐(0)
摘要: 参考自 "restrict" restrict解释 关键字出现于 标准,wiki上的解释 "restrict from wiki" 。 In the C programming language, as of the C99 standard, restrict is a keyword that 阅读全文
posted @ 2019-04-06 22:00 thammer 阅读(1407) 评论(0) 推荐(0)
摘要: 做嵌入式C开发的相信都使用过一个关键字volatile,特别是做底层开发的。假设一个GPIO的数据寄存器地址是0x50000004,我们一般会定义一个这样的宏: 在面试的时候也会被问到过volatile关键字起什么作用? 网络上的回答一般是防止被编译器优化,或者还会加一点就是访问被volatile修 阅读全文
posted @ 2019-04-03 18:32 thammer 阅读(15246) 评论(4) 推荐(5)
摘要: hexdump hexdump用于以16进制、10进制、8进制、ascii码形式打印文件内容,也可以是标准输入的内容。 用法 选项 选项|参数|说明 : |: |: b||单字节8进制格式显示 c| |单字节字符格式显示 o| |两byte八进制格式显示 d| |两byte十进制格式显示 x| |两 阅读全文
posted @ 2019-03-27 14:15 thammer 阅读(2236) 评论(0) 推荐(0)
摘要: 目录 "1.什么是SPI" "2.SPI接口" "2.1.SPI模式:极性和时钟相位" "2.2.SPI三线总线和多IO配置" "3.SPI总线事务" "3.1.简单SPI写事务" "3.2.简单SPI读事务" "3.3.四线IO事务" 1.什么是SPI SPI (Serial Peripheral 阅读全文
posted @ 2019-03-26 15:53 thammer 阅读(4377) 评论(0) 推荐(0)
摘要: Embedded Programming with the GNU Toolchain Vijay Kumar B. 翻译整理:thammer github: "https://github.com/tanghammer/Embedded Programming with the GNU Toolc 阅读全文
posted @ 2019-03-25 20:31 thammer 阅读(3104) 评论(1) 推荐(0)
摘要: 某些效果cnblog无法支持,见 https://github.com/tanghammer/note/blob/master/Markdown%20github%E9%A3%8E%E6%A0%BC%E8%AF%AD%E6%B3%95.md 横线 ___ 效果: ___ 标题 一级标题 二级标题 三 阅读全文
posted @ 2019-03-23 15:46 thammer 阅读(694) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 23 下一页