From 1e3756419ada43a15a78722a8d1bf839c74356f9 Mon Sep 17 00:00:00 2001 From: Magdalena Pastula Date: Thu, 24 Oct 2024 11:30:41 +0200 Subject: [PATCH] appplications: sdp: gpio: add asm_check to flpr_egpio Add asm_check target as a depency for flpr_egpio application. This will generate new ASM file for every source file in hrt folder and check if the new ones are the same as the one saved in git. For every file that differs a warning is printed. By making asm_check a dependency of flpr_egpio application asm_check will be run both for sysbuild application including eGPIO and for stand-alone SDP application before the main build starts. Signed-off-by: Magdalena Pastula --- applications/sdp/gpio/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/applications/sdp/gpio/CMakeLists.txt b/applications/sdp/gpio/CMakeLists.txt index ae182d38491a..61dff4f4a7c0 100644 --- a/applications/sdp/gpio/CMakeLists.txt +++ b/applications/sdp/gpio/CMakeLists.txt @@ -10,9 +10,13 @@ find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(emulated_gpio) sdp_assembly_generate("${CMAKE_SOURCE_DIR}/src/hrt/hrt.c") +sdp_assembly_check("${CMAKE_SOURCE_DIR}/src/hrt/hrt.c") +sdp_assembly_prepare_install("${CMAKE_SOURCE_DIR}/src/hrt/hrt.c") target_sources(app PRIVATE src/main.c) target_sources(app PRIVATE src/hrt/hrt.s) target_sources_ifdef(CONFIG_GPIO_NRFE_EGPIO_BACKEND_ICMSG app PRIVATE src/backend/backend_icmsg.c) target_sources_ifdef(CONFIG_GPIO_NRFE_EGPIO_BACKEND_ICBMSG app PRIVATE src/backend/backend_icmsg.c) target_sources_ifdef(CONFIG_GPIO_NRFE_EGPIO_BACKEND_MBOX app PRIVATE src/backend/backend_mbox.c) + +add_dependencies(app asm_check)