projects:logger
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | projects:logger [2014/08/31 17:45] (current) – created mkucia | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Logger for embedded systems ====== | ||
+ | <WRAP center todo 60%> | ||
+ | Project under development | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Requirements ===== | ||
+ | |||
+ | Simple, Lightweight and Practical | ||
+ | |||
+ | Log: | ||
+ | * Strings | ||
+ | * Integers, Enums | ||
+ | * Printfs | ||
+ | * Structures | ||
+ | |||
+ | ===== Implementation ===== | ||
+ | |||
+ | Single logging function '' | ||
+ | * Copy data into local buffer | ||
+ | * Notify sink controller | ||
+ | |||
+ | |||
+ | ===== Toolchain ===== | ||
+ | |||
+ | Altered build process | ||
+ | - Create list of C files: '' | ||
+ | - Preprocess C files '' | ||
+ | - Parse C files looking for log() calls, identify arguments '' | ||
+ | - Merge xml files into zip '' | ||
+ | - (optional) Build binary object from zip to embed into binary '' | ||
+ | - Continue build process as usual |
projects/logger.txt · Last modified: 2014/08/31 17:45 by mkucia