Commit Graph

100 Commits

Author SHA1 Message Date
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 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
joan2937 5b416b699b V69+: #280 SPI/BSC SLAVE peripheral not available on BCM2711 2019-07-07 12:52:44 +01:00
joan2937 e41362f243 V69+: Change DBG_ALWAYS to DBG_USER for expected socket events 2019-07-07 09:58:43 +01:00
joan2937 7ef99aee42 V68+: #261 close gpio ISR fd when ISR cancelled. 2019-07-02 18:38:19 +01:00
joan2937 3ea6fd94fd V68+: Changes for Pi4B (base address, default DMA channels, PUD) 2019-07-02 18:04:12 +01:00
Peter Michael Green 4985f93f67 Fix some screwups in 64-bit patch where PRIX64 was used where PRIXPTR should have been used. 2019-01-17 00:38:43 +00:00
Peter Michael Green 2e229d667f Add support for raspberry pi detection on arm64. 2018-12-08 20:41:42 +00:00
Peter Michael Green a5773d055e Fix compiler warnings on arm64. 2018-12-08 17:04:22 +00:00
Peter Michael Green a0c405ca6f Add code to detect if the system is in fact a raspberry pi. 2018-12-08 12:18:12 +00:00
joan bb352d2000 V68 2018-10-21 09:34:40 +01:00
joan f0beff07ea Merge branch 'keepalive' of https://github.com/guymcswain/pigpio into guymcswain-keepalive 2018-10-21 09:28:53 +01:00
Guy McSwain 7708dcb364 enable SO_KEEPALIVE and SO_REUSEADDR on sockets 2018-09-17 15:33:22 -05:00
Guy McSwain 1101ce4d5e Update reportedLevels prior to monitoring bits 2018-09-17 13:32:43 -05:00
joan 424ce5af6a V67: #160 buffer size to 512, improved active test 2018-03-13 13:38:58 +00:00
joan e02f824fe8 V67: #201 allow space for watchdog/event reports 2018-03-01 20:49:48 +00:00
joan e9ffe3d925 V66: #168 check commands against PI_CMD_SCRIPT 2018-02-13 22:04:21 +00:00
joan cf29b45ded V66: #133 fixed by simplifying timer loop 2018-02-13 21:39:02 +00:00
joan 5981d495cc V66: #178 update script parameters command PROCU 2018-02-13 09:14:28 +00:00
joan a41d63493b Issues #131 and #141 2018-02-06 16:01:45 +00:00
joan d5f32d3301 Docs plus reverse PR #164 flag meaning 2018-02-04 18:59:37 +00:00
joan 6e6b22d885 Merge branch 'master' of https://github.com/dbbnrl/pigpio into dbbnrl-master 2018-02-04 10:09:07 +00:00
joan 73ade1954b Include for issue #188 and ignore various errors 2018-02-04 10:00:46 +00:00
joan 50caa7b182 maintain backward compatibility with EMBEDDED_IN_VM 2018-02-04 09:47:41 +00:00
joan 748d9cebf8 Merge branch 'lib-signals' of https://github.com/MaitreDede/pigpio into MaitreDede-lib-signals 2018-02-04 09:29:58 +00:00
joan 847c081846 Changes by tateu 2018-02-04 09:10:22 +00:00
Dan Brown 3edc87fea5 Allow 3-op script cmds to use regs as 3rd operand. 2017-12-01 22:32:44 -05:00
Damien 3141c30a86 Replace conditionnal compilation symbol with internal configuration bit 2017-09-28 13:45:57 +11:00
TheRaspyDev 2c9a00a2f9 Fixing ifFlags check for additional flag 2017-05-19 10:24:19 +02:00
TheRaspyDev 32727085fc Resolve merge conflict 2017-05-19 10:14:06 +02:00
joan 1aa4cca8a6 V64 2017-05-14 18:13:41 +01:00
joan f032029bf9 V63 2017-05-13 14:22:02 +01:00
joan c4c8ce50c6 V62 2017-04-24 21:05:43 +01:00
joan 114653357b V61 2017-02-19 11:28:15 +00:00
Floris Bos 7eec4b6c88 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>
2017-02-17 15:36:48 +01:00
joan 144bd4a9e7 V60 2017-01-10 20:26:50 +00:00
joan a939b8b0e6 V59 2016-12-22 18:07:09 +00:00
joan 2bd75cd1c4 V58 2016-11-03 16:36:56 +00:00
joan c31a2fa6b2 V57 2016-10-30 15:30:20 +00:00
joan abe5f12942 V56 2016-09-22 14:12:26 +01:00
BjoernSch 09f56eb728 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
2016-08-10 20:50:00 +02:00
BjoernSch bcc77be5fb 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.
2016-08-06 12:53:23 +02:00
BjoernSch c91dbb5220 Added Software SPI
Added Software SPI:
bbSPIopen
bbSPIclose
bbSPIxfer
Some documentation is not finished yet.
2016-08-06 12:18:17 +02:00
joan f9e24d568b V55 2016-07-10 21:29:14 +01:00
joan 862f445669 V54 2016-06-03 16:13:58 +01:00
joan 3b56709a0e V53 2016-05-31 18:44:12 +01:00
joan 09adafce0c V52 2016-05-01 11:28:56 +01:00
joan 51cd543d97 V51 2016-04-25 09:58:51 +01:00