Platform: Debug Access Port (DAP) driver (psoc64)

As specified by the default security policy, CM4 core debug port
is disabled during the boot, but allowed to be enabled later after CM4
is up. Add an API to control DAP and enable CM4 debugging.

Signed-off-by: Andrei Narkevitch <ainh@cypress.com>
Change-Id: Ib9ee449bb21c8a26c75ac51c80be112608914ed8
diff --git a/platform/ext/psoc64.cmake b/platform/ext/psoc64.cmake
index baa1065..a98ea51 100644
--- a/platform/ext/psoc64.cmake
+++ b/platform/ext/psoc64.cmake
@@ -215,6 +215,7 @@
 elseif(BUILD_CMSIS_DRIVERS)
   list(APPEND ALL_SRC_C_S "${PLATFORM_DIR}/target/cypress/psoc64/driver_smpu.c")
   list(APPEND ALL_SRC_C_S "${PLATFORM_DIR}/target/cypress/psoc64/driver_ppu.c")
+  list(APPEND ALL_SRC_C "${PLATFORM_DIR}/target/cypress/psoc64/driver_dap.c")
   list(APPEND ALL_SRC_C "${PLATFORM_DIR}/target/cypress/psoc64/CMSIS_Driver/Driver_USART.c")
   embedded_include_directories(PATH "${PLATFORM_DIR}/target/cypress/psoc64/CMSIS_Driver" ABSOLUTE)
   embedded_include_directories(PATH "${PLATFORM_DIR}/driver" ABSOLUTE)