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-07-16 16:01:55 +08:00
..
cdk [refactor][board] rename bl70x with bl702 2021-07-16 15:56:37 +08:00
CMakeLists.txt [feat] add new examples 2021-06-04 18:15:23 +08:00
main.c [refactor] delete unused flag noun in device_register 2021-07-16 16:01:55 +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