module: hal_silabs: enable acmp module in series 2 hal

This enables silabs series 2 hal source files for the silabs
acmp module to be compiled when the SOC_SILABS_ACMP
configuration is selected.

Signed-off-by: Christian Galante <christian.galante@silabs.com>
This commit is contained in:
Christian Galante 2025-01-14 17:16:18 -05:00 committed by Benjamin Cabé
commit 014a869ecf

View file

@ -209,6 +209,7 @@ if(CONFIG_SOC_GECKO_CORE)
SL_CODE_COMPONENT_CORE=core
)
endif()
zephyr_library_sources_ifdef(CONFIG_SOC_SILABS_ACMP ${EMLIB_DIR}/src/em_acmp.c)
zephyr_library_sources_ifdef(CONFIG_SOC_GECKO_CRYOTIMER ${EMLIB_DIR}/src/em_cryotimer.c)
zephyr_library_sources_ifdef(CONFIG_SOC_GECKO_EMU ${EMLIB_DIR}/src/em_emu.c)
if(CONFIG_SOC_GECKO_GPIO)