请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号: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?
谢谢