Commit Graph

352 Commits

Author SHA1 Message Date
Joshua Yang
66663ae72a wiringPi: Move moduleLoaded function to export
Change-Id: Ie74b852ebdd596bb3dfd7ec6ec37c7f050948195
2018-05-10 13:43:52 +09:00
Joshua Yang
180614e619 wiringPi: Enable 'gpio i2cdetect' command
Change-Id: I7c2e13e9bb4b6ba9147f2bf16bf94468902b3b98
2018-02-27 15:36:51 +09:00
Joshua Yang
f8b154ba75 wiringPi: Update the help for load/unload option
Change-Id: I162ed996bb34bff29d760dc4df4bb36fb6a541bf
2018-02-23 16:01:13 +09:00
Joshua Yang
37027fb9c8 wiringPi: Remove unused SPI/I2C load/unload code
Change-Id: I14666fbcb5551560257cc705c4779feeece3cde0
2018-02-23 15:45:18 +09:00
Joshua Yang
eccbc53116 ODROID N1: Fix bit calculation more clearly (CLK, IOMUX, PUPD)
Change-Id: I861fd27201099e4b65bbb783a93a2c2dfff05817
2018-02-19 17:21:38 +09:00
Joshua Yang
e3725a2be5 ODROID C1: Fix typo
Change-Id: I646ab50f1463153ae23640ce54c6c4a8c09087bb
2018-02-19 16:01:24 +09:00
charles.park
f9e84f54bc wiringPi : I2C/SPI node fix.
Change-Id: I7d9e55d183d5c79214a33050977d5a3622e446b0
2018-02-13 10:01:44 +09:00
Joshua Yang
c989e8db95 ODROID N1: Correct aread source path
Change-Id: Ib8287d842162401518594a3947f66ffe708ad243
2018-01-18 14:23:11 +09:00
Joshua Yang
9048264cc2 wiringPi: Add support for ODROID N1
Change-Id: Id7952e7d220b50cdbfcc5f9084547bf46599c817
2018-01-11 14:32:58 +09:00
charles.park
9c84ec6db5 wiringPi : interrupt error fix(gpio sysfs unexport).
Change-Id: I1e826b7847dc140fe0edf79ed56aaa19be5c543c
2017-12-07 18:29:46 +09:00
charles.park
060da4d553 wiringPi : interrupt error fix.
Change-Id: I576ef6d2ef16723a7e23abf01c14caad7998c778
2017-12-07 14:38:25 +09:00
Joshua Yang
517d8dd349 wiringPi: Update ODROID board pin .tex files
Change-Id: I5e16aeda77f58f1e99a668124167b91bf13c964f
2017-12-07 14:18:04 +09:00
charles.park
f49f37444f wiringPi : ODROID Board Pin tex file add.
Change-Id: I7f65d4e6edb19ad9721d32bb2761835e0b16ac75
2017-12-06 18:48:27 +09:00
charles.park
413ab3f5d2 wiringPi : warn message add.
Change-Id: I7c53a5221a3d26340a0b1d5df19519bf99ecd2b1
2017-12-06 18:33:05 +09:00
charles.park
ff2c1ddede wiringPi : update gpio utility for odroid board.
Change-Id: I390cd14049f385cfcf6c2ae427f7d9b01a39765a
2017-12-06 18:32:57 +09:00
charles.park
066914ee14 wiringPi : gpio utility add for odroid
Change-Id: I6dcdfb0130eee7f38543598752da481d2408037f
2017-12-06 18:32:51 +09:00
charles.park
1769321c56 wiringPi : wiringPiSetup error fix.
Change-Id: Icacc0baad028909be7e1733c8a60303e190eae61
2017-12-06 18:32:43 +09:00
charles.park
eb5e26f10d wiringPi : ODROID wiringPi lib add.
Change-Id: Ia6ca9f12aedcf40c98a412c0eda2e7ab2f2ea57b
2017-12-06 18:32:25 +09:00
Philip Howard
0f7d03d9f0 Update README.TXT 2017-08-12 11:06:53 +01:00
Phil Howard
c947643601 Merge branch 'master' of git://git.drogon.net/wiringPi 2017-03-08 16:13:57 +00:00
Gordon Henderson
96344ff712 Fixed GPIO based address for Pi Zero-W 2017-03-03 15:56:24 +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
e687f3f2c6 Pushing to 2.39 as I have have not done the last one rightly... 2017-01-24 12:13:39 +00:00
Gordon Henderson
e77ee78b4d Minor changes for the CM3.
Fixed some compiler warnings.
New wiringPi version mechanism.
Put 4800 baud (back) into the system.
Re-added piBoardRev (really an alias of piGpioLayout())
2017-01-21 17:35:10 +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
Philip Howard
39d53628e6 Merge pull request #19 from Firobe/patch-1
PULSE_TIME wasn't used.
2016-02-27 16:51:24 +00:00
Philip Howard
e488b1bc25 Merge pull request #34 from IsaoNakamura/wrkStudy
delete duplicated FSEL_ALT0 definition.
2016-02-27 16:49:04 +00:00
Phil Howard
579a7b839a Removed pesky piFaceOld.c 2016-02-27 16:30:24 +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
78b5c323b7 Bumped Version to 2.31 2015-12-02 15:13:50 +00:00
Gordon Henderson
31a8a2cdb8 gpio readall didn't work on the Zero. This fixed that little goof 2015-12-02 15:13:01 +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
Gordon Henderson
170dce5f19 Updated the Debian build system thanks to Ian Jackson for the
help.
2015-09-20 19:30:38 +01:00
Ian Jackson
a776e6b0e8 Introduce a proper Debian source package build system
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 <ijackson@chiark.greenend.org.uk>
2015-09-12 20:38:21 +01: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
3ceb07a9a6 Makefiles: Honour WIRINGPI_SUDO=0
This makes it possible for the caller of ./build to suppress the
chown/chmod of the gpio utility.

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
73aa8956c5 build: Introduce a variable "$sudo" and honour WIRINGPI_SUDO
We are going to want to not run sudo sometimes.  So replace literal
invocations of sudo with a variable, which is set to `sudo' by
default, but can be overridden from the environment.

No functional change if the environment variable is not set.

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
532083f474 Manpage gpio(1): Regularise header
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2015-09-12 20:38:19 +01:00