Skip to content

Commit c970b2f

Browse files
silabs-BastienBcfriedt
authored andcommitted
modules: hal_silabs: enable VDAC module in series 2 hal
This enables Silabs Series 2 HAL source files for the Silabs VDAC module to be compiled when the SOC_SILABS_ACMP configuration is selected. Signed-off-by: Bastien Beauchamp <[email protected]>
1 parent 2b8d074 commit c970b2f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

modules/hal_silabs/simplicity_sdk/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ endif()
288288

289289
zephyr_library_sources_ifdef(CONFIG_SILABS_SISDK_LETIMER ${PERIPHERAL_DIR}/src/sl_hal_letimer.c)
290290
zephyr_library_sources_ifdef(CONFIG_SILABS_SISDK_TIMER ${PERIPHERAL_DIR}/src/sl_hal_timer.c)
291+
zephyr_library_sources_ifdef(CONFIG_SILABS_SISDK_VDAC ${PERIPHERAL_DIR}/src/sl_hal_vdac.c)
291292

292293
zephyr_library_sources_ifdef(CONFIG_SOC_GECKO_LDMA ${EMDRV_DIR}/dmadrv/src/dmadrv.c)
293294

modules/hal_silabs/simplicity_sdk/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ config SILABS_SISDK_LETIMER
1313
config SILABS_SISDK_TIMER
1414
bool "Peripheral HAL for TIMER"
1515

16+
config SILABS_SISDK_VDAC
17+
bool "Peripheral HAL for VDAC"
18+
1619
config RAIL_PA_CURVE_HEADER
1720
string "RAIL PA custom curve header file"
1821
default "pa_curves_efr32.h"

0 commit comments

Comments
 (0)