aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-01-04 09:38:41 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-01-04 09:38:41 +0000
commit66205faf65927f86cd1faa8d738e48551fff75e0 (patch)
tree843d9b9021fedd121dd51c40703bd3ab517b71a8 /demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp
parentc95f632a674afbf3606d66f950455438efa7aec3 (diff)
downloadChibiOS-66205faf65927f86cd1faa8d738e48551fff75e0.tar.gz
ChibiOS-66205faf65927f86cd1faa8d738e48551fff75e0.tar.bz2
ChibiOS-66205faf65927f86cd1faa8d738e48551fff75e0.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5029 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp')
-rw-r--r--demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp b/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp
index d56a3f4c3..2275d6702 100644
--- a/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp
+++ b/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp
@@ -19,11 +19,13 @@
*/
#include "ch.hpp"
-#include "fs.hpp"
#include "hal.h"
+#include "fs.hpp"
+#include "fatfs_fsimpl.hpp"
#include "test.h"
using namespace chibios_rt;
+using namespace chibios_fatfs;
/*
* LED blink sequences.
@@ -149,6 +151,8 @@ static SequencerThread blinker2(LED4_sequence);
static SequencerThread blinker3(LED5_sequence);
static SequencerThread blinker4(LED6_sequence);
+static FatFSWrapper fs(NULL);
+
/*
* Application entry point.
*/