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.

RTOS/TMDXIDK5718: toupper() function compile error

Part Number: TMDXIDK5718
Other Parts Discussed in Thread: SYSBIOS, AM5718, AM5716

Tool/software: TI-RTOS

Hi

Im using sysbios V6.46.4.53 on IDK5718 and I have two example programs (attached)
form the A15 core (from TI examples) where I added two code lines:

#include <ctype.h>

char a = toupper('m');

In the "minimal" example this works without errors where as with
the "static" example I get the compilation error "undefined reference to `__locale_ctype_ptr' ".
I could not figure the relevant differences between the two examples to tell where the error comes from.

I could see, that in the "static" example there is a folder ".config" and in the "minimal" example that folder is not there.
This leads to my second question: Is the ".config" folder optional? (without the toupper() code it compiles ok)
When is the ".config" folder used? And what happens if it is not there?

Regards,
Markus

minimal_AM5716_CortexA.zipstatic_AM5718_CortexA.zip