会员
众包
新闻
博问
闪存
赞助商
Trae
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小城熊儿
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
20
下一页
2022年8月12日
linux c语言 多线程之间使用管道进行通讯fifo 和参考kfifo实现的ring_buffer
摘要: linux 多进程通讯 clpsz/linux-ipcs: Linux进程间通信(Inter-Process Communication)方式汇总 (github.com) 无名管道 pipe #include <stdio.h> #include <stdlib.h> #include <unis
阅读全文
posted @ 2022-08-12 15:54 小城熊儿
阅读(980)
评论(0)
推荐(0)
2022年8月9日
嵌入式linux串口通讯 阻塞 非阻塞
摘要: 参考 (128条消息) linux下串口的阻塞和非阻塞操作_wuhengwudi的博客-CSDN博客_linux 阻塞 非阻塞 稍作修改 阻塞 非阻塞 #include <stdlib.h> #include <stdio.h> #include <errno.h> #include <string
阅读全文
posted @ 2022-08-09 16:55 小城熊儿
阅读(640)
评论(0)
推荐(0)
c常用几个调试使用的宏定义 c常用几个调试使用的宏定义 c常用几个调试使用的宏定义 c常用几个调试使用的宏定义 makefile 打印 c语言全局变量不能定义在.h中,需要定义在.c中,再 extern 到.h中并且.h不能赋值
摘要: T507 UBOOT 打印 tick_printf("func:%s \t line:%d\n", __func__,__LINE__); tick_printf("func:%s \t line:%d \tval:%d\n", __func__,__LINE__,val); #include <s
阅读全文
posted @ 2022-08-09 09:21 小城熊儿
阅读(106)
评论(0)
推荐(0)
2022年8月8日
linux 多线程demo pthread
摘要: /*t01_testthread.cpp*/ #include<stdlib.h> #include<stdio.h> #include<unistd.h> #include<pthread.h> /* 看到这里可能会有点疑问,为何除了条件变量还需要一个互斥对象呢?等待时为什么需要条件变量和互斥对象
阅读全文
posted @ 2022-08-08 13:37 小城熊儿
阅读(198)
评论(0)
推荐(0)
2022年8月4日
嵌入式linux 修改root登录密码 menuconfig
摘要: //
阅读全文
posted @ 2022-08-04 11:36 小城熊儿
阅读(261)
评论(0)
推荐(0)
2022年7月29日
linux从0开始移植lvgl图形库 win运行lvgl lvgl的makefile体系
摘要: lvgl遵循 MIT 协议,作者保留著作权,使用者随意修改 win使用vs2019运行lvgl git clone https://github.com/lvgl/lv_port_win_visual_studio.git 下载完毕后进入 lv_port_win_visual_studio/LVGL
阅读全文
posted @ 2022-07-29 19:27 小城熊儿
阅读(2390)
评论(0)
推荐(0)
2022年7月21日
qt qtablewidget 表头添加多选框,示例 qtablewighet相关问题
摘要: #ifndef SCHECKBOXHEADERVIEW_H #define SCHECKBOXHEADERVIEW_H #include <QtGui> #include <QPainter> #include <QHeaderView> #include <QStyleOptionButton>
阅读全文
posted @ 2022-07-21 14:51 小城熊儿
阅读(774)
评论(0)
推荐(0)
2022年7月5日
qt使用qwt 跟随鼠标显示坐标
摘要: 头文件 #include <qwt_plot_canvas.h> #include <qwt_plot_layout.h> #include <qwt_plot_picker.h> #include <qwt_picker_machine.h> #include <qwt_painter.h> #i
阅读全文
posted @ 2022-07-05 19:53 小城熊儿
阅读(986)
评论(0)
推荐(0)
2022年6月30日
天嵌TQT开发板linux系统,移植百问网lvgl8.1踩坑指南
摘要: 1 获取资料, 获取主仓库源码 git clone https://gitee.com/weidongshan/lv_100ask_linux_desktop.git 此时会在当前目录下,下载好一个 名字为 lv_100ask_linux_desktop 的文件夹, cd lv_100ask_lin
阅读全文
posted @ 2022-06-30 13:49 小城熊儿
阅读(857)
评论(0)
推荐(0)
2022年6月14日
虚拟机,主机,linux开发板,如何做到只用一根网线建立三者在同一个网络下相互通讯
摘要: 虚拟机在nat模式下想要构建局域网,比较困难,因此可选择桥接模式构建局域网 网络适配器 是通过NAT方式共享局域网,不占用外网IP 操作前,先关闭win防火墙 此处直接指定桥接到电脑的网口上,电脑使用wifi上网,网孔用来和单片机建立网络 网络适配器2 是通过添加按钮加入的,相当于给虚拟机安装两个网
阅读全文
posted @ 2022-06-14 17:28 小城熊儿
阅读(445)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
20
下一页
公告
点击右上角即可分享