forked from xuos/xiuos
xiuos:change the .gitmodules file Ubiquitous/RT_Thread/ update README.md and add build.sh file from Tian_Chunyu
it is OK
This commit is contained in:
commit
1f041ac321
|
@ -1,6 +1,6 @@
|
|||
[submodule "Ubiquitous/RT_Thread/rt-thread"]
|
||||
path = Ubiquitous/RT_Thread/rt-thread
|
||||
url = https://code.gitlink.org.cn/chunyexixiaoyu/rt-thread.git
|
||||
[submodule "Ubiquitous/RT_Thread/bsp/k210/kendryte-sdk/kendryte-sdk-source"]
|
||||
[submodule "Ubiquitous/RT_Thread/aiit_board/k210/kendryte-sdk/kendryte-sdk-source"]
|
||||
path = Ubiquitous/RT_Thread/aiit_board/k210/kendryte-sdk/kendryte-sdk-source
|
||||
url = https://code.gitlink.org.cn/chunyexixiaoyu/kendryte-sdk-source.git
|
||||
|
|
|
@ -27,8 +27,12 @@ Rt-thread/rt-thread 使用 RT-Thread 作为系统基础设施,提供底层支
|
|||
运行以下指令下载代码、编译运行:
|
||||
|
||||
```
|
||||
# 进入xiuos目录下载更新子模块(包括RT-thread 和 K210 SDK)
|
||||
git submodule update --init --recursive
|
||||
# 下载代码
|
||||
# 进入xiuos目录下载更新子模块(包括RT-thread 和 K210 SDK(如果用到K210 需更新kendryte-sdk))执行以下三条命令或者直接执行当前目录下的download.sh脚本命令
|
||||
git submodule init
|
||||
git submodule update Ubiquitous/RT_Thread/rt-thread
|
||||
git submodule update Ubiquitous/RT_Thread/aiit_board/k210/kendryte-sdk/kendryte-sdk-source
|
||||
|
||||
# 进入 xiuos/Ubiquitous/Rt-thread/aiit_board/stm32f407_core 配置 Kconfig
|
||||
scons --menuconfig
|
||||
# 编译
|
||||
|
@ -40,4 +44,3 @@ st-flash write rtthread.bin 0x8000000
|
|||
同时也可以支持windows开发环境进行上述命令进行编译,需安装env插件,详细介绍可以参照[rt-thread官方资料](https://www.rt-thread.org/document/site/#/rt-thread-version/rt-thread-standard/application-note/setup/standard-project/an0017-standard-project?id=%e4%bd%bf%e7%94%a8-env-%e5%88%9b%e5%bb%ba-rt-thread-%e9%a1%b9%e7%9b%ae%e5%b7%a5%e7%a8%8b
|
||||
)。
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#切换到root目录
|
||||
cd ../../
|
||||
echo $(pwd)
|
||||
git submodule init
|
||||
git submodule update Ubiquitous/RT_Thread/rt-thread
|
||||
git submodule update Ubiquitous/RT_Thread/aiit_board/k210/kendryte-sdk/kendryte-sdk-source
|
Loading…
Reference in New Issue