*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'd:\Keil_v5\ARM\ARMCC\Bin'
compiling main.c...
.\USER\FreeRTOSConfig.h(79): error: #130: expected a "{"
extern uint32_t SystemCoreClock;
.\FreeRTOS\portable\portmacro.h(210): warning: #12-D: parsing restarts here after previous syntax error
{
.\FreeRTOS\portable\portmacro.h(215): error: #20: identifier "ulBASEPRI" is undefined
msr basepri, ulBASEPRI
.\FreeRTOS\portable\portmacro.h(265): error: #20: identifier "BaseType_t" is undefined
static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
.\FreeRTOS\portable\portmacro.h(268): error: #20: identifier "BaseType_t" is undefined
BaseType_t xReturn;
.\FreeRTOS\portable\portmacro.h(278): error: #20: identifier "BaseType_t" is undefined
xReturn = pdFALSE;
.\FreeRTOS\portable\portmacro.h(278): error: #18: expected a ")"
xReturn = pdFALSE;
.\FreeRTOS\portable\portmacro.h(282): error: #20: identifier "BaseType_t" is undefined
xReturn = pdTRUE;
.\FreeRTOS\portable\portmacro.h(282): error: #18: expected a ")"
xReturn = pdTRUE;
.\FreeRTOS\include\portable.h(144): error: #20: identifier "StackType_t" is undefined
StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t pxCode, void *pvParameters ) PRIVILEGED_FUNCTION;
.\FreeRTOS\include\portable.h(144): error: #20: identifier "StackType_t" is undefined
StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t pxCode, void *pvParameters ) PRIVILEGED_FUNCTION;
.\FreeRTOS\include\portable.h(144): error: #20: identifier "TaskFunction_t" is undefined
StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t pxCode, void *pvParameters ) PRIVILEGED_FUNCTION;
.\FreeRTOS\include\portable.h(181): error: #20: identifier "BaseType_t" is undefined
BaseType_t xPortStartScheduler( void ) PRIVILEGED_FUNCTION;
.\FreeRTOS\include\FreeRTOS.h(876): error: #20: identifier "TickType_t" is undefined
TickType_t xDummy1;
.\FreeRTOS\include\FreeRTOS.h(884): error: #20: identifier "TickType_t" is undefined
TickType_t xDummy1;
.\FreeRTOS\include\FreeRTOS.h(892): error: #20: identifier "UBaseType_t" is undefined
UBaseType_t uxDummy1;
.\FreeRTOS\include\FreeRTOS.h(917): error: #20: identifier "UBaseType_t" is undefined
UBaseType_t uxDummy5;
.\FreeRTOS\include\FreeRTOS.h(927): error: #20: identifier "UBaseType_t" is undefined
UBaseType_t uxDummy10[ 2 ];
.\FreeRTOS\include\FreeRTOS.h(930): error: #20: identifier "UBaseType_t" is undefined
UBaseType_t uxDummy12[ 2 ];
.\FreeRTOS\include\FreeRTOS.h(975): error: #20: identifier "UBaseType_t" is undefined
UBaseType_t uxDummy2;
.\FreeRTOS\include\FreeRTOS.h(979): error: #20: identifier "UBaseType_t" is undefined
UBaseType_t uxDummy4[ 3 ];
.\FreeRTOS\include\FreeRTOS.h(991): error: #20: identifier "UBaseType_t" is undefined
UBaseType_t uxDummy8;
.\FreeRTOS\include\FreeRTOS.h(1014): error: #20: identifier "TickType_t" is undefined
TickType_t xDummy1;
.\FreeRTOS\include\FreeRTOS.h(1018): error: #20: identifier "UBaseType_t" is undefined
UBaseType_t uxDummy3;
.\FreeRTOS\include\FreeRTOS.h(1045): error: #20: identifier "TickType_t" is undefined
TickType_t xDummy3;
.\FreeRTOS\include\FreeRTOS.h(1046): error: #20: identifier "UBaseType_t" is undefined
UBaseType_t uxDummy4;
.\FreeRTOS\include\FreeRTOS.h(1049): error: #20: identifier "UBaseType_t" is undefined
UBaseType_t uxDummy6;
.\FreeRTOS\include\list.h(184): error: #20: identifier "TickType_t" is undefined
configLIST_VOLATILE TickType_t xItemValue; /*< The value being listed. In most cases this is used to sort the list in descending order. */
.\FreeRTOS\include\list.h(196): error: #20: identifier "TickType_t" is undefined
configLIST_VOLATILE TickType_t xItemValue;
.\FreeRTOS\include\list.h(208): error: #20: identifier "UBaseType_t" is undefined
configLIST_VOLATILE UBaseType_t uxNumberOfItems;
.\FreeRTOS\include\list.h(446): error: #20: identifier "UBaseType_t" is undefined
UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove ) PRIVILEGED_FUNCTION;
USER\main.c: 1 warning, 30 errors
"USER\main.c" - 30 Error(s), 1 Warning(s).
文章来源:https://www.toymoban.com/news/detail-685096.html
在定位错误位置时:出现这种报警文章来源地址https://www.toymoban.com/news/detail-685096.html
到了这里,关于stm32移植freertos报错keil的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!