pigpio.git
6 years agoAvoid installing shared libraries to man-page directories.
Peter Michael Green [Thu, 10 Jan 2019 13:50:19 +0000 (13:50 +0000)]
Avoid installing shared libraries to man-page directories.

7 years agoAdd support for raspberry pi detection on arm64.
Peter Michael Green [Sat, 8 Dec 2018 20:41:42 +0000 (20:41 +0000)]
Add support for raspberry pi detection on arm64.

7 years agoFix compiler warnings on arm64.
Peter Michael Green [Sat, 8 Dec 2018 17:04:22 +0000 (17:04 +0000)]
Fix compiler warnings on arm64.

7 years agoAdd code to detect if the system is in fact a raspberry pi.
Peter Michael Green [Sat, 8 Dec 2018 12:18:12 +0000 (12:18 +0000)]
Add code to detect if the system is in fact a raspberry pi.

7 years agoV68+: Merge branch 'plugwash-master'
joan2937 [Fri, 9 Nov 2018 08:49:53 +0000 (08:49 +0000)]
V68+: Merge branch 'plugwash-master'

7 years agoMake "make uninstall" uninstall all man pages.
Peter Michael Green [Fri, 9 Nov 2018 00:32:38 +0000 (00:32 +0000)]
Make "make uninstall" uninstall all man pages.

7 years agoMake DESTDIR option to make install and make uninstall actually work.
Peter Michael Green [Fri, 9 Nov 2018 00:30:58 +0000 (00:30 +0000)]
Make DESTDIR option to make install and make uninstall actually work.

7 years agoAdd soversion to shared libraries.
Peter Michael Green [Fri, 9 Nov 2018 00:02:56 +0000 (00:02 +0000)]
Add soversion to shared libraries.

7 years agoV68
joan [Sun, 21 Oct 2018 08:34:40 +0000 (09:34 +0100)]
V68

7 years agoV67+: Merge branch 'bennuttall-bennuttall-pi-repr'
joan [Sun, 21 Oct 2018 08:30:14 +0000 (09:30 +0100)]
V67+: Merge branch 'bennuttall-bennuttall-pi-repr'

7 years agoMerge branch 'bennuttall-pi-repr' of https://github.com/bennuttall/pigpio into bennut...
joan [Sun, 21 Oct 2018 08:29:59 +0000 (09:29 +0100)]
Merge branch 'bennuttall-pi-repr' of https://github.com/bennuttall/pigpio into bennuttall-bennuttall-pi-repr

7 years agoV67+: Merge branch 'guymcswain-keepalive'
joan [Sun, 21 Oct 2018 08:29:11 +0000 (09:29 +0100)]
V67+: Merge branch 'guymcswain-keepalive'

7 years agoMerge branch 'keepalive' of https://github.com/guymcswain/pigpio into guymcswain...
joan [Sun, 21 Oct 2018 08:28:53 +0000 (09:28 +0100)]
Merge branch 'keepalive' of https://github.com/guymcswain/pigpio into guymcswain-keepalive

7 years agoV67+: Merge branch 'guymcswain-reportedLevels'
joan [Sun, 21 Oct 2018 08:28:05 +0000 (09:28 +0100)]
V67+: Merge branch 'guymcswain-reportedLevels'

7 years agoMerge branch 'reportedLevels' of https://github.com/guymcswain/pigpio into guymcswain...
joan [Sun, 21 Oct 2018 08:27:40 +0000 (09:27 +0100)]
Merge branch 'reportedLevels' of https://github.com/guymcswain/pigpio into guymcswain-reportedLevels

7 years agoV67+: Merge branch 'Noviv-master'
joan [Sun, 21 Oct 2018 08:26:11 +0000 (09:26 +0100)]
V67+: Merge branch 'Noviv-master'

7 years agoMerge branch 'master' of https://github.com/Noviv/pigpio into Noviv-master
joan [Sun, 21 Oct 2018 08:25:14 +0000 (09:25 +0100)]
Merge branch 'master' of https://github.com/Noviv/pigpio into Noviv-master

7 years agoV67+: tided up I2C/SPI documentation
joan [Sun, 21 Oct 2018 07:54:37 +0000 (08:54 +0100)]
V67+: tided up I2C/SPI documentation

7 years agoAdd repr to pi class
Ben Nuttall [Mon, 8 Oct 2018 10:20:13 +0000 (11:20 +0100)]
Add repr to pi class

7 years agoenable SO_KEEPALIVE and SO_REUSEADDR on sockets
Guy McSwain [Mon, 17 Sep 2018 20:33:22 +0000 (15:33 -0500)]
enable SO_KEEPALIVE and SO_REUSEADDR on sockets

7 years agoUpdate reportedLevels prior to monitoring bits
Guy McSwain [Mon, 17 Sep 2018 18:32:43 +0000 (13:32 -0500)]
Update reportedLevels prior to monitoring bits

7 years agoAdded CMakeLists for shared libraries, executables, and (un)install
Noviv [Fri, 30 Mar 2018 20:17:22 +0000 (15:17 -0500)]
Added CMakeLists for shared libraries, executables, and (un)install

7 years agoV67: use with for Python locks, show_errors flag
joan [Tue, 20 Mar 2018 18:39:50 +0000 (18:39 +0000)]
V67: use with for Python locks, show_errors flag

7 years agoV67: #160 buffer size to 512, improved active test
joan [Tue, 13 Mar 2018 13:38:58 +0000 (13:38 +0000)]
V67: #160 buffer size to 512, improved active test

7 years agoV67: #198 added process exit codes for pigs
joan [Sun, 11 Mar 2018 13:24:54 +0000 (13:24 +0000)]
V67: #198 added process exit codes for pigs

7 years agoV67: #201 allow space for watchdog/event reports
joan [Thu, 1 Mar 2018 20:49:48 +0000 (20:49 +0000)]
V67: #201 allow space for watchdog/event reports

7 years agoV66
joan [Tue, 20 Feb 2018 08:36:27 +0000 (08:36 +0000)]
V66

7 years agoV66: #168 check commands against PI_CMD_SCRIPT
joan [Tue, 13 Feb 2018 22:04:21 +0000 (22:04 +0000)]
V66: #168 check commands against PI_CMD_SCRIPT

7 years agoV66: #133 fixed by simplifying timer loop
joan [Tue, 13 Feb 2018 21:39:02 +0000 (21:39 +0000)]
V66: #133 fixed by simplifying timer loop

7 years agoV66: #178 update script parameters command PROCU
joan [Tue, 13 Feb 2018 09:14:28 +0000 (09:14 +0000)]
V66: #178 update script parameters command PROCU

7 years agoV65
joan [Thu, 8 Feb 2018 21:30:08 +0000 (21:30 +0000)]
V65

7 years agowave delete comments
joan [Thu, 8 Feb 2018 18:48:33 +0000 (18:48 +0000)]
wave delete comments

7 years agoCorrected test list argument errors
joan [Tue, 6 Feb 2018 18:35:49 +0000 (18:35 +0000)]
Corrected test list argument errors

7 years agoIssues #131 and #141
joan [Tue, 6 Feb 2018 16:01:45 +0000 (16:01 +0000)]
Issues #131 and #141

7 years agoDocs plus reverse PR #164 flag meaning
joan [Sun, 4 Feb 2018 18:59:37 +0000 (18:59 +0000)]
Docs plus reverse PR #164 flag meaning

7 years agoMerge branch 'maihde-issue-189'
joan [Sun, 4 Feb 2018 10:22:39 +0000 (10:22 +0000)]
Merge branch 'maihde-issue-189'

7 years agoMerge branch 'issue-189' of https://github.com/maihde/pigpio into maihde-issue-189
joan [Sun, 4 Feb 2018 10:21:38 +0000 (10:21 +0000)]
Merge branch 'issue-189' of https://github.com/maihde/pigpio into maihde-issue-189

7 years agoRefine error handling approach
joan [Sun, 4 Feb 2018 10:18:55 +0000 (10:18 +0000)]
Refine error handling approach

7 years agoMerge branch 'damienstuart-master'
joan [Sun, 4 Feb 2018 10:17:53 +0000 (10:17 +0000)]
Merge branch 'damienstuart-master'

7 years agoMerge branch 'master' of https://github.com/damienstuart/pigpio into damienstuart...
joan [Sun, 4 Feb 2018 10:16:55 +0000 (10:16 +0000)]
Merge branch 'master' of https://github.com/damienstuart/pigpio into damienstuart-master

7 years agoMerge branch 'dbbnrl-master'
joan [Sun, 4 Feb 2018 10:09:56 +0000 (10:09 +0000)]
Merge branch 'dbbnrl-master'

7 years agoMerge branch 'master' of https://github.com/dbbnrl/pigpio into dbbnrl-master
joan [Sun, 4 Feb 2018 10:09:07 +0000 (10:09 +0000)]
Merge branch 'master' of https://github.com/dbbnrl/pigpio into dbbnrl-master

7 years agoMerge branch 'jonas-schievink-patch-1'
joan [Sun, 4 Feb 2018 10:07:16 +0000 (10:07 +0000)]
Merge branch 'jonas-schievink-patch-1'

7 years agoMerge branch 'patch-1' of https://github.com/jonas-schievink/pigpio into jonas-schiev...
joan [Sun, 4 Feb 2018 10:06:51 +0000 (10:06 +0000)]
Merge branch 'patch-1' of https://github.com/jonas-schievink/pigpio into jonas-schievink-patch-1

7 years agoInclude for issue #188 and ignore various errors
joan [Sun, 4 Feb 2018 10:00:46 +0000 (10:00 +0000)]
Include for issue #188 and ignore various errors

7 years agoMerge branch 'MaitreDede-lib-signals'
joan [Sun, 4 Feb 2018 09:49:13 +0000 (09:49 +0000)]
Merge branch 'MaitreDede-lib-signals'

7 years agomaintain backward compatibility with EMBEDDED_IN_VM
joan [Sun, 4 Feb 2018 09:47:41 +0000 (09:47 +0000)]
maintain backward compatibility with EMBEDDED_IN_VM

7 years agoMerge branch 'lib-signals' of https://github.com/MaitreDede/pigpio into MaitreDede...
joan [Sun, 4 Feb 2018 09:29:58 +0000 (09:29 +0000)]
Merge branch 'lib-signals' of https://github.com/MaitreDede/pigpio into MaitreDede-lib-signals

7 years agoMerge branch 'gyscos-master'
joan [Sun, 4 Feb 2018 09:23:09 +0000 (09:23 +0000)]
Merge branch 'gyscos-master'

7 years agoMerge branch 'master' of https://github.com/gyscos/pigpio into gyscos-master
joan [Sun, 4 Feb 2018 09:22:25 +0000 (09:22 +0000)]
Merge branch 'master' of https://github.com/gyscos/pigpio into gyscos-master

7 years agoMerge branch 'TheRaspyDev-master'
joan [Sun, 4 Feb 2018 09:12:40 +0000 (09:12 +0000)]
Merge branch 'TheRaspyDev-master'

7 years agoChanges by tateu
joan [Sun, 4 Feb 2018 09:10:22 +0000 (09:10 +0000)]
Changes by tateu

7 years agoAddress #189 ensuring socket locks are released
Michael [Wed, 31 Jan 2018 12:07:00 +0000 (07:07 -0500)]
Address #189 ensuring socket locks are released

The code previous assume exception-free execution of critical blocks
between lock acquire() and lock release(); however, in Python exceptions
can be thrown in many situations which would then result in a dead-lock
of the entire program using pigpio.

This is resolved by using the acquire/try/finally/release pattern to
ensure that the lock is always released, even when an exception occurs.

Also addresses #186, but takes a slightly different approach by using
RLock to handle the nested lock requirement, which overall should be
safer because it handles additional situations that can cause a
deadlock.

7 years agoEnsure the lock is released if there is an exception on socket I/O.
Damien Stuart [Sun, 31 Dec 2017 21:00:57 +0000 (16:00 -0500)]
Ensure the lock is released if there is an exception on socket I/O.

8 years agoAllow 3-op script cmds to use regs as 3rd operand.
Dan Brown [Sat, 2 Dec 2017 03:32:44 +0000 (22:32 -0500)]
Allow 3-op script cmds to use regs as 3rd operand.

8 years agocmake: include find_package_handle_standard_args
Jonas Schievink [Thu, 19 Oct 2017 16:36:31 +0000 (18:36 +0200)]
cmake: include find_package_handle_standard_args

The Findpigpio.cmake script doesn't work for me if this is missing (CMake 3.9.4 on Arch Linux ARM).

8 years agoUpdate README.md
joan2937 [Wed, 18 Oct 2017 21:25:13 +0000 (22:25 +0100)]
Update README.md

8 years agoReplace conditionnal compilation symbol with internal configuration bit
Damien [Thu, 28 Sep 2017 02:45:57 +0000 (13:45 +1100)]
Replace conditionnal compilation symbol with internal configuration bit

8 years agoAdded 'lib' target for Makefile
Damien [Wed, 27 Sep 2017 21:20:54 +0000 (08:20 +1100)]
Added 'lib' target for Makefile

8 years agoAdd systemd service file
Alexandre Bury [Sun, 24 Sep 2017 03:00:25 +0000 (20:00 -0700)]
Add systemd service file

8 years agoFixing ifFlags check for additional flag
TheRaspyDev [Fri, 19 May 2017 08:24:19 +0000 (10:24 +0200)]
Fixing ifFlags check for additional flag

8 years agoResolve merge conflict
TheRaspyDev [Fri, 19 May 2017 08:14:06 +0000 (10:14 +0200)]
Resolve merge conflict

8 years agoMerge branch 'master' of https://github.com/joan2937/pigpio
TheRaspyDev [Fri, 19 May 2017 08:13:40 +0000 (10:13 +0200)]
Merge branch 'master' of https://github.com/joan2937/pigpio

# Conflicts:
# pigpio.c

8 years agoFixing command line arguments for new option -m
TheRaspyDev [Fri, 19 May 2017 08:01:51 +0000 (10:01 +0200)]
Fixing command line arguments for new option -m

8 years agoV64
joan [Sun, 14 May 2017 17:13:41 +0000 (18:13 +0100)]
V64

8 years agoV63
joan [Sat, 13 May 2017 13:22:02 +0000 (14:22 +0100)]
V63

8 years agoAdding flag to disable alerts (polling of GPIOs)
Maurus Erni [Tue, 25 Apr 2017 11:50:01 +0000 (13:50 +0200)]
Adding flag to disable alerts (polling of GPIOs)

8 years agoV62
joan [Mon, 24 Apr 2017 20:05:43 +0000 (21:05 +0100)]
V62

8 years agoV61
joan [Sun, 19 Feb 2017 11:28:15 +0000 (11:28 +0000)]
V61

8 years agoMerge branch 'maxnet-ipv6'
joan [Sun, 19 Feb 2017 10:35:50 +0000 (10:35 +0000)]
Merge branch 'maxnet-ipv6'

8 years agoAdd basic IPv6 support
Floris Bos [Fri, 17 Feb 2017 14:36:48 +0000 (15:36 +0100)]
Add basic IPv6 support

Add IPv6 support to daemon and python library.
IPv6 was already supported by the C client library.

Currently there is no support for whitelisting IPv6 client
addresses implemented, so for now it reverts to listening
to IPv4 only when the -n <ip> option is specified.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
8 years agoMerge pull request #112 from fudger/master
joan2937 [Tue, 24 Jan 2017 20:44:57 +0000 (20:44 +0000)]
Merge pull request #112 from fudger/master

Reformat readme.md for better readability.

8 years agoFix URL.
Alexander Schaefer [Tue, 24 Jan 2017 09:40:28 +0000 (10:40 +0100)]
Fix URL.

8 years agoReformat readme for better readability.
Alexander Schaefer [Tue, 24 Jan 2017 09:38:59 +0000 (10:38 +0100)]
Reformat readme for better readability.

8 years agoUpdate README.md
joan2937 [Wed, 11 Jan 2017 11:28:26 +0000 (11:28 +0000)]
Update README.md

8 years agoUpdate README.md
joan2937 [Wed, 11 Jan 2017 11:06:33 +0000 (11:06 +0000)]
Update README.md

8 years agoUpdate README.md
joan2937 [Wed, 11 Jan 2017 10:59:38 +0000 (10:59 +0000)]
Update README.md

8 years agoV60
joan [Tue, 10 Jan 2017 20:26:50 +0000 (20:26 +0000)]
V60

8 years agoV59
joan [Thu, 22 Dec 2016 18:07:09 +0000 (18:07 +0000)]
V59

8 years agoMerge pull request #103 from bennuttall/master
joan2937 [Wed, 21 Dec 2016 18:51:04 +0000 (18:51 +0000)]
Merge pull request #103 from bennuttall/master

Python packaging changes, close #101

8 years agoExpand setup.py setup data
Ben Nuttall [Wed, 21 Dec 2016 14:45:27 +0000 (14:45 +0000)]
Expand setup.py setup data

8 years agoAdd dist, *pyc and .egg-info to .gitignore
Ben Nuttall [Wed, 21 Dec 2016 14:39:50 +0000 (14:39 +0000)]
Add dist, *pyc and .egg-info to .gitignore

9 years agoMerge pull request #98 from bennuttall/master
joan2937 [Thu, 15 Dec 2016 21:46:03 +0000 (21:46 +0000)]
Merge pull request #98 from bennuttall/master

Add pycache and build to .gitignore

9 years agoAdd pycache and build to .gitignore
Ben Nuttall [Thu, 15 Dec 2016 20:20:38 +0000 (20:20 +0000)]
Add pycache and build to .gitignore

9 years agoV58
joan [Thu, 3 Nov 2016 16:36:56 +0000 (16:36 +0000)]
V58

9 years agoMerge branch 'jdiamond-foreground'
joan [Sun, 30 Oct 2016 23:34:50 +0000 (23:34 +0000)]
Merge branch 'jdiamond-foreground'

9 years agoadd option for running in foreground
Jason Diamond [Sun, 30 Oct 2016 23:05:30 +0000 (23:05 +0000)]
add option for running in foreground

9 years agoMerge branch 'cashpipeplusplus-master'
joan [Sun, 30 Oct 2016 18:49:52 +0000 (18:49 +0000)]
Merge branch 'cashpipeplusplus-master'

9 years agoAdd objects, libs, and executables to gitignore
Joey Parrish [Sun, 30 Oct 2016 17:53:09 +0000 (10:53 -0700)]
Add objects, libs, and executables to gitignore

9 years agoAdd CROSS_PREFIX var to make cross-compilation easier
Joey Parrish [Sun, 30 Oct 2016 17:50:49 +0000 (10:50 -0700)]
Add CROSS_PREFIX var to make cross-compilation easier

9 years agoStrip executables explicitly
Joey Parrish [Sun, 30 Oct 2016 17:47:48 +0000 (10:47 -0700)]
Strip executables explicitly

Do not strip in install, because install is not aware of
cross-compilation.  VBy explicitly stripping executables using a make
var that can be overridden, the build is more friendly to
cross-compilers.

9 years agoRemove redundancy in make vars
Joey Parrish [Sun, 30 Oct 2016 17:46:01 +0000 (10:46 -0700)]
Remove redundancy in make vars

Refer to CC in vars that use gcc, instead of hard-coding gcc twice.
This makes it easier to override those vars for cross-compilation.

9 years agoV57
joan [Sun, 30 Oct 2016 15:30:20 +0000 (15:30 +0000)]
V57

9 years agoV56
joan [Thu, 22 Sep 2016 13:12:26 +0000 (14:12 +0100)]
V56

9 years agoMerge branch 'BjoernSch-master'
joan [Sun, 14 Aug 2016 09:46:54 +0000 (10:46 +0100)]
Merge branch 'BjoernSch-master'

9 years agoAdding constants for spiFlags
BjoernSch [Wed, 10 Aug 2016 18:51:00 +0000 (20:51 +0200)]
Adding constants for spiFlags

Added several constants to ease SPI configuration

9 years agoFixed byte order in bbSPIXfer
BjoernSch [Wed, 10 Aug 2016 18:50:00 +0000 (20:50 +0200)]
Fixed byte order in bbSPIXfer

Got default endianess wrong and additionally the byte order has to be
changed according to bit order on the SPI-Line

9 years agoChanged default mode to 0
BjoernSch [Tue, 9 Aug 2016 18:04:42 +0000 (20:04 +0200)]
Changed default mode to 0

Should be the most common mode

9 years agoAdded (some) missing documentation
BjoernSch [Tue, 9 Aug 2016 11:19:40 +0000 (13:19 +0200)]
Added (some) missing documentation

The man page is still missing the new functions

9 years agoFixed delay for I2C and SPI
BjoernSch [Sat, 6 Aug 2016 10:53:23 +0000 (12:53 +0200)]
Fixed delay for I2C and SPI

Fixed delay for I2C - gone wrong in c91dbb5
Fixed delay for SPI, limited Software-SPI Speed to 250kbps, more is
possible but jitter makes the pulses too short without additional delay.