Commit Graph

47 Commits

Author SHA1 Message Date
Bertrand Roussel 33fbcd7e50 Make external CC and CFLAGS declaration possible 2020-01-26 11:13:14 -08:00
Mark Liffiton 093e0a17a4 Merge branch 'master' of git://git.drogon.net/wiringPi (v2.46) 2018-07-02 09:51:45 -05:00
Gordon Henderson 8d188fa0e0 update for the v3+ 2018-03-14 07:17:04 +00:00
Phil Howard c947643601 Merge branch 'master' of git://git.drogon.net/wiringPi 2017-03-08 16:13:57 +00:00
Gordon Henderson e8da87fbac Added a fix to include -lcrypt for people who can't do it themselves.
Added gpio readall support for the Pi 0W.
2017-03-01 11:55:19 +00:00
Gordon Henderson 70fa99a127 Bumped the version to 2.40 - correctly this time, I hope.
Added fixed for a few minor things. pin driver for rht03/dht type
sensors. Network stuff is experimental - for now.
2017-02-27 19:51:32 +00: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 a402cac920 Removed redundant files 2016-02-27 16:25:17 +00:00
Phil Howard 26c7fe3332 Updated from git.drogon.net 2016-02-27 16:03:10 +00:00
Gordon Henderson 2dbecfca0a Minor change to the scroll phat test program, and bumped the version. 2016-01-28 21:36:30 +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
Gordon Henderson bb6f08487c Updated wiringPi for the new Pi Zero.
Also affects the Pi v2 which also uses the new Revision
encoding scheme (It was slightly bodged before) This ought
to be relatively future proof, but who knows.

Fixed a minor thing in the examples Makefile
(not that anyone bothers to use it, judging by the emails I get )-:
2015-11-29 21:08:04 +00:00
Gordon Henderson d79506694d Fixing a few issues - makefile goofs.
Also adding in the stuff for /dev/gpiomem with warnings
and information in the gpio manual page (who reads that
though!)
2015-09-30 16:11:42 +01:00
Gordon Henderson f6c40cb2a6 Fixed the requirement for -lm
Updated the gpio program to be device tree aware.
2015-09-24 22:35:31 +01:00
Ian Jackson a19bfb5798 examples/blink.sh: Add missing +x bit with chmod
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2015-09-12 20:38:19 +01: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
Ian Jackson 95a292824f Build system: Add missing set -e
So that shell scripts do not blunder on after errors.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2015-09-09 23:30:16 +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 05e2f67e7f changed to pin mode to support softPwm.
bugfix in blink.sh - wring pin
improving the maxdetect routing - a little.
gpio pins
2014-05-20 11:43:07 +01:00
Gordon Henderson 477f856247 It helps if you add the files into GIT... 2013-07-28 11:12:09 +01:00
Gordon Henderson f52dd8393c Minor changes to the files and removed a bit of debug. 2013-07-28 11:05:28 +01: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 d24cf0630b Added in the SN3218 LED controller IC - as used in the PiGlow
so write a little test program with it too.
Updated gpio to use the sn3218 too.
2013-07-23 17:52:27 +01:00
Gordon Henderson bfaf266ada Aded lcd-adafruit to test/drive the Adafruit RGB LCD plate
Added the Quick 2 Wire codes, etc.
Minor typo/bug fixes.
Added more modules into gpio -x
2013-05-20 21:13:44 +01:00
Gordon Henderson da38443cb2 wiringPi Version 2 - First commit (of v2) 2013-05-13 19:43:26 +01:00
Gordon Henderson 3fbc564d00 Synced to git.drogon.net 2013-03-24 20:12:14 +00:00
Gordon Henderson e8f6258004 Quite a few changes here.
Added in generic 'blink' programs in the examples in C, RTB and Shell.
Updated wiringPi with a little big-file on the millis() function and
added in a new micros() function too.
Updated the examples with standard LGPL headers.
Added a new isr-osc.c test program - just for ISR timing purposes.
2013-01-28 13:00:47 +00:00
Gordon Henderson be04c1bd52 Changed the build system to drop I2C for now. Seems to cause too many issues
on non Raspbian systems (and even on some Raspbian systems it would appear ):

fixed a timing issue on softTone
fixed some issues in wiringPisetup introduced when optimising the mmap calls.
2013-01-19 10:31:14 +00:00
Gordon Henderson 13bbba7a22 Lots of changes here. Added new I2C test code, a new serialTest program,
and developed the new ISR - Interrupt Service Routine
handler - much easier than the old waitForInterrupt code!

Minor tweaks to the gpio program to recognise the environment variable
WIRINGPI_DEBUG too, and removed the printing of the errors from the
main wiringPi setup routines (and added some new ones!)
2013-01-14 11:31:56 +00:00
Gordon Drogon dda3305ce1 Updated with latest changes 2012-12-11 20:59:52 +00:00
Gordon Henderson 25e4ec570b Big update here.
delayMicrosecondsHard re-written - again.
Added a serialRead example program, and added in the okLed
to the examples too.
Updated/checked some of the GPIO/PWM code.
Added in some experimental servo and tone generating code and
and example or 2.
Tweaks to the gpio command to correctly load the I2C modules too.
2012-12-06 21:49:41 +00:00
Gordon Henderson a651323139 Latest changes from master repository 2012-10-23 21:15:08 +01:00
Gordon Henderson 86a5c68e08 Updating gpio manual page 2012-10-02 14:32:12 +01:00
Gordon Henderson db2edcc9c5 Updated examples makefile to not actually make any code now.
Fixed timing in the LCD library to work with new dealyMicroseconds
Minor typos and bigfixes to the gpio command.
2012-10-02 14:26:15 +01:00
Gordon Henderson ae40bdaf6a Merged from git.drogon.net, SPI driver helpers, C++ wrappers, softPwm, piNes, gertboard, SPI 2012-08-28 18:37:54 +01:00
Gordon Henderson 99095e3fa0 Added new SPI driver helpers.
Changed the gertboard code to use it
and ran more tests on he Gertboard code.
2012-08-27 20:56:14 +01:00
Gordon Henderson 4666573910 Added C++ wrappers for some of the newer .h files 2012-08-25 12:31:14 +01:00
Gordon Henderson a20fb1b154 Added software PWM module into wiringPi - library code
and an example.
2012-08-24 17:49:26 +01:00
Gordon Drogon d24a8fc4cb New timing methods 2012-08-17 10:16:31 +01:00
Gordon Henderson bf0ad86017 Initial move to GIT 2012-08-16 15:04:43 +01:00
Gordon Drogon 43aa862e97 New LCD library plus -v option for gpio binary 2012-07-11 22:42:56 +01:00
Gordon Henderson 2c13e6148d Initial Commit 2012-07-10 13:37:06 +01:00