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.

[参考译文] HALCOGEN:为每个驱动程序生成单独的文件夹

Guru**** 2529560 points
Other Parts Discussed in Thread: HALCOGEN, RM57L843

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1181406/halcogen-generating-individual-folders-for-each-drivers

器件型号:HALCOGEN
主题中讨论的其他器件: RM57L843

我不熟悉使用 Halcogen 工具。 我正在检查为我的项目生成 HAL 代码、并且能够生成它。

目前、代码是以"C 源文件"文件夹下的.c 文件和"头文件"文件夹下的.h 文件的方式生成的。

我希望通过为每个驱动程序设置单独文件夹的方式来生成代码。 例如、SCI 的.c 和.h 驱动程序文件应位于 SCI  文件夹下。

是否有任何方法可以做到这一点?

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

    您好、Rajavarman、

    这是 HALCoGen 无法实现的。  

    [引用 userid="494798" URL"~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1181406/halcogen-generating-individual-folders-for-each-drivers "]是否有任何方法可以做到这一点?

    不能以这种方式生成代码、默认情况下、HALCoGen 将在一个文件夹中生成所有 C 源文件、在其他文件夹中生成所有头文件。

    但 您可以轻松地从 CCS IDE 中打开相应的.h 文件。

    在上面的示例中、我打开了 sci.c 并右键单击 sci.h、您可以找到一个选项"打开声明"、如果您单击该选项、您可以打开 sci.c 文件旁边的相应.h 文件、如下所示

    --

    谢谢、此致、
    Jagadish。

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

    您好 Jagadish、

    感谢您的回复。

    TI 是否有任何其他代码配置工具可帮助我 在各个文件夹下生成驱动程序? 我使用的是 RM57L843控制器。

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

    您好、Rajavarman、

    [引用 userid="494798" URL"~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1181406/halcogen-generating-individual-folders-for-each-drivers/4450453 #4450453"] TI 是否提供了任何其他代码配置工具,可帮助我 在各个文件夹下生成驱动程序?

    不可以、在单个文件夹下没有其他用于生成驱动程序的配置工具。

    --

    谢谢、此致、
    Jagadish。