[fpc-pascal] ARM CMSIS support

Bernd Mueller mueller.b at gmx.net
Fri Feb 12 15:10:23 CET 2016


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.







More information about the fpc-pascal mailing list