Loading...
 

System Workbench for STM32


generating position independent code problem on STM32F4

Dear Bernard,

Thanks you for your answers.
I finally agree with you.
I was tricked by the disassembly listing which decodes the offset in the BL instruction to display an absolute address.
You are right, the BL instruction makes relative branch.

=> this code is PIC compliant !

Thanks for you help,
Best regards,
Sylvain