Recent

Author Topic: Lazarus/FPC alternative for Raspberry Pi  (Read 574 times)

Nimral

  • Sr. Member
  • ****
  • Posts: 270
  • Keep it simple.
Lazarus/FPC alternative for Raspberry Pi
« on: March 25, 2023, 02:20:54 pm »
Hi all,

for small applicance-like projects I do enjoy the Pi because of it's full blown OS, especially for debugging, and less often for development.

For some reasons the PI isn't available at reasonable prices any more.

Does anyone have real life experience with Lazarus/FPC on an alternative board which offers roughly the same features, community support and stability like the Raspberry Pi 3B+ or Raspberry Pi 4?

Thnx, Armin
Lazarus 2.2.0 on Windows 7,10,11, Debian 10.8 "Buster", macOS Catalina, macOS BigSur, VMWare Workstation 15, Raspberry Pi

PierceNg

  • Sr. Member
  • ****
  • Posts: 336
    • SamadhiWeb
Re: Lazarus/FPC alternative for Raspberry Pi
« Reply #1 on: March 25, 2023, 03:21:14 pm »
I got an Orange Pi 3 LTS recently. It is now running Armbian Buster CLI version. I built FPC trunk aarch64 cross compiler for it from my Ubuntu 20.04 x86_64. At least below test program from the wiki works on the device. I am not  planning to run Lazarus on it.

I chose this board because it is cheap and available. :-) Bought it for play, don't really care about stability or community support. Only just found out there is unlikely to be a driver for the onboard Mali GPU.

Code: [Select]
program test;
begin
  writeln('DATE ',{$i %DATE%});
  writeln('FPCTARGET ',{$i %FPCTARGET%});
  writeln('FPCTARGETCPU ',{$i %FPCTARGETCPU%});
  writeln('FPCTARGETOS ',{$i %FPCTARGETOS%});
  writeln('FPCVERSION ',{$i %FPCVERSION%});
end.


Thaddy

  • Hero Member
  • *****
  • Posts: 12976
Re: Lazarus/FPC alternative for Raspberry Pi
« Reply #3 on: March 25, 2023, 04:21:40 pm »
For some reasons the PI isn't available at reasonable prices any more.
"For some reasons" simply means some parts are not readily available since some EU export (ASML) and import rules.
Although most Raspberry Pi's are produced in Wales in a Sony owned factory.

When you ask politely I still have some RPi3's I can miss (and free, except postage if it is outside Europe).
« Last Edit: March 25, 2023, 06:08:26 pm by Thaddy »
I actually get compliments for being rude... (well, Dutch, but that is the same)

nouzi

  • Sr. Member
  • ****
  • Posts: 269
Re: Lazarus/FPC alternative for Raspberry Pi
« Reply #4 on: March 25, 2023, 05:48:01 pm »
see this , It might be useful
https://youtu.be/UscGS3ZQeqY
« Last Edit: March 25, 2023, 05:56:36 pm by nouzi »
My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

Nimral

  • Sr. Member
  • ****
  • Posts: 270
  • Keep it simple.
Re: Lazarus/FPC alternative for Raspberry Pi
« Reply #5 on: March 25, 2023, 09:23:53 pm »
Thanks for bringing the Orange Pi to my attention. I ordered a tets unit, and will give Lazarus a try on it.

@Thaddy; you got a PM :-)

Armin
Lazarus 2.2.0 on Windows 7,10,11, Debian 10.8 "Buster", macOS Catalina, macOS BigSur, VMWare Workstation 15, Raspberry Pi

 

TinyPortal © 2005-2018