Commit Graph

264 Commits

Author SHA1 Message Date
Guy McSwain c27a968bcc Add test cases to x_* for padded waves. 2020-04-29 11:25:02 -05:00
Guy McSwain b229b67ce0 Correct max wave resource comparison tests. 2020-03-22 12:26:26 -05:00
Guy McSwain c38087352f Use two-beat DMA control block on pulse with set and clear OOLs. 2020-03-18 16:31:42 -05:00
Guy McSwain 7f05ff4c48 Fix error messages on gpioWaveCreatePad 2020-03-12 09:46:58 -05:00
Guy McSwain 038be60398 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
2020-03-12 09:44:41 -05:00
Jul3k c660e3fc8e Added WaveCreatePad to pigpio.c 2020-03-05 18:28:31 +01:00
Jul3k a9f5dc17d9 Added wave_create_and_pad to pigpio.py 2020-03-05 18:26:08 +01:00
Jul3k 4ab125cfff Added WaveCreatePad to API 2020-03-05 17:42:55 +01:00
Jul3k b9b8eff390 Reverted size paramter fore wavecreate in x_pigpio.c 2020-03-05 16:37:23 +01:00
Jul3k 773378fd24 Reverte added site paramezer in wave_create 2020-03-05 14:02:26 +01:00
Jul3k 71fe78aac9 Added .so.* to gitignore 2020-03-05 13:53:44 +01:00
Guy McSwain 58c5ad756b Skip wave padding when size = 0 2020-03-04 01:25:01 -06:00
Guy McSwain f4a4b9772f Wave create using fixed size CB, OOL 2020-03-03 23:13:57 -06:00
Guy McSwain ef48a043af
Merge pull request #328 from joan2937/BCM2711-BSC-slave
Bcm2711 bsc slave.  Closes #280 and #327 .
2020-03-01 12:51:57 -06:00
joan2937 4753b0d37c Code for BSC I2C/SPI slave on the BCM2711 (PI4B)
Added documentation for callback usage
2020-03-01 13:35:16 +00:00
Guy McSwain 7154f808c0
Merge pull request #323 from joan2937/Release-v74
Merge Release-v74
2020-02-03 10:54:22 -06:00
Guy McSwain bab05ceb97
Merge pull request #321 from joan2937/Release-v74
Release v74: closes #274, closes #298, closes #266, closes #316, closes #223.
2020-02-03 09:45:03 -06:00
Guy McSwain d5dee1d0a5 Bump to v74 2020-01-25 21:40:36 -06:00
Phil Wright 47f3bf7ec9 v7303 Fix waveform length when merging pulses (#223) 2020-01-25 20:52:43 -06:00
Guy McSwain fc6e3df438 v7302: Fix range of 'old' rev codes 2020-01-18 14:41:09 -06:00
Guy McSwain 714136afe4 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
2020-01-18 10:06:49 -06:00
Guy McSwain 5c1f52215d setsockopt() with properly initialized option argument. Fixes issue #298 and possibly #274. 2020-01-10 00:50:53 -06:00
Guy McSwain 4b2a1efdab
Add 'develop' branch model process. 2020-01-10 00:32:24 -06:00
Guy McSwain d1fb6b9272
Update pigpiod.service
Closes #210
2020-01-08 12:09:15 -06:00
joan2937 da780491d9 V73: I2C_SLOTS to 512 (from 64) 2020-01-02 15:04:54 +00:00
joan2937 12a1fc5a2a V72+: new year 2020-01-02 15:01:43 +00:00
joan2937 3d7e46de4f Merge branch 'master' of https://github.com/flaviut/pigpio 2020-01-02 14:15:35 +00:00
joan2937 93b1f6d544
Merge pull request #313 from guymcswain/master
Repository maintainer and collaborator
2020-01-02 08:30:15 +00:00
Guy McSwain 8f279023a4
Create CONTRIBUTING.md (#1)
* Create CONTRIBUTING.md

* Update CONTRIBUTING.md
2020-01-01 20:49:16 -06:00
Guy McSwain fb0ffc20e7
Create SUPPORT.md (#2) 2020-01-01 20:48:41 -06:00
Flaviu Tamas 1788961a9b Fix broken close handling 2019-12-21 11:07:05 -05:00
joan2937 b634058746 V72 2019-11-30 18:17:04 +00:00
joan2937 9b9ca9455d V71+: rewrite chooseBestClock to fix errors 2019-11-29 23:20:19 +00:00
joan2937 6b770ad810 V71+: #268 obey host name setting with env vars 2019-11-27 21:25:35 +00:00
joan2937 adf7caeff5 V71+: tidy up documentation overviews 2019-11-27 18:44:25 +00:00
joan2937 5966a50e45 V71+: change the way DMA is reset to cater for edge case 2019-09-29 10:13:04 +01:00
joan2937 ad89f458c8 V71+: #286 arm64 socket i/f response 2019-08-16 16:58:45 +01:00
joan2937 cc5dba43a5 Merge branch 'pbanasik-master' 2019-08-16 16:36:49 +01:00
PB d1f3bc81d9 Fix network communication on arm64 - continued
The 55d8b880fc 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.
2019-08-16 10:26:05 +02:00
joan2937 b6fe587451 V71 2019-08-15 17:06:53 +01:00
joan2937 331b5a1451 V70+: #282 close notification sockets when pigpiod "-m" option is used. 2019-08-15 16:26:18 +01:00
joan2937 21859bf092 V70+: Merge branch 'CreaValix-master' 2019-08-09 21:21:27 +01:00
Alexander Simon 55d8b880fc 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.
2019-08-07 13:39:18 +02:00
Alexander Simon 5847d5c099 Add support for RPi4 Model B running arm64 Linux 2019-08-07 13:36:37 +02:00
joan2937 b71e8535eb
Merge pull request #281 from foreignmeloman/master
V70+: Add option to build the libraries statically
2019-08-01 11:39:59 +01:00
foreignmeloman 710a9462a3 Added option to build the libraries statically 2019-07-21 14:09:48 +04:00
joan2937 826ab960ed Merge branch 'master' of https://github.com/joan2937/pigpio 2019-07-14 21:30:08 +01:00
joan2937 8081a97ba2 V70 2019-07-14 21:25:18 +01:00
joan2937 f660834a7a V69+: BCM2711 PLLD 500->750 MHz Crystal 19.2->54M 2019-07-14 20:47:20 +01:00
joan2937 b407ab741d V69+: #258 reject and document illegal script commands 2019-07-11 10:09:35 +01:00