Am 30.11.2014 um 16:53 schrieb Sietse Achterop: > On 11/30/2014 11:55 AM, Michael Ring wrote: >> You need to change two files, >> >> +++ compiler/arm/cpuinfo.pas (working copy) >> +++ compiler/systems/t_embed.pas (working copy) > > Thanks Florian van Michael, > > You can find the files I changed on > http://fwn06.housing.rug.nl/fpc-stm32f4 > There you find the above files, the Makefile.fpc from rtl/embedded and > the new files in rtl/embedded/arm. > > The diff from cpuinfo.pas with current trunk is: > > > *** tmp/fpc/compiler/arm/cpuinfo.pas 2014-11-30 11:59:12.008103356 +0100 > --- fpc/compiler/arm/cpuinfo.pas 2014-11-30 11:51:10.332117439 +0100 > *************** > *** 249,254 **** > --- 249,255 ---- > ct_stm32f107rc, > ct_stm32f107vb, > ct_stm32f107vc, > + ct_stm32f4xx, // use this name for the moment > > { TI - Fury Class - 64 K Flash, 16 K SRAM Devices } > ct_lm3s1110, > *************** > *** 617,622 **** > --- 618,627 ---- > (controllertypestr:'STM32F107VB'; > controllerunitstr:'STM32F10X_CL'; > flashbase:$08000000; flashsize:$00020000; srambase:$20000000; > sramsize:$00010000), > (controllertypestr:'STM32F107VC'; > controllerunitstr:'STM32F10X_CL'; > flashbase:$08000000; flashsize:$00040000; srambase:$20000000; > sramsize:$00010000), > > + { STM32F4 series } > + (controllertypestr:'STM32F4xx'; controllerunitstr:'STM32F4xx'; > flashbase:$08000000;
This will fail since the -Wpxxx parameter is upper cased before comparison. _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
