diff --git "a/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\344\275\234\344\270\232/readme.md" "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\344\275\234\344\270\232/readme.md" new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git "a/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-1.png" "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-1.png" new file mode 100644 index 0000000000000000000000000000000000000000..885e2cef5fba2f8e0b29355e3f80a49445540247 Binary files /dev/null and "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-1.png" differ diff --git "a/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-2.png" "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-2.png" new file mode 100644 index 0000000000000000000000000000000000000000..c7600a5a613d5c71a89c56b8523acc37269a6306 Binary files /dev/null and "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-2.png" differ diff --git "a/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-3.png" "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-3.png" new file mode 100644 index 0000000000000000000000000000000000000000..4269d8529c552e63524be00f4607a667987e4d6c Binary files /dev/null and "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-3.png" differ diff --git "a/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-4.png" "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-4.png" new file mode 100644 index 0000000000000000000000000000000000000000..2587b9716930e6c1c0d0c2d0b0fbd19d67ccf784 Binary files /dev/null and "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-4.png" differ diff --git "a/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-5.png" "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-5.png" new file mode 100644 index 0000000000000000000000000000000000000000..262fb78926734f77d772575db96a696c4f04bca4 Binary files /dev/null and "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-5.png" differ diff --git "a/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-6.png" "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-6.png" new file mode 100644 index 0000000000000000000000000000000000000000..5200d479b673141dab99b268529ddef91346439e Binary files /dev/null and "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-6.png" differ diff --git "a/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-7.png" "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-7.png" new file mode 100644 index 0000000000000000000000000000000000000000..10ab7cef3804813b47e73b7156438644458e9d9f Binary files /dev/null and "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-7.png" differ diff --git "a/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-8.png" "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-8.png" new file mode 100644 index 0000000000000000000000000000000000000000..591361f0274e0c42430f1c07c44dcce3590d870b Binary files /dev/null and "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image-8.png" differ diff --git "a/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image.png" "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image.png" new file mode 100644 index 0000000000000000000000000000000000000000..c5da5e67ef0076448903ed6f2ac3af4eefe6d09c Binary files /dev/null and "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\345\233\276\347\211\207/image.png" differ diff --git "a/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\347\216\257\345\242\203\346\220\255\345\273\272\345\222\214git.md" "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\347\216\257\345\242\203\346\220\255\345\273\272\345\222\214git.md" new file mode 100644 index 0000000000000000000000000000000000000000..a653f674614b40cae0c178747dc805ddbcfa34fe --- /dev/null +++ "b/2025/\347\254\2543\347\273\204(PSoC62 evaluation Kit)/\346\242\201\346\265\232\350\266\205/\347\254\224\350\256\260/\347\216\257\345\242\203\346\220\255\345\273\272\345\222\214git.md" @@ -0,0 +1,96 @@ +# RTT环境搭建和git使用 +![alt text](图片/image-5.png) +## 克隆RT-Thread源码 +### 下载git +https://git-scm.com/downloads/win +### 下载源码 +``` +git clone https://github.com/RT-Thread/rt-thread.git +``` +``` +git clone https://gitee.com/rtthread/rt-thread.git +``` +可以用gitee,国内镜像,会更稳定 +## env下载和使用 +### 下载 +https://github.com/RT-Thread/env-windows + +压缩包(离线)方式 (如果上面的不行) +https://download-redirect.rt-thread.org/download/env_release/env-windows-v2.0.0.7z + +### 使用 +#### 注册环境变量 +这样可以在任意目录右键打开env +打开`env.bat`,右上角`setting`。 +![Integration & Register](图片/image.png) +#### env更新 +``` +pkgs --upgrade +``` + + +## QEMU使用 +### 初步使用 +1. 打开文件夹`...\rt-thread\bsp\qemu-vexpress-a9` +2. 右键打开`ENV` +3. 输入`menuconfig`,按`q`退出,`y`确认,保存修改,下载相应软件包等 +4. 输入`scons -j4`,编译 +![编译成功图片](图片/image-8.png) +5. 运行QEMU +输入```qemu-nographic.bat``` +6. 可以在MSH中查看线程等 +![alt text](图片/image-7.png) +7. 按CTRL+A,再按X退出,返回ENV +### SConscript 构建 +指定哪些文件参与项目的构建 +1. 新建文件夹 +2. 新建SConscript文件,内容复制项目最外面的就行,就是把所有文件加入构建 +### LVGL DEMO体验 +1. 打开文件夹`...\rt-thread\bsp\qemu-vexpress-a9` +2. 右键打开`ENV` +3. 输入`menuconfig`,勾选如图选项 +![alt text](图片/image-1.png) +4. 输入`scons -j4`,编译 +5. 运行QEMU +输入```qemu.bat``` +6. 有DEMO窗口打开,关掉窗口就可以退出 +## git使用 +版本管理 +### git安装 +https://git-scm.com/downloads/win +### git基本内容 +初始化,添加所有文件暂存,提交,查看 +``` +git init +git add . +git commit -m "first commit" +git status +git log +``` +切换分支,新建分支 +``` +git checkout -b branch_name +git checkout master +git branch -a +git switch branch_name +``` +回退到上一个版本 +``` +git reset --hard HEAD^ +git reset --soft HEAD^ +``` +推送到云端 +![alt text](图片/image-6.png) +已经提交到云端的撤回 +例如 +![alt text](图片/image-4.png) +``` +git push origin branch_name --force +``` +### ssh使用 +![alt text](图片/image-2.png) +按上图操作可以用ssh方式克隆 +### 提交PR +1. Fork 仓库 +2. 新建分支,修改,提交PR +![alt text](图片/image-3.png) \ No newline at end of file