Commit Graph

240 Commits

Author SHA1 Message Date
mstroh
82aa8920a7 Merge pull request #355 from Next-Door-Tech/stdbool
Switch to stdbool.h
2025-06-11 16:30:59 +02:00
Connor Gibson
b243be74d4 Swap out-of-order arguments to calloc 2025-06-07 15:30:47 -07:00
Connor Gibson
454d50319a Add void argument list for void GetRP1Memory(void)
Function definitions without an argument list are disallowed in C23.
Removed dropped arguments in later call to function.
2025-06-07 15:25:35 -07:00
Connor Gibson
55e189eda5 Switch to stdbool.h
- Add `#include <stdbool.h> to all files previously using the
   `TRUE`/`FALSE` macros
 - Replace all instances of `TRUE`/`FALSE` with `true`/`false`,
   respectively
 - Definitions of `TRUE`/`FALSE` macros retained in wiringPi.h for compatibility.
2025-06-07 13:14:49 -07:00
Connor Gibson
b86be0969d Remove extra indents before if followed by if else
This was driving clangd crazy - replaced with indents between the if and conditional parentheses in most places.
2025-06-05 22:16:43 -07:00
Manfred Wallner
70a455a2c8 Merge branch 'develop' into cleanup 2025-06-05 13:21:55 +02:00
mstroh
ea0dd8ca8a Merge branch 'develop' into GPIO_V2_IOCTL 2025-06-01 11:36:56 +02:00
Connor Gibson
6c51ad838e [drcNet.c] Remove digitalRead8() and digitalWrite8() comments 2025-05-31 19:45:01 -07:00
Connor Gibson
044af6cb9a Fix indentation 2025-05-31 19:45:01 -07:00
Connor Gibson
fbd4353121 Remove deprecated digitalRead8() and digitalWrite8() functions from comments 2025-05-31 19:45:01 -07:00
mstroh76
b5eac60627 Release 3.16 2025-05-31 19:43:14 +02:00
mstroh
5a2a758a98 Merge pull request #353 from Next-Door-Tech/SPIxSetup 2025-05-31 07:05:52 +02:00
Connor Gibson
18a1509b5c Update copyright date 2025-05-30 19:15:47 -07:00
Connor Gibson
efbf39df02 Add function definition for wiringPiSPIxSetup() 2025-05-30 19:15:47 -07:00
Connor Gibson
7d30759eac [test/Makefile] Auto-generate .gitignore for test executables 2025-05-30 19:11:09 -07:00
mstroh76
e914bb2300 #264 adjust unit test and autodetect unit test 6.2 irq 2025-05-24 12:31:00 +02:00
mstroh76
545eb4f5ed #264 adjust unit test and autodetect unit test 6.2 irq 2025-05-24 12:30:02 +02:00
mstroh76
82a22367fc #264 adjust unit test and autodetect unit test 6.2 irq 2025-05-24 12:28:44 +02:00
mstroh76
bb0af18265 #264 adjust unit test and autodetect unit test 6.2 irq 2025-05-24 12:23:02 +02:00
mstroh76
0b8eede1bd #346 adjust unit test 2025-05-23 20:51:06 +02:00
mstroh76
b87ca97daf #264 adjust unit test and fix is40pin 2025-05-23 19:51:01 +02:00
mstroh76
18fc04d7f2 #322 check pin numbers after convert to BCM 2025-05-18 21:17:09 +02:00
mstroh76
d5f0ea06f4 #337 ISr user datat and unit test 2025-05-04 19:41:14 +02:00
mstroh76
08033bc787 #346 unit test adjust 2025-05-04 13:42:35 +02:00
mstroh76
31bf218a7c #346 unit test irq dection time with debounce 2025-05-04 12:20:48 +02:00
mstroh76
323f4d09f3 #346 ajust unit test for Pi1 2025-05-03 20:26:31 +02:00
mstroh76
50908a31eb #346 unit test 2025-05-02 19:51:24 +02:00
mstroh76
b71a2b688e #346 irq status var name ajust 2025-05-02 19:50:44 +02:00
mstroh76
38274fe6e8 #346 GPIO Character Device Userspace API V2 - compatibility to old interface 2025-05-02 13:10:40 +02:00
phylax2020
2f35ff5ec8 Version v3.16: added wfi status for wiringPiISR and waitForInterrupt 2025-02-20 11:29:30 +01:00
phylax2020
44538850b4 WiringPi.c interrupthandler ppoll timeout reduced 2025-02-18 10:46:08 +01:00
phylax2020
7abeddde2d wiringPi.c ; waitForInterrupt releases fd and line itself, wiringPiISRStop not necessary to be called 2025-02-17 22:09:07 +01:00
phylax2020
04dc08e511 wiringPi.c: waitForInterrupt rewritten 2025-02-17 12:23:11 +01:00
phylax2020
3c3b69c888 wiringPi.c : memory leak in wiringPiISR and wiringPiISRStop fixed 2025-02-16 23:02:24 +01:00
phylax2020
0212a0e5ae Merge branch 'development' of https://github.com/phylax2020/WiringPi into development 2025-02-16 22:55:50 +01:00
phylax2020
a7e20b8bf7 wiringPi.c : memory leak in wiringPiISR and wiringPiISRStop fixed 2025-02-16 22:53:08 +01:00
Manfred Wallner
60f100b465 Merge branch 'GPIO_V2_IOCTL' into development 2025-02-13 21:39:19 +01:00
phylax2020
a261ceb485 Pi500/CM5 support 2025-02-11 20:01:41 +01:00
phylax2020
92be5caccd Version 3.14: WiringPi functions upgrade to GPIO_V2 IOCTL 2025-02-11 16:02:33 +01:00
mstroh76
6b500e49cf #305 support for CM5(L) and Pi500 2025-01-30 17:58:15 +01:00
mstroh76
6b54152805 Merge branch 'develop' into test 2025-01-30 17:43:58 +01:00
phylax2020
0bf457519d Version 3.13 : debounce time added for wiringPiISR and waitForInterrupt library functions. Documentation update 2025-01-29 19:09:32 +01:00
mstroh76
7b03cd9f42 Pi500/CM5/CM5L support 2025-01-18 16:10:54 +01:00
mstroh76
b9a85a670e #302 Pi500/CM5/CM5L revision code 2025-01-18 16:33:06 +04:00
mstroh76
8d4d7a1501 #305 2025-01-11 13:24:25 +01:00
mstroh76
f3231d9307 define us for expect value 2025-01-11 13:09:22 +01:00
mstroh76
6aa7807e28 #305 adjust for Pi1 test 2025-01-10 19:53:55 +01:00
mstroh76
add6266d1b #305 adjust for Pi5 test 2025-01-10 19:35:08 +01:00
mstroh76
527b6af8b1 #305 adjust for Pi5 test 2025-01-10 19:26:05 +01:00
mstroh76
7d37d158e0 #305 measure single operation time and toggle time 2025-01-10 18:58:09 +01:00