Skip to content

Commit ce87383

Browse files
committed
[fix] fix some bug
1 parent e6bb66e commit ce87383

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

bsp/gd32/risc-v/gd32vw553h-eval/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ GD32VW553H_EVAL是-兆易创新推出的一款GD32VW系列的评估板。开发
66

77
![board](figures/board.png)
88

9-
GD32VW553系列双模无线MCU,支持Wi-Fi 6及Bluetooth LE 5.2无线连接,集成了高达4MB Flash及320KB SRAM,另有32KB可配置指令高速缓存(I-Cache),大幅提升了CPU处理效率。不仅具备出色的无线性能,芯片还配置了丰富的通用有线接口,包含3个U(S)ART、2个I2C、1个SPI以及1个四线制QSPI等, 以及多达29个可编程 GPIO 管脚。内置2个32位通用定时器、2个16位通用定时器、4个16位基本定时器、1个PWM高级定时器和1个12位ADC。供电电压1.8V~3.6V,并提供了85℃~105℃宽温选择,以满足工控互联、照明设备以及插座面板等高温场景应用所需。
9+
GD32VW553系列双模无线MCU,支持Wi-Fi 6及Bluetooth LE 5.2无线连接,集成了高达4MB Flash及320KB SRAM,另有32KB可配置指令高速缓存(I-Cache),大幅提升了CPU处理效率。不仅具备出色的无线性能,芯片还配置了丰富的通用有线接口,包含3个U(S)ART、2个I2C、1个SPI以及1个四线制QSPI等, 以及多达29个可编程 GPIO 管脚。内置2个32位通用定时器、2个16位通用定时器、4个16位基本定时器、1个PWM高级定时器和1个12位ADC。供电电压1.8V - 3.6V,并提供了85℃ - 105℃宽温选择,以满足工控互联、照明设备以及插座面板等高温场景应用所需。
1010

1111
面向实时处理和高效通信需求,GD32VW553系列MCU采用了全新的开源指令集架构RISC-V处理器内核,主频可达160MHz,还配备了高级DSP硬件加速器、双精度浮点单元(FPU)以及指令扩展接口等资源,以出色的微架构设计实现了极佳的能效比,并提供了灵活的可扩展性。
1212

bsp/gd32/risc-v/libraries/gd32_drivers/drv_gpio.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ extern "C" {
2424
#elif defined SOC_SERIES_GD32VW55x
2525
#include "gd32vw55x_gpio.h"
2626
#else
27-
#error "未定义的SOC系列"
27+
#error "not support soc"
2828
#endif
2929

3030
#define __GD32_PORT(port) GPIO##port

bsp/gd32/risc-v/libraries/gd32_drivers/drv_usart.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,9 @@ static rt_err_t gd32_uart_control(struct rt_serial_device *serial, int cmd, void
328328

329329
break;
330330
case RT_DEVICE_CTRL_SET_INT:
331+
#ifdef SOC_SERIES_GD32VF103V
332+
eclic_set_nlbits(ECLIC_GROUP_LEVEL3_PRIO1);
333+
#endif /* SOC_SERIES_GD32VF103V */
331334
/* enable rx irq */
332335
eclic_irq_enable(uart->irqn, 1, 0);
333336
/* enable interrupt */

0 commit comments

Comments
 (0)