Am trying to deploy a Java application that uses pi4j which has dependency on the native library http://wiringpi.com/download-and-install/. When I try to run a program simple LED blinker it fails with message
wiringPiSetup: Unable to open /dev/mem or /dev/gpiomem: No such file or directory. Aborting your program because if it can not access the GPIO hardware then it most certianly won't work Try running with sudo?
Any clue how to get this working with BalenaOS ?