Add a check for configENABLE_MVE to M23, M33 ports

configENABLE_MVE is only applicable to Cortex-M55 and Cortex-M85 ports.
It must not be defined to 1 for other ARMv8_m ports.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
Gaurav Aggarwal 2024-01-29 17:33:00 +05:30
parent 722596eaae
commit 93569f2ee9
22 changed files with 187 additions and 0 deletions

View file

@ -60,6 +60,14 @@
#if ( configTOTAL_MPU_REGIONS == 16 )
#error 16 MPU regions are not yet supported for this port.
#endif
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M23.
#endif
#endif
/*-----------------------------------------------------------*/
/**

View file

@ -60,6 +60,14 @@
#if ( configTOTAL_MPU_REGIONS == 16 )
#error 16 MPU regions are not yet supported for this port.
#endif
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M23.
#endif
#endif
/*-----------------------------------------------------------*/
/**

View file

@ -57,6 +57,15 @@
#include "portmacrocommon.h"
/*-----------------------------------------------------------*/
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M33.
#endif
#endif
/*-----------------------------------------------------------*/
/**
* @brief Critical section management.
*/

View file

@ -57,6 +57,15 @@
#include "portmacrocommon.h"
/*-----------------------------------------------------------*/
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M33.
#endif
#endif
/*-----------------------------------------------------------*/
/**
* @brief Critical section management.
*/

View file

@ -57,6 +57,15 @@
#include "portmacrocommon.h"
/*-----------------------------------------------------------*/
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M35.
#endif
#endif
/*-----------------------------------------------------------*/
/**
* @brief Critical section management.
*/

View file

@ -60,6 +60,14 @@
#if ( configTOTAL_MPU_REGIONS == 16 )
#error 16 MPU regions are not yet supported for this port.
#endif
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M23.
#endif
#endif
/*-----------------------------------------------------------*/
/**

View file

@ -60,6 +60,14 @@
#if ( configTOTAL_MPU_REGIONS == 16 )
#error 16 MPU regions are not yet supported for this port.
#endif
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M23.
#endif
#endif
/*-----------------------------------------------------------*/
/**

View file

@ -62,6 +62,15 @@
#include "portmacrocommon.h"
/*-----------------------------------------------------------*/
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M33.
#endif
#endif
/*-----------------------------------------------------------*/
/**
* @brief Critical section management.
*/

View file

@ -60,6 +60,15 @@
#if ( configTOTAL_MPU_REGIONS == 16 )
#error 16 MPU regions are not yet supported for this port.
#endif
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M33.
#endif
#endif
/*-----------------------------------------------------------*/
/**

View file

@ -60,6 +60,14 @@
#if ( configTOTAL_MPU_REGIONS == 16 )
#error 16 MPU regions are not yet supported for this port.
#endif
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M35.
#endif
#endif
/*-----------------------------------------------------------*/
/**

View file

@ -60,6 +60,14 @@
#if ( configTOTAL_MPU_REGIONS == 16 )
#error 16 MPU regions are not yet supported for this port.
#endif
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M23.
#endif
#endif
/*-----------------------------------------------------------*/
/**

View file

@ -60,6 +60,14 @@
#if ( configTOTAL_MPU_REGIONS == 16 )
#error 16 MPU regions are not yet supported for this port.
#endif
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M23.
#endif
#endif
/*-----------------------------------------------------------*/
/**

View file

@ -57,6 +57,15 @@
#include "portmacrocommon.h"
/*-----------------------------------------------------------*/
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M33.
#endif
#endif
/*-----------------------------------------------------------*/
/**
* @brief Critical section management.
*/

View file

@ -57,6 +57,15 @@
#include "portmacrocommon.h"
/*-----------------------------------------------------------*/
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M33.
#endif
#endif
/*-----------------------------------------------------------*/
/**
* @brief Critical section management.
*/

View file

@ -57,6 +57,15 @@
#include "portmacrocommon.h"
/*-----------------------------------------------------------*/
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M35.
#endif
#endif
/*-----------------------------------------------------------*/
/**
* @brief Critical section management.
*/

View file

@ -57,6 +57,15 @@
#include "portmacrocommon.h"
/*-----------------------------------------------------------*/
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M35.
#endif
#endif
/*-----------------------------------------------------------*/
/**
* @brief Critical section management.
*/

View file

@ -60,6 +60,14 @@
#if ( configTOTAL_MPU_REGIONS == 16 )
#error 16 MPU regions are not yet supported for this port.
#endif
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M23.
#endif
#endif
/*-----------------------------------------------------------*/
/**

View file

@ -60,6 +60,14 @@
#if ( configTOTAL_MPU_REGIONS == 16 )
#error 16 MPU regions are not yet supported for this port.
#endif
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M23.
#endif
#endif
/*-----------------------------------------------------------*/
/**

View file

@ -62,6 +62,15 @@
#include "portmacrocommon.h"
/*-----------------------------------------------------------*/
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M33.
#endif
#endif
/*-----------------------------------------------------------*/
/**
* @brief Critical section management.
*/

View file

@ -60,6 +60,15 @@
#if ( configTOTAL_MPU_REGIONS == 16 )
#error 16 MPU regions are not yet supported for this port.
#endif
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M33.
#endif
#endif
/*-----------------------------------------------------------*/
/**

View file

@ -60,6 +60,14 @@
#if ( configTOTAL_MPU_REGIONS == 16 )
#error 16 MPU regions are not yet supported for this port.
#endif
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M35.
#endif
#endif
/*-----------------------------------------------------------*/
/**

View file

@ -60,6 +60,14 @@
#if ( configTOTAL_MPU_REGIONS == 16 )
#error 16 MPU regions are not yet supported for this port.
#endif
#ifndef configENABLE_MVE
#define configENABLE_MVE 0
#else
#if( configENABLE_MVE != 0 )
#error configENABLE_MVE must be 0 for the Cortex-M35.
#endif
#endif
/*-----------------------------------------------------------*/
/**