From b05e7e8c4464bda8fecd21ff80086a34edf9292c Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 26 Jul 2015 06:09:53 +0000 Subject: 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 --- .../debug/RT-LPC214x-OLIMEX (OpenOCD, Flash and Run).launch | 2 +- demos/STM32/RT-STM32L053R8-NUCLEO/chconf.h | 2 +- demos/STM32/RT-STM32L053R8-NUCLEO/halconf.h | 2 +- demos/STM32/RT-STM32L053R8-NUCLEO/main.c | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'demos') diff --git a/demos/LPC21xx/RT-LPC214x-OLIMEX/debug/RT-LPC214x-OLIMEX (OpenOCD, Flash and Run).launch b/demos/LPC21xx/RT-LPC214x-OLIMEX/debug/RT-LPC214x-OLIMEX (OpenOCD, Flash and Run).launch index a1d7c7819..97058e1ee 100644 --- a/demos/LPC21xx/RT-LPC214x-OLIMEX/debug/RT-LPC214x-OLIMEX (OpenOCD, Flash and Run).launch +++ b/demos/LPC21xx/RT-LPC214x-OLIMEX/debug/RT-LPC214x-OLIMEX (OpenOCD, Flash and Run).launch @@ -33,7 +33,7 @@ - + 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); } } -- cgit v1.2.3