This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello to everybody.
I have a question.
I'm using dsp tms320f28069 and code composer studio v4.
I have see that every character in C strings
consume a word (16 bit) memory instead of 1 single byte.
For example char title[30] = "Texas"; is mapped like
0x0054 0x0065 0x0078 0x0061 0x0073 0x0000
The question is: does tms320f28069 use Uinicode chars ?
If you're looking for a way to store a char data type into 1 byte, please see this related post.
No, the TI compilers do not use Unicode as the execution character set. There is (limited) support for wide and multibyte characters, but no direct support for Unicode.
The "char" type is 16 bits on C2000 because that is the smallest addressable unit of memory.
Furthermore, because of the way the C standard defines "byte", byte is also 16 bits on C2000.