Skip to content

PvtKy4a/wiringOP

 
 

Repository files navigation

Overview

This fork adds a CAN interface similar to other wiringOP interfaces. The basis was to take the code from the libsocketcan library.

Build and install

# git clone https://github.com/PvtKy4a/wiringOP.git
# cd wiringOP
# ./build

Uninstall

# ./build uninstall

Troubleshooting

If you get this error:

# wiringPiSetup: mmap (GPIO) failed: Operation not permitted

Or in the “gpio readall” output you see fewer pins than there are on your board, possible solution:

# echo "BOARD=orangepi5plus" | sudo tee /etc/orangepi-release

Replace "orangepi5plus" with the name of the board you are using.

About

wiringPi for Orange Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.1%
  • Makefile 1.8%
  • Shell 1.5%
  • Roff 1.1%
  • TeX 0.5%