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.

[参考译文] AM263P4:FreeRTOS 用作源代码、而不是静态库

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1587761/am263p4-freertos-as-source-rather-than-as-static-library

器件型号: AM263P4

FreeRTOS 支持

  • 是否可以将内核以源代码形式提供、而不是作为静态库提供?
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Jan、

    我们将 FreeRTOS 源在 SDK 中作为静态库编译。 您可以将 源文件从 source/kernel/freertos/freertos-Kernel 导出到应用程序、然后将其作为应用程序的一部分直接编译。

    如果您希望编辑 FreeRTOS configs/源代码、您仍然可以这样做、并将库重新编译到新的静态库中并将其链接到您的应用、将整个 FreeRTOS 源代码作为应用的一部分可能会增加构建时间和其他与构建相关的工作。 我相信客户需要对 FreeRTOS 栈进行一组固定的更改、他们可以更改并重新编译库。

    重新编译库的步骤如下所述:

    https://software-dl.ti.com/mcu-plus-sdk/esd/AM263PX/latest/exports/docs/api_guide_am263px/MAKEFILE_BUILD_PAGE.html

    此致、
    Shaunak