2.1.1.5. TI ARM CGT Console Colorizer Tool

The tool is located in tools/waf-tools.

2.1.1.5.1. Tool Documentation

Colorize the output of TI ARM CGT

class f_ti_color_arm_cgt.armclFormatter(*args: Any, **kwargs: Any)

Bases: formatter

Custom formatter for armcl output

  • warnings printed in yellow

  • errors printed in red

This formatter overwrites the default formatter in f_ti_color_arm_cgt.options()

static colorize(txt)

Colorizes the input text for console output

format(rec)

Overwrite the default formatter with the custom coloring formatter

f_ti_color_arm_cgt.options(opt)

Colorize TI ARM CGT output

Furthermore the default formatter gets replaced by f_ti_color_arm_cgt.armclFormatter.