The following steps show you how to enable hex and float value output from System_printf in TI CC13xx/CC26xxx SDK.
1. Add "System.extendedFormats = '%x%f%$L%$S%$F';" in your application ccfg such as app.cfg
2. Add "#include <xdc/runtime/System.h> in the beginning of C file.
3. You can use System_printf and %x/%f to print hex or float value now.
No comments:
Post a Comment