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

How to make section position independent?

Hello,
i work with uVision 3 V3.72, linker V3.1.0.942. i check in linker options make ro section postion independent and also use memory layout from the Target dialog.And duing linking shows warnign L6914W: option ropi ignored when using --scatter. My question is why? Why this warning has appeared?
Is there any other why to make section position independent?
thanks in advance

Parents
  • Well the problem is that i DO NOT pass both '--ropi' and '--scatter' to the linker. As i wrote above i checked: use memory layout from the Target dialog so i don't use any scatter file but in linker control string appears --scatter and there is no checkbox or something else which can let me to turn off scatter file. That is why i believe there is a mistake in uVision version which i use.
    Have you got any idea how turn off scatter file in my uVision version.

Reply
  • Well the problem is that i DO NOT pass both '--ropi' and '--scatter' to the linker. As i wrote above i checked: use memory layout from the Target dialog so i don't use any scatter file but in linker control string appears --scatter and there is no checkbox or something else which can let me to turn off scatter file. That is why i believe there is a mistake in uVision version which i use.
    Have you got any idea how turn off scatter file in my uVision version.

Children