aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-07-26 06:09:53 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-07-26 06:09:53 +0000
commitb05e7e8c4464bda8fecd21ff80086a34edf9292c (patch)
treeab2423e62e64d8fcd8712e8b7c71f5e53d3a92f2 /demos/STM32
parent577f267dda280e46805275fca1722bf5dd112414 (diff)
downloadChibiOS-b05e7e8c4464bda8fecd21ff80086a34edf9292c.tar.gz
ChibiOS-b05e7e8c4464bda8fecd21ff80086a34edf9292c.tar.bz2
ChibiOS-b05e7e8c4464bda8fecd21ff80086a34edf9292c.zip
Re-added the lost revisions (8103 and 8104).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8103 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32')
-rw-r--r--demos/STM32/RT-STM32L053R8-NUCLEO/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L053R8-NUCLEO/halconf.h2
-rw-r--r--demos/STM32/RT-STM32L053R8-NUCLEO/main.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/demos/STM32/RT-STM32L053R8-NUCLEO/chconf.h b/demos/STM32/RT-STM32L053R8-NUCLEO/chconf.h
index 3efdfc677..8013f1ff2 100644
--- a/demos/STM32/RT-STM32L053R8-NUCLEO/chconf.h
+++ b/demos/STM32/RT-STM32L053R8-NUCLEO/chconf.h
@@ -56,7 +56,7 @@
* The value one is not valid, timeouts are rounded up to
* this value.
*/
-#define CH_CFG_ST_TIMEDELTA 2
+#define CH_CFG_ST_TIMEDELTA 0
/** @} */
diff --git a/demos/STM32/RT-STM32L053R8-NUCLEO/halconf.h b/demos/STM32/RT-STM32L053R8-NUCLEO/halconf.h
index 3e61eeaf9..eaf68900a 100644
--- a/demos/STM32/RT-STM32L053R8-NUCLEO/halconf.h
+++ b/demos/STM32/RT-STM32L053R8-NUCLEO/halconf.h
@@ -132,7 +132,7 @@
* @brief Enables the SERIAL subsystem.
*/
#if !defined(HAL_USE_SERIAL) || defined(__DOXYGEN__)
-#define HAL_USE_SERIAL TRUE
+#define HAL_USE_SERIAL FALSE
#endif
/**
diff --git a/demos/STM32/RT-STM32L053R8-NUCLEO/main.c b/demos/STM32/RT-STM32L053R8-NUCLEO/main.c
index bd50f191d..3d4244102 100644
--- a/demos/STM32/RT-STM32L053R8-NUCLEO/main.c
+++ b/demos/STM32/RT-STM32L053R8-NUCLEO/main.c
@@ -52,7 +52,7 @@ int main(void) {
/*
* Activates the serial driver 2 using the driver default configuration.
*/
- sdStart(&SD2, NULL);
+// sdStart(&SD2, NULL);
/*
* Creates the blinker thread.
@@ -64,8 +64,8 @@ int main(void) {
* sleeping in a loop and check the button state.
*/
while (true) {
- if (!palReadPad(GPIOC, GPIOC_BUTTON))
- TestThread(&SD2);
+// if (!palReadPad(GPIOC, GPIOC_BUTTON))
+// TestThread(&SD2);
chThdSleepMilliseconds(500);
}
}