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/TI-RTOS:对 FatFS 文件的修改不会反映回工程中

Guru**** 2553260 points
Other Parts Discussed in Thread: MSP430F5259

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/594526/rtos-ti-rtos-modification-to-fatfs-file-is-not-reflected-back-to-the-project

器件型号:TI-RTOS

工具/软件:TI-RTOS

您好!  

我想使用 FatFS 模块的 f_findfirst()和 f_findnext () API。

根据文档、我在   C:\ti\tirtos_msp43x_2_20_00_06\products\tidrivers_msp43x_2_20_00_08\packages/ti\mw\fatfs\ff.conf.h 中将_use_find 宏修改为1

但是、当我构建项目(MSP430F5259、TI-RTOS 2.20.00.08)时、我会不断收到"未解析符号 f_findnext、First referenced "错误、就像_use_find 仍然为0一样

我在 编译器包含路径中添加了"${com_TI_RTSC_TIRTOSMSP430_TIDRIVERS_MSP43X}/ackages/ti/mw/fatfs "、但它没有任何作用。

我的问题是如何将更改集成到项目中? 项目属性(或其他位置)中应包含哪些内容?

谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您需要重建 fatfs 库、因为该定义决定函数是否在库中、同时更改数据结构的大小。 请参阅 TI-RTOS 用户指南、了解如何重建驱动程序(fatfs 位于 products\中 \packages/ti\mw\fatfs)。

    Todd