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.

[参考译文] C2000WARE:F28379D 闪存 API 问题

Guru**** 2547440 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/677990/c2000ware-f28379d-flash-api-issue

器件型号:C2000WARE

大家好

我在最新 C2000ware 更新(1.00.04.00)的 FlashAPI 中发现问题。  

头文件"F021.h"包括一些其他文件、如下所示:

#include "../FlashAPI/Constants/Constants.h
#include "../FlashAPI/Helpers.h
#include "../FlashAPI/Init.h
#include "../FlashAPI/Registers.h 

但标头"Init.h"需要 API 标头文件"type.h"中的类型定义。 "types.h"仅包含在"Registers.h"中-因此"Init.h"在编译期间发出错误。

我已经检查了较旧的 API 版本-实际上还有另一个包含序列:

#include "../FlashAPI/Registers.h
#include "../FlashAPI/Constants/Constants.h
#include "../FlashAPI/Helpers.h
#include "../FlashAPI/Init.h 

我是对的吗? 或者我是否错过了 smth?

谢谢

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

    我已安装 C2000Ware 1.00.04.00版本。 我在 F021.h 中找不到这样的顺序

    我观察到以下情况:
    #include "Registers.h"
    #include "Init.h"
    #include "alHelper .h"
    #include "Constants/Constants.h"

    请检查您的安装情况吗? 您能否显示 F021.h 的路径、例如:- C:\ti\c2000Ware_1_00_04_00\libraries\flash_api\f2837xd\include\F021.h

    谢谢、
    Katta
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    不幸的是、我已经更改了文件、所以我不能说、如果在安装后文件的版本不正确、或者我已经错误地更改了文件。
    很抱歉让人打扰。