static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
{
__asm
{
/* Barrier instructions are not used as this function is only used to
lower the BASEPRI value. */
msr basepri, ulBASEPRI
}
}
===============================================================================
在MDK4.54上面会报错:
..\..\FreeRTOS\portable\RVDS\ARM_CM4F\portmacro.h(209): error: #1113: Inline assembler not permitted when generating Thumb code