From 91e635b08a57e44ce1f7deb0328a5ae78117f8d4 Mon Sep 17 00:00:00 2001 From: Fabien Poussin Date: Tue, 8 Jan 2019 20:02:45 +0100 Subject: Adding rudimentary OPAMP Driver --- os/hal/ports/STM32/LLD/OPAMPv1/driver.mk | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 os/hal/ports/STM32/LLD/OPAMPv1/driver.mk (limited to 'os/hal/ports/STM32/LLD/OPAMPv1/driver.mk') diff --git a/os/hal/ports/STM32/LLD/OPAMPv1/driver.mk b/os/hal/ports/STM32/LLD/OPAMPv1/driver.mk new file mode 100644 index 0000000..08dc0f4 --- /dev/null +++ b/os/hal/ports/STM32/LLD/OPAMPv1/driver.mk @@ -0,0 +1,9 @@ +ifeq ($(USE_SMART_BUILD),yes) +ifneq ($(findstring HAL_USE_OPAMP TRUE,$(HALCONF)),) +PLATFORMSRC_CONTRIB += ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/OPAMPv1/hal_opamp_lld.c +endif +else +PLATFORMSRC_CONTRIB += ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/OPAMPv1/hal_opamp_lld.c +endif + +PLATFORMINC_CONTRIB += ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/OPAMPv1 -- cgit v1.2.3