<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Kodulf的专栏]]></title><description><![CDATA[爱生活，爱编程； 每天一小步，总有新高度; 500mi 勇闯天涯，勇创辉煌;]]></description><link>https://blog.csdn.net/Rodulf</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Rodulf]]></copyright><item><title><![CDATA[Android MVVM demo（使用DataBinding，LiveData，Fresco，RecyclerView，Room，ViewModel 完成）]]></title><link>https://blog.csdn.net/Rodulf/article/details/143607156</link><guid>https://blog.csdn.net/Rodulf/article/details/143607156</guid><author>Rodulf</author><pubDate>Thu, 07 Nov 2024 20:37:42 +0800</pubDate><description><![CDATA[使用DataBinding，LiveData，Fresco，RecyclerView，Room，ViewModel 完成。1：首先导入必要的包。]]></description><category></category></item><item><title><![CDATA[空间复杂度为1的从右向左显示]]></title><link>https://blog.csdn.net/Rodulf/article/details/143256326</link><guid>https://blog.csdn.net/Rodulf/article/details/143256326</guid><author>Rodulf</author><pubDate>Sat, 26 Oct 2024 17:02:38 +0800</pubDate><description><![CDATA[【代码】空间复杂度为1的从右向左显示。]]></description><category></category></item><item><title><![CDATA[ListView]]></title><link>https://blog.csdn.net/Rodulf/article/details/143024047</link><guid>https://blog.csdn.net/Rodulf/article/details/143024047</guid><author>Rodulf</author><pubDate>Thu, 17 Oct 2024 17:19:00 +0800</pubDate><description><![CDATA[以上三种方法都可以在Android中使用ListView，你可以根据你的具体需求选择合适的方法。ArrayAdapter是最简单的适配器，它将字符串数组的内容显示在ListView中。SimpleAdapter可以用于将更复杂的数据绑定到ListView。如果你需要更复杂的布局或行为，你可以创建自定义的Adapter。在Android中，有三种简单的方法可以使用ListView。使用SimpleAdapter。使用ArrayAdapter。使用自定义Adapter。]]></description><category></category></item><item><title><![CDATA[Kotlin - 1 - 变量/函数/逻辑 if 和 when]]></title><link>https://blog.csdn.net/Rodulf/article/details/118783649</link><guid>https://blog.csdn.net/Rodulf/article/details/118783649</guid><author>Rodulf</author><pubDate>Fri, 16 Jul 2021 08:04:47 +0800</pubDate><description><![CDATA[package com.kodulf.kotlinfirsttime

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import kotlin.math.max

class MainActivity : AppCompatActivity() {

    private val TAG:String = "kodulf"

    override fu.]]></description><category></category></item><item><title><![CDATA[Android AOSP 源码 Launcher 2 的git 下载路径]]></title><link>https://blog.csdn.net/Rodulf/article/details/114156880</link><guid>https://blog.csdn.net/Rodulf/article/details/114156880</guid><author>Rodulf</author><pubDate>Sat, 27 Feb 2021 00:11:20 +0800</pubDate><description><![CDATA[下载的目录如下：

git clonehttps://aosp.tuna.tsinghua.edu.cn/platform/packages/apps/Launcher2
git clonehttps://aosp.tuna.tsinghua.edu.cn/platform/frameworks/base
git clonehttps://aosp.tuna.tsinghua.edu.cn/platform/frameworks/native
git clonehttps://aosp.tun...]]></description><category></category></item><item><title><![CDATA[Launcher making  20210123]]></title><link>https://blog.csdn.net/Rodulf/article/details/113063415</link><guid>https://blog.csdn.net/Rodulf/article/details/113063415</guid><author>Rodulf</author><pubDate>Sat, 23 Jan 2021 22:19:59 +0800</pubDate><description><![CDATA[1: 在android 清单文件中添加过滤条件


&lt;activity android:name=".MainActivity"&gt;
    &lt;intent-filter&gt;
        &lt;action android:name="android.intent.action.MAIN" /&gt;
        &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
        &lt;cat.]]></description><category></category></item><item><title><![CDATA[Launcher 2 中的清单文件分析]]></title><link>https://blog.csdn.net/Rodulf/article/details/111714267</link><guid>https://blog.csdn.net/Rodulf/article/details/111714267</guid><author>Rodulf</author><pubDate>Sat, 26 Dec 2020 00:49:53 +0800</pubDate><description><![CDATA[Launcher 2 中的清单文件分析

http://androidxref.com/6.0.1_r10/xref/packages/apps/Launcher2/AndroidManifest.xml



清单文件中：


&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!--
/*
**
** Copyright 2008, The Android Open Source Project
**
** Licensed under the Apach.]]></description><category></category></item><item><title><![CDATA[android mvp contract]]></title><link>https://blog.csdn.net/Rodulf/article/details/109141284</link><guid>https://blog.csdn.net/Rodulf/article/details/109141284</guid><author>Rodulf</author><pubDate>Sun, 18 Oct 2020 09:07:16 +0800</pubDate><description><![CDATA[单词学习之词根tract 拉

extract 抽出

abstract 抽象

protract 延长

attract 吸引，诱惑



contract 合同，相互拉扯
]]></description><category></category></item><item><title><![CDATA[c语言指针相关的提纲]]></title><link>https://blog.csdn.net/Rodulf/article/details/108959077</link><guid>https://blog.csdn.net/Rodulf/article/details/108959077</guid><author>Rodulf</author><pubDate>Thu, 08 Oct 2020 08:39:43 +0800</pubDate><description><![CDATA[c语言指针相关的提纲

1:指针 是什么，如何声明和使用

指针就是地址，一般是指向变量的头地址

星号✳️，声明时候表示是指针，使用的时候表明是对象

int *a = c;

*a = 1;



2: 指针 和 数组

只要是可以用数组下标的都是可以用指针的



3: 字符数组，这里因为c语言没有string 类型

char a[]

char a*

这两个都是表示的字符数组



4: 指针 和 函数

两个方面要注意⚠️

4.1 实参和形参的区别

4.2 结构的使用里面使用指针，比...]]></description><category></category></item><item><title><![CDATA[Linux 系统对中断的处理]]></title><link>https://blog.csdn.net/Rodulf/article/details/108458770</link><guid>https://blog.csdn.net/Rodulf/article/details/108458770</guid><author>Rodulf</author><pubDate>Mon, 07 Sep 2020 23:44:16 +0800</pubDate><description><![CDATA[1：寄存器的状态保存在栈中
2：中断中断，中断谁？中断正在运行的进程或者是线程
Linux 中 资源分配的单位是进行，调度的单位是线程
3：ARM 芯片 属于精简指令集计算机 RISC ，他所用的指令比较简单
对内存只有读写的指令
对于数据的运算是在cpu内部实现的
使用risc 指令的cpu 复杂度小一点，易于设计
4：执行a+b的几个步骤都要保证
读取a
读取b
cpu中计算a+b
写入到a的寄存器中
步骤中 代码，数据，cpu内部寄存器 都不要被修改，cpu内部寄存器 保存在栈中，保存的这些值，我们称]]></description><category></category></item><item><title><![CDATA[linux pinctrl 子系统和 gpio子系统]]></title><link>https://blog.csdn.net/Rodulf/article/details/108439808</link><guid>https://blog.csdn.net/Rodulf/article/details/108439808</guid><author>Rodulf</author><pubDate>Mon, 07 Sep 2020 00:42:32 +0800</pubDate><description><![CDATA[GPIO 子系统和Pinctrl 子系统
首先介绍Pinctrl
之前都是直接操作寄存器，这里相当于通过Pinctrl 进行了一层封装，将引脚的复用和设置都通过Pinctrl 来操作，主要是给GPIO I2C 系统使用的，可以理解为之前的IOMUX 复用控制器
Pinctrl 可以分为Pin ctroller 和Client device
Pin Controller 只是一个概念和命名，实际上可能并没有，这里需要和GPIO Controller 进行却别，Pin Controller 用来设置引脚工作在G]]></description><category></category></item><item><title><![CDATA[linux 中断处理流程]]></title><link>https://blog.csdn.net/Rodulf/article/details/108395128</link><guid>https://blog.csdn.net/Rodulf/article/details/108395128</guid><author>Rodulf</author><pubDate>Thu, 03 Sep 2020 23:13:07 +0800</pubDate><description><![CDATA[奶奶带小孩的案例

1：



1：中断源

2：初始化

3：中断处理的流程

4：中断向量


]]></description><category></category></item><item><title><![CDATA[mark]]></title><link>https://blog.csdn.net/Rodulf/article/details/107829211</link><guid>https://blog.csdn.net/Rodulf/article/details/107829211</guid><author>Rodulf</author><pubDate>Thu, 06 Aug 2020 00:25:37 +0800</pubDate><description><![CDATA[1: EOF Please use " ctrl + d"

2: exception:

9.c:9:28: warning: implicit declaration of function ‘isdigit’ [-Wimplicit-function-declaration]
 printf("isdigit(c) = %d",isdigit(c));


#include &lt;stdio.h&gt;

int main(){
	printf("please input char\n");...]]></description><category></category></item><item><title><![CDATA[linux devicetree]]></title><link>https://blog.csdn.net/Rodulf/article/details/107778372</link><guid>https://blog.csdn.net/Rodulf/article/details/107778372</guid><author>Rodulf</author><pubDate>Tue, 04 Aug 2020 09:50:21 +0800</pubDate><description><![CDATA[1: test

# ls /sys/firmware/

devicetree fdt



2: /sys/firmware/devicetree目录下是以目录结构程现的dtb文件, 根节点对应base目录, 每一个节点对应一个目录, 每一个属性对应一个文件。这些属性的值如果是字符串，可以使用cat命令把它打印出来；对于数值，可以用hexdump把它打印出来。一个单板启动时，u-boot先运行，它的作用是启动内核。U-boot会把内核和设备树文件都读入内存，然后启动内核。在启动内核时会把设备树在内存中.]]></description><category></category></item><item><title><![CDATA[hello Linux module FIrst]]></title><link>https://blog.csdn.net/Rodulf/article/details/107601716</link><guid>https://blog.csdn.net/Rodulf/article/details/107601716</guid><author>Rodulf</author><pubDate>Sun, 26 Jul 2020 23:05:33 +0800</pubDate><description><![CDATA[#include &lt;linux/module.h&gt;
#include &lt;linux/fs.h&gt;
#include &lt;linux/errno.h&gt;
#include &lt;linux/miscdevice.h&gt;
#include &lt;linux/kernel.h&gt;
#include &lt;linux/major.h&gt;
#include &lt;linux/mutex.h&gt;
#include &lt;linux/proc_fs.h&gt;
#.]]></description><category></category></item><item><title><![CDATA[Ubuntu Environment setup]]></title><link>https://blog.csdn.net/Rodulf/article/details/107563540</link><guid>https://blog.csdn.net/Rodulf/article/details/107563540</guid><author>Rodulf</author><pubDate>Fri, 24 Jul 2020 16:29:02 +0800</pubDate><description><![CDATA[1: sudo apt-get install putty
2: sudo putty . if not sudo, it will can not connect

3: update serial configuration

input "/dev/ttyUSB0" for Serial line to connect to

input 115200 for serial line speed

select "None" for Flow control and Parity

input 8 f]]></description><category></category></item><item><title><![CDATA[linux 驱动第4课 - 文件io]]></title><link>https://blog.csdn.net/Rodulf/article/details/107052917</link><guid>https://blog.csdn.net/Rodulf/article/details/107052917</guid><author>Rodulf</author><pubDate>Tue, 30 Jun 2020 23:51:59 +0800</pubDate><description><![CDATA[https://ke.qq.com/course/466167?taid=4166603608890615

1: ls -al/dev 下面显示的第一个字母如果是c 代表的是字符设备，b 代表的是块设备

2: 后面的 信息里面，第一个是主设备好，第二个是次设备号


root@iZrj9e3565o1e423gw4xgiZ:~# ls -al /dev
total 4
drwxr-xr-x 18 root root        3740 Jun 24 02:31 .
drwxr-xr-x 25 r..]]></description><category></category></item><item><title><![CDATA[《linux 驱动第3课》Makefile 的使用]]></title><link>https://blog.csdn.net/Rodulf/article/details/107030622</link><guid>https://blog.csdn.net/Rodulf/article/details/107030622</guid><author>Rodulf</author><pubDate>Mon, 29 Jun 2020 23:15:14 +0800</pubDate><description><![CDATA[makefile 的作用高效的编译，减少不必要的编译，只编译涉及到的文件

一个简单的规则：依赖里面有修改了 那么执行下面的命令，千万要记得 前面要有tab而不是空格，这里怎么判断呢 就是判断 taeget的时间和依赖文件的时间对比

target ：依赖

tab：命令


test:main.o sub.o
        gcc -o test main.o sub.o

保存为Makefile

执行的两个条件 ： 依赖比目标新，目标还没有生成

执行 直接执行make命令就可以了



2: 为.]]></description><category></category></item><item><title><![CDATA[《Linux 驱动 学习 -2》 gcc 编译器学习]]></title><link>https://blog.csdn.net/Rodulf/article/details/107010857</link><guid>https://blog.csdn.net/Rodulf/article/details/107010857</guid><author>Rodulf</author><pubDate>Mon, 29 Jun 2020 00:07:16 +0800</pubDate><description><![CDATA[https://ke.qq.com/course/466167?taid=4166586429021431

https://book.100ask.org/documentation/6-2/6-2.html

main.c


#include &lt;stdio.h&gt;
#include "sub.h"

int main(int argc, char *argv[]){
        int i;
        printf("main fun\n");
        sub_fun();]]></description><category></category></item><item><title><![CDATA[《Linux 驱动学习 - 1 》hello world 没有那么简单]]></title><link>https://blog.csdn.net/Rodulf/article/details/106991609</link><guid>https://blog.csdn.net/Rodulf/article/details/106991609</guid><author>Rodulf</author><pubDate>Sun, 28 Jun 2020 08:07:47 +0800</pubDate><description><![CDATA[https://ke.qq.com/course/466167?taid=4166582134054135




#include &lt;stdio.h&gt;
  
/*
 * 执行命令 ./hello kodulf
 * argc = 2
 * argv[0] = ./hello
 * argv[1] = kodulf
 *
*/


int main(int argc, char **argv){
        if(argc &gt;= 2){
                printf(.]]></description><category></category></item></channel></rss>