We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
We have an STM32F37xx MCU (and the ST eval board) and we would like to create Position Independent code (the -fpic switch).
Keil has a nice checkbox with "Read-Only Position Independent" etc. Problem is that the standard STM32F3xx setup sets "--apcs=interwork", which will conflict with PIC.
The error it gives is:
error: C3903U: Argument '/ropi' not permitted for option 'apcs'.
How do I remove the "--apcs=interwork" or how do I create PIC code?