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.

[参考译文] TMS570LS0914:Time.h 默认库 MISRA 21.10合规性

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1442318/tms570ls0914-time-h-default-libray-misra-21-10-compliance

器件型号:TMS570LS0914

工具与软件:

早上好、

根据 MISRA 规则、规则 21.10提到不应使用 time.h、但如果时间的实际实现避免使用动态存储器分配、这是出现 MISRA 投诉的原始原因。  

我在看文档、也在看编译器、但在任何地方都找不到 TI 的默认时间库实现、它是否投诉了。  

有人能指导我吗?

此致