eheap Part 2: Bins

Like dlmalloc and similar heaps, embedded heap uses bins to hold free chunks. However, eheap bins are designed for the needs of embedded systems.

eheap Part 1: Basics

embedded heap, eheap, is specifically designed for embedded systems. Traditionally, embedded systems have used block pools instead of heaps due to the need for determinism. However, that is changing.

Portals Isolate Partitions

Portals provide an indirect API to isolate services in one partition from callers in other partitions.

How to Use Task Callbacks

Task callbacks add powerful tools to the embedded programmers toolbox. Each task can have its own callback function.

The Mighty Event Group

Event groups can play a central role in determining when tasks run in a system. They are useful for system control and state machines. Most RTOSs support event groups, but capabilities vary.

ptasks and utasks Improve Security

Partitioning legacy firmware into ptasks and utasks

Two kinds of tasks, two levels of protection — and a four-step, partition-by-partition process for moving vulnerable legacy code out of privileged mode into unprivileged mode.