forked from xuos/xiuos
Merge pull request 'update readme.md' (#85) from xidatong-riscv64 into e22lora
This commit is contained in:
commit
931bc172c1
|
@ -62,13 +62,14 @@ $ sudo apt install build-essential pkg-config git
|
|||
$ sudo apt install gcc make libncurses5-dev openssl libssl-dev bison flex libelf-dev autoconf libtool gperf libc6-dev
|
||||
```
|
||||
|
||||
**XiUOS操作系统源码下载:** XiUOS [https://www.gitlink.org.cn/xuos/xiuos](https://www.gitlink.org.cn/xuos/xiuos)
|
||||
**XiUOS操作系统源码下载,这个仓里的代码可能不是最新的,最好git clone自己仓里的代码:** XiUOS [https://www.gitlink.org.cn/xuos/xiuos](https://www.gitlink.org.cn/xuos/xiuos)
|
||||
|
||||
新建一个空文件夹并进入文件夹中,并下载源码,具体命令如下:
|
||||
|
||||
```c
|
||||
mkdir test && cd test
|
||||
git clone https://gitlink.org.cn/xuos/xiuos.git
|
||||
git checkout origin/prepare_for_master (以实际分支为准)
|
||||
```
|
||||
|
||||
打开XiUOS源码文件包可以看到以下目录:
|
||||
|
|
|
@ -16,7 +16,7 @@ git submodule update Ubiquitous/Nuttx_Fusion_XiUOS/apps
|
|||
git submodule update Ubiquitous/Nuttx_Fusion_XiUOS/nuttx
|
||||
```
|
||||
|
||||
执行完成后在Ubiquitous/Nuttx目录下,apps和nuttx的代码都被下载下来,当前的版本是nuttx-10.2.0版本。
|
||||
执行完成后在Ubiquitous/Nuttx目录下,apps和nuttx的代码都被下载下来,当前的版本是nuttx-10.3.0版本。
|
||||
|
||||
## 2、感 - 传感器框架支持Nuttx
|
||||
|
||||
|
@ -286,7 +286,7 @@ make menuconfig
|
|||
|
||||
##### 开启Nuttx Support CLOCK_MONOTONIC
|
||||
|
||||
进入RTOS Features > Clocks and Timers,勾选上Support CLOCK_MONOTONIC
|
||||
如果是Nuttx10.3以下的操作系统,需要进入RTOS Features > Clocks and Timers,勾选上Support CLOCK_MONOTONIC
|
||||
|
||||
##### 使用I2C外设--以hs300x温度传感器为例说明配置过程:
|
||||
|
||||
|
|
Loading…
Reference in New Issue