diff options
Diffstat (limited to 'os/hal/hal.mk')
-rw-r--r-- | os/hal/hal.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/os/hal/hal.mk b/os/hal/hal.mk index 377ffa9..f6b4edd 100644 --- a/os/hal/hal.mk +++ b/os/hal/hal.mk @@ -72,6 +72,9 @@ endif ifneq ($(findstring HAL_USE_COMP TRUE,$(HALCONF)),)
HALSRC_CONTRIB += ${CHIBIOS_CONTRIB}/os/hal/src/hal_comp.c
endif
+ifneq ($(findstring HAL_USE_OPAMP TRUE,$(HALCONF)),)
+HALSRC_CONTRIB += ${CHIBIOS_CONTRIB}/os/hal/src/hal_opamp.c
+endif
else
HALSRC_CONTRIB := ${CHIBIOS_CONTRIB}/os/hal/src/hal_community.c \
${CHIBIOS_CONTRIB}/os/hal/src/hal_nand.c \
|