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. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
