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

Multiple call to segment warning

I am seeing this warning when I try to compile my code

Warning L15: multiple call to segment
segment: ?pr?_nvmwrit?nvmem_cc
caller1: ?pr?spicommisr?spi_com_cc
caller2: ?c_c51startup

I looked through my code, I don't call nvmwrite in spicommisr routine. And what is this c51startup file?

thanks,
DG

Parents
  • I did have that nvmwrite in isr before, but I already moved it out. Right now, I only set flag and take care of that nvmwrite in supper loop which belongs to main. I don't understand why linker still thinks I have that nvmwrite in isr.

    And what is that C51startup anyway?

Reply
  • I did have that nvmwrite in isr before, but I already moved it out. Right now, I only set flag and take care of that nvmwrite in supper loop which belongs to main. I don't understand why linker still thinks I have that nvmwrite in isr.

    And what is that C51startup anyway?

Children