[Lazarus] Raspberry Pi Debug Digital I/O

Koenraad Lelong lazarus2 at de-brouwerij.be
Mon Jan 25 10:16:43 CET 2016


Op 25-01-16 om 09:40 schreef Koenraad Lelong:

> According to Bo's post
> (http://lists.lazarus.freepascal.org/pipermail/lazarus/2015-October/094438.html)
> GPIO_BASE depends on where the app runs.
> I'm going to look for a way to detect which device the application runs
> on so I can automatically switch the GPIO_BASE.

FWIW, rpi_hal is already testing for which pi it runs on, and sets it's 
GPIO_BASE based on that.

I'm going to try to mimic that in pascalio.

Koenraad.






More information about the Lazarus mailing list