Hello everyone
I have found a problem in FlashAPI of the latest update of C2000ware (1.00.04.00).
The header file "F021.h" includes some other files, like this:
#include "../FlashAPI/Constants/Constants.h" #include "../FlashAPI/Helpers.h" #include "../FlashAPI/Init.h" #include "../FlashAPI/Registers.h"
But the header "Init.h" needs types definitions from file "Types.h" of the API headers. And the "Types.h" is included only in "Registers.h" - so the "Init.h" issues an error during compilation.
I've checked older API versions - indeed there was another include sequence:
#include "../FlashAPI/Registers.h" #include "../FlashAPI/Constants/Constants.h" #include "../FlashAPI/Helpers.h" #include "../FlashAPI/Init.h"
Am I right? Or am I missing smth?
Thanks