Tool/software: Code Composer Studio
I was utilizing this line of code to display an output:
125 for(int i = 0; i < sizeof buffer; ++i) {
126 printf("%02x", buffer[i]);};
and received the following errors,
"../main.c", line 125: error #29: expected an expression
"../main.c", line 125: error #20: identifier "i" is undefined
"../main.c", line 126: error #2632: Modifiers are not allowed in printf_support=minimal mode
Of course when I remove the modifier the error from line 126 is amended but is there a different way to modify the output then?
Thank you :)