This commit is contained in:
servadmin 2021-11-04 09:06:34 -04:00
parent 9744d3d1b8
commit 0fa218cdca
1 changed files with 2 additions and 0 deletions

View File

@ -20,8 +20,10 @@ Currently GPIO device, I2C and SPI buses are hard coded in u8g2port.c.
## Build source with GPIO character device
* `cd ~/u8g2/sys/arm-linux`
* `make clean`
* `make CPPFLAGS=-DPERIPHERY_GPIO_CDEV_SUPPORT=1 CC=gcc CXX=g++`
## Build source with GPIO sysfs
* `cd ~/u8g2/sys/arm-linux`
* `make clean`
* `make CC=gcc CXX=g++`