pigpio.git
5 years agoGenerate docs and make corrections.
Guy McSwain [Thu, 30 Apr 2020 04:43:20 +0000 (23:43 -0500)]
Generate docs and make corrections.

5 years agoMerge branch 'wavesize' into develop
Guy McSwain [Wed, 29 Apr 2020 21:29:59 +0000 (16:29 -0500)]
Merge branch 'wavesize' into develop

5 years agoMerge pull request #343 from joan2937/master
Guy McSwain [Wed, 29 Apr 2020 20:48:08 +0000 (15:48 -0500)]
Merge pull request #343 from joan2937/master

Synchronize develop branch with master.

5 years agoAdd test cases to x_* for padded waves.
Guy McSwain [Wed, 29 Apr 2020 16:25:02 +0000 (11:25 -0500)]
Add test cases to x_* for padded waves.

5 years agoAdded README to ensure DOC/MAN directory exists
joan2937 [Tue, 24 Mar 2020 16:24:14 +0000 (16:24 +0000)]
Added README to ensure DOC/MAN directory exists

5 years agoAdded autogeneation of man pages and HTML for web site
joan2937 [Tue, 24 Mar 2020 11:55:10 +0000 (11:55 +0000)]
Added autogeneation of man pages and HTML for web site

5 years agoMerge pull request #333 from joan2937/Release-v75
Guy McSwain [Mon, 23 Mar 2020 05:18:50 +0000 (00:18 -0500)]
Merge pull request #333 from joan2937/Release-v75

Release v75

5 years agov75
Guy McSwain [Mon, 23 Mar 2020 05:00:02 +0000 (00:00 -0500)]
v75

5 years agoChange version to 7500 to sync with planned v75 release.
Guy McSwain [Mon, 23 Mar 2020 04:38:50 +0000 (23:38 -0500)]
Change version to 7500 to sync with planned v75 release.

5 years agoMerge branch 'myestro-fix-cmake-setup-for-yocto' into develop
Guy McSwain [Mon, 23 Mar 2020 04:32:16 +0000 (23:32 -0500)]
Merge branch 'myestro-fix-cmake-setup-for-yocto' into develop

5 years agoMerge branch 'fix-cmake-setup-for-yocto' of https://github.com/myestro/pigpio into...
Guy McSwain [Mon, 23 Mar 2020 04:27:36 +0000 (23:27 -0500)]
Merge branch 'fix-cmake-setup-for-yocto' of https://github.com/myestro/pigpio into myestro-fix-cmake-setup-for-yocto

5 years agoMerge branch 'jaessy77-master' into develop
Guy McSwain [Mon, 23 Mar 2020 04:23:14 +0000 (23:23 -0500)]
Merge branch 'jaessy77-master' into develop

5 years agoMerge branch 'master' of https://github.com/jaessy77/pigpio into jaessy77-master
Guy McSwain [Sun, 22 Mar 2020 20:43:54 +0000 (15:43 -0500)]
Merge branch 'master' of https://github.com/jaessy77/pigpio into jaessy77-master

5 years agoCorrect max wave resource comparison tests.
Guy McSwain [Sun, 22 Mar 2020 17:26:26 +0000 (12:26 -0500)]
Correct max wave resource comparison tests.

5 years agoUse two-beat DMA control block on pulse with set and clear OOLs.
Guy McSwain [Wed, 18 Mar 2020 21:31:42 +0000 (16:31 -0500)]
Use two-beat DMA control block on pulse with set and clear OOLs.

5 years agoFix error messages on gpioWaveCreatePad
Guy McSwain [Thu, 12 Mar 2020 14:46:58 +0000 (09:46 -0500)]
Fix error messages on gpioWaveCreatePad

5 years agoAllow creation of two waves with 50% padding using gpioWaveCreatePad.
Guy McSwain [Thu, 12 Mar 2020 14:27:51 +0000 (09:27 -0500)]
Allow creation of two waves with 50% padding using gpioWaveCreatePad.

- gpioWaveCreatePad takes three arguments: %CB, %BOOL, %TOOL
- gpioWaveCreatePad checks range of arguments
- gpioWaveCreatePad checks dimension of wave fits inside padding
- wave2Cbs takes three arguments: numCB, numBOOL, numTOOL
- socket command PI_CMD_WVCAP is variadic

5 years agoAdded WaveCreatePad to pigpio.c
Jul3k [Thu, 5 Mar 2020 17:28:31 +0000 (18:28 +0100)]
Added WaveCreatePad to pigpio.c

5 years agoAdded wave_create_and_pad to pigpio.py
Jul3k [Thu, 5 Mar 2020 17:26:08 +0000 (18:26 +0100)]
Added wave_create_and_pad to pigpio.py

5 years agoAdded WaveCreatePad to API
Jul3k [Thu, 5 Mar 2020 16:42:55 +0000 (17:42 +0100)]
Added WaveCreatePad to API

5 years agoReverted size paramter fore wavecreate in x_pigpio.c
Jul3k [Thu, 5 Mar 2020 15:37:23 +0000 (16:37 +0100)]
Reverted size paramter fore wavecreate in x_pigpio.c

5 years agoReverte added site paramezer in wave_create
Jul3k [Thu, 5 Mar 2020 13:02:26 +0000 (14:02 +0100)]
Reverte added site paramezer in wave_create

5 years agoAdded .so.* to gitignore
Jul3k [Thu, 5 Mar 2020 12:53:44 +0000 (13:53 +0100)]
Added .so.* to gitignore

5 years agoSkip wave padding when size = 0
Guy McSwain [Wed, 4 Mar 2020 07:25:01 +0000 (01:25 -0600)]
Skip wave padding when size = 0

5 years agoWave create using fixed size CB, OOL
Guy McSwain [Wed, 4 Mar 2020 05:13:57 +0000 (23:13 -0600)]
Wave create using fixed size CB, OOL

5 years agoMerge pull request #328 from joan2937/BCM2711-BSC-slave
Guy McSwain [Sun, 1 Mar 2020 18:51:57 +0000 (12:51 -0600)]
Merge pull request #328 from joan2937/BCM2711-BSC-slave

Bcm2711 bsc slave.  Closes #280 and #327 .

5 years agoCode for BSC I2C/SPI slave on the BCM2711 (PI4B)
joan2937 [Sun, 1 Mar 2020 13:35:16 +0000 (13:35 +0000)]
Code for BSC I2C/SPI slave on the BCM2711 (PI4B)
Added documentation for callback usage

5 years agoCorrected constant name in spiClose from PI_I2C_CLOSED to PI_SPI_CLOSED
Marco Jassmann [Wed, 26 Feb 2020 11:29:55 +0000 (12:29 +0100)]
Corrected constant name in spiClose from PI_I2C_CLOSED to PI_SPI_CLOSED

5 years agoMerge pull request #1 from joan2937/master
Marco Jassmann [Wed, 26 Feb 2020 11:03:52 +0000 (12:03 +0100)]
Merge pull request #1 from joan2937/master

Pull Request 26.02.2020

5 years agoMerge pull request #323 from joan2937/Release-v74
Guy McSwain [Mon, 3 Feb 2020 16:54:22 +0000 (10:54 -0600)]
Merge pull request #323 from joan2937/Release-v74

Merge Release-v74

5 years agoMerge pull request #321 from joan2937/Release-v74
Guy McSwain [Mon, 3 Feb 2020 15:45:03 +0000 (09:45 -0600)]
Merge pull request #321 from joan2937/Release-v74

Release v74: closes #274, closes #298, closes #266, closes #316, closes #223.

5 years agoBump to v74
Guy McSwain [Sun, 26 Jan 2020 03:40:36 +0000 (21:40 -0600)]
Bump to v74

5 years agov7303 Fix waveform length when merging pulses (#223)
Phil Wright [Fri, 13 Jul 2018 00:04:09 +0000 (00:04 +0000)]
v7303 Fix waveform length when merging pulses (#223)

5 years agov7302: Fix range of 'old' rev codes
Guy McSwain [Sat, 18 Jan 2020 20:41:09 +0000 (14:41 -0600)]
v7302: Fix range of 'old' rev codes

5 years agoNew hardware revision decode
Guy McSwain [Fri, 17 Jan 2020 15:23:58 +0000 (09:23 -0600)]
New hardware revision decode

Decode hardware revision from either:
1) 'revision' string in /proc/cpuinfo (legacy)
2) binary number in /proc/device-tree/system/linux,revision

The second path is recommended by raspberrypi.org for newer
operating systems.  See raspberrypi/linux#2110

5 years agosetsockopt() with properly initialized option argument. Fixes issue #298 and possibly...
Guy McSwain [Fri, 10 Jan 2020 06:50:53 +0000 (00:50 -0600)]
setsockopt() with properly initialized option argument. Fixes issue #298 and possibly #274.

5 years agoAdd 'develop' branch model process.
Guy McSwain [Fri, 10 Jan 2020 06:32:24 +0000 (00:32 -0600)]
Add 'develop' branch model process.

5 years agoUpdate pigpiod.service
Guy McSwain [Wed, 8 Jan 2020 18:09:15 +0000 (12:09 -0600)]
Update pigpiod.service

Closes #210

5 years agoV73: I2C_SLOTS to 512 (from 64)
joan2937 [Thu, 2 Jan 2020 15:04:54 +0000 (15:04 +0000)]
V73: I2C_SLOTS to 512 (from 64)

5 years agoV72+: new year
joan2937 [Thu, 2 Jan 2020 15:01:43 +0000 (15:01 +0000)]
V72+: new year

5 years agoMerge branch 'master' of https://github.com/flaviut/pigpio
joan2937 [Thu, 2 Jan 2020 14:15:35 +0000 (14:15 +0000)]
Merge branch 'master' of https://github.com/flaviut/pigpio

5 years agoMerge pull request #313 from guymcswain/master
joan2937 [Thu, 2 Jan 2020 08:30:15 +0000 (08:30 +0000)]
Merge pull request #313 from guymcswain/master

Repository maintainer and collaborator

5 years agoCreate CONTRIBUTING.md (#1)
Guy McSwain [Thu, 2 Jan 2020 02:49:16 +0000 (20:49 -0600)]
Create CONTRIBUTING.md (#1)

* Create CONTRIBUTING.md

* Update CONTRIBUTING.md

5 years agoCreate SUPPORT.md (#2)
Guy McSwain [Thu, 2 Jan 2020 02:48:41 +0000 (20:48 -0600)]
Create SUPPORT.md (#2)

5 years agoFix broken close handling
Flaviu Tamas [Sat, 21 Dec 2019 16:07:05 +0000 (11:07 -0500)]
Fix broken close handling

6 years agoV72
joan2937 [Sat, 30 Nov 2019 18:17:04 +0000 (18:17 +0000)]
V72

6 years agoV71+: rewrite chooseBestClock to fix errors
joan2937 [Fri, 29 Nov 2019 23:20:19 +0000 (23:20 +0000)]
V71+: rewrite chooseBestClock to fix errors

6 years agoV71+: #268 obey host name setting with env vars
joan2937 [Wed, 27 Nov 2019 21:25:35 +0000 (21:25 +0000)]
V71+: #268 obey host name setting with env vars

6 years agoV71+: tidy up documentation overviews
joan2937 [Wed, 27 Nov 2019 18:44:25 +0000 (18:44 +0000)]
V71+: tidy up documentation overviews

6 years agoV71+: change the way DMA is reset to cater for edge case
joan2937 [Sun, 29 Sep 2019 09:13:04 +0000 (10:13 +0100)]
V71+: change the way DMA is reset to cater for edge case

6 years agoMoved option like option to actual option
Gert-Jan Rozing [Mon, 26 Aug 2019 10:08:08 +0000 (12:08 +0200)]
Moved option like option to actual option

6 years agoForgot the command option
Gert-Jan Rozing [Mon, 26 Aug 2019 10:03:31 +0000 (12:03 +0200)]
Forgot the command option

6 years agoFixed path issue
Gert-Jan Rozing [Mon, 26 Aug 2019 10:02:02 +0000 (12:02 +0200)]
Fixed path issue

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