alpha
Login
or
Join now
jmrp.io
/
kleidos
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/jmrplens/kleidos. Kleidos — Hardware BLE password manager for ESP32-S3 (M5StickC Plus2, StickS3, M5Stack Gray, T-Deck, Cardputer)
jmrplens.github.io/kleidos/
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
kleidos
/
test
/
platform
/
test_inplace_queue
/
at
main
1 file
José M. Requena Plens
platform: add InplaceQueue + InplaceFunction containers, migrate ring buffers & callbacks
5w ago
da2e7919
test_inplace_queue.cpp
platform: add InplaceQueue + InplaceFunction containers, migrate ring buffers & callbacks Add two more heap-free containers in the platform_containers family: - InplaceQueue<T,N>: bounded FIFO ring buffer (push/pop return bool, no exceptions; single-task — use rtos::Queue across cores). 8 native tests. - InplaceFunction<R(Args...),N>: a std::function without the heap — type-erases any fitting callable into inline storage (a too-large target is a compile error), copyable/movable, mutable targets via a const operator(). 9 tests. Migrate to prove value + verify on-target (sticks3/cardputer/tdeck): - app_loop SetupFn/LoopFn: std::function -> InplaceFunction<void()>. - Cardputer/T-Deck keyboard key ring buffers: hand-rolled keyBuf_/head/tail -> InplaceQueue<char,N>. Also register the four platform/test_inplace_* suites in the native test_filter (they were committed but not run by CI). Native 512/512 + pio check.
1 month ago