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.

[参考译文] MSP430FR2355:一般问题--文件依赖性?

Guru**** 2538950 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/957159/msp430fr2355-general-question-----file-dependencies

器件型号:MSP430FR2355

在构建具有多个源文件的库时、最好将头文件依赖项放入工程的单个头文件中、并仅在每个源文件中包含该依赖项、还是最好根据需要将所需依赖项放入每个源文件中?