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

3 little brown squares

I have been using the Keil tools for a long time and decided to try uVision for the first time and now have 3 projects. 2 hum along just fine, but in the 3rd I get "warning L1 unresolved external symbol" and "Warning L2 refrence made to unresolved external" both followed by "SYMBOL: WRITETOFLASH" I have cut the module containing the reference to the bare minimum:

PUBLIC WriteToFlash
FLASHIT SEGMENT CODE
RSEG FLASHIT
WriteToFlash:
ret
end

In this project the 3 little brown squares I see next to "target 1" on all 3 projects appear next to the name of the above file.

What is wrong ?

Erik

Parents
  • Found the reason: when Keil "C" calls an external function it will call it by its name if there are no parmetres attached; however if there are parametres attached it is called by _name.

    Is this done just to confuse poor souls like me or is there madness to the reason?

    Erik

Reply
  • Found the reason: when Keil "C" calls an external function it will call it by its name if there are no parmetres attached; however if there are parametres attached it is called by _name.

    Is this done just to confuse poor souls like me or is there madness to the reason?

    Erik

Children