
The Complete Guide to Eclipse ThreadX and RTEMS
Learn Eclipse ThreadX and RTEMS side by side: history, thread and sync APIs, memory pools, builds, configuration and how to choose between them.
Tag
362 posts

Learn Eclipse ThreadX and RTEMS side by side: history, thread and sync APIs, memory pools, builds, configuration and how to choose between them.

Learn how Unix processes work in C on Linux: create them with fork, replace them with exec, collect them with wait, and end them cleanly with exit.

Learn GPIO from the pin up: modes, pull resistors, drive strength, interrupts, debouncing, alternate functions and loads, with STM32 code and cross-chip notes.

One driver for one chip, built from user-space probing to a regmap core with I2C and SPI front ends, IIO output, interrupts, error handling and debugging.

Build a working Linux container runtime in C: namespaces, a pivot_root rootfs, cgroup v2 limits, veth networking, seccomp, and what runc adds on top.

Learn what undefined behavior is in C, why compilers exploit it, the common kinds with sanitizer output, and how to write, detect and fix code that avoids it.

Learn socket programming in C on Linux from zero: addresses, TCP servers and clients, UDP, getaddrinfo, closing, errors, poll and a working chat server.

Build static and shared libraries in C with ar, gcc and ld, then link, version, install and debug them, with a decision table for choosing between the two.

Complete guide to memory performance on Linux: measure bandwidth, place data across NUMA nodes and cut TLB misses with huge pages, with C code throughout.

Drive GPIO lines, I2C sensors and SPI devices from Linux userspace with libgpiod, i2c-tools and spidev in C, Python and Rust, plus device tree and permissions.

Learn Zephyr threads, priorities, timers, work queues, semaphores, mutexes and message queues, with working examples and a rule for picking each primitive.

How systems code reports, checks, cleans up after and tests failures: errno, short writes, goto cleanup, fault injection and error design in C, Rust and Go.