为什么我的stm32cubeide无法生成代码?
stm32吧
全部回复
仅看楼主
level 6
myst41 楼主
如题,第一次使用stm32cubeide。配置好后,点击生成代码,结果没有生成代码文件夹,就像下图那样。
2025年08月27日 14点08分 1
level 6
myst41 楼主
OK,解决了。原因是code generation could not be done most probably because the necessary firmware package is missing.我看的教程似乎都没有讲解这一步的。
2025年08月28日 02点08分 2
level 6
myst41 楼主
记录一下,解决方法。首先,点击help,然后点击configuration tool,最后找到manage embedded packages。
2025年08月28日 04点08分 3
level 6
myst41 楼主
第一步如图
2025年08月28日 04点08分 4
level 6
myst41 楼主
第二步,找到自己想要的的包下载即可。不过需要注意的是,你要有st账号。
2025年08月28日 04点08分 5
怎么找到自己的包啊[惊哭]
2025年11月30日 16点11分
你只要有自己的账号,后面好像只需要按cubemx生成代码的步骤来,他会自动帮你下载。
2025年12月01日 00点12分
1