Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 222848

Forum Post: C2000WARE: F28379D Flash API Issue

$
0
0
Part Number: C2000WARE 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

Viewing all articles
Browse latest Browse all 222848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>