The following procedure can be used to install Wiring Pi on Odroid-XU4. This is a customized version of Wiring Pi, which is used in Raspberry Pi 2:
$ git clone https://github.com/hardkernel/wiringPi.git $ cd wiringPi $ sudo ./build
Odroid-XU4 has 42 pins placed on two different connectors, CON10 and CON11 respectively, as show in the following image:
The Wiring Pi pin out of Odroid-XU4 (CON10) for bot connectors is given next: