How do I create a weak function via Keil Cx51?
Have you taken a look through the options available?
http://www.keil.com/support/man/docs/c51/
I don't recell there being such an option, but then I'd never felt the need for it - why do you feel the need for it?
Yes, But I can't find any information I can use. I want to create a function like putchar() that the user can modify if they need.
Weak functions look like a useful feature of a toolchain, but they are actually not - really. I have seem them being abused by so many who considered themselves are "developers", only to produce unmaintainable, unbeliable junk code. In other words: don't.
View all questions in Keil forum