|
|
@ -210,13 +210,6 @@ uint32_t ulSetInterruptMaskFromISR( void ) /* __attribute__(( naked )) PRIVILEGE
|
|
|
|
" bx lr \n"
|
|
|
|
" bx lr \n"
|
|
|
|
::: "memory"
|
|
|
|
::: "memory"
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
#if !defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
|
|
|
|
|
|
|
|
/* To avoid compiler warnings. The return statement will never be reached,
|
|
|
|
|
|
|
|
* but some compilers warn if it is not included, while others won't compile
|
|
|
|
|
|
|
|
* if it is. */
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/*-----------------------------------------------------------*/
|
|
|
|
/*-----------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
@ -228,14 +221,6 @@ void vClearInterruptMaskFromISR( __attribute__( ( unused ) ) uint32_t ulMask ) /
|
|
|
|
" bx lr \n"
|
|
|
|
" bx lr \n"
|
|
|
|
::: "memory"
|
|
|
|
::: "memory"
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
#if !defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
|
|
|
|
|
|
|
|
/* Just to avoid compiler warning. ulMask is used from the asm code but
|
|
|
|
|
|
|
|
* the compiler can't see that. Some compilers generate warnings without
|
|
|
|
|
|
|
|
* the following line, while others generate warnings if the line is
|
|
|
|
|
|
|
|
* included. */
|
|
|
|
|
|
|
|
( void ) ulMask;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/*-----------------------------------------------------------*/
|
|
|
|
/*-----------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
|