summaryrefslogtreecommitdiff
path: root/source/hal/platform/simple
diff options
context:
space:
mode:
authorKshitij Sisodia <kshitij.sisodia@arm.com>2022-02-24 09:51:02 +0000
committerKshitij Sisodia <kshitij.sisodia@arm.com>2022-02-25 16:26:41 +0000
commitfb93fa74b821d883e7d19999dfd1a358aacebb88 (patch)
treed8ba4f417153fa645418641c114e6958dccfbdf8 /source/hal/platform/simple
parent0ab250b4b5dfae3f7b3cae5d5f5d4295126c0967 (diff)
downloadml-embedded-evaluation-kit-fb93fa74b821d883e7d19999dfd1a358aacebb88.tar.gz
MLECO-2944: CMSIS device refactoring
* RTE_components header to include corresponding Arm Cortex-M system header * remove custom CMSIS implementation from repo * use templates within CMSIS repo instead * update cmake to use header and source files within CMSIS repo Change-Id: I3534dae97b93c07a5056471b1d1dedbc78f00aa7
Diffstat (limited to 'source/hal/platform/simple')
-rw-r--r--source/hal/platform/simple/include/platform_drivers.h2
-rw-r--r--source/hal/platform/simple/include/timer_simple_platform.h2
-rw-r--r--source/hal/platform/simple/source/timer_simple_platform.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/source/hal/platform/simple/include/platform_drivers.h b/source/hal/platform/simple/include/platform_drivers.h
index c9928c0..4140f76 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 "cmsis.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 4df22da..5f3c26b 100644
--- a/source/hal/platform/simple/include/timer_simple_platform.h
+++ b/source/hal/platform/simple/include/timer_simple_platform.h
@@ -18,6 +18,8 @@
#define TIMER_SIMPLE_PLATFORM_H
#include <stdint.h>
+#include "RTE_components.h"
+
/* Container for timestamp for simple platform. */
typedef struct _generic_time_counter {
uint64_t counter_systick;
diff --git a/source/hal/platform/simple/source/timer_simple_platform.c b/source/hal/platform/simple/source/timer_simple_platform.c
index 3d28261..b1f3194 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 "cmsis.h" /* For CPU related defintiions */
+#include "RTE_components.h" /* For CPU related defintiions */
#include <inttypes.h>