摘要: 一、前言 在 Windows 11 中,微软雅黑通常以 TTC(TrueType Collection)字体集合的形式存在。TTC 文件可以包含多个字体,例如普通微软雅黑和微软雅黑 UI。 在嵌入式 Linux 开发中,如果使用 LVGL + FreeType 动态加载字体,可能希望将 TTC 字体 阅读全文
posted @ 2026-10-15 08:43 上善若淼 阅读(72) 评论(0) 推荐(0)
摘要: 买了一个联想40B00300CN雷电4拓展坞,用之前连接显卡坞的雷电3线只能供电不能传输数据,从网上买了一根雷电5线插上后电脑直接蓝屏 换成显卡坞,发现原来正常使用的显卡坞插上后出现同样的现象 将蓝屏信息 如果致电支持人员请向他们提供以下信息,终止代码 SYSTEM_THREAD_EXCEPTION 阅读全文
posted @ 2026-10-08 17:51 上善若淼 阅读(20) 评论(0) 推荐(0)
摘要: mingw下载 mingw sourceforge下载地址 SDL2下载 SDL 官方下载目录 cmake下载 CMake官方下载地址 工具下载后配置好环境变量验证如下 下面就能编译simulate工程了 阅读全文
posted @ 2026-09-30 15:42 上善若淼 阅读(5) 评论(0) 推荐(0)
摘要: 一、参考文档 PostgreSQL部署教程 二、下载链接 PostgreSQL绿色版下载页面 Gitea下载页面 三、命令纠正 // 初始化数据库(D:\pgsql\data 为数据存储目录,请根据实际情况设置,下同) .\initdb -D D:\pgsql\data -E UTF8 --auth 阅读全文
posted @ 2026-07-04 22:28 上善若淼 阅读(46) 评论(0) 推荐(0)
摘要: 使用GPIO驱动 IN1 IN2 状态 0 0 停止(休眠) 1 0 正转 0 1 反转 1 1 刹车 echo 53 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio53/direction echo 1 > /sys/class/g 阅读全文
posted @ 2026-05-24 20:56 上善若淼 阅读(46) 评论(0) 推荐(0)
摘要: PMIC RK806S-5 一、摄像头 1、确认摄像头识别成功 接上摄像头后执行 v4l2-ctl --list-devices Failed to open /dev/video0: No such device dmesg | grep -Ei "sensor|camera|ov|imx|gc| 阅读全文
posted @ 2026-05-12 09:26 上善若淼 阅读(71) 评论(0) 推荐(0)
摘要: 一、前言 在现代 C/C++ 工程开发中,代码规模不断扩大,尤其是在嵌入式系统、Linux 驱动、图形界面(如 LVGL)等复杂项目中,传统的代码提示与跳转工具已经难以满足工程级开发需求。 clangd 是 LLVM 体系下的 C/C++ 语言服务器,它基于 Clang 编译器前端构建,直接利用真实 阅读全文
posted @ 2026-05-09 13:09 上善若淼 阅读(188) 评论(0) 推荐(0)
摘要: 一、mmap示例代码 点击查看mmap示例代码 #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <unistd.h> #include <termios.h> #include <sys/mman.h> #incl 阅读全文
posted @ 2026-04-09 17:45 上善若淼 阅读(28) 评论(0) 推荐(0)
摘要: 下载源码 git clone https://gitlab.freedesktop.org/freetype/freetype.git cd freetype 配置交叉编译工具链 export TOOLCHAIN=/home/rk3506/HZ-EVM-RK3506_MINI_SDK/buildro 阅读全文
posted @ 2026-04-04 10:12 上善若淼 阅读(63) 评论(0) 推荐(0)
摘要: /* 文件:modbus_reg.h */ #ifndef __MODBUS_REG_H__ #define __MODBUS_REG_H__ #include <stdint.h> #include <modbus.h> #include <pthread.h> extern pthread_mu 阅读全文
posted @ 2026-04-04 10:12 上善若淼 阅读(26) 评论(0) 推荐(0)