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.

F28035工程设置



       想做一个模板工程,将所有的外设驱动支持函数放到工程下面的一个文件夹中(虽然可能有些不会用到),

这样会不会大量浪费芯片资源啊?

  • 模板工程可以直接用TI的例程。

    放到文件夹中没有关系,只要不加入到编译。另外如果有用到编译器优化功能,那么,编译器会自动把没有用到的函数优化掉。

    具体的,您可以看看编译后生成的.map文件,里面会有说哪些程序函数被加入到程序中。