bl_mcu_sdk/examples/pwm/pwm_it
2021-06-25 17:21:06 +08:00
..
cdk [chore][cdk] delete local libc & update other cdkporj config 2021-06-25 17:21:06 +08:00
CMakeLists.txt [feat] add new examples 2021-06-04 18:15:23 +08:00
main.c [style] format files by clang-format 2021-06-20 12:25:46 +08:00
readme.md [style] format files by clang-format 2021-06-20 12:25:46 +08:00

board/bl706_iot/pinmux_config.hCONFIG_GPIO22_FUNC 选择 GPIO_FUN_PWM

board/bl706_iot/clock_config.h

  • BSP_PWM_CLOCK_SOURCE 选择 ROOT_CLOCK_SOURCE_XCLK,
  • BSP_PWM_CLOCK_DIV 设置成 1

$ make APP=pwm_it BOARD=bl706_iot