Hello Stephan
I don't think there is any special compiler/linker setting to link the project executing with position independent code/data.
I recommend to put bootloader image and the user application image into different sectors in the internal flash.
Fiona Kuang
Technical Information & Commercial Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------