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.

[参考译文] CCS/TM4C1294NCPDT:如何更改默认以太网配置。

Guru**** 2553260 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/963267/ccs-tm4c1294ncpdt-how-to-change-default-ethernet-configurations

器件型号:TM4C1294NCPDT

工具/软件:Code Composer Studio

您好!

我正在使用 CCS 10.1.1进行开发。 我正在创建网络应用程序。 我想更改一些以太网配置运行时间。 我从库"TI-RTOS for TivaC - 2.16.00.08 "中的"资源管理器"中获取一个示例代码(HttpGet)。 我找到了一个函数 EMAC_init()。 我假设此函数初始化以太网配置。 但我无法找到它在哪里执行此操作。 我在调试模式下运行示例代码、但仍然无法找到以太网配置的完成位置。 您能指导我如何更改默认以太网配置吗?

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

    您好!

     EMAC_init ()在 C:\ti_tirtos_tivac_2_16_00_08\products\tidrivers_tivac_2_16_00_08\packages/ti\drivers\emac.c 文件中定义。 它稍后将引用 EMAC 目录中的 EMACSnow.c 文件。 它是 TI-RTOS 库的一部分。 在编译期间链接该库。 如果您需要编译库、请使用此帖子中的说明。  https://e2e.ti.com/support/processors/f/791/t/947275。我个人从未尝试过自己编译库。 我认为、如果您只需将 C:\ti_tirtos_tivac_2_16_00_08\products\tidrivers_tivac_2_16_00_08\packages/ti\drivers\emac\emacSnow.c 文件复制到您的 CCS 项目中、可能会更容易。 进行所需的修改并重建项目。