Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge of https://github.com/WiringPi/WiringPi #5

Open
wants to merge 135 commits into
base: master
Choose a base branch
from

Conversation

kohei0302
Copy link

Merged the latest WiringPi source code.

Gordon Henderson and others added 30 commits July 10, 2012 13:37
General tidying up of some of the code round delayMicroseconds
Added top-level build script for lazy building.
Updated wiringPi to add new PWM controls.
to pumSetRange() happens.

ANDing with 0x3FF was wrong anyway as the PWM counter does from zero
to the top value, not top-1 as I originally thought.
code. Seems the old 4011 in the NES controller isn't that fast
afterall!
Changed the gertboard code to use it
and ran more tests on he Gertboard code.
accomodate the changes in pin that are present on the Revision
2 Raspberry Pi board.

Added in simple debugging too - set the environment variable
  WIRINGPI_DEBUG
to get some more debug messages out
…heir

hardware revision number... So have adapted wiringPi to cope.
ijackson and others added 28 commits September 12, 2015 20:38
This makes it possible for the caller of ./build to suppress the
chown/chmod of the gpio utility.

Signed-off-by: Ian Jackson <[email protected]>
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 <[email protected]>
It's not perfect - there is no symbol versioning, and I have had to
make some (perhaps false) assumptions about library ABI stability, but
it does produce something vaguely resembling what would be expected
from a library package found in Debian, and it does so using the
standard Debian source format.

Signed-off-by: Ian Jackson <[email protected]>
Updated the gpio program to be device tree aware.
Also adding in the stuff for /dev/gpiomem with warnings
and information in the gpio manual page (who reads that
though!)
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 )-:
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...
delete duplicated FSEL_ALT0 definition.
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.
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.
Fixed some compiler warnings.
New wiringPi version mechanism.
Put 4800 baud (back) into the system.
Re-added piBoardRev (really an alias of piGpioLayout())
Added fixed for a few minor things. pin driver for rht03/dht type
sensors. Network stuff is experimental - for now.
Conflicts:
	devLib/Makefile
	wiringPi/Makefile
	wiringPi/mcp3422.c
	wiringPi/mcp3422.h
	wiringPi/softPwm.c
	wiringPi/wiringPi.c
	wiringPi/wiringPi.h
@nekuz0r
Copy link
Owner

nekuz0r commented Sep 8, 2017

@kohei0302 LGTM, a bit worried about getting all that history back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants