rudiratlos
Posts: 109
Joined: Tue May 01, 2012 8:47 am

rpi-hal for Free Pascal

Thu Aug 04, 2016 4:38 pm

Hi,
just uploaded new version of rpi-hal V4.2 to github: https://github.com/rudiratlos/rpi-hal
I have corrected several bugs and enhanced the library with new features, like reading config files...
I've testet rpi-hal in a pure free pascal environment (fpc 2.6.4).
Would be nice to get information from users, which want to use rpi-hal in lazarus environment.

User avatar
Gavinmc42
Posts: 2096
Joined: Wed Aug 28, 2013 3:31 am

Re: rpi-hal for Free Pascal

Sat Aug 13, 2016 8:07 am

Cool, does it work in 3.x too?

Wonder if we can get Lazarus/FPC added as standard to Raspbian?
I am finding it faster than Python and easier than C++.

I use Ultibo for baremetal Pi's.
https://ultibo.org/

Nice to have a Linux I/O option too.
Hopefully in the future we will have combined Lazarus/FPC IDE that does Linux/Baremetal and cross compiles to other ARM/MIPS micros as well.

Then the Pi 2/3's becomes a low cost desktop development tool for all Pi and ARM based robots, IoT etc.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

rudiratlos
Posts: 109
Joined: Tue May 01, 2012 8:47 am

Re: rpi-hal for Free Pascal

Thu Dec 22, 2016 1:25 pm

Hi,
just uploaded a new Version (V4.3) of rpi_hal to github: https://github.com/rudiratlos/rpi-hal

best regards

zog
Posts: 192
Joined: Sun Nov 20, 2011 5:43 pm
Contact: Website

Re: rpi-hal for Free Pascal

Fri Dec 23, 2016 11:21 am

Hi,
Good work keep it up.
I don't know why pascal & lazarus isn't promoted more on this site. Lazarus is a wonderfull program as it will cross compile on to most platforms and is very easy to use. It would be very nice if pascal had it's own topic group rather than being lumped in with other languages.

User avatar
Gavinmc42
Posts: 2096
Joined: Wed Aug 28, 2013 3:31 am

Re: rpi-hal for Free Pascal

Thu Dec 29, 2016 12:38 pm

I am still learning Laz/FPC/Ultibo, but I have seen complete GUI apps written in just 4 main lines of code.
So rapid it is magic. It's like chanting a 4 line spell and a dragon appears, complete with Castle, St George and maiden......

The Raspbian OS apt-get install really needs to be updated to at least Laz 1.6/FPC 3.0.0.
The newest 3.1 has better Aarch64 support and plenty of support for some embedded micros like ST/NXP....

FPC also compiles fast, really, really fast :D

This could be really interesting way of RAD testing/prototyping full Ultibo apps.
Hmm HAL's for other micros like the latest Arduino Atmel Cortex M0 board, Adafruit feathers etc?

I have always had problems with getting reliable i2c sensor data in a Linux OS
This looks like a solution that needs testing :D
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

rudiratlos
Posts: 109
Joined: Tue May 01, 2012 8:47 am

Re: rpi-hal for Free Pascal

Tue Mar 07, 2017 4:24 pm

Hi,
just uploaded a new Version (V4.4) of rpi_hal to github: https://github.com/rudiratlos/rpi-hal
rpi-hal supports new kernel V 4.9

RicoDF
Posts: 1
Joined: Mon Jan 29, 2018 5:41 pm

Re: rpi-hal for Free Pascal

Mon Jan 29, 2018 5:47 pm

Hello1 I'n new at the forum. I use Delphi10.2.2 (Tokyo) version to develop software for Windows (32 and 64 bits), Mac OS, iOS, Android and Web. I already use Lazarus Pascal to develop software for Microsoft Windows Mobile. Now I'm (trying to) use Lazarus Pascal to develop software for the RaspBerry PI 3 using sensors. i'd like to share information with people about that.
Thanks.

User avatar
Gavinmc42
Posts: 2096
Joined: Wed Aug 28, 2013 3:31 am

Re: rpi-hal for Free Pascal

Tue Jan 30, 2018 6:36 am

Most of my Pi stuff is sensor based.
If you are already using Laz/FPC then try this.
https://ultibo.org/forum/index.php

I may have to try Laz/FPC on Raspbian one day just to compare.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Musketeer
Posts: 36
Joined: Fri Feb 12, 2016 1:23 pm

Re: rpi-hal for Free Pascal

Wed Jan 31, 2018 9:35 pm

Another vote for "more love to" PASCAL! :!:

Return to “Other programming languages”

Who is online

Users browsing this forum: No registered users and 3 guests