aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-22 09:11:31 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-22 09:11:31 +0000
commit5f75c012225c31032caa800977312bed2b2590fb (patch)
treea22d814c76ce3dd9c088dcb5dde59bd873577bf7 /testhal
parent4d41c9904f1929b28e03cd39c8a0acc39cc8fe25 (diff)
downloadChibiOS-5f75c012225c31032caa800977312bed2b2590fb.tar.gz
ChibiOS-5f75c012225c31032caa800977312bed2b2590fb.tar.bz2
ChibiOS-5f75c012225c31032caa800977312bed2b2590fb.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1456 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
-rw-r--r--testhal/STM32/halconf.h6
-rw-r--r--testhal/STM32/main.c1
2 files changed, 4 insertions, 3 deletions
diff --git a/testhal/STM32/halconf.h b/testhal/STM32/halconf.h
index 1e9621dcb..77e2eb0a4 100644
--- a/testhal/STM32/halconf.h
+++ b/testhal/STM32/halconf.h
@@ -46,14 +46,14 @@
* @brief Enables the ADC subsystem.
*/
#if !defined(CH_HAL_USE_ADC) || defined(__DOXYGEN__)
-#define CH_HAL_USE_ADC FALSE
+#define CH_HAL_USE_ADC TRUE
#endif
/**
* @brief Enables the CAN subsystem.
*/
#if !defined(CH_HAL_USE_CAN) || defined(__DOXYGEN__)
-#define CH_HAL_USE_CAN FALSE
+#define CH_HAL_USE_CAN TRUE
#endif
/**
@@ -81,7 +81,7 @@
* @brief Enables the SPI subsystem.
*/
#if !defined(CH_HAL_USE_SPI) || defined(__DOXYGEN__)
-#define CH_HAL_USE_SPI FALSE
+#define CH_HAL_USE_SPI TRUE
#endif
/**
diff --git a/testhal/STM32/main.c b/testhal/STM32/main.c
index d566c7546..3298ea770 100644
--- a/testhal/STM32/main.c
+++ b/testhal/STM32/main.c
@@ -210,6 +210,7 @@ int main(int argc, char **argv) {
chThdTerminate(spitp);
chThdWait(spitp);
#endif
+ chThdSleepMilliseconds(500);
TestThread(&SD2);
chThdSleepMilliseconds(500);
chSysHalt();