会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小城熊儿
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
22
下一页
2022年8月9日
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 小城熊儿
阅读(135)
评论(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 小城熊儿
阅读(235)
评论(0)
推荐(0)
2022年8月4日
嵌入式linux 修改root登录密码 menuconfig
摘要: //
阅读全文
posted @ 2022-08-04 11:36 小城熊儿
阅读(294)
评论(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 小城熊儿
阅读(2615)
评论(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 小城熊儿
阅读(821)
评论(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 小城熊儿
阅读(1072)
评论(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 小城熊儿
阅读(944)
评论(0)
推荐(0)
2022年6月14日
虚拟机,主机,linux开发板,如何做到只用一根网线建立三者在同一个网络下相互通讯
摘要: 虚拟机在nat模式下想要构建局域网,比较困难,因此可选择桥接模式构建局域网 网络适配器 是通过NAT方式共享局域网,不占用外网IP 操作前,先关闭win防火墙 此处直接指定桥接到电脑的网口上,电脑使用wifi上网,网孔用来和单片机建立网络 网络适配器2 是通过添加按钮加入的,相当于给虚拟机安装两个网
阅读全文
posted @ 2022-06-14 17:28 小城熊儿
阅读(501)
评论(0)
推荐(0)
2022年5月19日
vs2019 c/c++ 多线程实现一个线程控制另一个线程的启停 CreateThread SuspendThread ResumeThread
摘要: // testprocesscontrol.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #define _WINSOCK_DEPRECATED_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #include <iostre
阅读全文
posted @ 2022-05-19 21:31 小城熊儿
阅读(676)
评论(0)
推荐(0)
2022年5月14日
spyder自带python 环境 没有 pip
摘要: 到官方看看咋办吧 方法 1 # 切换到C盘c:# 进入Python安装目录cd "C:\Program Files\python"# 执行Python,加上参数,安装pippython.exe -m ensurepip --default-pip 方法 2 官方提供的一种方法是在指定python环境
阅读全文
posted @ 2022-05-14 22:28 小城熊儿
阅读(2095)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
22
下一页
公告