Re: [Lazarus] LazSerial from OLPM, is it working on Linux?

2020-04-30 Thread Bo Berglund via lazarus
On Thu, 30 Apr 2020 11:41:30 +0300, Balázs Székely via lazarus
 wrote:

>Bo you were faster. :)
>
Only by 2 minutes! :)


-- 
Bo Berglund
Developer in Sweden

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] LazSerial from OLPM, is it working on Linux?

2020-04-30 Thread Balázs Székely via lazarus
Bo you were faster. :)

On Thu, Apr 30, 2020 at 11:39 AM Balázs Székely  wrote:

> Hi Luca,
>
> Package laz_synapse from OPM is exactly the same with the one from the
> ararat synapse svn repository(just checked).
> Bo is talking about package LazSerial, which is maintained by forum user
> "Jurasic Pork", I don't know his real name.
> The two packages are not the same, although Lazserial uses synaser from
> synapse. I don't know other details about LazSerial( I don't use it
> personally).
> Bo made some improvement on LazSerial yesterday, which allow the package
> to work on Raspberry Pi.
>
> regards,
> Balázs
>
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] LazSerial from OLPM, is it working on Linux?

2020-04-30 Thread Balázs Székely via lazarus
Hi Luca,

Package laz_synapse from OPM is exactly the same with the one from the
ararat synapse svn repository(just checked).
Bo is talking about package LazSerial, which is maintained by forum user
"Jurasic Pork", I don't know his real name.
The two packages are not the same, although Lazserial uses synaser from
synapse. I don't know other details about LazSerial( I don't use it
personally).
Bo made some improvement on LazSerial yesterday, which allow the package to
work on Raspberry Pi.

regards,
Balázs
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] LazSerial from OLPM, is it working on Linux?

2020-04-30 Thread Bo Berglund via lazarus
On Tue, 28 Apr 2020 23:23:27 +0200, Bo Berglund via lazarus
 wrote:

>The rates above the first error are defined in termios.inc in the compiler rtl 
>sources.
>
>So now I wonder if this is a problem with my installation or if it is not 
>possible to run LazSerial on this platform?
>
>Or is there a problem with LazSerial in connection with the release version 
>3.0.4 of FPC?

UPDATE:
While this list (or GMANE) was down I have investigated the problem
using the Lazarus Forum instead.

Cause of problem:
lazsynaser.pas included in the LazSerial package was not set up to
handle the ARM cpu used in Raspberry Pi. So some conditionals needed
to be added for that cpu and then the package installed without
errors.

Solution:
With help from the forum I modified the unit and then I also supplied
the updated LazSerial package to the OPM maintainer, who updated the
package on line.
So now the install from OPM works fine also on a Raspberry PI!

Case closed.

-- 
Bo Berglund
Developer in Sweden

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] LazSerial from OLPM, is it working on Linux?

2020-04-30 Thread Luca Olivetti via lazarus

El 28/4/20 a les 23:23, Bo Berglund via lazarus ha escrit:



The rates above the first error are defined in termios.inc in the compiler rtl 
sources.

So now I wonder if this is a problem with my installation or if it is not 
possible to run LazSerial on this platform?

Or is there a problem with LazSerial in connection with the release version 
3.0.4 of FPC?


I'm using laz_synapse/synaser from the ararat synapse svn repository 
instead of the version that comes from the package manager and it 
compiles just fine. Mind me, I'm using fpc 3.2.0rc1 but I checked and 
the same definition is also in fpc 3.0.4 (and 2.6.4).
I would have noticed if it didn't compile since I've been using ararat 
synapse, like, forever (most of the times with windows but also linux).


Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus