Add include headers & change linux default lib: gpiod
Signed-off-by: jkhgit <jkhpro1003@gmail.com> Change-Id: Ie43c001db0b4eefa55925a246ca4af4ae6abbf46
This commit is contained in:
26
Makefile.am
26
Makefile.am
@@ -18,12 +18,36 @@ wiringpi_include_HEADERS = \
|
|||||||
devLib/piNes.h \
|
devLib/piNes.h \
|
||||||
devLib/scrollPhat.h \
|
devLib/scrollPhat.h \
|
||||||
devLib/scrollPhatFont.h \
|
devLib/scrollPhatFont.h \
|
||||||
|
wiringPi/ads1115.h \
|
||||||
|
wiringPi/bmp180.h \
|
||||||
|
wiringPi/drcNet.h \
|
||||||
wiringPi/drcSerial.h \
|
wiringPi/drcSerial.h \
|
||||||
|
wiringPi/ds18b20.h \
|
||||||
|
wiringPi/htu21d.h \
|
||||||
wiringPi/max31855.h \
|
wiringPi/max31855.h \
|
||||||
|
wiringPi/max5322.h \
|
||||||
|
wiringPi/mcp23008.h \
|
||||||
|
wiringPi/mcp23016.h \
|
||||||
wiringPi/mcp23017.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/pcf8591.h \
|
||||||
|
wiringPi/pseudoPins.h \
|
||||||
|
wiringPi/rht03.h \
|
||||||
wiringPi/sn3218.h \
|
wiringPi/sn3218.h \
|
||||||
wiringPi/softPwm.h \
|
wiringPi/softPwm.h \
|
||||||
|
wiringPi/softServo.h \
|
||||||
wiringPi/softTone.h \
|
wiringPi/softTone.h \
|
||||||
wiringPi/wiringPi.h \
|
wiringPi/wiringPi.h \
|
||||||
wiringPi/wiringSerial.h
|
wiringPi/wiringPiI2C.h \
|
||||||
|
wiringPi/wiringPiSPI.h \
|
||||||
|
wiringPi/wiringSerial.h \
|
||||||
|
wiringPi/wiringShift.h \
|
||||||
|
wiringPi/wpiExtensions.h
|
||||||
|
|||||||
@@ -47,7 +47,6 @@ libwiringPi_la_SOURCES = \
|
|||||||
libwiringPi_la_CFLAGS = \
|
libwiringPi_la_CFLAGS = \
|
||||||
@EXTRA_CFLAGS@ \
|
@EXTRA_CFLAGS@ \
|
||||||
$(LIBCRYPT_CFLAGS) \
|
$(LIBCRYPT_CFLAGS) \
|
||||||
-DDEVMEM
|
|
||||||
|
|
||||||
libwiringPi_la_LDFLAGS = \
|
libwiringPi_la_LDFLAGS = \
|
||||||
-version-info @LIBWIRINGPI_VERSION@ \
|
-version-info @LIBWIRINGPI_VERSION@ \
|
||||||
|
|||||||
@@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#ifndef __ODROID_M1_H__
|
#ifndef __ODROID_M1_H__
|
||||||
#define __ODROID_M1_H__
|
#define __ODROID_M1_H__
|
||||||
|
|
||||||
#define WIRINGPI 0
|
|
||||||
#define LIBGPIOD 1
|
|
||||||
/*----------------------------------------------------------------------------*/
|
/*----------------------------------------------------------------------------*/
|
||||||
// Common mmap block size for ODROID-M1 GRF register
|
// Common mmap block size for ODROID-M1 GRF register
|
||||||
#define M1_GPIO_PIN_BASE 0
|
#define M1_GPIO_PIN_BASE 0
|
||||||
|
|||||||
Reference in New Issue
Block a user