Commit Graph

22 Commits

Author SHA1 Message Date
Philip Howard 5c6bab7d42
Merge pull request #79 from DavidAntliff/debian-fix
Remove hard-coded destination paths for debian package creation.
2020-09-14 15:02:31 +01:00
David Antliff f9ff3b4d35 Remove hard-coded destination paths for debian package creation. 2020-09-03 13:18:01 +12:00
Bertrand Roussel 33fbcd7e50 Make external CC and CFLAGS declaration possible 2020-01-26 11:13:14 -08:00
Phil Howard 5066e09747 Merge branch 'master' of git://git.drogon.net/wiringPi 2017-02-03 16:02:42 +00: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
Phil Howard 9a8f8bee5d Updated from git.drogon.net 2016-02-29 11:46:13 +00:00
Gordon Henderson b0a60c3302 Many changes - tidying up the extensions interfaces.
Updating the GPIO command - new command - allreadall
ScrollPhat code
max31855 code (tested with adafruit breakout board)
more tests
updated rht03 code

Raspberry Pi v3 support.
2016-02-29 06:57:38 +00:00
Phil Howard 579a7b839a Removed pesky piFaceOld.c 2016-02-27 16:30:24 +00:00
Phil Howard 26c7fe3332 Updated from git.drogon.net 2016-02-27 16:03:10 +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 e25cbc0a62 Added in the PiGlow devLib extension driver.
Written some examples for the PiGlow board
bumped wiringPi version
2013-07-24 15:14:09 +01: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