From b08c54cba1dfe81b2ca0606cbf4c56c70bed2b93 Mon Sep 17 00:00:00 2001 From: Danh Doan Date: Thu, 31 Oct 2024 08:41:04 +0700 Subject: [PATCH] hal: renesas: ra: initial support for SCE7 First commit to support r_sce on SCE7 HWIP Signed-off-by: Danh Doan Signed-off-by: The Nguyen --- drivers/ra/CMakeLists.txt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/ra/CMakeLists.txt b/drivers/ra/CMakeLists.txt index d563767..eb61088 100644 --- a/drivers/ra/CMakeLists.txt +++ b/drivers/ra/CMakeLists.txt @@ -69,8 +69,19 @@ if(CONFIG_USE_RA_FSP_SCE) file(GLOB rsip7_srcs "fsp/src/r_sce/crypto_procedures/src/rsip7/plainkey/adaptors/*.c" "fsp/src/r_sce/crypto_procedures/src/rsip7/plainkey/primitive/*.c") - zephyr_sources(${rsip7_srcs}) + zephyr_library_sources(${rsip7_srcs}) endif() + + if (CONFIG_HAS_RENESAS_RA_SCE7) + zephyr_include_directories( + fsp/src/r_sce/crypto_procedures/src/sce7/plainkey/public/inc + fsp/src/r_sce/crypto_procedures/src/sce7/plainkey/private/inc) + file(GLOB sce7_srcs + "fsp/src/r_sce/crypto_procedures/src/sce7/plainkey/adaptors/*.c" + "fsp/src/r_sce/crypto_procedures/src/sce7/plainkey/primitive/*.c") + zephyr_library_sources(${sce7_srcs}) + endif() + endif() if(CONFIG_USE_RA_FSP_SDHI)