aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/CRCv1/driver.mk
diff options
context:
space:
mode:
authorFabien Poussin <fabien.poussin@gmail.com>2018-09-27 08:28:59 +0200
committerGitHub <noreply@github.com>2018-09-27 08:28:59 +0200
commit38bcaedef46834e8a903c0c4a05884d221d2fc2e (patch)
tree3b42ac586b21ea36c3e5af49edff0d1e357502ea /os/hal/ports/STM32/LLD/CRCv1/driver.mk
parentfe95e90b80a28dd2f40bfee1ad90822b99519c6a (diff)
parent6f018973caa979897d4c932222b53e705113b612 (diff)
downloadChibiOS-Contrib-38bcaedef46834e8a903c0c4a05884d221d2fc2e.tar.gz
ChibiOS-Contrib-38bcaedef46834e8a903c0c4a05884d221d2fc2e.tar.bz2
ChibiOS-Contrib-38bcaedef46834e8a903c0c4a05884d221d2fc2e.zip
Merge pull request #167 from ObKo/chibios-18.2.x
Diffstat (limited to 'os/hal/ports/STM32/LLD/CRCv1/driver.mk')
-rw-r--r--os/hal/ports/STM32/LLD/CRCv1/driver.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/LLD/CRCv1/driver.mk b/os/hal/ports/STM32/LLD/CRCv1/driver.mk
new file mode 100644
index 0000000..b8c16d4
--- /dev/null
+++ b/os/hal/ports/STM32/LLD/CRCv1/driver.mk
@@ -0,0 +1,9 @@
+ifeq ($(USE_SMART_BUILD),yes)
+ifneq ($(findstring HAL_USE_CRC TRUE,$(HALCONF)),)
+PLATFORMSRC_CONTRIB += ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/CRCv1/hal_crc_lld.c
+endif
+else
+PLATFORMSRC_CONTRIB += ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/CRCv1/hal_crc_lld.c
+endif
+
+PLATFORMINC_CONTRIB += ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/CRCv1