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.
Part Number: MSP432P401R
1. the build result:
ti\posix\gcc/sys/types.h:72:2: error: #error "When compiling with TI-POSIX, you must define -std=c99 (or later). You must not define _POSIX_SOURCE or _POSIX_C_SOURCE."
but tirtos/gnu/targets/arm/libs/install-native/arm-none-eabi/include/sys/features.h already defined _POSIX_SOURCE or _POSIX_C_SOURCE
2. there are lots of conflicting types between \ti\posix\gcc/sys/types.h and arm-none-eabi\include\sys\_pthreadtypes.h in GNU ARM embedded toolchains, such as pthread_condattr_t, pthread_key_t, pthread_mutexattr_t, etc.
Sorry, currently we have limited support for GCC complier.
Have you meet the problem on our example code?
Can you use TI complier instead?
Can you set your code to me, maybe I can look into the code and give you some help.
Well, clion may have a better code environment for me. How do I send that project? email?
Sorry, I have no experience on clion and openOCD.
If you can recrate this problem on CCS or IAR, it will be much easy for me to help you debug the problem.
Can you put your code on this thread directly? You can only remain the necessary code.
It is really a bad news. Do you mean that the problem disappeared when you put it in CCS?