Skip to content

Commit bd5cb58

Browse files
committed
添加了定时器的外部时钟模式2驱动,已实现外部脉冲计数的功能;
在N32l406平台测试通过 在N32G457台测试通过
1 parent faa7092 commit bd5cb58

File tree

13 files changed

+2018
-207
lines changed

13 files changed

+2018
-207
lines changed

bsp/n32/libraries/n32_drivers/SConscript

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ if GetDepend(['RT_USING_WDT']):
4848
src += ['drv_wdt.c']
4949

5050
if GetDepend(['BSP_USING_PWM']):
51-
src += ['drv_pwm.c']
51+
src += ['drv_pwm.c']
52+
53+
if GetDepend(['BSP_USING_TIM_ETR_CNT']):
54+
src += ['tim_etr_cnt.c']
55+
5256

5357
path = [cwd]
5458
path += [cwd + '/config']

0 commit comments

Comments
 (0)