I am doing inline assembly. All works except unresolved external. OK I KNOW WHY.
BUT HOW DOES ONE INLCUDE THE MISSING LIBRARY IN THE IDE ?
Specifically, what dialog, what text to enter where ?
The "help" says "BL51 inputlist, CxxFPS.LIB, CxxS.LIB NODEFAULTLIBRARY"
... what is this ? ... where is this ?
Project Options for Target ....
BL51 Misc ??? ... but WHERE and WHAT ???
Keil does this by translating all the 'C' source to assembly, and then passing that through the assembler.
A result of this is that the linker no longer "knows" that you had 'C' source, so it doesn't do all the automatic 'C' support stuff that it otherwise would - including adding all the support libraries.
One way around this is to ensure that you still have a main() function which is pure 'C' - ie, not translated via assembler. That will ensure that the Linker knows what to do...
Good night, and may your god go with you.