AnsweredAssumed Answered

STM32f070xB generating Error[Lp002]: relocation failed: value out of range or illegal

Question asked by Priyadarshini Solanki on Jan 12, 2018
Latest reply on Jan 17, 2018 by Priyadarshini Solanki

I am using #STM32f070xB, In my program, I am trying to access registers (i.e. assembly code). My assembly code has branching instruction, which trying to branch to the function defined in another source file (.c).

Now the problem is, Branching instruction is generation error: [Lp002]: relocation failed: value out of range or illegal

What can be the possible reason behind and how I can resolve this.

Outcomes