Commit Graph

491 Commits

Author SHA1 Message Date
mstroh
0f76f5e116 #407 en fix ISR example 2025-11-02 18:45:03 +01:00
mstroh
08cf61daff #407 en fix ISR example 2025-11-02 18:39:14 +01:00
mstroh
c9f08c9e7b #407 de fix ISR example 2025-11-02 18:36:57 +01:00
mstroh76
4ef1f91cbb #396 fix unit test problems 2025-09-28 19:43:52 +02:00
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
mstroh
be0f0ea3c7 Merge pull request #398 from naokiiwakami/issue-396
Add gtest cases for ISR
2025-09-13 15:13:35 +02:00
Naoki Iwakami
e4ab8a78b3 Add gtest cases for ISR 2025-08-29 05:24:49 +00:00
mstroh
0add43c2fa Merge pull request #379 from naokiiwakami/issue-378
Issue #378 - Have wiringPiISR and wiringPiISR2 return error on failure in initialization
2025-08-26 17:40:00 +02:00
Naoki Iwakami
39cda3aac4 Merge branch 'develop' into issue-378 2025-08-19 10:23:42 -07:00
mstroh
f9f4dc3240 Merge pull request #387 from Next-Door-Tech/fix-386
Fix-386
2025-08-19 17:30:05 +02: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
mstroh
5014563de5 Merge pull request #369 from Next-Door-Tech/small-fixes
Small fixes
2025-06-08 10:16:20 +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
Manfred Wallner
3cf394b206 Merge pull request #365 from WiringPi/docu-3.16
Docu 3.16
2025-06-06 20:18:22 +02:00
mstroh76
a18355e1d9 move old gpio unit tests 2025-06-06 19:39:45 +02:00
mstroh76
f350e4f857 wiringPiSPISetupMode fix 2025-06-06 19:38:14 +02:00
mstroh
d59f9547f4 Merge pull request #364 from nds2204/patch-1
Update functions.md
2025-06-06 19:28:34 +02:00
mstroh
c4a7a98860 Merge branch 'docu-3.16' into patch-1 2025-06-06 19:28:16 +02:00
Nicolas DA SILVA
7bec94a85a Update functions.md
Missing "Mode" in wiringPiSPISetupMode example
2025-06-06 19:23:47 +02:00
mstroh76
681c5f13ef #363 v3.16 I2C function deutsch 2025-06-06 18:56:01 +02:00
mstroh76
30cbdf9373 #363 v3.16 ISR docu english / deutsch 2025-06-06 18:29:56 +02:00
Manfred Wallner
af7417d5c8 Merge pull request #354 from Next-Door-Tech/cleanup-conditionals
[cleanup] Remove extra indents before `if` followed by `if else`
2025-06-06 12:04:28 +02: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
mstroh
9924265347 GPIO Character Device Userspace API Version 2 2025-06-05 20:15:08 +02:00
mstroh
9cf2d3e5d0 Update functions.md 2025-06-05 20:10:56 +02:00
mstroh
e4ade1840d Update functions.md 2025-06-05 19:46:47 +02:00
mstroh
1fdd4f91e9 Update new ISR functions 2025-06-05 19:43:39 +02:00
mstroh
df8e4b9b42 Merge pull request #362 from WiringPi/maint-note
(maint) note on ports-support
2025-06-05 19:01:34 +02:00
Manfred Wallner
26b4d8583e (maint) note on ports-support 2025-06-05 13:35:46 +02:00
Manfred Wallner
ce34a1f5df Merge pull request #350 from Next-Door-Tech/cleanup
[cleanup] Remove comments referencing deprecated `digitalRead8()` and `digitalWrite8()` functions
2025-06-05 13:23:02 +02:00
Manfred Wallner
70a455a2c8 Merge branch 'develop' into cleanup 2025-06-05 13:21:55 +02:00
Manfred Wallner
c17310053e Merge pull request #360 from WiringPi/GPIO_V2_IOCTL
release 3.16 prep.
2025-06-05 13:10:44 +02:00
Manfred Wallner
3931aeb60e Merge pull request #361 from WiringPi/docu
Docu
2025-06-05 13:07:42 +02:00
mstroh
a5f2e09393 Merge branch 'develop' into docu 2025-06-01 11:39:37 +02:00
mstroh
ea0dd8ca8a Merge branch 'develop' into GPIO_V2_IOCTL 2025-06-01 11:36:56 +02:00
Connor Gibson
325bf0eccc [runRemote.c] Remove digitalRead8() and digitalWrite8() comments 2025-05-31 19:45:02 -07: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
mstroh76
18a6935530 #264 unit test for gpio wfis 2025-05-31 19:12:22 +02:00
mstroh76
f88e168b40 #264 unit test for gpio wfis 2025-05-31 19:06:30 +02:00
mstroh
5a2a758a98 Merge pull request #353 from Next-Door-Tech/SPIxSetup 2025-05-31 07:05:52 +02:00