aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-05 09:05:07 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-05 09:05:07 +0000
commit849c7af120b4dd015a590f95b900d794e319eab7 (patch)
treebdd35c0b90f11b4f21559dbc294a27a59a2669d7 /demos/STM32/RT-STM32F103-OLIMEX_STM32_P103
parent3d784fa9264b0291fdf2b61821c2eb8b8b4d3623 (diff)
downloadChibiOS-849c7af120b4dd015a590f95b900d794e319eab7.tar.gz
ChibiOS-849c7af120b4dd015a590f95b900d794e319eab7.tar.bz2
ChibiOS-849c7af120b4dd015a590f95b900d794e319eab7.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7363 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32F103-OLIMEX_STM32_P103')
-rw-r--r--demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/mcuconf.h6
2 files changed, 7 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/chconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/chconf.h
index de3797f02..32a7ac145 100644
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/chconf.h
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/chconf.h
@@ -46,7 +46,7 @@
* @details Frequency of the system timer that drives the system ticks. This
* setting also defines the system tick time unit.
*/
-#define CH_CFG_ST_FREQUENCY 10000
+#define CH_CFG_ST_FREQUENCY 2000
/**
* @brief Time delta constant for the tick-less mode.
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/mcuconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/mcuconf.h
index 66348b688..a9529b8cc 100644
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/mcuconf.h
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/mcuconf.h
@@ -176,6 +176,12 @@
#define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure")
/*
+ * ST driver system settings.
+ */
+#define STM32_ST_IRQ_PRIORITY 8
+#define STM32_ST_USE_TIMER 2
+
+/*
* UART driver system settings.
*/
#define STM32_UART_USE_USART1 FALSE