配置TIM引脚,激活TIM22_CH2和TIM3_CH4,无法编译代码。
本帖最后由 HomeKit 于 2025-7-28 22:00 编辑用STM32L071RBTx芯片,编译从.ioc文件生成的代码,能够重现同样的问题。
这是我得到的错误消息:16:16:20 **** Clean-only build of configuration Debug for project test222 ****
make -j12 clean
rm -rf *
16:16:20 Build Finished. 0 errors, 0 warnings. (took 316ms)
16:16:20 **** Incremental Build of configuration Debug for project test222 ****
检查时钟配置是否有误。 GPIO引脚配置是否正确。 GPIO引脚配置是否正确。 用HAL库初始化TIM22和TIM3的通道。 启动PWM输出。
页:
[1]