From 75b0858c5504474629c20c563a55f8f973dad1fc Mon Sep 17 00:00:00 2001 From: jkhgit Date: Wed, 16 Feb 2022 05:45:13 +0000 Subject: [PATCH] Add include headers & change linux default lib: gpiod Signed-off-by: jkhgit Change-Id: Ie43c001db0b4eefa55925a246ca4af4ae6abbf46 --- Makefile.am | 26 +++++++++++++++++++++++++- wiringPi/Makefile.am | 1 - wiringPi/odroidm1.h | 2 -- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index f5896d6..ed9a788 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,12 +18,36 @@ wiringpi_include_HEADERS = \ devLib/piNes.h \ devLib/scrollPhat.h \ devLib/scrollPhatFont.h \ + wiringPi/ads1115.h \ + wiringPi/bmp180.h \ + wiringPi/drcNet.h \ wiringPi/drcSerial.h \ + wiringPi/ds18b20.h \ + wiringPi/htu21d.h \ wiringPi/max31855.h \ + wiringPi/max5322.h \ + wiringPi/mcp23008.h \ + wiringPi/mcp23016.h \ wiringPi/mcp23017.h \ + wiringPi/mcp23s08.h \ + wiringPi/mcp23s17.h \ + wiringPi/mcp23x08.h \ + wiringPi/mcp23x0817.h \ + wiringPi/mcp3002.h \ + wiringPi/mcp3004.h \ + wiringPi/mcp3422.h \ + wiringPi/mcp4802.h \ + wiringPi/pcf8574.h \ wiringPi/pcf8591.h \ + wiringPi/pseudoPins.h \ + wiringPi/rht03.h \ wiringPi/sn3218.h \ wiringPi/softPwm.h \ + wiringPi/softServo.h \ wiringPi/softTone.h \ wiringPi/wiringPi.h \ - wiringPi/wiringSerial.h + wiringPi/wiringPiI2C.h \ + wiringPi/wiringPiSPI.h \ + wiringPi/wiringSerial.h \ + wiringPi/wiringShift.h \ + wiringPi/wpiExtensions.h diff --git a/wiringPi/Makefile.am b/wiringPi/Makefile.am index 0cf32ab..df20200 100644 --- a/wiringPi/Makefile.am +++ b/wiringPi/Makefile.am @@ -47,7 +47,6 @@ libwiringPi_la_SOURCES = \ libwiringPi_la_CFLAGS = \ @EXTRA_CFLAGS@ \ $(LIBCRYPT_CFLAGS) \ - -DDEVMEM libwiringPi_la_LDFLAGS = \ -version-info @LIBWIRINGPI_VERSION@ \ diff --git a/wiringPi/odroidm1.h b/wiringPi/odroidm1.h index eb20ef6..a7b9a4b 100644 --- a/wiringPi/odroidm1.h +++ b/wiringPi/odroidm1.h @@ -25,8 +25,6 @@ along with this program. If not, see . #ifndef __ODROID_M1_H__ #define __ODROID_M1_H__ -#define WIRINGPI 0 -#define LIBGPIOD 1 /*----------------------------------------------------------------------------*/ // Common mmap block size for ODROID-M1 GRF register #define M1_GPIO_PIN_BASE 0