You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
linux | 3 years ago | |
markdown.assets/README.assets | 3 years ago | |
release | 3 years ago | |
windows | 3 years ago | |
README.md | 3 years ago |
README.md
README
[toc]
Release
Win
Linux
cd linux
./build.sh
用法
Win
1.文件资源管理器打开stm32_pwm_computer.exe所在目录。
2.在目录栏输入cmd
3.在弹出的终端输入指令
Tip:
1.根据stm32cubeMX中时钟树和定时器序号,确定定时器输入时钟频率
2.部分频率不能恰好一样,会存在一定的误差
这是因为寄存器不能整除导致的,当频率越来越大,这个误差就会越来越大。
程序执行异常
vcruntime140.dll was not found
解决方案:
下载Visual C++ Redistributable库文件,安装即可
Latest supported Visual C++ Redistributable downloads | Microsoft Docs
错误分析
vcruntime140.dll,是vc工程编译出来的程序必须依赖的库,如果没有则需要安装相应的库包。
vcruntime140d.dll was not found
vcruntime140d.dll 是 vcruntime140.dll的包含Debug信息的版本,如下图在viso编译时,生成的目标选择Debug版本,则连接的是vcruntime140d.dll,如果是Release连接的是vcruntime140.dll,如果想要安装vcruntime140d.dll,安装驱动库即可。