I added a function definition to FreeRTOSconfig.h:
extern UBaseType_t xUnusedISRstackWords( void ); // check unused amount at runtime
I got, only in some ST FSL code (most modules don’t get this error), the following errors, which seem impossible:
C:\git_CAP\repo_MFW2\MFW2\application/FreeRTOSConfig.h:173:9: error: unknown type name 'UBaseType_t' In file included from C:\git_CAP\repo_MFW2\MFW2\amazon-freertos\freertos_kernel\include/FreeRTOS.h:56, from C:\git_CAP\repo_MFW2\MFW2\component\osa/fsl_os_abstraction_free_rtos.h:63, from C:\git_CAP\repo_MFW2\MFW2\component\osa/fsl_os_abstraction.h:349, from C:\git_CAP\repo_MFW2\MFW2\usb\include/usb.h:15, from ../usb/device/source/lpcip3511/usb_device_lpcip3511.c:10:
Any idea how this is possible?
portmacro.h should always be included in FreeRTOS.h prior FreeRTOSconfig.h, no?
Thanks as always for any help,
Best Regards, Dave