我遇到了同样的问题。一开始我尝试生成一个trueStudio项目,使用'-o3'优化编译。代码大小小于32k,但它没有(我在指出TrueStudio中不支持F0的hal库之后读了一篇文章。我不知道这是不是问题。而且我也试过LL驱动程序没有运气)所以我切换到keil(你可以获得f0的免费许可),现在编译的代码大小约为23k,只启用了霍尔传感器。
我在这里有关于代码大小的帖子:
https://community.st.com/0D50X00009XkW99SAF
注意:原始帖子包含大量线程对话,只能迁移到第9级
以上来自于谷歌翻译
以下为原文
I encountered the same problem. At beginning I tried to generate a trueStudio project, compiled with '-o3' optimization on. The code size is less than 32k but it didn't(I read a post after pointing out that the hal library for F0 is not supported in TrueStudio yet. I don't know if that's the problem. And I also tried LL driver with no luck) So I switched to keil(you can get free license for f0), now the compiled code size is about 23k with only hall sensor enabled.
I have a post about code size here:
https://community.st.com/0D50X00009XkW99SAF
Note: the original post contained a large number of threaded conversations and was only able to be migrated to the 9th level
我遇到了同样的问题。一开始我尝试生成一个trueStudio项目,使用'-o3'优化编译。代码大小小于32k,但它没有(我在指出TrueStudio中不支持F0的hal库之后读了一篇文章。我不知道这是不是问题。而且我也试过LL驱动程序没有运气)所以我切换到keil(你可以获得f0的免费许可),现在编译的代码大小约为23k,只启用了霍尔传感器。
我在这里有关于代码大小的帖子:
https://community.st.com/0D50X00009XkW99SAF
注意:原始帖子包含大量线程对话,只能迁移到第9级
以上来自于谷歌翻译
以下为原文
I encountered the same problem. At beginning I tried to generate a trueStudio project, compiled with '-o3' optimization on. The code size is less than 32k but it didn't(I read a post after pointing out that the hal library for F0 is not supported in TrueStudio yet. I don't know if that's the problem. And I also tried LL driver with no luck) So I switched to keil(you can get free license for f0), now the compiled code size is about 23k with only hall sensor enabled.
I have a post about code size here:
https://community.st.com/0D50X00009XkW99SAF
Note: the original post contained a large number of threaded conversations and was only able to be migrated to the 9th level
举报