Table of Contents

Logger for embedded systems

Project under development

Requirements

Simple, Lightweight and Practical

Log:

Implementation

Single logging function log() with variable number of arguments will:

Toolchain

Altered build process

  1. Create list of C files: log_listc.py > log_files.auto.h
  2. Preprocess C files gcc -E
  3. Parse C files looking for log() calls, identify arguments log_parsec.py > log_structure.auto.xml
  4. Merge xml files into zip log_zipxml.py
  5. (optional) Build binary object from zip to embed into binary log_pack.py > log_dictionary.auto.c
  6. Continue build process as usual