2020-07-09 08:04 AM
When freeRTOS header cmsis_os.h is used in *.cpp file, it generates compiler warning
ISO C++ forbids converting a string constant to 'char*'.
Proposed fix:
Change line 326 of cmsis_os.h from:
typedef struct os_thread_def {
char *name; ///< Thread name
to:
typedef struct os_thread_def {
const char *name; ///< Thread name