mstroh76
b3394383eb
#396 fix unit test problems
2025-09-28 19:19:26 +02:00
mstroh76
a687840a87
#396 longer delay for Pi1 comp.
2025-09-19 20:11:27 +02:00
mstroh76
b54a60a598
#396 change pins to default unit test hardware (Pi1 comp.)
2025-09-13 15:48:34 +02:00
Naoki Iwakami
e4ab8a78b3
Add gtest cases for ISR
2025-08-29 05:24:49 +00:00
Naoki Iwakami
39cda3aac4
Merge branch 'develop' into issue-378
2025-08-19 10:23:42 -07:00
Connor Gibson
1c23447a7b
Replace switch with if-else
...
Fixes #386
2025-08-02 19:12:12 -07:00
Naoki Iwakami
e020bb8b6c
Fix issues found by tests
2025-06-19 19:37:03 +00:00
Naoki Iwakami
74a28addd6
Have wiringPiISR and wiringPiISR2 return error on failure in initialization
...
The each function initializes the event listener loop in a spawned
listener thread. The new thread does not report errors back to the
original caller. So the function misses initialization errors.
The code is fixed to initialize the event listener in the original
thread before spawning the listener thread so that the function
can pick up errors and return them to the user.
2025-06-19 14:49:25 +00:00
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