Hello
The programm I have is all fine, the compiler can compile it and the linker link it. But there is one c-file which the keil u vision 5 IDE can not handle correctly somehow. If I hover over a function from that particular file, right click on it and select "Go to Defintion" the undefined Defintion/Reference exception pops up (Like I said the proramm works fine. I can download it to my F7 chip and it works). I could live with that pitty, but the linter (static code analysis) does also have the same issue and throw some error. I know I could just suppress the erros and warning from the linter too, but I am curious why the keil has a problem with this file. Does anybody had an idea why this happens and how it could be solved?
Thanks in advance best regards Fabio Bucher
In that case, the "reference" must be in code that is never used.
Presumably, it is disabled by some #if ... ?
Or is that source file simply excluded form the build ?
Well thats the funny thing, it is code which is used and compiled. It is my driver to regulate the exposer time of a laser. And it works over the interfaces just perfectly. Can it be the codesize, because our Keil environment is not very perfomant anymore. A general "go to definition" command can take up to 10 or more seconds. And compilation of the entire project takes several minutes (7-15min, depends on which hardware).
Codesize: Program Size: Code=408452 RO-data=758768 RW-data=12912 ZI-data=369768