[Lazarus] Using Lazarus on Embedded Linux?
bo.berglund at gmail.com
Sat Sep 25 17:37:06 CEST 2010
On Sat, 25 Sep 2010 09:43:20 -0400, "Luis R. Hilario B." <luisdigital at gmail.com> wrote:
>>>> 3) I need to access the serial communications channel from my programs, so what is
>>>> the support available for RS232 communications in Lazarus/FPC?
>>>There is the serial unit.
>> Is it the same on Linux and Windows?
>You can find a version for Windows here:
I saved the unit file to my PC now.
Just an hour or so ago I downloaded and installed Lazarus 0.9.28.2 on my Win XP-Pro
development machine for the first time.
I opened the IDE and added serial to the uses clause of the default project and tried
Of course the compiler could not find the serial.pp file....
This raises the following questions:
1) Where should the external source like serial.pp be put so Lazarus can find it?
I assume I don't have to copy it into each and every project I make, so there should
be a special place for these type of files...
2) I am used in Delphi 7 to manage my project files in various project directories
by going to ProjectOptions/DirectoriesConditionals/SearchPath and entering my
project folders with relative paths from the project file.
Can this be done also in Lazarus, if so where?
How can I set the communications buffer size? I would like it to be something like
16Kbytes to accommodate the protocol being used.
I have used the Turbo Power Async Pro components in the past (without actually
putting them on a form, instead I intantiate the objects in code). They expose
various settings like the buffer size and also others that I have used to optimize
In the serial.pp unit it seems like there is no object created that could hold
the serial connection data, it just looks like a collection of procedures...
Is there not an object oriented type of serial communications container for Lazarus?
More information about the Lazarus