mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-01-18 07:40:27 -05:00
Add ARM Cortex-M52 port support FreeRTOS#1305 (#1334)
Add ARM Cortex-M52 port support Add ARM_CM52 and ARM_CM52_NTZ port implementations for GCC and IAR compilers
This commit is contained in:
parent
fed39c5ea7
commit
7d6890e650
52 changed files with 24125 additions and 29 deletions
2
.github/allowed_urls.txt
vendored
2
.github/allowed_urls.txt
vendored
|
|
@ -1,3 +1,5 @@
|
|||
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
|
||||
https://www.microchip.com
|
||||
https://www.microchip.com/support
|
||||
|
|
|
|||
9
.github/scripts/kernel_checker.py
vendored
9
.github/scripts/kernel_checker.py
vendored
|
|
@ -156,6 +156,7 @@ FREERTOS_COPYRIGHT_REGEX = r"^(;|#)?( *(\/\*|\*|#|\/\/))? Copyright \(C\) 20\d\d
|
|||
|
||||
FREERTOS_ARM_COLLAB_COPYRIGHT_REGEX = r"(^(;|#)?( *(\/\*|\*|#|\/\/))? Copyright \(C\) 20\d\d Amazon.com, Inc. or its affiliates. All Rights Reserved\.( \*\/)?$)|" + \
|
||||
r"(^(;|#)?( *(\/\*|\*|#|\/\/))? Copyright 20\d\d(-20\d\d)? Arm Limited and/or its affiliates( +<open-source-office@arm\.com>)?( \*\/)?$)|" + \
|
||||
r"(^(;|#)?( *(\/\*|\*|#|\/\/))? Copyright \(c\) 20\d\d(-20\d\d)? Arm Technology \(China\) Co., Ltd.All Rights Reserved\.( \*\/)?$)|" + \
|
||||
r"(^(;|#)?( *(\/\*|\*|#|\/\/))? <open-source-office@arm\.com>( \*\/)?$)"
|
||||
|
||||
|
||||
|
|
@ -198,6 +199,8 @@ class KernelHeaderChecker(HeaderChecker):
|
|||
]
|
||||
if (len(lines) > 0) and (lines[0].find("#!") == 0):
|
||||
lines.remove(lines[0])
|
||||
if (len(lines) > 0) and (len(lines[-1].strip()) == 0):
|
||||
lines.remove(lines[-1])
|
||||
|
||||
# Split lines in sections.
|
||||
headers = dict()
|
||||
|
|
@ -215,8 +218,10 @@ class KernelHeaderChecker(HeaderChecker):
|
|||
text_equal = self.isValidHeaderSection(file_ext, "text", headers["text"])
|
||||
spdx_equal = self.isValidHeaderSection(file_ext, "spdx", headers["spdx"])
|
||||
|
||||
if text_equal and spdx_equal and len(headers["copyright"]) == 3:
|
||||
isValid = True
|
||||
if text_equal and spdx_equal:
|
||||
# Some files do not have "open-source-office@arm.com" line.
|
||||
if len(headers["copyright"]) == 3 or len(headers["copyright"]) == 2:
|
||||
isValid = True
|
||||
|
||||
return isValid
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue