aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F0xx/crc/Makefile
diff options
context:
space:
mode:
authorFabien Poussin <fabien.poussin@gmail.com>2019-10-02 16:27:12 +0200
committerGitHub <noreply@github.com>2019-10-02 16:27:12 +0200
commit51910c3551c2a4232ba3defcef063e2f745f925a (patch)
tree3991c377dbb51eba6292303761a847471efd9879 /testhal/STM32/STM32F0xx/crc/Makefile
parent29cdd11f63aaf8ee856551bb6a02f3486bc756ba (diff)
parentc71108e2806c8a6f10f670c5b8642a26fa28b89c (diff)
downloadChibiOS-Contrib-51910c3551c2a4232ba3defcef063e2f745f925a.tar.gz
ChibiOS-Contrib-51910c3551c2a4232ba3defcef063e2f745f925a.tar.bz2
ChibiOS-Contrib-51910c3551c2a4232ba3defcef063e2f745f925a.zip
Merge pull request #197 from ChibiOS/fixes-19.1
Updates for 19.1.x compatibliity
Diffstat (limited to 'testhal/STM32/STM32F0xx/crc/Makefile')
-rw-r--r--testhal/STM32/STM32F0xx/crc/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/testhal/STM32/STM32F0xx/crc/Makefile b/testhal/STM32/STM32F0xx/crc/Makefile
index 0c36874..84de056 100644
--- a/testhal/STM32/STM32F0xx/crc/Makefile
+++ b/testhal/STM32/STM32F0xx/crc/Makefile
@@ -83,6 +83,7 @@ PROJECT = ch
# Imported source files and paths
CHIBIOS = ../../../../../ChibiOS
CHIBIOS_CONTRIB = $(CHIBIOS)/../ChibiOS-Contrib
+
# Licensing files.
include $(CHIBIOS)/os/license/license.mk
# Startup files.
@@ -96,12 +97,14 @@ include $(CHIBIOS)/os/hal/osal/rt/osal.mk
include $(CHIBIOS)/os/rt/rt.mk
include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v6m.mk
# Other files (optional).
-#include $(CHIBIOS)/test/lib/test.mk
-#include $(CHIBIOS)/test/rt/rt_test.mk
-#include $(CHIBIOS)/test/oslib/oslib_test.mk
+include $(CHIBIOS)/test/lib/test.mk
+include $(CHIBIOS)/test/rt/rt_test.mk
+include $(CHIBIOS)/test/oslib/oslib_test.mk
+include $(CHIBIOS)/os/hal/lib/streams/streams.mk
+include $(CHIBIOS)/os/various/shell/shell.mk
# Define linker script file here
-LDSCRIPT= $(STARTUPLD)/STM32F051x8.ld
+LDSCRIPT= $(STARTUPLD)/STM32F072xB.ld
# C sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
@@ -137,8 +140,7 @@ TCPPSRC =
ASMSRC = $(ALLASMSRC)
ASMXSRC = $(ALLXASMSRC)
-INCDIR = $(ALLINC) $(TESTINC) \
- $(CHIBIOS_CONTRIB)/os/various
+INCDIR = $(ALLINC) $(TESTINC) $(CHIBIOS_CONTRIB)/os/various/
#
# Project, sources and paths
@@ -206,5 +208,5 @@ ULIBS =
# End of user defines
##############################################################################
-RULESPATH = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC
+RULESPATH = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk
include $(RULESPATH)/rules.mk