aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32L053R8-NUCLEO
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/RT-STM32L053R8-NUCLEO')
-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);
}
}