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

REENTRANT

I am currently trying to resolve a problem with calling printf from within an interrupt and keep getting the following warning.

	*** WARNING 15: MULTIPLE CALL TO SEGMENT
    		SEGMENT: ?PR?PRINTF?PRINTF
    		CALLER1: ?PR?SERIO?Q
	    	CALLER2: ?C_C51STARTUP	
I have had a search of the knowledge base and see a few other people have had a similar problem.

I found an article called "C51: REENTRANT FUNCTIONS AND THE REENTRANT STACK POINTER" which seemed to explain how to overcome this problem. But after completing the 4 steps I keep getting the following errors
	STARTUP.A51(1): error C141: syntax error near ';'
	STARTUP.A51(2): error C129: missing ';' before 'file'
Has anyone got any ideas?

Cheers

Steve

0