mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Add macro guard configUSE_MPU_WRAPPERS_V1 to remove definition missing warning. (#1208)
Add macro guard to removed definition missing warning
This commit is contained in:
parent
974351fe4a
commit
b58005a4da
23 changed files with 89 additions and 84 deletions
|
@ -398,7 +398,7 @@ typedef void ( * portISR_t )( void );
|
|||
*/
|
||||
static void prvTaskExitError( void );
|
||||
|
||||
#if ( configENABLE_MPU == 1 )
|
||||
#if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
|
||||
|
||||
/**
|
||||
* @brief Extract MPU region's access permissions from the Region Base Address
|
||||
|
@ -409,7 +409,7 @@ static void prvTaskExitError( void );
|
|||
* @return uint32_t Access permissions.
|
||||
*/
|
||||
static uint32_t prvGetRegionAccessPermissions( uint32_t ulRBARValue ) PRIVILEGED_FUNCTION;
|
||||
#endif /* configENABLE_MPU */
|
||||
#endif /* configENABLE_MPU == 1 && configUSE_MPU_WRAPPERS_V1 == 0 */
|
||||
|
||||
#if ( configENABLE_MPU == 1 )
|
||||
|
||||
|
@ -871,7 +871,7 @@ static void prvTaskExitError( void )
|
|||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
#if ( configENABLE_MPU == 1 )
|
||||
#if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
|
||||
|
||||
static uint32_t prvGetRegionAccessPermissions( uint32_t ulRBARValue ) /* PRIVILEGED_FUNCTION */
|
||||
{
|
||||
|
@ -890,7 +890,7 @@ static void prvTaskExitError( void )
|
|||
return ulAccessPermissions;
|
||||
}
|
||||
|
||||
#endif /* configENABLE_MPU */
|
||||
#endif /* configENABLE_MPU == 1 && configUSE_MPU_WRAPPERS_V1 == 0 */
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
#if ( configENABLE_MPU == 1 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue