它是否能够在STM32微控制器上的应用程序中调整堆尺寸?
在我的程序中,我使用了很多malloc(),它的目标是具有不同的RAM尺寸的芯片(当然是相同的外围设备和足迹),所以我想在我的C代码应用程序中设置堆大小 ,在第一次致电malloc()之前。
在编译之前,请在IDE中设置堆或堆栈大小。我四处搜寻,什么也没发现。
那是可能的吗?
In my program, I'm using a lot of malloc(), and it's targeting chips with different RAM sizes(same peripherals and footprint of course), so I want to set HEAP size in my c code application, before the first call to malloc().
Setting HEAP or STACK size in IDE before compile is not I wanted. I searched all around and found nothing.
So, is that possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论