MLECO-2984: Refactor components

* Use UART component from Ethos-U core-platform
* Components as cmake project

Change-Id: I053f3a59800abc20216e6a4df8555db357e3f21d
Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
diff --git a/scripts/cmake/common_user_options.cmake b/scripts/cmake/common_user_options.cmake
index ae35925..7dc68de 100644
--- a/scripts/cmake/common_user_options.cmake
+++ b/scripts/cmake/common_user_options.cmake
@@ -133,8 +133,14 @@
             set(DEFAULT_TA_CONFIG_FILE_PATH "${CMAKE_CURRENT_LIST_DIR}/timing_adapter/ta_config_u65_high_end.cmake")
         endif ()
 
-        USER_OPTION(TA_CONFIG_FILE "Path to the timing adapter configuration file"
-                ${DEFAULT_TA_CONFIG_FILE_PATH}
-                FILEPATH)
+        USER_OPTION(ETHOS_U_NPU_TIMING_ADAPTER_ENABLED "Specifies if the Ethos-U timing adapter is enabled"
+            ON
+            BOOL)
+
+        if (ETHOS_U_NPU_TIMING_ADAPTER_ENABLED)
+            USER_OPTION(TA_CONFIG_FILE "Path to the timing adapter configuration file"
+                    ${DEFAULT_TA_CONFIG_FILE_PATH}
+                    FILEPATH)
+        endif()
     endif()
 endif()