diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-14 17:28:22 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-14 17:28:22 +0000 |
commit | 07755f046116952984c5611724092d174cb5f54f (patch) | |
tree | 286b8fdd5d45df0aac92f4e2c9caf14888129ae3 | |
parent | 9dfb720cfeef3c005bd9b98156f5bb2991757c8d (diff) | |
download | ChibiOS-07755f046116952984c5611724092d174cb5f54f.tar.gz ChibiOS-07755f046116952984c5611724092d174cb5f54f.tar.bz2 ChibiOS-07755f046116952984c5611724092d174cb5f54f.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1294 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | demos/ARMCM3-STM32F103-FATFS-GCC/Makefile | 5 | ||||
-rw-r--r-- | demos/ARMCM3-STM32F103-FATFS-GCC/main.c | 2 | ||||
-rw-r--r-- | ext/ff007e-patched.zip | bin | 0 -> 789859 bytes |
3 files changed, 5 insertions, 2 deletions
diff --git a/demos/ARMCM3-STM32F103-FATFS-GCC/Makefile b/demos/ARMCM3-STM32F103-FATFS-GCC/Makefile index 85a8880f1..afb044c49 100644 --- a/demos/ARMCM3-STM32F103-FATFS-GCC/Makefile +++ b/demos/ARMCM3-STM32F103-FATFS-GCC/Makefile @@ -60,12 +60,14 @@ CHIBIOS = ../.. include ${CHIBIOS}/os/ports/GCC/ARMCM3/port.mk
include ${CHIBIOS}/os/kernel/kernel.mk
include ${CHIBIOS}/test/test.mk
+include ${CHIBIOS}/ext/fatfs/fatfs.mk
# C sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
CSRC = ${PORTSRC} \
${KERNSRC} \
${TESTSRC} \
+ ${FATFSSRC} \
${CHIBIOS}/os/io/pal.c \
${CHIBIOS}/os/io/serial.c \
${CHIBIOS}/os/io/spi.c \
@@ -108,7 +110,8 @@ ASMSRC = $(PORTASM) \ INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
${CHIBIOS}/os/io \
${CHIBIOS}/os/io/platforms/STM32 \
- ${CHIBIOS}/os/various
+ ${CHIBIOS}/os/various \
+ $(FATFSINC)
#
# Project, sources and paths
diff --git a/demos/ARMCM3-STM32F103-FATFS-GCC/main.c b/demos/ARMCM3-STM32F103-FATFS-GCC/main.c index 914eea1e2..a41d666f8 100644 --- a/demos/ARMCM3-STM32F103-FATFS-GCC/main.c +++ b/demos/ARMCM3-STM32F103-FATFS-GCC/main.c @@ -44,7 +44,7 @@ static SPIConfig ls_spicfg = { /*
* MMC driver instance. */
-static MMCDriver MMCD1;
+MMCDriver MMCD1;
/*
* MMC configuration (empty). diff --git a/ext/ff007e-patched.zip b/ext/ff007e-patched.zip Binary files differnew file mode 100644 index 000000000..971dcc321 --- /dev/null +++ b/ext/ff007e-patched.zip |