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.

[参考译文] RTOS/EK-TM4C129EXL:driverlib.lib 只用作调试-如何重新编译以发布

Guru**** 2473260 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/682602/rtos-ek-tm4c129exl-driverlib-lib-only-as-debug---how-to-recompile-for-release

器件型号:EK-TM4C129EXL

工具/软件:TI-RTOS

编译器:安装在 C:/ti/ccs800中的 CCS V8

tirtos in c:/ti/tirtos_tivac_2_16_01_14

问题:

我的项目(源自 udpedcho 示例)需要 c:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b/driverlib/ccs/.中的 driverlib.lib 这只能作为 Debug、而不能作为 Release。 如何将其重新编译为发行版?

谢谢

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

    您可以使用所需的选项重新编译 TivaWare 驱动程序库。

    步骤1:将项目导入 Code Composer Studio 工作区(File -> Import)

    现在、通过右键单击"driverlib"项目、您可以选择"Release"配置、选择编译器版本、或修改设置并重建库。 然后在您的项目中、指向您创建的新"driverlib.lib"文件。