Skip to content

Commit b4b3ec1

Browse files
committed
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 <[email protected]>
1 parent 58ed105 commit b4b3ec1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

applications/sdp/gpio/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
1010
project(emulated_gpio)
1111

1212
sdp_assembly_generate("${CMAKE_SOURCE_DIR}/src/hrt/hrt.c")
13+
sdp_assembly_check("${CMAKE_SOURCE_DIR}/src/hrt/hrt.c")
14+
sdp_assembly_prepare_install("${CMAKE_SOURCE_DIR}/src/hrt/hrt.c")
1315

1416
target_sources(app PRIVATE src/main.c)
1517
target_sources(app PRIVATE src/hrt/hrt.s)
1618
target_sources_ifdef(CONFIG_GPIO_NRFE_EGPIO_BACKEND_ICMSG app PRIVATE src/backend/backend_icmsg.c)
1719
target_sources_ifdef(CONFIG_GPIO_NRFE_EGPIO_BACKEND_ICBMSG app PRIVATE src/backend/backend_icmsg.c)
1820
target_sources_ifdef(CONFIG_GPIO_NRFE_EGPIO_BACKEND_MBOX app PRIVATE src/backend/backend_mbox.c)
21+
22+
add_dependencies(app asm_check)

0 commit comments

Comments
 (0)