..MiddlewaresThird_PartyFreeRTOSSourceportableRVDSARM_CM4Fport.c(483) error A1586E Bad operand types

编译FreeRTOS程序,出现错误

…\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\port.c(483): error: A1586E: Bad operand types (UnDefOT, Constant) for operator (

Stm32f407xx.h

修改:
#define __NVIC_PRIO_BITS          4U       /*!< STM32F4XX uses 4 Bits for the Priority Levels */

为:

#define __NVIC_PRIO_BITS          4       /*!< STM32F4XX uses 4 Bits for the

你可能感兴趣的:(#,FreeRTOS)