This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error 34 Undefined Identifier in .ini file. Only occurs once after building.

Trying to print some values to the output window in the debugger. I have a function in a .ini file called "dumpCodes()" that I call in my main.c to print out some values I'm interested in.

Whenever I rebuild the project and start the debugger and hit "run" I see the following message:

*** error 34: undefined identifier
dumpCodes()

If I stop the debugger and start again without rebuilding (or changing anything at all). The code will run fine. How do I get this function to be recognized on the first attempt? What is happening such that it is suddenly identified after I re-start the debugger?

I am using STM32L476.