aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/STM8L-STM8L152-DISCOVERY-STVD/demo/halconf.h2
-rw-r--r--demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c4
-rw-r--r--demos/STM8L-STM8L152-DISCOVERY-STVD/demo/mcuconf.h2
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