This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MSP432E401Y:和 TI RTOS 希望覆盖内存分配

Guru**** 2465890 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1227317/msp432e401y-and-ti-rtos-want-to-override-memory-allocation

器件型号:MSP432E401Y

您好!

我们在跟踪一个棘手的错误。

我们希望在堆分配中添加一个挂钩、以便捕获特定大小的 alloc。

如果我将 HeapMem.c 添加到我的项目中、我收到一个链接器错误。

这与驱动程序不同、您可以用自己修改的驱动程序代替它、而它将覆盖 SimpleLink BSP 中的驱动程序

Memory.c 出现同样的问题

我不知道如何修改 release_pem4f.c、并且具有该计数、它似乎是自动生成的文件。