This is a general tidyup to detach this fork better from Gordon, who was (and perhaps still is) completely inundated with WiringPi-related support questions.
This changeset includes a number of tweaks which should reduce support burden on Gordon. I believe they are essential if we plan to release a new debian package.
They should - hopefully - not reduce or make ambiguous the origins of this code while achieving the above.
* Remove Gordon's email address from all source files to avoid support queries finding their way to him
* Update wiringPi URLs to the GitHub repository to try and keep bugs/issues within the fork
* Bump version to 2.70 ready for a debian package release
* Update debian package maintainer info, add bugs & homepage URLs to this repository
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.
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 )-:
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>
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>
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.
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.
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!)
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.