Commit Graph
21 Commits
Author SHA1 Message Date
andrey 75bab5a4b9 feat: add WebAssembly (Emscripten) build support
- Platform detection: EMSCRIPTEN/WASM macros in piplatform.h
- CMake: PIP_WASM option, auto-detect, STATIC lib, pthread flags,
  disable incompatible modules (console, usb, fftw, opencl, lua,
  http_server, http_client, mqtt_client)
- Macros: environ, SHUT_RDWR, HAS_LOCALE off, PIP_MIN_MSLEEP=10ms
- System stubs: process, signals, library, systeminfo, hidevice
- IO stubs: serial, ethernet, can, sharedmemory
- Thread: gettid() fallback via pthread_self()
- Core: locale/init adjustments, console.log routing via EM_ASM
- Fix: toDecimal precision loss, unreachable code in createPipe
2026-08-11 18:19:54 +03:00
andrey 3ea5af750e feat: add WebAssembly (Emscripten) build support
- Platform detection: EMSCRIPTEN/WASM macros in piplatform.h
- CMake: PIP_WASM option, auto-detect, STATIC lib, pthread flags,
  disable incompatible modules (console, usb, fftw, opencl, lua,
  http_server, http_client, mqtt_client)
- Macros: environ, SHUT_RDWR, HAS_LOCALE off, PIP_MIN_MSLEEP=10ms
- System stubs: process, signals, library, systeminfo, hidevice
- IO stubs: serial, ethernet, can, sharedmemory
- Thread: gettid() fallback via pthread_self()
- Core: locale/init adjustments, console.log routing via EM_ASM
- Fix: toDecimal precision loss, unreachable code in createPipe
2026-08-11 01:52:14 +03:00
andrey 7dd3cb5ee4 small fixes 2026-08-06 17:01: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 53ec75bf0c remove junk 2024-11-21 16:31:40 +03:00
peri4 caa7880cc4 get rid of piForeach
apply some code analyzer recommendations
ICU flag now check if libicu exists
prepare for more accurate growth of containers (limited PoT, then constantly increase size)
2024-11-20 20:01:47 +03:00
peri4 9a928f6feb add PITranslator
begin localization "ru"
2024-11-02 18:43:30 +03:00
peri4 35aadb0e78 doc and brush 2023-07-04 13:08:37 +03:00
peri4 c2b8a8d6da code format 2022-12-14 14:13:52 +03:00
peri4 0bd45ec49b friend with UNICODE macro on windows 2022-12-07 09:33:46 +03:00
peri4 e9128771db version 3.6.0
another fixes in PIEthernet
remove PIThread::interrupt()
piwaitevent patches
2022-11-12 13:31:26 +03:00
peri4 e48d0ebaab linux signal 2022-11-01 09:38:27 +03:00
peri4 6e81a419fb start move to interruption of blocking calls, PIThread and PIEthernet 2022-11-01 00:02:44 +03:00
peri4 c1c47b4869 locale changes, piscreen 2022-04-27 12:41:38 +03:00
peri4 2f4e73ef13 console encoding patch 2022-04-26 22:49:31 +03:00
Andrey 2ab2614ab4 PICout optimization 2022-04-13 17:59:24 +03:00
andrey 86130d7105 compiled for esp32 2022-01-15 14:54:36 +03:00
Andrey c9e329d27d rename PIInit BuildOption 2022-01-14 18:51:37 +03:00
Andrey a7df53fbfe platformio_pre.py 2022-01-14 18:15:56 +03:00
zzuummaa 493b211886 Configure address and undefined sanitizers & fix delete UB 2021-01-12 13:53:32 +03:00
peri4 ccd6a9888f tree changes 2020-08-19 00:47:05 +03:00