diff options
author | Konstantin Oblaukhov <oblaukhov.konstantin@gmail.com> | 2018-09-29 18:08:56 +0700 |
---|---|---|
committer | Konstantin K. Oblaukhov <oblaukhov.konstantin@gmail.com> | 2018-11-20 09:52:42 +0700 |
commit | 0e6f501f80d590a7f79b3b4b3f4ec278df57ad40 (patch) | |
tree | f795d5584ff5aa805fd2a1a81d224076788a4253 /testhal/NRF51/NRF51822/WDG/Makefile | |
parent | f4d6d909898e777efaa2d479095e41cd2045621d (diff) | |
download | ChibiOS-Contrib-0e6f501f80d590a7f79b3b4b3f4ec278df57ad40.tar.gz ChibiOS-Contrib-0e6f501f80d590a7f79b3b4b3f4ec278df57ad40.tar.bz2 ChibiOS-Contrib-0e6f501f80d590a7f79b3b4b3f4ec278df57ad40.zip |
Update all NRF5x makefiles and chconf.h.
Add missing halconf_community.h
Diffstat (limited to 'testhal/NRF51/NRF51822/WDG/Makefile')
-rw-r--r-- | testhal/NRF51/NRF51822/WDG/Makefile | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/testhal/NRF51/NRF51822/WDG/Makefile b/testhal/NRF51/NRF51822/WDG/Makefile index caa8b18..c096d27 100644 --- a/testhal/NRF51/NRF51822/WDG/Makefile +++ b/testhal/NRF51/NRF51822/WDG/Makefile @@ -83,6 +83,8 @@ PROJECT = ch # Imported source files and paths
CHIBIOS = ../../../../../ChibiOS-RT
CHIBIOS_CONTRIB = $(CHIBIOS)/../ChibiOS-Contrib
+# Licensing files.
+include $(CHIBIOS)/os/license/license.mk
# Startup files.
include $(CHIBIOS_CONTRIB)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_nrf51.mk
# HAL-OSAL files (optional).
@@ -99,19 +101,13 @@ LDSCRIPT= $(STARTUPLD)/NRF51822.ld # C sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
-CSRC = $(STARTUPSRC) \
- $(KERNSRC) \
- $(PORTSRC) \
- $(OSALSRC) \
- $(HALSRC) \
- $(PLATFORMSRC) \
- $(BOARDSRC) \
+CSRC = $(ALLCSRC) \
$(TESTSRC) \
main.c
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
-CPPSRC =
+CPPSRC = $(ALLCPPSRC)
# C sources to be compiled in ARM mode regardless of the global setting.
# NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler
@@ -134,11 +130,11 @@ TCSRC = TCPPSRC =
# List ASM source files here
-ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
+ASMSRC = $(ALLASMSRC)
+ASMXSRC = $(ALLXASMSRC)
-INCDIR = $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
- $(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
- $(CHIBIOS)/os/various $(CHIBIOS)/os/license
+INCDIR = $(ALLINC) $(TESTINC) \
+ $(TESTHAL)
#
# Project, sources and paths
|