293 B
293 B
board/bl706_iot/pinmux_config.h 中 CONFIG_GPIO22_FUNC 选择 GPIO_FUN_PWM
board/bl706_iot/clock_config.h 中
- BSP_PWM_CLOCK_SOURCE 选择 ROOT_CLOCK_SOURCE_32K_CLK,
- BSP_PWM_CLOCK_DIV 设置成 31
$ make APP=pwm_it BOARD=bl706_iot