pigpio.git
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.

9 years agoAdded Software SPI
BjoernSch [Sat, 6 Aug 2016 10:18:17 +0000 (12:18 +0200)]
Added Software SPI

Added Software SPI:
bbSPIopen
bbSPIclose
bbSPIxfer
Some documentation is not finished yet.

9 years agoMerge remote-tracking branch 'refs/remotes/joan2937/master'
BjoernSch [Wed, 3 Aug 2016 13:59:42 +0000 (15:59 +0200)]
Merge remote-tracking branch 'refs/remotes/joan2937/master'

9 years agoV55
joan [Sun, 10 Jul 2016 20:29:14 +0000 (21:29 +0100)]
V55

9 years agoV54
joan [Fri, 3 Jun 2016 15:13:58 +0000 (16:13 +0100)]
V54

9 years agoV53
joan [Tue, 31 May 2016 17:44:12 +0000 (18:44 +0100)]
V53

9 years agoV52
joan [Sun, 1 May 2016 10:28:56 +0000 (11:28 +0100)]
V52

9 years agoMerge pull request #61 from Mausy5043/patch-1
joan2937 [Wed, 27 Apr 2016 10:23:15 +0000 (11:23 +0100)]
Merge pull request #61 from Mausy5043/patch-1

Small editorial changes to conform to pep8

9 years agopep8:E711 comparison to None should be `if cond is not None:`
Maurice (mausy5043) Hendrix [Wed, 27 Apr 2016 09:29:01 +0000 (11:29 +0200)]
pep8:E711 comparison to None should be `if cond is not None:`

9 years agopep8:E225 Whitespace around operators
Maurice (mausy5043) Hendrix [Wed, 27 Apr 2016 09:27:05 +0000 (11:27 +0200)]
pep8:E225 Whitespace around operators

9 years agopep8:E261 At least two spaces before inline comment
Maurice (mausy5043) Hendrix [Wed, 27 Apr 2016 09:21:18 +0000 (11:21 +0200)]
pep8:E261 At least two spaces before inline comment

9 years agoV51
joan [Mon, 25 Apr 2016 08:58:51 +0000 (09:58 +0100)]
V51

9 years agoMerge pull request #57 from SlySven/bugFix_aCoupleOfTypos
joan2937 [Sun, 10 Apr 2016 12:24:59 +0000 (13:24 +0100)]
Merge pull request #57 from SlySven/bugFix_aCoupleOfTypos

BugFix: a typo

9 years agoBugFix: a typo
Stephen Lyons [Wed, 6 Apr 2016 12:58:16 +0000 (13:58 +0100)]
BugFix: a typo

In the "glossary" part of the command.c file a mention of "GPIO Bank
2" should refer to "GPIO Bank 1".

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
9 years agoMerge pull request #56 from miccoli/master
joan2937 [Sat, 9 Apr 2016 19:33:34 +0000 (20:33 +0100)]
Merge pull request #56 from miccoli/master

small bug fix for python example

9 years agosmall bug fix for python example
Stefano Miccoli [Sat, 9 Apr 2016 19:03:17 +0000 (21:03 +0200)]
small bug fix for python example

9 years agoV50
joan [Thu, 17 Mar 2016 18:01:59 +0000 (18:01 +0000)]
V50

9 years agoV49
joan [Wed, 16 Mar 2016 20:08:09 +0000 (20:08 +0000)]
V49

9 years agoMerge pull request #54 from fudger/master
joan2937 [Sat, 12 Mar 2016 22:01:13 +0000 (22:01 +0000)]
Merge pull request #54 from fudger/master

Add little script to make pigpiod a system service

9 years agoMerge branch 'master' of https://github.com/fudger/pigpio.
Alexander Schaefer [Sat, 12 Mar 2016 20:50:46 +0000 (21:50 +0100)]
Merge branch 'master' of https://github.com/fudger/pigpio.

9 years agoDefine individual CMake variables for the different pigpio libraries.
Alexander Schaefer [Sat, 12 Mar 2016 20:35:51 +0000 (21:35 +0100)]
Define individual CMake variables for the different pigpio libraries.

The user has to specify which library he wants to link against, as all libraries define functions like gpio_write().

9 years agoFix copy-and-paste mistake.
Alexander Schaefer [Thu, 10 Mar 2016 20:56:34 +0000 (21:56 +0100)]
Fix copy-and-paste mistake.

9 years agoAdd readme
Alexander Schaefer [Thu, 10 Mar 2016 20:55:01 +0000 (21:55 +0100)]
Add readme

9 years agoAdd script that allows to start pigpiod as a service.
Alexander Schaefer [Thu, 10 Mar 2016 20:45:20 +0000 (21:45 +0100)]
Add script that allows to start pigpiod as a service.

9 years agoMove CMake find script to util folder.
Alexander Schaefer [Thu, 10 Mar 2016 20:44:33 +0000 (21:44 +0100)]
Move CMake find script to util folder.

9 years agoMerge pull request #53 from fudger/master
joan2937 [Wed, 9 Mar 2016 10:14:29 +0000 (10:14 +0000)]
Merge pull request #53 from fudger/master

CMake find script for pigpio

9 years agoChanged title.
Alexander Schaefer [Tue, 8 Mar 2016 23:54:03 +0000 (00:54 +0100)]
Changed title.

9 years agoAdd CMake find script for pigpio.
Alexander Schaefer [Tue, 8 Mar 2016 22:05:19 +0000 (23:05 +0100)]
Add CMake find script for pigpio.

9 years agoV48
joan [Tue, 8 Mar 2016 14:28:15 +0000 (14:28 +0000)]
V48

9 years agoV47
joan [Tue, 1 Mar 2016 21:41:36 +0000 (21:41 +0000)]
V47

9 years agoMerge pull request #1 from joan2937/master
BjoernSch [Sun, 28 Feb 2016 07:59:20 +0000 (08:59 +0100)]
Merge pull request #1 from joan2937/master

Merge from upstream

9 years agoV46
joan [Thu, 18 Feb 2016 21:51:10 +0000 (21:51 +0000)]
V46

9 years agoV45
joan [Sat, 13 Feb 2016 14:42:41 +0000 (14:42 +0000)]
V45

9 years agoV44
joan [Sat, 6 Feb 2016 18:46:07 +0000 (18:46 +0000)]
V44

9 years agoMerge pull request #45 from ipa-mdl/master
joan2937 [Fri, 8 Jan 2016 10:55:12 +0000 (10:55 +0000)]
Merge pull request #45 from ipa-mdl/master

Introduced DISABLE_SER_CHECK_INITED

9 years agoIntroduced DISABLE_SER_CHECK_INITED
Mathias Lüdtke [Fri, 8 Jan 2016 10:34:15 +0000 (11:34 +0100)]
Introduced DISABLE_SER_CHECK_INITED

Might be defined to turn off initialization checks for serial-only tests

9 years agoV43
joan [Thu, 31 Dec 2015 17:01:34 +0000 (17:01 +0000)]
V43