pigpio.git
6 years agooptimized python setup
Gert-Jan Rozing [Mon, 26 Aug 2019 10:00:09 +0000 (12:00 +0200)]
optimized python setup

6 years agoPython setup needs to be called from root
Gert-Jan Rozing [Mon, 26 Aug 2019 09:52:04 +0000 (11:52 +0200)]
Python setup needs to be called from root

6 years agoTry to make things work
Gert-Jan Rozing [Mon, 26 Aug 2019 09:45:08 +0000 (11:45 +0200)]
Try to make things work

6 years agoReenabled python isntall
Gert-Jan Rozing [Mon, 26 Aug 2019 09:43:07 +0000 (11:43 +0200)]
Reenabled python isntall

6 years agofixed usage of wrongly spelled target
Gert-Jan Rozing [Mon, 26 Aug 2019 09:36:24 +0000 (11:36 +0200)]
fixed usage of wrongly spelled target

6 years agooptimized cmake configuration
Gert-Jan Rozing [Mon, 26 Aug 2019 09:31:15 +0000 (11:31 +0200)]
optimized cmake configuration

6 years agoV71+: #286 arm64 socket i/f response
joan2937 [Fri, 16 Aug 2019 15:58:45 +0000 (16:58 +0100)]
V71+: #286 arm64 socket i/f response

6 years agoMerge branch 'pbanasik-master'
joan2937 [Fri, 16 Aug 2019 15:36:49 +0000 (16:36 +0100)]
Merge branch 'pbanasik-master'

6 years agoFix network communication on arm64 - continued
PB [Fri, 16 Aug 2019 08:26:05 +0000 (10:26 +0200)]
Fix network communication on arm64 - continued

The 55d8b880fca26ccf4b897bca1fe66796b9972345 commit on the original pigpio repo fixed parsing data received from a socket on 64bit systems.
This one fixes also the response that is being sent back to the socket - 64bit array is translated back to a 32bit array that is passed to the send function.

6 years agoV71
joan2937 [Thu, 15 Aug 2019 16:06:53 +0000 (17:06 +0100)]
V71

6 years agoV70+: #282 close notification sockets when pigpiod "-m" option is used.
joan2937 [Thu, 15 Aug 2019 15:26:18 +0000 (16:26 +0100)]
V70+: #282 close notification sockets when pigpiod "-m" option is used.

6 years agoV70+: Merge branch 'CreaValix-master'
joan2937 [Fri, 9 Aug 2019 20:21:27 +0000 (21:21 +0100)]
V70+: Merge branch 'CreaValix-master'

6 years agoFix network communication on arm64
Alexander Simon [Wed, 7 Aug 2019 11:39:18 +0000 (13:39 +0200)]
Fix network communication on arm64

Base messages consist of four uint32 integers.
Wrongly, integers are declared as a four-element uintptr_t array.
The 16 bytes are written directly by recv().
This works great for arm32, but on arm64 uintptr_t is 64 bit (8 bytes).

This patch reads four 32-bit integers and writes them into the uintptr_t
array.

6 years agoAdd support for RPi4 Model B running arm64 Linux
Alexander Simon [Wed, 7 Aug 2019 11:36:37 +0000 (13:36 +0200)]
Add support for RPi4 Model B running arm64 Linux

6 years agoMerge pull request #281 from foreignmeloman/master
joan2937 [Thu, 1 Aug 2019 10:39:59 +0000 (11:39 +0100)]
Merge pull request #281 from foreignmeloman/master

V70+: Add option to build the libraries statically

6 years agoAdded option to build the libraries statically
foreignmeloman [Sun, 21 Jul 2019 10:09:48 +0000 (14:09 +0400)]
Added option to build the libraries statically

6 years agoMerge branch 'master' of https://github.com/joan2937/pigpio
joan2937 [Sun, 14 Jul 2019 20:30:08 +0000 (21:30 +0100)]
Merge branch 'master' of https://github.com/joan2937/pigpio

6 years agoV70
joan2937 [Sun, 14 Jul 2019 20:25:18 +0000 (21:25 +0100)]
V70

6 years agoV69+: BCM2711 PLLD 500->750 MHz Crystal 19.2->54M
joan2937 [Sun, 14 Jul 2019 19:47:20 +0000 (20:47 +0100)]
V69+: BCM2711 PLLD 500->750 MHz Crystal 19.2->54M

6 years agoV69+: #258 reject and document illegal script commands
joan2937 [Thu, 11 Jul 2019 09:09:35 +0000 (10:09 +0100)]
V69+: #258 reject and document illegal script commands

6 years agoV69+: #280 SPI/BSC SLAVE peripheral not available on BCM2711
joan2937 [Sun, 7 Jul 2019 11:52:44 +0000 (12:52 +0100)]
V69+: #280 SPI/BSC SLAVE peripheral not available on BCM2711

6 years agoV69+: Change DBG_ALWAYS to DBG_USER for expected socket events
joan2937 [Sun, 7 Jul 2019 08:58:43 +0000 (09:58 +0100)]
V69+: Change DBG_ALWAYS to DBG_USER for expected socket events

6 years agoUpdate README.md
joan2937 [Wed, 3 Jul 2019 10:55:57 +0000 (11:55 +0100)]
Update README.md

6 years agoUpdate README.md
joan2937 [Tue, 2 Jul 2019 20:41:03 +0000 (21:41 +0100)]
Update README.md

6 years agoV69
joan2937 [Tue, 2 Jul 2019 17:41:28 +0000 (18:41 +0100)]
V69

6 years agoV68+: #261 close gpio ISR fd when ISR cancelled.
joan2937 [Tue, 2 Jul 2019 17:38:19 +0000 (18:38 +0100)]
V68+: #261 close gpio ISR fd when ISR cancelled.

6 years agoV68+: Changes for Pi4B (base address, default DMA channels, PUD)
joan2937 [Tue, 2 Jul 2019 17:04:12 +0000 (18:04 +0100)]
V68+: Changes for Pi4B (base address, default DMA channels, PUD)

6 years agoFix some screwups in 64-bit patch where PRIX64 was used where PRIXPTR should have...
Peter Michael Green [Thu, 17 Jan 2019 00:38:43 +0000 (00:38 +0000)]
Fix some screwups in 64-bit patch where PRIX64 was used where PRIXPTR should have been used.

6 years agoUse -pthread when linking shared libraries.
Peter Michael Green [Thu, 10 Jan 2019 14:17:59 +0000 (14:17 +0000)]
Use -pthread when linking shared libraries.

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>