Compare commits

...

4 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
1eb8eda923 Add installation speed optimization note for Chinese users
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
2025-10-25 01:23:48 +00:00
copilot-swe-agent[bot]
32afa64f94 Update BSP documentation to use sysprog21/Kconfiglib
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
2025-10-25 01:19:02 +00:00
copilot-swe-agent[bot]
30be0be690 Update kconfiglib to use sysprog21/Kconfiglib fork
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
2025-10-25 01:17:02 +00:00
copilot-swe-agent[bot]
f6272a2661 Initial plan 2025-10-25 01:09:54 +00:00
6 changed files with 22 additions and 5 deletions

View File

@@ -91,7 +91,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get -yqq install scons qemu-system git
pip3 install kconfiglib
pip3 install git+https://github.com/sysprog21/Kconfiglib
- name: Install ToolChains
shell: bash

View File

@@ -73,12 +73,14 @@ $ sudo apt install -y scons python3-pip u-boot-tools patch
### 3.2.2. 一些 python 软件包
因为本 BSP 只在 RT-Thread v5.1.0 以上才支持,所以需要确保本地已经安装过 kconfiglib。采用清华源是为了加快安装速度。
因为本 BSP 只在 RT-Thread v5.1.0 以上才支持,所以需要确保本地已经安装过 kconfiglib。
```shell
$ pip3 install kconfiglib -i https://pypi.tuna.tsinghua.edu.cn/simple
$ pip3 install git+https://github.com/sysprog21/Kconfiglib
```
注意:如果下载速度较慢,可以使用 git 代理或设置 pip 镜像源来加速安装。
另外还需要一些软件包用于 rttpkgtool 打包。
```shell

View File

@@ -742,6 +742,7 @@ CONFIG_RT_PAGE_MAX_ORDER=11
# CONFIG_PKG_USING_RVBACKTRACE is not set
# CONFIG_PKG_USING_HPATCHLITE is not set
# CONFIG_PKG_USING_THREAD_METRIC is not set
# CONFIG_PKG_USING_UORB is not set
# end of tools packages
#
@@ -836,6 +837,7 @@ CONFIG_RT_PAGE_MAX_ORDER=11
# CONFIG_PKG_USING_R_RHEALSTONE is not set
# CONFIG_PKG_USING_HEARTBEAT is not set
# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set
# CONFIG_PKG_USING_CHERRYECAT is not set
# end of system packages
#
@@ -992,6 +994,12 @@ CONFIG_RT_PAGE_MAX_ORDER=11
# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set
# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set
# end of GD32 Drivers
#
# HPMicro SDK
#
# CONFIG_PKG_USING_HPM_SDK is not set
# end of HPMicro SDK
# end of HAL & SDK Drivers
#

View File

@@ -418,6 +418,10 @@
/* GD32 Drivers */
/* end of GD32 Drivers */
/* HPMicro SDK */
/* end of HPMicro SDK */
/* end of HAL & SDK Drivers */
/* sensors drivers */

View File

@@ -51,8 +51,11 @@ export RTT_CC_PREFIX=riscv64-unknown-linux-musl-
```shell
sudo apt install scons python3-pip
pip install kconfiglib
pip install git+https://github.com/sysprog21/Kconfiglib
```
注意:如果下载速度较慢,可以使用 git 代理或设置 pip 镜像源来加速安装。
### 4.2.3. 编译
```shell

View File

@@ -1,5 +1,5 @@
scons>=4.0.1
requests>=2.27.1
tqdm>=4.67.1
kconfiglib>=13.7.1
kconfiglib @ git+https://github.com/sysprog21/Kconfiglib
PyYAML>=6.0