Recent

Author Topic: Platform eXtended Library v1.1.0 on RPI5 ?  (Read 994 times)

pascalbythree

  • Sr. Member
  • ****
  • Posts: 286
Platform eXtended Library v1.1.0 on RPI5 ?
« on: July 02, 2025, 03:40:51 pm »
Does anybody know if

Platform eXtended Library v1.1.0

is supported for the Raspberry Model 5 8GB

PS: I am booting full ubuntu

Maybe you know, Greets, Wouter

I need to I2C and pin toggle and read

Thaddy

  • Hero Member
  • *****
  • Posts: 18797
  • Glad to be alive.
Re: Platform eXtended Library v1.1.0 on RPI5 ?
« Reply #1 on: July 02, 2025, 03:49:32 pm »
I need to I2C and pin toggle and read
Well THAT should not be an issue, but since you are running full Ubuntu I doubt it is in the standard libraries.
For the pin toggling etc I wrote the type helper extensions in sysutils with originally specifically the Raspberry Pi in mind.
That should already be enough.
So yes, compiled from source, that would work, but I have a different set up. (Raspberry OS, but the same hardware)
Recovered from removal of tumor in tongue following tongue reconstruction with a part from my leg.

pascalbythree

  • Sr. Member
  • ****
  • Posts: 286
Re: Platform eXtended Library v1.1.0 on RPI5 ?
« Reply #2 on: July 03, 2025, 12:06:25 pm »
Code: Pascal  [Select][+][-]
  1. pascalbythree@raspberry5:~/WVW_PXL/Samples/FreePascal/SingleBoard/RaspberryPI/DisplayI2C$ sudo fpc ./DisplayI2C.lpr
  2. Free Pascal Compiler version 3.2.2+dfsg-46 [2025/02/08] for aarch64
  3. Copyright (c) 1993-2021 by Florian Klaempfl and others
  4. Target OS: Linux for AArch64
  5. Compiling ./DisplayI2C.lpr
  6. Compiling PXL.Boards.RPi.pas
  7. PXL.Boards.RPi.pas(87,15) Warning: An inherited method is hidden by "MicroDelay(const LongWord);"
  8. PXL.Boards.RPi.pas(390,9) Error: Unknown identifier "R1"
  9. PXL.Boards.RPi.pas(390,12) Error: Invalid reference syntax
  10. PXL.Boards.RPi.pas(390,14) Fatal: Internal error 2014122002
  11. Fatal: Compilation aborted
  12. Error: /usr/bin/ppca64 returned an error exitcode
  13. pascalbythree@raspberry5:~/WVW_PXL/Samples/FreePascal/SingleBoard/RaspberryPI/DisplayI2C$

Thank you, and what about this error ?

Thaddy

  • Hero Member
  • *****
  • Posts: 18797
  • Glad to be alive.
Re: Platform eXtended Library v1.1.0 on RPI5 ?
« Reply #3 on: July 03, 2025, 05:16:54 pm »
Try trunk/main.
Recovered from removal of tumor in tongue following tongue reconstruction with a part from my leg.

 

TinyPortal © 2005-2018