<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[qq_16597387的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/qq_16597387</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; qq_16597387]]></copyright><item><title><![CDATA[傅里叶变换推导]]></title><link>https://blog.csdn.net/qq_16597387/article/details/145589659</link><guid>https://blog.csdn.net/qq_16597387/article/details/145589659</guid><author>qq_16597387</author><pubDate>Fri, 14 Feb 2025 21:14:01 +0800</pubDate><description><![CDATA[由浅入深推导傅里叶变换]]></description><category></category></item><item><title><![CDATA[AutoHotkey使用经验]]></title><link>https://blog.csdn.net/qq_16597387/article/details/144957190</link><guid>https://blog.csdn.net/qq_16597387/article/details/144957190</guid><author>qq_16597387</author><pubDate>Mon, 06 Jan 2025 11:01:40 +0800</pubDate><description><![CDATA[自定义快捷键输入任意字符]]></description><category></category></item><item><title><![CDATA[vscode改颜色]]></title><link>https://blog.csdn.net/qq_16597387/article/details/144842392</link><guid>https://blog.csdn.net/qq_16597387/article/details/144842392</guid><author>qq_16597387</author><pubDate>Tue, 31 Dec 2024 10:22:19 +0800</pubDate><description><![CDATA[vscode高亮显示、主题定制]]></description><category></category></item><item><title><![CDATA[windows通过网线共享流量给开发板]]></title><link>https://blog.csdn.net/qq_16597387/article/details/116503335</link><guid>https://blog.csdn.net/qq_16597387/article/details/116503335</guid><author>qq_16597387</author><pubDate>Fri, 07 May 2021 22:01:55 +0800</pubDate><description><![CDATA[windows把能上网的WIFI网卡和有线网卡连接起来，使得开发板也能上网。



开发板是ubuntu16

windows可以是7或10



1 windows设置









2 开发板设置

先确定windows的DNS地址，等下要填（红框处，一般只要第一行就行了）：





再确定windows的以太网的IP（红框处）：





好了，可以设置开发板了：


$ vim /etc/network/interfaces
auto eth0
iface eth0 i...]]></description><category></category></item><item><title><![CDATA[香橙派r1上手]]></title><link>https://blog.csdn.net/qq_16597387/article/details/115282483</link><guid>https://blog.csdn.net/qq_16597387/article/details/115282483</guid><author>qq_16597387</author><pubDate>Sun, 28 Mar 2021 16:13:31 +0800</pubDate><description><![CDATA[uboot使用主线2021.01

内核使用5.10.25



uboot编译和烧录


make ARCH=arm orangepi_r1_defconfig
dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb bs=8K seek=1

改bootcmd，原版用的UEFI，实在不懂得弄：


setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10
setenv bootc.]]></description><category></category></item><item><title><![CDATA[理解VirtualBox和VMWare的各种网络模式]]></title><link>https://blog.csdn.net/qq_16597387/article/details/114746708</link><guid>https://blog.csdn.net/qq_16597387/article/details/114746708</guid><author>qq_16597387</author><pubDate>Sat, 13 Mar 2021 18:59:36 +0800</pubDate><description><![CDATA[理解VirtualBox和VMWare的各种网络模式

个人理解，如有错误，欢迎指正。



1. 桥接网络

虚拟机的网卡桥接到宿主机的物理网卡，不解释。



2. 仅主机(Host-Only)网络



如果你新建一个这样的网络，两样东西会创建：一个是VirtualBox内部的交换机，如图中的"hostonly交换机"；另一个是你的宿主机下的虚拟网卡，如上图中的"hostonly网卡"。

windows实际如下图：



hostonly网卡和hostonly交换机实现了一个局域网，...]]></description><category></category></item><item><title><![CDATA[DirectoryOpus使用经验]]></title><link>https://blog.csdn.net/qq_16597387/article/details/109235785</link><guid>https://blog.csdn.net/qq_16597387/article/details/109235785</guid><author>qq_16597387</author><pubDate>Fri, 23 Oct 2020 10:07:41 +0800</pubDate><description><![CDATA[1 这是什么

这是一个文件浏览器（或者说资源管理器，文件管理器），功能很强大，界面也很美观，可以替代Windows自带的文件管理器。



2 相关概念

大概就是3个，ToolBar，FolderOption和Lister。各有各的位置：





2.1  Lister

Lister大概就是要不要双屏，双屏是水平还是垂直的意思。

你可以先配置好自己想要的样子，然后把当前Lister存为默认：




2.2  FolderOption


FolderOption大概就是...]]></description><category></category></item><item><title><![CDATA[Linux学习笔记]]></title><link>https://blog.csdn.net/qq_16597387/article/details/108560507</link><guid>https://blog.csdn.net/qq_16597387/article/details/108560507</guid><author>qq_16597387</author><pubDate>Sun, 13 Sep 2020 12:19:41 +0800</pubDate><description><![CDATA[前言

这只是个人的一些经验，见解，有点杂，可能也不准确，慢慢完善；
内核用的4.14.1；

中断

enable_irq会直接执行一次中断处理函数，如果中断有被注册的话；
enable_irq之前必须disable_irq，不然报错：Unbalanced enable for IRQ；

中断域
内核大概从3.x引入中断域。中断域的父子中断关系有点复杂，大概是这样的：
个人认为中断域的作用之一是理清父子中断的关系。
每个中断域都有一套物理中断到虚拟中断的映射，内核最终使用的中断号都是虚拟中断号，虚拟中断]]></description><category></category></item><item><title><![CDATA[uboot学习笔记]]></title><link>https://blog.csdn.net/qq_16597387/article/details/108559712</link><guid>https://blog.csdn.net/qq_16597387/article/details/108559712</guid><author>qq_16597387</author><pubDate>Sun, 13 Sep 2020 11:13:51 +0800</pubDate><description><![CDATA[前言

这只是个人的一些经验，见解，有点杂，可能也不准确，慢慢完善；
uboot用的2016.01；

配置文件

uboot的配置文件有两份，一个是configs/*defconfig，一个是include/configs/&lt;board_name&gt;.h
uboot大概从2014年以后才支持menuconfig，在此之前uboot的配置跟linux很不一样

SPL
SPL就是SecondaryProgramLoader的意思，用来把真正的uboot搬移到内存执行。
大多数系统启动的时候都是把u]]></description><category></category></item><item><title><![CDATA[宿主机访问VirtualBOX中的NAT虚拟机]]></title><link>https://blog.csdn.net/qq_16597387/article/details/108558923</link><guid>https://blog.csdn.net/qq_16597387/article/details/108558923</guid><author>qq_16597387</author><pubDate>Sun, 13 Sep 2020 09:47:42 +0800</pubDate><description><![CDATA[最后主机执行：


$ ssh sam@127.0.0.1



注意：

全局设定里的端口转发不能立即生效。


]]></description><category></category></item><item><title><![CDATA[eclipse之C/C++使用上手]]></title><link>https://blog.csdn.net/qq_16597387/article/details/107430104</link><guid>https://blog.csdn.net/qq_16597387/article/details/107430104</guid><author>qq_16597387</author><pubDate>Sat, 18 Jul 2020 16:00:52 +0800</pubDate><description><![CDATA[1. 把一个文件夹（或者文件）排除在编译之外

被编译排除的文件夹（或者文件）也会被index（eclipse的代码索引）排除，也就是说你浏览代码的时候不会跳转到被编译排除的文件里去。这在浏览多平台代码的时候很有用，比如内核源码的arch目录下你只想看arm而已，那么你可以把arm以外的架构全部排除。





2. 添加外部定义

下图这段代码的底色是蓝色的，表示这段代码不会被编译（当然也索引不到），因为CONFIG_CMD_LOADB这个宏没有定义。



可是我看代码的时候就想索引到这段代码...]]></description><category></category></item><item><title><![CDATA[怎样使用Sakura内网穿透]]></title><link>https://blog.csdn.net/qq_16597387/article/details/107142763</link><guid>https://blog.csdn.net/qq_16597387/article/details/107142763</guid><author>qq_16597387</author><pubDate>Sun, 05 Jul 2020 19:08:39 +0800</pubDate><description><![CDATA[Sakura是一个内网穿透方案，它使得你可以远程连接那些没有公网IP的设备，当然前提是你自己是可以连入公网的。还有一个很重要的是，它是免费的。



接下来讲怎样通过Sakura远程SSH一个Linux电脑。



1 注册一个Sakura账号

打开注册界面注册一个账号，界面是这个样子的：





2 创建一个隧道

注意：

第2步选一个离你近的服务器
	第4步根据你自己的需要来，我是SSH远程登录，所以是TCP
	第6步填的端口是22，因为SSH默认就是用22
	第7步随便写一个端...]]></description><category></category></item><item><title><![CDATA[VSCode自定义主题]]></title><link>https://blog.csdn.net/qq_16597387/article/details/107103009</link><guid>https://blog.csdn.net/qq_16597387/article/details/107103009</guid><author>qq_16597387</author><pubDate>Fri, 03 Jul 2020 14:29:40 +0800</pubDate><description><![CDATA[以monokai为蓝本，复制一份自己的主题：


源文件：
D:\Program Files\Microsoft VS Code\resources\app\extensions\theme-monokai

新文件：
D:\Program Files\Microsoft VS Code\resources\app\extensions\theme-monokai_mine

主题文件的目录结构是这样的：





package.nls.json：


以前的：
{
	"displayName": "M.]]></description><category></category></item><item><title><![CDATA[linux内核链表学习笔记]]></title><link>https://blog.csdn.net/qq_16597387/article/details/106240395</link><guid>https://blog.csdn.net/qq_16597387/article/details/106240395</guid><author>qq_16597387</author><pubDate>Wed, 20 May 2020 17:15:05 +0800</pubDate><description><![CDATA[直接上代码


#include &lt;linux/kernel.h&gt;
#include &lt;linux/init.h&gt;
#include &lt;linux/module.h&gt;
#include &lt;linux/printk.h&gt;

struct mytype {
    int val;
    struct list_head thelist;
};

struct mytype mytype1 = {
    .val = 11,
};

struct mytype]]></description><category></category></item><item><title><![CDATA[QEMU学习笔记]]></title><link>https://blog.csdn.net/qq_16597387/article/details/105874612</link><guid>https://blog.csdn.net/qq_16597387/article/details/105874612</guid><author>qq_16597387</author><pubDate>Fri, 01 May 2020 10:04:45 +0800</pubDate><description><![CDATA[========
源码安装
 $ mkdir build # 直接在根目录编译会产生大量的配置文件
 $ cd build
 $ ../configure
 $ make
 $ sudo make install

 可能需要：
 $ sudo apt-get install libpixman-1-dev
 $ sudo a...]]></description><category></category></item><item><title><![CDATA[vim学习笔记]]></title><link>https://blog.csdn.net/qq_16597387/article/details/105874242</link><guid>https://blog.csdn.net/qq_16597387/article/details/105874242</guid><author>qq_16597387</author><pubDate>Fri, 01 May 2020 09:47:40 +0800</pubDate><description><![CDATA[打开vim时指定打开多个文件，而且垂直分割窗口：
 vim -O file1.c file2.c
水平打开则是：
 vim -o file1.c file2.c



如果一开始只有file1.c独占一个窗口，想垂直打开另一个，则：
 vs file2.c
同理，如果想水平打开另一个文件：则：
 sp file2.c
如果单单输入sp或者vs也是可以的，只是这时是一个文件...]]></description><category></category></item><item><title><![CDATA[嵌入式学习笔记]]></title><link>https://blog.csdn.net/qq_16597387/article/details/105874233</link><guid>https://blog.csdn.net/qq_16597387/article/details/105874233</guid><author>qq_16597387</author><pubDate>Fri, 01 May 2020 09:26:20 +0800</pubDate><description><![CDATA[FreeRTOS
=========
 以下内容全部基于ARM Cotex-M系统
 * MCU的NVIC分组必须是第4组，这意味着所有中断的preemption priority是[0, 15]，sub priority恒为0
 * LIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY是调用FreeRTOS中断API的中断最大优先级。换句话说，所有调用F...]]></description><category></category></item><item><title><![CDATA[移植Linux4.14.1到JZ2440]]></title><link>https://blog.csdn.net/qq_16597387/article/details/105167714</link><guid>https://blog.csdn.net/qq_16597387/article/details/105167714</guid><author>qq_16597387</author><pubDate>Sat, 28 Mar 2020 21:55:09 +0800</pubDate><description><![CDATA[声明

驱动目前只支持Nandflash和串口。



1. 准备材料

开发主机：Ubuntu18.04 64位
	Linux内核：4.14.1（下载）
	u-boot，dnw：来自韦东山
	交叉编译器：arm-linux-gnueabi（版本：5.4.1 20170404，下载）
	YAFFS2（下载）
	文件系统：buildroot-2018.08.2


2. 编译YAFFS2

由于...]]></description><category></category></item><item><title><![CDATA[给实体机安装ubuntu之简单教程]]></title><link>https://blog.csdn.net/qq_16597387/article/details/104681077</link><guid>https://blog.csdn.net/qq_16597387/article/details/104681077</guid><author>qq_16597387</author><pubDate>Thu, 05 Mar 2020 18:58:31 +0800</pubDate><description><![CDATA[1. 上Ubuntu官网下载一个Ubuntu镜像



2. 使用Rufus烧录镜像

选好U盘和镜像文件，“分区类型”选择MBR，点击开始即可



注意有时它会提示需要下载一些文件，点击“是”即可，像这样：
	有时下载也会失败，不妨试试老版本的Rufus


3. 把制作好的启动盘插入实体机启动即可
...]]></description><category></category></item><item><title><![CDATA[怎样用Qt5创建自定义控件]]></title><link>https://blog.csdn.net/qq_16597387/article/details/104546670</link><guid>https://blog.csdn.net/qq_16597387/article/details/104546670</guid><author>qq_16597387</author><pubDate>Thu, 27 Feb 2020 22:42:15 +0800</pubDate><description><![CDATA[环境：

Qt5.12.7
	Windows7
	MinGw73.64


1. 新建自定义控件













2. 编译工程

用户此时当然要改自定义控件里的各种代码的，这里只是为了阐释怎样新建一个自定义控件所以没改。

注意这里会产生两个警告，解决办法见我的另一篇博文https://blog.csdn.net/qq_16597387/article/details/10454...]]></description><category></category></item></channel></rss>