update
This commit is contained in:
parent
ea9be46339
commit
260d4dbb81
|
@ -20,6 +20,7 @@
|
||||||
#include "hi_uart.h"
|
#include "hi_uart.h"
|
||||||
#include "iot_uart.h"
|
#include "iot_uart.h"
|
||||||
#include "iot_errno.h"
|
#include "iot_errno.h"
|
||||||
|
#include <securec.h>
|
||||||
|
|
||||||
#define ADC_TASK_STACK_SIZE 4096
|
#define ADC_TASK_STACK_SIZE 4096
|
||||||
#define ADC_TASK_PRIO 25
|
#define ADC_TASK_PRIO 25
|
||||||
|
@ -54,7 +55,7 @@ static void uartTask(void)
|
||||||
for(;;)
|
for(;;)
|
||||||
{
|
{
|
||||||
//先清空UART接收缓冲区
|
//先清空UART接收缓冲区
|
||||||
memset(uart_recv_data, 0, sizeof(UART_RECV_BUF_SZIE));
|
(void)memset_s(uart_recv_data, 0, sizeof(UART_RECV_BUF_SZIE));
|
||||||
|
|
||||||
//UART发送数据
|
//UART发送数据
|
||||||
IoTUartWrite(USER_UART_NUM, uart_send_pdata, strlen(uart_send_pdata));
|
IoTUartWrite(USER_UART_NUM, uart_send_pdata, strlen(uart_send_pdata));
|
||||||
|
|
|
@ -40,7 +40,7 @@ git clone https://gitee.com/talkweb_oh/niobe.git
|
||||||
|
|
||||||
```
|
```
|
||||||
# 初始化
|
# 初始化
|
||||||
repo init -u git@git.talkweb.com.cn:houpengfei/manifest.git --no-repo-verify -m talkweb_niobe.xml --depth=1
|
repo init -u https://gitee.com/openharmony/manifest.git --no-repo-verify -m devboard_talkweb_niobe.xml --depth=1
|
||||||
# 同步代码
|
# 同步代码
|
||||||
repo sync -c
|
repo sync -c
|
||||||
# 下载大文件
|
# 下载大文件
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 514 KiB |
Binary file not shown.
After Width: | Height: | Size: 732 KiB |
Binary file not shown.
After Width: | Height: | Size: 792 KiB |
Binary file not shown.
After Width: | Height: | Size: 928 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.3 MiB |
Binary file not shown.
After Width: | Height: | Size: 795 KiB |
Loading…
Reference in New Issue