会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
major825
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
13
下一页
2022年8月28日
IIC控制器
摘要:
阅读全文
posted @ 2022-08-28 22:38 major825
阅读(41)
评论(0)
推荐(0)
2022年5月15日
wiki,案例
摘要: 1HISI机器的常见异常复位AP__S_AWDT 对应HI_APPANIC_GPU gpu故障AP_S_PANIC A核panic,如访问非法内存地址get_exception_info is Low power,can not show logo 电池掉电LMP3_S_EXCEPTION LPM3
阅读全文
posted @ 2022-05-15 21:11 major825
阅读(1062)
评论(0)
推荐(0)
问题日志,测试
摘要:
阅读全文
posted @ 2022-05-15 21:08 major825
阅读(47)
评论(0)
推荐(0)
2022年4月26日
Makefile
摘要: ROOTFS_DIR = /opt/4412/rootfs MODULE_NAME = led_drvAPP_NAME = led_test CROSS_COMPILE = /home/george/Linux_4412/toolchain/gcc-4.6.4/bin/arm-none-linux-
阅读全文
posted @ 2022-04-26 23:48 major825
阅读(24)
评论(0)
推荐(0)
led_test
摘要: #include <stdio.h>#include <string.h>#include <stdlib.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h> int main(int
阅读全文
posted @ 2022-04-26 23:47 major825
阅读(32)
评论(0)
推荐(0)
led_drv
摘要: #include <linux/init.h>#include <linux/module.h>#include <linux/fs.h>#include <linux/device.h>#include <linux/slab.h> #include <asm/uaccess.h>#include
阅读全文
posted @ 2022-04-26 23:46 major825
阅读(51)
评论(0)
推荐(0)
生产者(生产一个随机数)与消费者(打印一个随机数)的案例
摘要: #include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>#include <pthread.h>#include <stdlib.h>#include <str
阅读全文
posted @ 2022-04-26 23:31 major825
阅读(58)
评论(0)
推荐(0)
在一个子线程中打印出数组,在另一个子线程中将数组逆序
摘要: #include<stdio.h>#include<semaphore.h>#include<pthread.h>#include <string.h>#include <stdlib.h>int buf[] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,
阅读全文
posted @ 2022-04-26 23:26 major825
阅读(26)
评论(0)
推荐(0)
在一个子线程中初始化结构体变量,在另一个子线程中打印结构体变量中元素
摘要: #include<stdio.h>#include<semaphore.h>#include<pthread.h>#include <string.h>#include <stdlib.h> struct data_t{ char name[20]; int id; int score;};stru
阅读全文
posted @ 2022-04-26 23:22 major825
阅读(26)
评论(0)
推荐(0)
在从共享内存中读数据时添加信号灯集中的灯资源
摘要: #include <stdio.h>#include <string.h>#include <sys/ipc.h>#include <sys/shm.h>#include <sys/types.h>#include <errno.h>#include <stdlib.h>#include <sign
阅读全文
posted @ 2022-04-26 23:16 major825
阅读(22)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
13
下一页
公告