[fpc-devel] Option -Wp does not work with new embedded target
Florian Klämpfl
florian at freepascal.org
Sat Nov 29 22:37:40 CET 2014
Am 29.11.2014 um 20:38 schrieb Sietse Achterop:
> Hello,
> I'm trying to create a version of fpc that generates code for the stm32f4xx arm processor from STM.
> If done everything mentioned on
> http://wiki.freepascal.org/TARGET_Embedded
> I have called t
> and now have a first version of an RTL for that target, created the compiler and tried a first
> program doing
> ppcrossarm -Ch1024 -Cs1024 -Tembedded -Parm -Cparmv7m -XParm-none-eabi- -Wpstm32f4xx prog.p
> But the error is:
> Error: Illegal parameter: -Wpstm32f4xx
>
> I assumed that the new target would be known after changing compiler/arm/cpuinfo.pas,
> but it obviously didn't.
>
> Is there something else to be done apart from that on the website?
Please post your patch somewhere, guessing without knowing the changes is hard.
More information about the fpc-devel
mailing list