Skip to content

Commit 537f9cf

Browse files
author
pomin
committed
bsp: [gd32] add GD32VW553 hw timer support.
1 parent 97e1f01 commit 537f9cf

File tree

2 files changed

+450
-0
lines changed

2 files changed

+450
-0
lines changed

bsp/gd32/risc-v/gd32vw553h-eval/board/Kconfig

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,31 @@ menu "On-chip Peripheral Drivers"
7878
default n
7979
endif
8080

81+
menuconfig BSP_USING_HWTIMER
82+
bool "Enable timer"
83+
default n
84+
select RT_USING_HWTIMER
85+
if BSP_USING_HWTIMER
86+
config BSP_USING_HWTIMER0
87+
bool "Enable TIM0"
88+
default n
89+
config BSP_USING_HWTIMER1
90+
bool "Enable TIM1"
91+
default n
92+
config BSP_USING_HWTIMER2
93+
bool "Enable TIM2"
94+
default n
95+
config BSP_USING_HWTIMER5
96+
bool "Enable TIM5"
97+
default n
98+
config BSP_USING_HWTIMER15
99+
bool "Enable TIM15"
100+
default n
101+
config BSP_USING_HWTIMER16
102+
bool "Enable TIM16"
103+
default n
104+
endif
105+
81106
source "$(BSP_DIR)/../libraries/gd32_drivers/Kconfig"
82107

83108
endmenu

0 commit comments

Comments
 (0)