diff options
author | Fabien Poussin <fabien.poussin@gmail.com> | 2019-10-29 13:02:35 +0100 |
---|---|---|
committer | Fabien Poussin <fabien.poussin@gmail.com> | 2019-10-29 13:02:35 +0100 |
commit | 03043aa8fa3117601b32e57886080e496b7a2356 (patch) | |
tree | 875365fdbe8da940fddfbdbb83e4e54c27b2a679 /os/hal/ports/STM32/STM32L0xx/platform.mk | |
parent | dc72ea603311123964271f910f051fb2027351ef (diff) | |
download | ChibiOS-Contrib-03043aa8fa3117601b32e57886080e496b7a2356.tar.gz ChibiOS-Contrib-03043aa8fa3117601b32e57886080e496b7a2356.tar.bz2 ChibiOS-Contrib-03043aa8fa3117601b32e57886080e496b7a2356.zip |
Updated Comp driver for STM32L0
Diffstat (limited to 'os/hal/ports/STM32/STM32L0xx/platform.mk')
-rw-r--r-- | os/hal/ports/STM32/STM32L0xx/platform.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32L0xx/platform.mk b/os/hal/ports/STM32/STM32L0xx/platform.mk new file mode 100644 index 0000000..5cf3157 --- /dev/null +++ b/os/hal/ports/STM32/STM32L0xx/platform.mk @@ -0,0 +1,21 @@ +include ${CHIBIOS}/os/hal/ports/STM32/STM32L0xx/platform.mk + +ifeq ($(USE_SMART_BUILD),yes) + +# Configuration files directory +ifeq ($(CONFDIR),) + CONFDIR = . +endif + +HALCONF := $(strip $(shell cat $(CONFDIR)/halconf.h $(CONFDIR)/halconf_community.h | egrep -e "\#define")) + +else +endif + +include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/CRCv1/driver.mk +include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/TIMv1/driver.mk +include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/COMPv1/driver.mk + +# Shared variables +ALLCSRC += $(PLATFORMSRC_CONTRIB) +ALLINC += $(PLATFORMINC_CONTRIB) |