From 354bd66eb083691cab4c2c29b32a836805ac5edc Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 16 Nov 2010 18:39:47 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2371 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM8S-STM8S105-DISCOVERY-STVD/demo/mcuconf.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'demos/STM8S-STM8S105-DISCOVERY-STVD/demo') diff --git a/demos/STM8S-STM8S105-DISCOVERY-STVD/demo/mcuconf.h b/demos/STM8S-STM8S105-DISCOVERY-STVD/demo/mcuconf.h index 757bba2ce..61b572a82 100644 --- a/demos/STM8S-STM8S105-DISCOVERY-STVD/demo/mcuconf.h +++ b/demos/STM8S-STM8S105-DISCOVERY-STVD/demo/mcuconf.h @@ -28,9 +28,14 @@ /* * HAL general settings. */ -#define STM8_CLOCK_SOURCE CLK_SOURCE_HSI +#define STM8_NO_CLOCK_INIT FALSE +#define STM8_HSI_ENABLED FALSE +#define STM8_LSI_ENABLED TRUE +#define STM8_HSE_ENABLED TRUE +#define STM8_SYSCLK_SOURCE CLK_SYSSEL_HSE #define STM8_HSI_DIVIDER CLK_HSI_DIV1 #define STM8_CPU_DIVIDER CLK_CPU_DIV1 +#define STM8_CAN_DIVIDER_VALUE 1 /* * SERIAL driver system settings. @@ -42,5 +47,5 @@ /* * SPI driver system settings. */ -#define STM8_SPI_USE_SPI FALSE +#define STM8_SPI_USE_SPI TRUE #define STM8_SPI_ERROR_HOOK(spip) chSysHalt() -- cgit v1.2.3