Files
gpio-reader/wiringPi/gtest/README.md
2025-08-29 05:24:49 +00:00

568 B

Quick Start

g++ is required to build the test cases.

Connect wPi pin 31 (BCM 1) and wPi pin 26 (BCM 12) to run ISR tests. Also, wPi pin 28 (BCM 20) should be unconnected.

Run make test or do following to run the test:

make googletest-main
make -j 4
make test

To clean up the environment:

make clean

Dependencies

Googletest is downloaded during the build for the first time. The downloaded items are in directory googletest-main. make clean keeps this directory. Run make distclean to erase all built images including googletest.