摘要: 米尔MYD-LHI3093配置网络连接 1 前言 最近用米尔MYD-LHI3093做实验,开发板预装openEuler Embedded 22.03 LTS-SP2支线(qemu-aarch64),默认缺少如下命令(command not found): 缺少nmcli,无法通过该指令连接到网络; 阅读全文
posted @ 2024-04-02 17:09 Digitzh 阅读(219) 评论(0) 推荐(0)
摘要: 宏do{} while(0)的作用 参考链接:https://github.tiankonguse.com/blog/2014/09/30/do-while.html 今天学到1个类函数宏,有很巧妙的用处: #define FOO(X) do{ something; } while(0) 它至少有如 阅读全文
posted @ 2024-03-19 21:47 Digitzh 阅读(129) 评论(0) 推荐(0)
摘要: Ubuntu 22.04 将可执行文件添加到桌面侧栏(收藏夹) 参考链接:https://blog.csdn.net/qq_30858991/article/details/124490250 1 介绍 在Ubuntu中,对于有完整安装过程的应用,可以在桌面左下角“显示应用程序”中找到应用,右键“添 阅读全文
posted @ 2024-03-19 15:57 Digitzh 阅读(2994) 评论(0) 推荐(1)
摘要: 16.1 翻译程序的第一步 在预处理之前,编译器会进行一些翻译处理: 处理多字节字符和“三字符序列”(目前已很少使用),映射到源字符集; 将两个物理行(physical line)转换为一个逻辑行(logical line): 转换前: printf("Wonder\ ful"); 转换后:prin 阅读全文
posted @ 2024-03-16 18:33 Digitzh 阅读(92) 评论(0) 推荐(0)
摘要: Linux中CLion的安装、配置及使用技巧 参考链接: https://www.cnblogs.com/kohler21/p/17111018.html 1 CLion下载安装 Clion官网下载地址(找2022.2.4版):https://www.jetbrains.com.cn/clion/d 阅读全文
posted @ 2024-03-05 00:28 Digitzh 阅读(995) 评论(0) 推荐(0)
摘要: 基于WiringOP的OrangePi 4 LTS驱动开发基础教程 准备工作 实验材料:OrangePi 开发板、sd卡。 sd卡烧录Orangepi4-lts_3.0.6_ubuntu_jammy_desktop_xfce_linux5.18.5或Orangepi4-lts_3.0.6_ubunt 阅读全文
posted @ 2023-12-09 16:49 Digitzh 阅读(772) 评论(0) 推荐(0)
摘要: [驱动开发笔记]第28章 U-Boot顶层Makefile详解 28.1 U-Boot工程目录分析 文件夹post的含义是上电自检(Power On Self Test)。 1. arch文件夹 存放与架构有关的文件。我们需要关注arch/arm/imx-common文件夹和arch/cpu/arm 阅读全文
posted @ 2023-12-01 00:17 Digitzh 阅读(178) 评论(0) 推荐(0)
摘要: 对于新版Ubuntu虚拟机不能拖拽文件的问题,只需sudo gedit /etc/gdm3/custom.conf,解开`WaylandEnable=false`一项的注释,保存重启即可正常在主机和虚拟机间拖拽文件。 阅读全文
posted @ 2023-11-28 00:02 Digitzh 阅读(2726) 评论(0) 推荐(0)
摘要: U-boot简介、初次编译、烧写、启动与命令使用。 参考教材:原子嵌入式Linux驱动开发详解 阅读全文
posted @ 2023-11-27 22:36 Digitzh 阅读(227) 评论(0) 推荐(0)
摘要: Samba的安装与配置(CentOS & Ubuntu) 参考链接: CentOS7中Samba文件共享搭建 链接中为Win7系统,本文补充了Win10的映射步骤。 Ubuntu配置Samba服务 CentOS 1. 安装Samba yum install -y samba 2. 关闭selinux 阅读全文
posted @ 2023-11-25 15:36 Digitzh 阅读(357) 评论(0) 推荐(0)