zhaolei / WiringOP

This is a GPIO access library for OrangePi. It is based on the original WiringPi for Raspberry Pi.
GNU Lesser General Public License v3.0
351 stars 134 forks source link

Use WiringOp on Android #17

Open fireghostea opened 5 years ago

fireghostea commented 5 years ago

hi how should I use WiringOp on Officially android for orange pi I added this library to my android project and built that with NDK and run on my orange pi Pc but when I use wiringPiSetup I get an exception (maybe because cannot access to /dev/mem) and when I call wiringPiSetupSys instead, no exception but that is not working how should I do that? not that my android is rooted

ricardorector commented 8 months ago

hi how should I use WiringOp on Officially android for orange pi I added this library to my android project and built that with NDK and run on my orange pi Pc but when I use wiringPiSetup I get an exception (maybe because cannot access to /dev/mem) and when I call wiringPiSetupSys instead, no exception but that is not working how should I do that? not that my android is rooted

What exactly you need to do for compile this with NDK?