Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Extend support to Arm Cortex-M85 Signed-off-by: Gabor Toth <gabor.toth@arm.com> Change-Id: I679ba8e193638126b683b651513f08df445f9fe6 * Add generated Cortex-M85 support files Signed-off-by: Gabor Toth <gabor.toth@arm.com> Change-Id: Ib329d88623c2936ffe3e9a24f5d6e07655e4e5c8 * Extend Trusted Firmware M port Extend Trusted Firmware M port to Cortex-M23, Cortex-M55 and Cortex-M85. Signed-off-by: Gabor Toth <gabor.toth@arm.com> Change-Id: If8f1081acfd04e547b3227579e70e355a6adffe3 * Re-run copy_files.py script Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> Signed-off-by: Gabor Toth <gabor.toth@arm.com> Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com> Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
- Loading branch information
1 parent
c09187e
commit 030e766
Showing
44 changed files
with
11,249 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
This directory tree contains the master copy of the FreeeRTOS Armv8-M and | ||
Armv8.1-M ports. | ||
Do not use the files located here! These file are copied into separate | ||
FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55]_NNN directories prior to each | ||
FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55|85]_NNN directories prior to each | ||
FreeRTOS release. | ||
|
||
If your Armv8-M and Armv8.1-M application uses TrustZone then use the files from the | ||
FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55] directories. | ||
FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55|85] directories. | ||
|
||
If your Armv8-M and Armv8.1-M application does not use TrustZone then use the files from | ||
the FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55]_NTZ directories. | ||
the FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55|85]_NTZ directories. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
This directory tree contains the master copy of the FreeRTOS Armv8-M and | ||
Armv8.1-M ports. | ||
Do not use the files located here! These file are copied into separate | ||
FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55]_NNN directories prior to | ||
FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55|85]_NNN directories prior to | ||
each FreeRTOS release. | ||
|
||
If your Armv8-M/Armv8.1-M application uses TrustZone then use the files from the | ||
FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55] directories. | ||
FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55|85] directories. | ||
|
||
If your Armv8-M/Armv8.1-M application does not use TrustZone then use the files from | ||
the FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55]_NTZ directories. | ||
the FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55|85]_NTZ directories. |
71 changes: 71 additions & 0 deletions
71
portable/ARMv8M/non_secure/portable/GCC/ARM_CM85/portmacro.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
/* | ||
* FreeRTOS Kernel <DEVELOPMENT BRANCH> | ||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* SPDX-License-Identifier: MIT | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
* this software and associated documentation files (the "Software"), to deal in | ||
* the Software without restriction, including without limitation the rights to | ||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
* the Software, and to permit persons to whom the Software is furnished to do so, | ||
* subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in all | ||
* copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
* | ||
* https://www.FreeRTOS.org | ||
* https://github.com/FreeRTOS | ||
* | ||
*/ | ||
|
||
#ifndef PORTMACRO_H | ||
#define PORTMACRO_H | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
#include "portmacrocommon.h" | ||
|
||
/*------------------------------------------------------------------------------ | ||
* Port specific definitions. | ||
* | ||
* The settings in this file configure FreeRTOS correctly for the given hardware | ||
* and compiler. | ||
* | ||
* These settings should not be altered. | ||
*------------------------------------------------------------------------------ | ||
*/ | ||
|
||
#ifndef configENABLE_MVE | ||
#error configENABLE_MVE must be defined in FreeRTOSConfig.h. Set configENABLE_MVE to 1 to enable the MVE or 0 to disable the MVE. | ||
#endif /* configENABLE_MVE */ | ||
/*-----------------------------------------------------------*/ | ||
|
||
/** | ||
* Architecture specifics. | ||
*/ | ||
#define portARCH_NAME "Cortex-M85" | ||
#define portDONT_DISCARD __attribute__( ( used ) ) | ||
/*-----------------------------------------------------------*/ | ||
|
||
/** | ||
* @brief Critical section management. | ||
*/ | ||
#define portDISABLE_INTERRUPTS() ulSetInterruptMask() | ||
#define portENABLE_INTERRUPTS() vClearInterruptMask( 0 ) | ||
/*-----------------------------------------------------------*/ | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* PORTMACRO_H */ |
83 changes: 83 additions & 0 deletions
83
portable/ARMv8M/non_secure/portable/IAR/ARM_CM85/portmacro.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
/* | ||
* FreeRTOS Kernel <DEVELOPMENT BRANCH> | ||
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* SPDX-License-Identifier: MIT | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
* this software and associated documentation files (the "Software"), to deal in | ||
* the Software without restriction, including without limitation the rights to | ||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
* the Software, and to permit persons to whom the Software is furnished to do so, | ||
* subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in all | ||
* copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
* | ||
* https://www.FreeRTOS.org | ||
* https://github.com/FreeRTOS | ||
* | ||
*/ | ||
|
||
#ifndef PORTMACRO_H | ||
#define PORTMACRO_H | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
#include "portmacrocommon.h" | ||
|
||
/*------------------------------------------------------------------------------ | ||
* Port specific definitions. | ||
* | ||
* The settings in this file configure FreeRTOS correctly for the given hardware | ||
* and compiler. | ||
* | ||
* These settings should not be altered. | ||
*------------------------------------------------------------------------------ | ||
*/ | ||
|
||
#ifndef configENABLE_MVE | ||
#error configENABLE_MVE must be defined in FreeRTOSConfig.h. Set configENABLE_MVE to 1 to enable the MVE or 0 to disable the MVE. | ||
#endif /* configENABLE_MVE */ | ||
/*-----------------------------------------------------------*/ | ||
|
||
/** | ||
* Architecture specifics. | ||
*/ | ||
#define portARCH_NAME "Cortex-M85" | ||
#define portDONT_DISCARD __root | ||
/*-----------------------------------------------------------*/ | ||
|
||
#if( configTOTAL_MPU_REGIONS == 16 ) | ||
#error 16 MPU regions are not yet supported for this port. | ||
#endif | ||
/*-----------------------------------------------------------*/ | ||
|
||
/** | ||
* @brief Critical section management. | ||
*/ | ||
#define portDISABLE_INTERRUPTS() ulSetInterruptMask() | ||
#define portENABLE_INTERRUPTS() vClearInterruptMask( 0 ) | ||
/*-----------------------------------------------------------*/ | ||
|
||
/* Suppress warnings that are generated by the IAR tools, but cannot be fixed in | ||
* the source code because to do so would cause other compilers to generate | ||
* warnings. */ | ||
#pragma diag_suppress=Be006 | ||
#pragma diag_suppress=Pa082 | ||
/*-----------------------------------------------------------*/ | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* PORTMACRO_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
This directory tree contains the master copy of the FreeRTOS Armv8-M and | ||
Armv8.1-M ports. | ||
Do not use the files located here! These file are copied into separate | ||
FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55]_NNN directories prior to | ||
FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55|85]_NNN directories prior to | ||
each FreeRTOS release. | ||
|
||
If your Armv8-M/Armv8.1-M application uses TrustZone then use the files from the | ||
FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55] directories. | ||
FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55|85] directories. | ||
|
||
If your Armv8-M/Armv8.1-M application does not use TrustZone then use the files from | ||
the FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55]_NTZ directories. | ||
the FreeRTOS/Source/portable/[compiler]/ARM_CM[23|33|55|85]_NTZ directories. |
Oops, something went wrong.