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

80c32 declare large mode how to define internal memory using startup.a51

when I used 80c32 and declare large mode, and
I define
BYTE data timer_clock _at_ 0x13;
but it always appear:
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: TIMER_CLOCK
MODULE: motor.obj (MOTOR)
*** WARNING L4: DATA SPACE MEMORY OVERLAP
FROM: 0013H
TO: 0013H
how I modify startup.a51 to solve this question

Best Regard

Parents
  • The key is in the 1st message:

    *** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL: TIMER_CLOCK
    Each symbol must be defined only once; somehow, you have defined 'timer_clock' more than once.
    You need to find & remove the extra definition(s) of 'timer_clock'.

Reply
  • The key is in the 1st message:

    *** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL: TIMER_CLOCK
    Each symbol must be defined only once; somehow, you have defined 'timer_clock' more than once.
    You need to find & remove the extra definition(s) of 'timer_clock'.

Children