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@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to