aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F1xx/SDC
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-08-22 07:39:59 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-08-22 07:39:59 +0000
commit731ff282811d9f7dd10470fbe80cc2cdfd16c599 (patch)
tree231c68de031d075312e8e7d02fb5f7d2d9804dc1 /testhal/STM32F1xx/SDC
parenta02e6d83326e58b1cb5ecdbbb28091489269e87a (diff)
downloadChibiOS-731ff282811d9f7dd10470fbe80cc2cdfd16c599.tar.gz
ChibiOS-731ff282811d9f7dd10470fbe80cc2cdfd16c599.tar.bz2
ChibiOS-731ff282811d9f7dd10470fbe80cc2cdfd16c599.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4611 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F1xx/SDC')
-rw-r--r--testhal/STM32F1xx/SDC/main.c2
-rw-r--r--testhal/STM32F1xx/SDC/mcuconf.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32F1xx/SDC/main.c b/testhal/STM32F1xx/SDC/main.c
index ec1300e6a..9d8c93d8b 100644
--- a/testhal/STM32F1xx/SDC/main.c
+++ b/testhal/STM32F1xx/SDC/main.c
@@ -28,7 +28,7 @@ static const SDCConfig sdccfg = {
0
};
-static uint8_t blkbuf[SDC_BLOCK_SIZE * 4 + 1];
+static uint8_t blkbuf[MMCSD_BLOCK_SIZE * 4 + 1];
/*
* Application entry point.
diff --git a/testhal/STM32F1xx/SDC/mcuconf.h b/testhal/STM32F1xx/SDC/mcuconf.h
index 8dccb622c..b3c48a3b2 100644
--- a/testhal/STM32F1xx/SDC/mcuconf.h
+++ b/testhal/STM32F1xx/SDC/mcuconf.h
@@ -155,7 +155,7 @@
* SERIAL driver system settings.
*/
#define STM32_SERIAL_USE_USART1 FALSE
-#define STM32_SERIAL_USE_USART2 FALSE
+#define STM32_SERIAL_USE_USART2 TRUE
#define STM32_SERIAL_USE_USART3 FALSE
#define STM32_SERIAL_USE_UART4 FALSE
#define STM32_SERIAL_USE_UART5 FALSE