-
Notifications
You must be signed in to change notification settings - Fork 6
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
kohei0302
wants to merge
135
commits into
nekuz0r:master
Choose a base branch
from
kohei0302:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Conflicts: gpio/gpio.c
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!
and an example.
Changed the gertboard code to use it and ran more tests on he Gertboard code.
…, piNes, gertboard, SPI
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.
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.
PULSE_TIME wasn't used.
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.
Added gpio readall support for the Pi 0W.
Conflicts: devLib/Makefile wiringPi/Makefile wiringPi/mcp3422.c wiringPi/mcp3422.h wiringPi/softPwm.c wiringPi/wiringPi.c wiringPi/wiringPi.h
@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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Merged the latest WiringPi source code.