From b256411736057ce91787c3605648bfd616045e38 Mon Sep 17 00:00:00 2001 From: Yaochenger <1516081466@qq.com> Date: Mon, 19 Dec 2022 10:08:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/core-v-mcu/core-v-cv32e40p/readme.md | 8 ++++++-- bsp/core-v-mcu/core-v-cv32e40p/readme_EN.md | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/bsp/core-v-mcu/core-v-cv32e40p/readme.md b/bsp/core-v-mcu/core-v-cv32e40p/readme.md index 9a7a6d0bc4..669291268b 100644 --- a/bsp/core-v-mcu/core-v-cv32e40p/readme.md +++ b/bsp/core-v-mcu/core-v-cv32e40p/readme.md @@ -188,9 +188,13 @@ BSP支持RT-Thread的Finsh组件,输入version可以查看rt-thread的版本 ### 4.CLI组件 -​ OPENHW提供的FreeRTOS工程支持一个CLI组件用于测试,再使用RT-Thread时为了确保兼容原有的CLI,所以将原来的CLI做成了独立的软件包,同时该软件包自动开启了FreeRTOS兼容层,所以该软件包既可以支持原有的CLI组件,同时依旧可以使用FreeRTOS的接口函数。 +​ OPENHW提供的FreeRTOS工程支持一个CLI组件用于测试,在使用RT-Thread时为了兼容原有的CLI,所以将原来的CLI做成了独立的软件包,同时该软件包自动开启FreeRTOS兼容层,所以该软件包既可以支持原有的CLI组件,同时用户可以自行选择使用FreeRTOS的API或者RT-Thread的API。 #### 4.1使用方法 -​ 在ENV工具中使用menuconfig配置开启CorevMCU_CL软件包,将example.c中的示例代码放到main.c提示的地方即可。 +​ 在ENV工具中使用menuconfig配置开启CorevMCU_CL软件包,将example.c中的示例代码放到main.c提示的地方。使用menuconfig配置的步骤如下: + +> `RT-Thread online packages` +> `miscellaneous packages --->` +> ` [*] CorevMCU_CLI` diff --git a/bsp/core-v-mcu/core-v-cv32e40p/readme_EN.md b/bsp/core-v-mcu/core-v-cv32e40p/readme_EN.md index 7e535be71b..81f36b17f4 100644 --- a/bsp/core-v-mcu/core-v-cv32e40p/readme_EN.md +++ b/bsp/core-v-mcu/core-v-cv32e40p/readme_EN.md @@ -184,4 +184,8 @@ Cancle`Start OpenOCD locally`,the configuration parameters are as follows:![de #### 4.1使用方法 -​ Enable CorevMCU with menuconfig configuration in ENV tool_ CL software package, just put the sample code in example. c at the prompt of main. c. \ No newline at end of file +​ Enable CorevMCU with menuconfig configuration in ENV tool_ CL software package, place the sample code in example. c at the prompt of main. c. The steps to use menuconfig configuration are as follows: + +> `RT-Thread online packages` +> ` miscellaneous packages --->` +> ` [*] CorevMCU_CLI` \ No newline at end of file -- GitLab