Standard C++ As RTOS API
summary
Proposal to run identical embedded code on host and target using forthcoming C++ APIs, with attempted port of Asio-style networking TS onto FreeRTOS stopped by buggy Ethernet drivers so no full implementation yet. Uses coroutines, the execution-context/executor model with executors with properties (priority, stack size, adapters via require), atomics for ISRs, lock-free SPSC queues and counting semaphores for inter-task signaling. Claims unit and integration tests can run on host (one integration needs 16 devices costing €20,000 each), and shows a Linux real-time executor prototype that maps priorities into OS scheduling.
AI-written summary · about
chapters (24)
- 0:00Intro
- 0:46Overview
- 5:14Portability
- 7:20Testing
- 9:26Simulation
- 10:58Maintenance
- 11:41Availability on Host
- 14:01Target Implementation
- 16:24Examples
- 21:58Timer
- 23:03FreeRTOS
- 25:39Scheduler / Tasks
- 31:58New Executor Interface
- 36:23Executor Properties
- 38:59require/prefer
- 41:02Executors Usage
- 43:14Queues
- 44:19More Queue Functions
- 45:00Semaphore
- 46:19Mutex
- 46:59ARM Mbed
- 49:34Coroutines
- 51:05References
- 52:28Questions
