According to the Kinetis SDK v.2.0 API Reference Manual, I expect to see the same result as the reference output on cppreference.com, which is the following

`

[ Hello] [Hello ] [ Hello] [Hell ] [Hell ]`

Instead I see the following output.` [ Hello] [Hello ] [*s] [*s] [*.*s]`

I verified that PRINTF_ADVANCED_ENABLE is defined and that code is included in my executable, by stepping through DbgConsole_PrintfFormattedData(). Preliminary analysis seems to indicate that support for argument-based (`*`) width or precision is not implemented, contrary to the SDK API Reference Manual.

Please confirm if I am overlooking any compilation setting that corrects this issue, or if you plan on addressing this in an upcoming SDK release.

I've made a quick review on this fsl_debug_console.c file and in fact, it seems that width and .precision are not supported when an argument is passed (documentation is wrong on this point). I will ask KSDK team if this is supposed to be added in next releases.

For now, If you want to add these feature (it is not difficult), you need to add some extra logic to current DbgConsole_PrintfFormattedData function. I am attaching fsl_debug_console.c with this modifications where you can locate preprocessor conditionals for all logic needed to implement these parameters. (You can enable this macro (PRINTF_WIDTH_AS_PARAMETER = 1) on preprocessor's definitions to enable this extra logic). I modified the hello_world example and added these printing messages: