C:/PlatformIO/libs/system/rLog/src/rLog.cpp:37:8: error: ‘xSemaphoreHandle’ does not name a type; did you mean ‘SemaphoreHandle_t’?
37 | static xSemaphoreHandle _rlog_mutex;
| ^~~~~~~~~~~~~~~~
| SemaphoreHandle_t
Нашёл, что xSemaphoreHandle определяется в файле FreeRTOS.h, которй включатся в строке 34 файла rLog.cpp
/* FreeRTOS enabled */
#include “freertos/FreeRTOS.h”
#include “freertos/semphr.h”
static xSemaphoreHandle _rlog_mutex;
void _rlog_lock()
Но, если открыть файл FreeRTOS.h, то определение xSemaphoreHandle влючается по условию, а configENABLE_BACKWARD_COMPATIBILITY = 0 во время компиляции:
#if configENABLE_BACKWARD_COMPATIBILITY == 1
#define eTaskStateGet eTaskGetState
#define portTickType TickType_t
#define xTaskHandle TaskHandle_t
#define xQueueHandle QueueHandle_t
#define xSemaphoreHandle SemaphoreHandle_t
Подскажите, что и где надо поправить?