Author: Srikanth Patchava & EmbeddedOS Contributors Version: 1.0 (April 2026) License: CC BY-SA 4.0
"One unified platform from bootloader to browser, from microcontroller to orbit."
Srikanth Patchava is the creator and lead architect of EmbeddedOS, an open-source embedded operating system ecosystem spanning 18 repositories. With deep expertise in embedded systems, real-time operating systems, hardware design, AI inference, and full-stack development, Srikanth designed EoS to be a universal platform supporting 41 product categories across automotive, aerospace, medical, consumer, and industrial domains.
- GitHub: github.com/embeddedos-org
- Website: embeddedos-org.github.io
This book is the official, comprehensive reference for the entire EmbeddedOS ecosystem. It covers:
- EoS — the core embedded operating system (kernel, HAL, services, drivers)
- eBoot — the secure bootloader
- ebuild — the build system
- eIPC — inter-process communication
- eAI — embedded AI/ML inference
- eNI — neural interface & BCI
- eApps — application marketplace
- EoSim — multi-architecture simulation
- EoStudio — cross-platform design suite
- eDB — unified database
- eBrowser — embedded web browser
- eOffice — office suite
- eVera — AI virtual assistant
- eStocks — algorithmic trading
- eHealth365 — wearable health monitoring hardware
- ePAM — personal air mobility hardware
- eRadar360 — automotive radar hardware
Whether you are building a smartwatch, a medical device, an autonomous drone, or a space vehicle, this book provides everything you need.
-
- What is EmbeddedOS?
- The 18-repository ecosystem
- Architecture overview
- Who should read this book
-
- Prerequisites and tool installation
- Building EoS from source
- Your first "Hello World" on host, STM32, RPi4, nRF52
- Understanding product profiles
-
Architecture & Design Philosophy
- Layered architecture (HAL → Kernel → Services → Apps)
- The product profile system (41 profiles)
- Cross-platform portability strategy
- Standards compliance (ISO 26262, DO-178C, IEC 61508)
-
- The 33 peripheral interfaces
- GPIO, UART, SPI, I2C, Timer
- Backend dispatch pattern
- Writing a custom HAL backend
-
Extended HAL — Advanced Peripherals
- ADC, DAC, PWM, CAN, USB
- WiFi, BLE, Cellular, NFC
- Camera, Audio, Display, GPU
- IMU, GNSS, Radar, Motor
- The vtable dispatch pattern
-
- Task management & scheduling
- Mutex, semaphore, message queues
- Software timers
- Priority inversion protection
- Real-time guarantees
-
- Core management & identification
- Spinlocks (architecture-aware: ARM, x86, RISC-V)
- Memory barriers & atomics
- Inter-processor interrupts (IPI)
- Shared memory regions
- Task migration & affinity
- Remote processor management
-
- Driver probe/remove lifecycle
- Power management hooks
- Device tree integration
- Writing your first driver
-
- SHA-256, SHA-512 (full implementation)
- AES encryption
- RSA signing & verification (big-integer arithmetic)
- ECDSA P-256 (elliptic curve)
- CRC checksums
-
- Keystore & key management
- Access control lists (ACL)
- Secure boot chain
- Integrity monitoring
- Audit logging
-
- TCP/UDP sockets
- HTTP client/server
- MQTT client
- mDNS service discovery
- TLS integration
-
- Flash filesystem
- File operations API
- Wear leveling
- Secure storage
-
- Update lifecycle
- Delta updates
- Rollback protection
- Secure update verification
-
- Sensor framework (register, read, calibrate)
- Motor control with PID
- Sensor fusion patterns
-
- POSIX (threads, sync, signals, I/O)
- VxWorks (tasks, semaphores, watchdog, message queues)
- Linux IPC (D-Bus bridge, shared memory)
-
- LVGL integration
- Touch input handling
- Display rendering
- Building a watchface
-
- Stage 0 / Stage 1 boot flow
- Ed25519 signature verification
- Board support (24+ boards)
- Secure boot chain integration
-
- CLI commands
- Build configuration (YAML)
- Cross-compilation toolchains
- SDK generation
- CI/CD integration
-
eIPC — Inter-Process Communication
- The EIPC protocol (Go + C)
- HMAC authentication
- Service discovery
- Pub/sub messaging
- Chat & completion handlers
-
- AI framework architecture
- Model loading & inference (EAIM binary format)
- TFLite Micro integration
- Secure boot for AI models
- BCI device integration (OpenBCI)
- On-device LLM (llama.cpp)
-
- EEG signal acquisition
- DSP pipeline (Welch's PSD, band power)
- ONNX model inference
- Intent decoding
- Wireless BCI (BlueZ BLE)
- Python SDK
-
- QEMU integration (QMP, GDB)
- Native peripheral simulation
- State bridge architecture
- Multi-architecture support (52+ platforms)
-
- Platform backends (Tkinter, Web, EoS)
- 12 specialized editors
- WebSocket remote rendering
- LLM integration
-
- System architecture
- 10-layer hybrid PCB design
- Antenna design
- Power sequencing
- Manufacturing & bring-up
-
eHealth365 — Health Monitoring
- Two-device system (Smart Ring Pro + Smart Patch Pro)
- Sensor specifications (PPG, CGM, sweat biosensor, bioimpedance)
- 3D model specifications
- Monthly blood cartridge system
- 24-hour sensing schedule
- Mobile app architecture
- Battery optimization
- Business plan & go-to-market
-
- Four-vehicle product line
- Eco Car (solar-hybrid ground vehicle)
- Urban Drone (eVTOL)
- Space Shuttle (suborbital) + ULP-SSN avionics
- Combo Unit (trans-atmospheric)
- Power architecture (solar + H2 + battery + regen)
- Tesla-like mobile app
- Manufacturing cost analysis
- Regulatory path (FAA, EASA, AST)
-
- 43 applications
- App lifecycle management
- Cross-platform deployment
- Marketplace API
-
- Multi-model database architecture
- CLI commands
- Query engine
- Embedded vs. server modes
-
- Browser engine architecture
- Platform abstraction layer
- HTML/CSS/JS rendering
- Embedded device optimization
-
- 11 productivity applications
- Desktop (Electron) architecture
- Document format support
-
- 24+ specialized agents
- 183+ tools
- 3D avatar (Three.js)
- Voice control (3 modes, 19 languages)
- Plugin architecture
- Cross-platform (Electron, React Native, web)
-
- 15 trading strategies
- 7-layer risk management
- Backtesting engine
- Production safety controls
- Platform integrations (TradingView, IBKR, thinkorswim)
-
Cross-Compilation & Toolchains
- AArch64, ARM hard-float, RISC-V
- Custom toolchain files
- Multi-architecture CI/CD
-
- Unit testing framework
- Fuzz testing
- Sanitizers (ASan, UBSan)
- Valgrind memory checking
- CI/CD pipeline architecture
-
- ISO 26262 (automotive)
- DO-178C (aerospace)
- IEC 61508 (industrial)
- IEC 62304 (medical)
- Quality management system
-
- Development workflow
- Coding standards
- Pull request process
- Community guidelines
- A. API Quick Reference
- B. Product Profile Reference
- C. Pin Assignment Tables
- D. Glossary
- E. Bibliography & Standards
Visit: https://embeddedos-org.github.io/eos/book/
# Install mdBook
cargo install mdbook
# Build the book
cd docs/book
mdbook build
# Serve locally with live reload
mdbook serve --open# Install pandoc + LaTeX
sudo apt-get install pandoc texlive-xetex texlive-fonts-recommended
# Generate PDF from markdown
cd docs/book
./generate-pdf.sh
# Output: embeddedos-complete-guide.pdfcode— function names, file paths, commands- Bold — key terms on first introduction
- Italic — emphasis
eos_prefix — all EoS public API functions- Code blocks with filename headers show source file locations
Copyright (c) 2026 Srikanth Patchava & EmbeddedOS Contributors. Licensed under CC BY-SA 4.0.
