diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-11-13 08:59:15 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-11-13 08:59:15 +0000 |
commit | be60d348aa1f67e1c9a4667aa996318c1a43067f (patch) | |
tree | 1daf675592bab8c53aa77c03ae70f5ced0d8e36d /demos | |
parent | 688c495b28d6307050f370717c295f2f889e3b3c (diff) | |
download | ChibiOS-be60d348aa1f67e1c9a4667aa996318c1a43067f.tar.gz ChibiOS-be60d348aa1f67e1c9a4667aa996318c1a43067f.tar.bz2 ChibiOS-be60d348aa1f67e1c9a4667aa996318c1a43067f.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2356 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/STM8L-STM8L152-DISCOVERY-STVD/demo/halconf.h | 2 | ||||
-rw-r--r-- | demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c | 4 | ||||
-rw-r--r-- | demos/STM8L-STM8L152-DISCOVERY-STVD/demo/mcuconf.h | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/halconf.h b/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/halconf.h index 3186be527..40bb5dbb1 100644 --- a/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/halconf.h +++ b/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/halconf.h @@ -90,7 +90,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/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c b/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c index 459ac2e7a..d0d7b4060 100644 --- a/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c +++ b/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c @@ -51,6 +51,10 @@ void main(void) { */
hwinit();
+ palClearPad(GPIOC, PC_LED4);
+ palSetPad(GPIOE, PE_LED3);
+ while(1);
+
/*
* OS initialization.
*/
diff --git a/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/mcuconf.h b/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/mcuconf.h index d37723781..ea9759ad5 100644 --- a/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/mcuconf.h +++ b/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/mcuconf.h @@ -28,7 +28,7 @@ /*
* HAL general settings.
*/
-#define STM8L_CLOCK_INIT TRUE
+#define STM8L_NO_CLOCK_INIT TRUE
#define STM8L_HSI_ENABLED TRUE
#define STM8L_LSI_ENABLED TRUE
#define STM8L_HSE_ENABLED FALSE
|