You need to change two files,
+++ compiler/arm/cpuinfo.pas (working copy)
+++ compiler/systems/t_embed.pas (working copy)
I have already done that work, I can send you a patchfile for trunk that
adds the following devices:
STM32F401CB
STM32F401RB,STM32F401VB,STM32F401CC,STM32F401RC,STM32F401VC,STM32F401CD
STM32F401RD,STM32F401VD,STM32F401CE,STM32F401RE,STM32F401VE,STM32F405RG
STM32F405VG,STM32F405ZG,STM32F405OG,STM32F405OE,STM32F407VG,STM32F407IG
STM32F407ZG,STM32F407VE,STM32F407ZE,STM32F407IE,STM32F415RG,STM32F415VG
STM32F415ZG,STM32F415OG,STM32F417VG,STM32F417IG,STM32F417ZG,STM32F417VE
STM32F417ZE,STM32F417IE,STM32F427VG,STM32F427ZG,STM32F427IG,STM32F427VI
STM32F427ZI,STM32F427II,STM32F429VG,STM32F429ZG,STM32F429IG,STM32F429VI
STM32F429ZI,STM32F429II,STM32F429BG,STM32F429BI,STM32F429NI,STM32F429NG
STM32F437VG,STM32F437ZG,STM32F437IG,STM32F437VI,STM32F437ZI,STM32F437II
STM32F439VI,STM32F439VG,STM32F439ZG,STM32F439ZI,STM32F439IG,STM32F439II
STM32F439BG,STM32F439BI,STM32F439NI,STM32F439NG
Am 29.11.14 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?
Thanks in advance,
Sietse
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel