Commit Graph

18 Commits

Author SHA1 Message Date
Deokgyu Yang
2c7e86b898 WiringPi: Bring back all of the stuffs I removed to do with peripherals
Imported from the official WiringPi repository, version 2.60.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I82dc00ab9f038f9bc4c6a9c4ca3affe5a5d33ae1
2020-04-28 11:02:36 +09:00
Deokgyu Yang
3f787a1912 Bring devLib/lcd* back
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ifcc4338c95d185b730e87542a5c053a6906c86cb
2020-03-31 11:35:13 +09:00
Deokgyu Yang
89cf23cbcd WiringPi: Remove files that seem won't be used or already have not been used
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1189f950d0e51cbc4c569b1e7a1182dc5f8fe762
2020-03-19 17:27:55 +09:00
Dongjin Kim
47abe4c912 ODROID: fix absolute path problem after building
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2019-07-17 12:17:42 +09:00
Dongjin Kim
2be588e1c2 ODROID: fix to build Debian package without running 'build' script
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2019-07-17 12:17:42 +09:00
Gordon Henderson
b1dfc186ef A new version of wiringPi. Added in more stuff and fixed it up
for kernels 4.8 onwards.

Some very old stuff might break.

Additional fixes for the ISR code and some tweaks here and
there. I've removed the checks for some operations that might
fail when using the gpiomem interface - which is now the default
way of doing things - if your program segfaults, then you
may need to use sudo on it.
2016-12-12 14:19:55 +00:00
Gordon Henderson
143b383b8d Added support for the Pimoroni scrollPhat
Added support for the ADS1115 16-bit ADC
Updated the gpio readall command to correctly with with the Compute Module
and fixed a resulting bug in wiringPi...
2016-01-28 19:20:31 +00:00
Ian Jackson
ae421d4a9c Makefiles: Honour WIRINGPI_SONAME_SUFFIX
This makes it possible for the caller of ./build to add a version
number to the sonames of the shared libraries.  (This is required for
Debian packages.)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2015-09-12 20:38:20 +01:00
Ian Jackson
f5dd04b5ae Makefiles: Honour LDCONFIG from the environment
This is not set in normal shell sessions.

Honouring an existing setting of LDCONFIG allows the caller of ./build
to specify an alternative program to run.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2015-09-12 20:38:20 +01:00
Ian Jackson
508d6b31bd Makefiles: Do not override PREFIX or DESTDIR from the environment
These are not set in normal shell sessions.  Honouring existing
settings allows the caller of ./build to specify alternative values.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2015-09-12 20:38:20 +01:00
Ian Jackson
ac0f074ff7 Build system: Move template-based debian build into debian-template
We are going to want to introduce a real Debian source package build
system.  But that needs to contain a lot of things in debian/ which
ought not to appear in the .deb made by the existing ad-hoc `./build
debian' arrangements, which we want to keep so as not to unduly
disturb existing users.

So rename the whole debian/ directory to debian-template/ and change
all references in the build system.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2015-09-12 20:38:19 +01:00
Ian Jackson
f8a025189f Build system: Fix erroneous symlink in devLib/Makefile
The symlink libwiringPiDev.so was mistakenly created pointing to
libwiringPi.so.$(VERSION) (note lack of Dev), ie to the wrong library.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2015-09-10 00:15:29 +00:00
Ian Jackson
da03f9ed2f Build system: Enable V=1 to disable @'s
This patch is autogenerated, with:
  git-ls-files | grep Makefile | xargs perl -i~ -pe 's/^\t\@/\t\$Q /'

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2015-09-10 00:15:28 +00:00
Ian Jackson
cf6f38107e Build system: Add a formulaic setting of Q from V for debugging
We want to be able to disable the many @'s in the Makefiles so
that we can see what they are doing, when things go wrong.  It is
conventional to arrange for setting V=1 to have this effect.

Here we supply a formulaic stanza for either setting Q?=@ or
doing nothing.  (There is sadly no standard place which is
included in all the Makefiles so this is probably best).

In this patch we do not introduce any users of Q yet.  This is
because the next patch, which introduces all the users of Q, can
be generated entirely automatically.  (This is also convenient in
case something needs to be rebased across it.)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2015-09-10 00:15:28 +00:00
Gordon Henderson
7cb817498e OK, so an easier way to manage versions.
Debian package creation - crude, probably violated the Debian policys
but it seems to work just fine...
some other changes.
2015-01-31 16:43:08 +00:00
Gordon Henderson
0a9fdeb29d Minor changes to the PiGlow code - got the orange & yellow the right way
round at last..

Updated for the 0x0012 board revision on the new A+
2014-11-10 10:55:23 +00:00
Gordon Henderson
cbf6d642b5 Added in PiGlow devLib and a couple of examples for the PiGlow
bumped version.
2013-07-23 20:25:46 +01:00
Gordon Henderson
da38443cb2 wiringPi Version 2 - First commit (of v2) 2013-05-13 19:43:26 +01:00