cubeMX有个很蛋疼的问题:新建项目时只能使用最新的固件库,不能选择。
“I don't see the correct side from generating using an old versions because there is always enhancement and bug fixes in the new release.”
呵呵。。。
我用H7 V1.9.1正常,手贱更新了cubeide,同时手贱更新固件库到H7 V1.10.0,结果ADC的时钟没法配置了。查了一下ST知道了这个bug,要到下个版本才会修复。
我想继续用H7 V1.9.1,但也懒得重新装旧版本的cubeide或cubemx了,发现如下办法:
直接编辑.ioc文件
MxCube.Version=6.5.0
MxDb.Version=DB.6.0.50
ProjectManager.FirmwarePackage=STM32Cube FW_H7 V1.10.0
改为
MxCube.Version=6.4.0
MxDb.Version=DB.6.0.40
ProjectManager.FirmwarePackage=STM32Cube FW_H7 V1.9.1
如果不想cube每次都提醒旧版本文件,可以把
ProjectManager.AskForMigrate=false
改为true