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.

[参考译文] AM2434:如何合并多个 SDK 的示例

Guru**** 2393725 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1431268/am2434-how-to-combine-examples-from-mutliple-sdks

器件型号:AM2434

工具与软件:

您好!  

我是一名 Sitara 器件新手。 TI 在"AM243x 工业通信 SDK"和 "MCU+ SDK for AM243x"中有很好的示例项目。 有一点是、我想将工业通信 SDK 中的 EtherCAT 示例与 MCU SDK 中的一些基本示例(即 UART、I2C、IPC 等)相结合。  我的问题是

1)每个工程都有一个 example.syscfg 文件、我需要手动组合这些文件。 是否有比较和合并 syscfg 文件的简单方法? 如果将 EtherCAT 示例中的所有设置添加到空项目中、则会非常容易出错。

2) 2)我无法将两个 SDK 都添加到我的工程设置中。 否则会出现如下所示的多定义错误。 有相应的解决方案吗?

错误:以下模板被多次声明:TI_DPL_CONFIG.c、ti_DPL_CONFIG.h、ti_drivers_config.c、ti_drivers_config.h、ti_drivers_open_close.c、ti...

提前感谢您。

Hakan