Merge pull request 'update readme.md' (#85) from xidatong-riscv64 into e22lora

This commit is contained in:
wgzAIIT 2022-07-19 13:46:04 +08:00
commit 931bc172c1
2 changed files with 4 additions and 3 deletions

View File

@ -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源码文件包可以看到以下目录

View File

@ -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温度传感器为例说明配置过程