git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5011 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
462ab6bcaf
commit
f26d653e46
|
@ -70,6 +70,7 @@ include $(CHIBIOS)/os/hal/platforms/STM32F4xx/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F4xx/port.mk
|
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F4xx/port.mk
|
||||||
include $(CHIBIOS)/os/kernel/kernel.mk
|
include $(CHIBIOS)/os/kernel/kernel.mk
|
||||||
|
include $(CHIBIOS)/os/various/cpp_wrappers/kernel.mk
|
||||||
include $(CHIBIOS)/test/test.mk
|
include $(CHIBIOS)/test/test.mk
|
||||||
|
|
||||||
# Define linker script file here
|
# Define linker script file here
|
||||||
|
@ -92,7 +93,8 @@ CSRC = $(PORTSRC) \
|
||||||
|
|
||||||
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
|
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
|
||||||
# setting.
|
# setting.
|
||||||
CPPSRC = $(CHIBIOS)/os/various/ch.cpp main.cpp
|
CPPSRC = $(CHCPPSRC) \
|
||||||
|
main.cpp
|
||||||
|
|
||||||
# C sources to be compiled in ARM mode regardless of the global setting.
|
# C sources to be compiled in ARM mode regardless of the global setting.
|
||||||
# NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler
|
# NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler
|
||||||
|
@ -119,6 +121,7 @@ ASMSRC = $(PORTASM)
|
||||||
|
|
||||||
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||||
|
$(CHCPPINC) \
|
||||||
$(CHIBIOS)/os/various/devices_lib/accel \
|
$(CHIBIOS)/os/various/devices_lib/accel \
|
||||||
$(CHIBIOS)/os/various
|
$(CHIBIOS)/os/various
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
# C++ wrapper files.
|
||||||
|
CHCPPSRC = ${CHIBIOS}/os/various/cpp_wrappers/ch.cpp
|
||||||
|
|
||||||
|
CHCPPINC = ${CHIBIOS}/os/various/cpp_wrappers
|
|
@ -2,6 +2,6 @@
|
||||||
FATFSSRC = ${CHIBIOS}/os/various/fatfs_bindings/fatfs_diskio.c \
|
FATFSSRC = ${CHIBIOS}/os/various/fatfs_bindings/fatfs_diskio.c \
|
||||||
${CHIBIOS}/os/various/fatfs_bindings/fatfs_syscall.c \
|
${CHIBIOS}/os/various/fatfs_bindings/fatfs_syscall.c \
|
||||||
${CHIBIOS}/ext/fatfs/src/ff.c \
|
${CHIBIOS}/ext/fatfs/src/ff.c \
|
||||||
${CHIBIOS}/ext/fatfs/src/option/ccsbcs.c \
|
${CHIBIOS}/ext/fatfs/src/option/ccsbcs.c
|
||||||
|
|
||||||
FATFSINC = ${CHIBIOS}/ext/fatfs/src
|
FATFSINC = ${CHIBIOS}/ext/fatfs/src
|
||||||
|
|
Loading…
Reference in New Issue