Skip to content

Add macro guard configUSE_MPU_WRAPPERS_V1 to remove definition missing warning. #1208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/allowed_urls.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
https://www.renesas.com/us/en/document/mah/rh850f1k-group-users-manual-hardware?r=1170166
https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rh850-automotive-mcus
https://www.renesas.com/us/en/software-tool/c-compiler-package-rh850-family#downloads
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
uses: actions/[email protected]
- name: Link Verification
uses: FreeRTOS/CI-CD-Github-Actions/link-verifier@main
with:
allowlist-file: '.github/allowed_urls.txt'

verify-manifest:
runs-on: ubuntu-latest
Expand Down
8 changes: 4 additions & 4 deletions portable/ARMv8M/non_secure/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 )

Expand Down Expand Up @@ -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 */
{
Expand All @@ -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 )
Expand Down
8 changes: 4 additions & 4 deletions portable/GCC/ARM_CM23/non_secure/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 )

Expand Down Expand Up @@ -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 */
{
Expand All @@ -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 )
Expand Down
8 changes: 4 additions & 4 deletions portable/GCC/ARM_CM23_NTZ/non_secure/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 )

Expand Down Expand Up @@ -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 */
{
Expand All @@ -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 )
Expand Down
8 changes: 4 additions & 4 deletions portable/GCC/ARM_CM33/non_secure/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 )

Expand Down Expand Up @@ -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 */
{
Expand All @@ -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 )
Expand Down
8 changes: 4 additions & 4 deletions portable/GCC/ARM_CM33_NTZ/non_secure/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 )

Expand Down Expand Up @@ -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 */
{
Expand All @@ -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 )
Expand Down
8 changes: 4 additions & 4 deletions portable/GCC/ARM_CM35P/non_secure/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 )

Expand Down Expand Up @@ -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 */
{
Expand All @@ -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 )
Expand Down
8 changes: 4 additions & 4 deletions portable/GCC/ARM_CM35P_NTZ/non_secure/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 )

Expand Down Expand Up @@ -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 */
{
Expand All @@ -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 )
Expand Down
8 changes: 4 additions & 4 deletions portable/GCC/ARM_CM55/non_secure/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 )

Expand Down Expand Up @@ -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 */
{
Expand All @@ -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 )
Expand Down
8 changes: 4 additions & 4 deletions portable/GCC/ARM_CM55_NTZ/non_secure/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 )

Expand Down Expand Up @@ -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 */
{
Expand All @@ -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 )
Expand Down
8 changes: 4 additions & 4 deletions portable/GCC/ARM_CM85/non_secure/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 )

Expand Down Expand Up @@ -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 */
{
Expand All @@ -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 )
Expand Down
Loading
Loading