- 博客(1)
- 资源 (11)
- 收藏
- 关注
原创 CONFIG_LOG_BUF_SHIFT的默认值
3.0的内核中,如果没有配置此项,其默认值在如下文件中定义:init/Kconfig config LOG_BUF_SHIFT int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" range 12 21 default 17 help Select kernel log buffer size as a power of
2014-12-03 15:16:59 3960
Protothreads - 非常适合单片机上使用多线程方案,纯C语言实现,没有任何依赖!
用法非常简单,直接参考如下三个示例即可,如果还有进一步需求,可以查看doc下的帮助文档
example-small.c 简单用法展示:两个线程之间互相等待的例子
example-buffer.c 经典问题:生产者、消费者问题
example-codelock.c 一个模拟用户输入密码的例子,还有定时器的用法展示
Main features:
* No machine specific code - the protothreads library is pure C
* Does not use error-prone functions such as longjmp()
* Very small RAM overhead - only two bytes per protothread
* Can be used with or without an OS
* Provides blocking wait without full multi-threading
2023-11-16
android recovery模式下可用的较大的字体
android recovery模式下可用的较大的字体,直接将此头文件放到bootable\recovery\minui目录下,修改graphics.cpp中对原字体头文件的引用为本文件即可。
2016-07-06
py2exe for python2.7 and example
py2exe for python2.7 and example, this is a person useage please do not download!
2016-04-25
windows下可用的yaffs2打包工具
windows下可用的yaffs2打包工具,并非yaffs2 image浏览器,本工具是通过命令行调用的,方便实现自动化,找了好久才找到的,值得收藏与拥有。
2013-12-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人