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.

[参考译文] TMS320F28P550SJ:是否可以了解默认宏使用的器件?

Guru**** 2427060 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1547056/tms320f28p550sj-possible-to-know-what-device-is-used-by-default-macros

器件型号:TMS320F28P550SJ


工具/软件:

尊敬的 champs:

我向我们的客户询问这个问题。

用户使用了一些 C2000 器件、并想知道我们的编译器是否具有任何预定义的宏(如)

#define _TMS320F28P550SJ9_

以便用户可以知道代码正在运行哪个器件?

我们检查了这个,但没有找到它。

https://www.ti.com/lit/pdf/SPRU514

P37

2.5.1 预定义宏名称

请您确认一下、或者告诉我们是否有简单的方法来了解这一点?