From 63426e9806748a159faf8dd17d5a87b797874452 Mon Sep 17 00:00:00 2001 From: David Chalco Date: Wed, 27 Jan 2021 10:41:09 -0800 Subject: [PATCH] Add portmacros to checks ignorelist. Fix AWS header. --- .github/scripts/kernel_checker.py | 2 ++ portable/GCC/RX200/portmacro.h | 3 +-- portable/ThirdParty/XCC/Xtensa/portmacro.h | 7 ++----- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/scripts/kernel_checker.py b/.github/scripts/kernel_checker.py index 91620ec53..1d557d874 100755 --- a/.github/scripts/kernel_checker.py +++ b/.github/scripts/kernel_checker.py @@ -36,6 +36,8 @@ KERNEL_IGNORED_EXTENSIONS = [ KERNEL_IGNORED_PATTERNS = [ r'.*\.git.*', r'.*portable.*Xtensa_ESP32\/include\/portmacro\.h', + r'.*portable.*CDK\/T-HEAD_CK802\/portmacro\.h', + r'.*portable.*GCC\/Posix\/portmacro\.h', r'.*portable.*Xtensa_ESP32.*port\.c', r'.*portable.*Xtensa_ESP32.*portasm\.S', r'.*portable.*Xtensa_ESP32.*xtensa_.*', diff --git a/portable/GCC/RX200/portmacro.h b/portable/GCC/RX200/portmacro.h index 03cf6cbc0..cb664070f 100644 --- a/portable/GCC/RX200/portmacro.h +++ b/portable/GCC/RX200/portmacro.h @@ -1,6 +1,6 @@ /* * FreeRTOS Kernel V10.4.3 - * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * 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 @@ -22,7 +22,6 @@ * https://www.FreeRTOS.org * https://github.com/FreeRTOS * - * 1 tab == 4 spaces! */ diff --git a/portable/ThirdParty/XCC/Xtensa/portmacro.h b/portable/ThirdParty/XCC/Xtensa/portmacro.h index 6e1ea1604..9668ae806 100644 --- a/portable/ThirdParty/XCC/Xtensa/portmacro.h +++ b/portable/ThirdParty/XCC/Xtensa/portmacro.h @@ -1,7 +1,6 @@ - /* * FreeRTOS Kernel V10.4.3 - * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * 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 @@ -11,8 +10,7 @@ * 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. If you wish to use our Amazon - * FreeRTOS name, please do so in a fair use way that does not cause confusion. + * 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 @@ -24,7 +22,6 @@ * https://www.FreeRTOS.org * https://github.com/FreeRTOS * - * 1 tab == 4 spaces! */ /*