Files | |
| dev_config.c | |
| The part of the dev harness the unit's paf.dev.config.json lays out: the settings applied at launch, the clock, date, and readings each screen shows in place of the fixture, and the walks the config lists. It reads them out of the header paf build –dev writes, so with dev mode off it compiles to nothing. | |
| dev_config.h | |
| What a dev build takes from the unit's paf.dev.config.json beyond the walk: the clock and date each screen pins, the settings it applies at launch, the readings it seeds in place of the fixture, and the steps of a walk the file lays out as a list. | |
| dev_hooks.h | |
| The calls a face makes to run the dev harness, and the switches they read. The build sets the switches from paf build <face> --dev and the unit's paf.dev.config.json, beside its paf.config.json, so a face writes none of them and main.c calls the hooks without any #if of its own. | |
| dev_walk.c | |
| The shared dev harness. It seeds the stores from a fixed fixture, or from the unit's paf.dev.config.json for a store the config seeds, and drives the theme walk or a walk the config lays out. Compiled for any face that lists the dev plugin, and the linker drops it from any face that never calls it, which is every release build. | |
| dev_walk.h | |
| Shared dev harness for screenshots. It seeds the clock, weather, health, system, and location stores with a fixed fixture, and the stock and calendar stores empty, using the store seed mechanism so no live source overwrites it. A store the unit's paf.dev.config.json gives readings for takes those instead. | |