From 232ae706e91fb0113591dab7116965c7c2b09351 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 12 Sep 2013 13:33:12 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6295 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/nil/NIL-STM32F051-DISCOVERY/mcuconf.h | 1 + demos/nil/NIL-STM32F303-DISCOVERY/mcuconf.h | 1 + demos/nil/NIL-STM32F373-STM32373C_EVAL/mcuconf.h | 6 ++++++ demos/nil/NIL-STM32L152-DISCOVERY/mcuconf.h | 6 ++++++ demos/rt/RT-STM32F051-DISCOVERY/mcuconf.h | 1 + demos/rt/RT-STM32F303-DISCOVERY/mcuconf.h | 1 + demos/rt/RT-STM32F407-DISCOVERY-MEMS/mcuconf.h | 6 ++++++ demos/rt/RT-STM32F407-DISCOVERY/mcuconf.h | 6 ++++++ 8 files changed, 28 insertions(+) (limited to 'demos') diff --git a/demos/nil/NIL-STM32F051-DISCOVERY/mcuconf.h b/demos/nil/NIL-STM32F051-DISCOVERY/mcuconf.h index fdcd8a2a4..98c62521c 100644 --- a/demos/nil/NIL-STM32F051-DISCOVERY/mcuconf.h +++ b/demos/nil/NIL-STM32F051-DISCOVERY/mcuconf.h @@ -140,6 +140,7 @@ * ST driver system settings. */ #define STM32_ST_IRQ_PRIORITY 2 +#define STM32_ST_USE_TIMER 2 /* * UART driver system settings. diff --git a/demos/nil/NIL-STM32F303-DISCOVERY/mcuconf.h b/demos/nil/NIL-STM32F303-DISCOVERY/mcuconf.h index cb30c7241..df3ca72b9 100644 --- a/demos/nil/NIL-STM32F303-DISCOVERY/mcuconf.h +++ b/demos/nil/NIL-STM32F303-DISCOVERY/mcuconf.h @@ -194,6 +194,7 @@ * ST driver system settings. */ #define STM32_ST_IRQ_PRIORITY 8 +#define STM32_ST_USE_TIMER 2 /* * UART driver system settings. diff --git a/demos/nil/NIL-STM32F373-STM32373C_EVAL/mcuconf.h b/demos/nil/NIL-STM32F373-STM32373C_EVAL/mcuconf.h index 2dd58d1a9..272ee34b7 100644 --- a/demos/nil/NIL-STM32F373-STM32373C_EVAL/mcuconf.h +++ b/demos/nil/NIL-STM32F373-STM32373C_EVAL/mcuconf.h @@ -186,6 +186,12 @@ #define STM32_SPI_SPI3_IRQ_PRIORITY 10 #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. */ diff --git a/demos/nil/NIL-STM32L152-DISCOVERY/mcuconf.h b/demos/nil/NIL-STM32L152-DISCOVERY/mcuconf.h index 01cd9ee48..7efe82f94 100644 --- a/demos/nil/NIL-STM32L152-DISCOVERY/mcuconf.h +++ b/demos/nil/NIL-STM32L152-DISCOVERY/mcuconf.h @@ -147,6 +147,12 @@ #define STM32_SPI_SPI2_IRQ_PRIORITY 10 #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. */ diff --git a/demos/rt/RT-STM32F051-DISCOVERY/mcuconf.h b/demos/rt/RT-STM32F051-DISCOVERY/mcuconf.h index fdcd8a2a4..98c62521c 100644 --- a/demos/rt/RT-STM32F051-DISCOVERY/mcuconf.h +++ b/demos/rt/RT-STM32F051-DISCOVERY/mcuconf.h @@ -140,6 +140,7 @@ * ST driver system settings. */ #define STM32_ST_IRQ_PRIORITY 2 +#define STM32_ST_USE_TIMER 2 /* * UART driver system settings. diff --git a/demos/rt/RT-STM32F303-DISCOVERY/mcuconf.h b/demos/rt/RT-STM32F303-DISCOVERY/mcuconf.h index cb30c7241..df3ca72b9 100644 --- a/demos/rt/RT-STM32F303-DISCOVERY/mcuconf.h +++ b/demos/rt/RT-STM32F303-DISCOVERY/mcuconf.h @@ -194,6 +194,7 @@ * ST driver system settings. */ #define STM32_ST_IRQ_PRIORITY 8 +#define STM32_ST_USE_TIMER 2 /* * UART driver system settings. diff --git a/demos/rt/RT-STM32F407-DISCOVERY-MEMS/mcuconf.h b/demos/rt/RT-STM32F407-DISCOVERY-MEMS/mcuconf.h index 838e3298b..1ada2776c 100644 --- a/demos/rt/RT-STM32F407-DISCOVERY-MEMS/mcuconf.h +++ b/demos/rt/RT-STM32F407-DISCOVERY-MEMS/mcuconf.h @@ -238,6 +238,12 @@ #define STM32_SPI_SPI3_IRQ_PRIORITY 10 #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. */ diff --git a/demos/rt/RT-STM32F407-DISCOVERY/mcuconf.h b/demos/rt/RT-STM32F407-DISCOVERY/mcuconf.h index 4ea0f59cf..1b7e1261e 100644 --- a/demos/rt/RT-STM32F407-DISCOVERY/mcuconf.h +++ b/demos/rt/RT-STM32F407-DISCOVERY/mcuconf.h @@ -238,6 +238,12 @@ #define STM32_SPI_SPI3_IRQ_PRIORITY 10 #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. */ -- cgit v1.2.3