[fpc-pascal] ARM CMSIS support

Michael Ring mail at michael-ring.org
Fri Feb 12 15:27:35 CET 2016


Good point, Jeppe, what do you think on compiling rtl on arm-embedded 
with -O1 ?

Michael

(Glad to hear that basic functionality works...)

By the way, I have done a patch for Lazarus so that debugging with 
ST-Link/JLink/Texane works, send me an e-mail when you want to test this.

Michael

Am 12.02.16 um 15:10 schrieb Bernd Mueller:
> Michael Ring wrote:
>> By the way, with fpc trunc compiler you can target your board directly:
>>
>> ppcrossarm  -WpDISCOVERYF407VG (see ppcrossarm -i for other Discovery 
>> boards)
>>
>> You should also refrain from using optimizations > -O1 as there are 
>> some issues with the compiler that make your compiled binary unusable.
>
> I have built the crosscompiler and the rtl for the STM32F429xx 
> controller. Basic functions seem to work.
>
> By default, the rtl is compiled with optimization -O2. Should the rtl 
> be better compiled with optimization -O1 too, if there are issues with 
> the compiler? Or is the rtl not affected?
>
> What is recommended by the developers? Where bug reports accepted, if 
> I use optimization -O2?
>
> Regards, Bernd.
>
>
>
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list