Re: [fpc-pascal] lazarus template stm32

2015-07-11 Thread Michael Van Canneyt
On Sat, 11 Jul 2015, turro75 wrote: Hi All, I published here a lazarus template for stm32f103 , it also contains several units for simple peripheral access. I tried to recreate the Arduino environment in order to get tons of Arduino librari

[fpc-pascal] lazarus template stm32

2015-07-11 Thread turro75
Hi All, I published here a lazarus template for stm32f103 , it also contains several units for simple peripheral access. I tried to recreate the Arduino environment in order to get tons of Arduino libraries easily ported to freepascal. I was abl

Re: [fpc-pascal] How to use a static method as procedure variable?

2015-07-11 Thread silvioprog
On Sun, Jul 5, 2015 at 2:41 PM, Ewald wrote: > > On 30 Jun 2015, at 20:54, silvioprog wrote: > > > The code above compiles fine in Delphi (tested in XE 7), but in FPC I got > the following compiling error: > > Unit1.pas(46,14) Error: Incompatible types: got " procedure({Open} Array Of Byte;out An