diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-05-25 07:46:47 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-05-25 07:46:47 +0000 |
commit | 1a88c5a6efeae9688a388574fbd97955d733abfc (patch) | |
tree | 6bfe1e8d2b6f6f89d6913715952c863de79fef05 /os | |
parent | 8e7a0fbb268626bec2310ac48b5c88d967d56199 (diff) | |
download | ChibiOS-1a88c5a6efeae9688a388574fbd97955d733abfc.tar.gz ChibiOS-1a88c5a6efeae9688a388574fbd97955d733abfc.tar.bz2 ChibiOS-1a88c5a6efeae9688a388574fbd97955d733abfc.zip |
Added WSPI to hal.mk file.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12044 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/hal.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/os/hal/hal.mk b/os/hal/hal.mk index f177a3f8b..689d4c104 100644 --- a/os/hal/hal.mk +++ b/os/hal/hal.mk @@ -80,6 +80,9 @@ endif ifneq ($(findstring HAL_USE_WDG TRUE,$(HALCONF)),)
HALSRC += $(CHIBIOS)/os/hal/src/hal_wdg.c
endif
+ifneq ($(findstring HAL_USE_WSPI TRUE,$(HALCONF)),)
+HALSRC += $(CHIBIOS)/os/hal/src/hal_wspi.c
+endif
else
HALSRC = $(CHIBIOS)/os/hal/src/hal.c \
$(CHIBIOS)/os/hal/src/hal_buffers.c \
@@ -107,7 +110,8 @@ HALSRC = $(CHIBIOS)/os/hal/src/hal.c \ $(CHIBIOS)/os/hal/src/hal_st.c \
$(CHIBIOS)/os/hal/src/hal_uart.c \
$(CHIBIOS)/os/hal/src/hal_usb.c \
- $(CHIBIOS)/os/hal/src/hal_wdg.c
+ $(CHIBIOS)/os/hal/src/hal_wdg.c \
+ $(CHIBIOS)/os/hal/src/hal_wspi.c
endif
# Required include directories
|