From 6a2ac465896ce6f980f0f3d374d6d401b8acb900 Mon Sep 17 00:00:00 2001 From: Kshitij Sisodia Date: Tue, 1 Mar 2022 17:36:06 +0000 Subject: MLECO-2881: Using MD5 sum for downloaded resources check. Removing git as a requirement for the checks performed for downloaded resources. Another minor change is renaming of RTE_components.h to RTE_Components.h as per the convention. Change-Id: If93f80f2f5dfa6a3f143259904c33b3b6d3a6e7c Signed-off-by: Kshitij Sisodia --- source/hal/cmsis_device/CMakeLists.txt | 3 +-- source/hal/cmsis_device/include/RTE_Components.h | 24 ++++++++++++++++++++++ source/hal/cmsis_device/include/RTE_components.h | 24 ---------------------- .../components/ethosu_npu_init/ethosu_npu_init.c | 2 +- .../hal/platform/mps3/include/platform_drivers.h | 2 +- source/hal/platform/mps3/source/include/smm_mps3.h | 2 +- .../hal/platform/simple/include/platform_drivers.h | 2 +- .../simple/include/timer_simple_platform.h | 2 +- .../platform/simple/source/timer_simple_platform.c | 2 +- 9 files changed, 31 insertions(+), 32 deletions(-) create mode 100644 source/hal/cmsis_device/include/RTE_Components.h delete mode 100644 source/hal/cmsis_device/include/RTE_components.h (limited to 'source/hal') diff --git a/source/hal/cmsis_device/CMakeLists.txt b/source/hal/cmsis_device/CMakeLists.txt index b98feb2..4e5ce72 100644 --- a/source/hal/cmsis_device/CMakeLists.txt +++ b/source/hal/cmsis_device/CMakeLists.txt @@ -64,8 +64,7 @@ target_link_options( # Check if semihosting configuration is available if (COMMAND configure_semihosting) - option(USE_SEMIHOSTING "Enable/disable semihosting option" OFF) - configure_semihosting(${CMSIS_DEVICE_TARGET} ${USE_SEMIHOSTING}) + configure_semihosting(${CMSIS_DEVICE_TARGET} OFF) endif() # 4 Display status: diff --git a/source/hal/cmsis_device/include/RTE_Components.h b/source/hal/cmsis_device/include/RTE_Components.h new file mode 100644 index 0000000..8988e9b --- /dev/null +++ b/source/hal/cmsis_device/include/RTE_Components.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2022 Arm Limited. All rights reserved. + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#ifndef RTE_COMPONENTS_H +#define RTE_COMPONENTS_H + +#if defined(CPU_HEADER_FILE) +#include CPU_HEADER_FILE /* Cortex M system header file from CMSIS. */ +#endif /* CPU_HEADER_FILE */ + +#endif /* RTE_COMPONENTS_H */ diff --git a/source/hal/cmsis_device/include/RTE_components.h b/source/hal/cmsis_device/include/RTE_components.h deleted file mode 100644 index 8988e9b..0000000 --- a/source/hal/cmsis_device/include/RTE_components.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (c) 2022 Arm Limited. All rights reserved. - * SPDX-License-Identifier: Apache-2.0 - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -#ifndef RTE_COMPONENTS_H -#define RTE_COMPONENTS_H - -#if defined(CPU_HEADER_FILE) -#include CPU_HEADER_FILE /* Cortex M system header file from CMSIS. */ -#endif /* CPU_HEADER_FILE */ - -#endif /* RTE_COMPONENTS_H */ diff --git a/source/hal/components/ethosu_npu_init/ethosu_npu_init.c b/source/hal/components/ethosu_npu_init/ethosu_npu_init.c index 2fed693..161d613 100644 --- a/source/hal/components/ethosu_npu_init/ethosu_npu_init.c +++ b/source/hal/components/ethosu_npu_init/ethosu_npu_init.c @@ -17,7 +17,7 @@ #include "ethosu_npu_init.h" -#include "RTE_components.h" /* For CPU related defintiions */ +#include "RTE_Components.h" /* For CPU related defintiions */ #include "peripheral_memmap.h" /* Peripheral memory map definitions. */ #include "peripheral_irqs.h" /* IRQ numbers for this platform. */ #include "log_macros.h" /* Logging functions */ diff --git a/source/hal/platform/mps3/include/platform_drivers.h b/source/hal/platform/mps3/include/platform_drivers.h index da3af1e..a706ed4 100644 --- a/source/hal/platform/mps3/include/platform_drivers.h +++ b/source/hal/platform/mps3/include/platform_drivers.h @@ -22,7 +22,7 @@ /* Platform components */ #include "timer_mps3.h" /* Timer functions. */ -#include "RTE_components.h" /* For CPU related defintiions */ +#include "RTE_Components.h" /* For CPU related defintiions */ #include "glcd_mps3.h" /* LCD functions. */ /** Platform definitions. TODO: These should be removed. */ diff --git a/source/hal/platform/mps3/source/include/smm_mps3.h b/source/hal/platform/mps3/source/include/smm_mps3.h index 9e848e4..bc93fdf 100644 --- a/source/hal/platform/mps3/source/include/smm_mps3.h +++ b/source/hal/platform/mps3/source/include/smm_mps3.h @@ -19,7 +19,7 @@ #include "peripheral_memmap.h" /* Peripheral memory map definitions. */ -#include "RTE_components.h" +#include "RTE_Components.h" #if defined ( __CC_ARM ) #pragma anon_unions diff --git a/source/hal/platform/simple/include/platform_drivers.h b/source/hal/platform/simple/include/platform_drivers.h index 4140f76..c1a6c6a 100644 --- a/source/hal/platform/simple/include/platform_drivers.h +++ b/source/hal/platform/simple/include/platform_drivers.h @@ -23,7 +23,7 @@ /* Platform components */ #include "stubs/glcd.h" /* LCD stubs to support use cases that use LCD */ #include "timer_simple_platform.h" /* timer implementation */ -#include "RTE_components.h" /* For CPU related defintiions */ +#include "RTE_Components.h" /* For CPU related defintiions */ /** Platform definitions. TODO: These should be removed. */ #include "peripheral_memmap.h" /* Peripheral memory map definitions. */ diff --git a/source/hal/platform/simple/include/timer_simple_platform.h b/source/hal/platform/simple/include/timer_simple_platform.h index 5f3c26b..683a207 100644 --- a/source/hal/platform/simple/include/timer_simple_platform.h +++ b/source/hal/platform/simple/include/timer_simple_platform.h @@ -18,7 +18,7 @@ #define TIMER_SIMPLE_PLATFORM_H #include -#include "RTE_components.h" +#include "RTE_Components.h" /* Container for timestamp for simple platform. */ typedef struct _generic_time_counter { diff --git a/source/hal/platform/simple/source/timer_simple_platform.c b/source/hal/platform/simple/source/timer_simple_platform.c index b1f3194..f7917b0 100644 --- a/source/hal/platform/simple/source/timer_simple_platform.c +++ b/source/hal/platform/simple/source/timer_simple_platform.c @@ -17,7 +17,7 @@ #include "timer_simple_platform.h" #include "log_macros.h" /* Logging macros */ -#include "RTE_components.h" /* For CPU related defintiions */ +#include "RTE_Components.h" /* For CPU related defintiions */ #include -- cgit v1.2.1