andrey
077ac9887b
refactor: rename PIP_NO_\* to PIP_HAS_\* with inverted logic
...
All feature flags now use positive naming (enabled by default):
- PIP_HAS_FILESYSTEM, PIP_HAS_THREADS, PIP_HAS_SOCKET
- PIP_HAS_PROCESS, PIP_HAS_DYNLIB, PIP_HAS_FFT, PIP_HAS_SERIAL
Preprocessor guards inverted:
- #ifndef PIP_NO_X → #ifdef PIP_HAS_X
- #ifdef PIP_NO_X → #ifndef PIP_HAS_X
CMake options default ON instead of OFF.
Platform blocks set flags OFF to disable features.
85 files transformed via Python script + 2 manual fixes.
2026-08-11 19:51:42 +03:00
andrey
1db0dfea43
Merge branch 'master' into pico_sdk
2026-08-11 18:21:50 +03:00
andrey
31ae52623d
fix(PIConditionVariable): clamp negative timeout in waitFor
...
When elapsed time exceeded the timeout, the remaining milliseconds
expression went negative and was implicitly converted to DWORD,
wrapping to ~0xFFFFFFFF (5 days) — effectively INFINITE.
Now clamps to 0 and returns false when time has elapsed.
2026-08-06 17:01:30 +03:00
andrey
4e7a5d58aa
Merge branch 'master' into pico_sdk
2026-03-29 12:28:36 +03:00
andrey
a450235743
PIP_NO_FILESYSTEM and PIP_NO_THREADS
2026-03-29 12:22:35 +03:00
andrey
96c22e1184
move std function
2026-03-20 16:31:30 +03:00
peri4
15548de79c
version 4.5.0
...
PIThread::stopAndWait now returns bool
PIKbdListener on Linux now use piwaitevent_p and can immediately stop
new base method piZeroMemory, also migrate all "memset 0" to piZeroMemory
2024-12-29 11:48:24 +03:00
peri4
1c7fc39b6c
version 4.0.0_alpha
...
in almost all methods removed timeouts in milliseconds, replaced to PISystemTime
PITimer rewrite, remove internal impl, now only thread implementation, API similar to PIThread
PITimer API no longer pass void*
PIPeer, PIConnection improved stability on reinit and exit
PISystemTime new methods
pisd now exit without hanging
2024-07-30 14:18:02 +03:00
peri4
c2b8a8d6da
code format
2022-12-14 14:13:52 +03:00
Andrey
c3c98b9d78
include fixes
2022-02-14 14:01:54 +03:00
Andrey
8296e9a32b
add FreeRTOS support for PIThread PIMutex PIConditionVariable
2022-01-21 14:15:42 +03:00
andrey
86130d7105
compiled for esp32
2022-01-15 14:54:36 +03:00
Andrey
6e5a5a6ade
remove msleep, clean PIConditionVariable, rewrite pipipelinethread, etc...
2021-10-29 16:52:03 +03:00
andrey
53cd72a4b0
PIConditionVariable fix
2020-09-25 14:25:25 +03:00
andrey
c3f0cc0b03
PISystemTime toTimespec and PIConditionVariable fix
2020-09-25 14:08:40 +03:00
zzuummaa
829f0af9d2
Fix waitFor timeout behaviour
2020-09-25 12:03:15 +03:00
zzuummaa
2d02cea40c
Fix waitFor timeout behaviour
2020-09-25 12:01:53 +03:00
zzuummaa
bf17a003e7
o(╥﹏╥)o
2020-09-24 17:20:25 +03:00
zzuummaa
0e1a3d3a23
Fix nanosecond calc bug in piconditionvar.cpp
2020-09-24 17:04:55 +03:00
zzuummaa
55f42f73f5
Restore piconditionvar.cpp after wrong fix
2020-09-24 16:44:53 +03:00
peri4
a9e6ed0753
PIConditionVariable timing fix
2020-09-01 20:57:49 +03:00
zzuummaa
32d060c8ce
int
2020-08-31 16:41:01 +03:00
zzuummaa
7065cbd9ee
Fixed PIConditionVariable timeout bug on Linux
2020-08-31 16:01:35 +03:00
peri4
ccd6a9888f
tree changes
2020-08-19 00:47:05 +03:00