This repository has been archived on 2023-07-17. You can view files and clone it, but cannot push or open issues or pull requests.
bl_mcu_sdk/examples/pwm/pwm_it
2021-10-19 20:04:23 +08:00
..
cdk [chore][cdk] update cdk setting,add all hal source into cdk,delete unused include path 2021-09-26 15:30:44 +08:00
CMakeLists.txt [feat] add new examples 2021-06-04 18:15:23 +08:00
main.c [refactor] remove bflb_platform.h from bl602 and bl702 driver,include it in anywhere used 2021-10-19 20:04:23 +08:00
readme.md [fix][examples/pwm] fix pwm div description 2021-09-28 11:31:02 +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_32K_CLK,
  • BSP_PWM_CLOCK_DIV 设置成 31

$ make APP=pwm_it BOARD=bl706_iot