Question
STM32f070xB generating Error[Lp002]: relocation failed: value out of range or illegal
Posted on January 12, 2018 at 10:23
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.
#cortex-m0 #source-file #core-self-test #assembly-language #stm32f070 #stm32f0