aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-05-13 14:02:17 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-05-13 14:02:17 +0000
commitfee72530476c5b9eed43fde792df9de367d56800 (patch)
tree7810baf463236a99df3ad14945314e0403159582 /testhal
parent9ef8c0dee14cdc80146db7e8fe039e813275ca95 (diff)
downloadChibiOS-fee72530476c5b9eed43fde792df9de367d56800.tar.gz
ChibiOS-fee72530476c5b9eed43fde792df9de367d56800.tar.bz2
ChibiOS-fee72530476c5b9eed43fde792df9de367d56800.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1915 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
-rw-r--r--testhal/STM32/mcuconf.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/testhal/STM32/mcuconf.h b/testhal/STM32/mcuconf.h
index ed863801d..511460ac4 100644
--- a/testhal/STM32/mcuconf.h
+++ b/testhal/STM32/mcuconf.h
@@ -25,11 +25,7 @@
* is enabled in halconf.h.
*
* IRQ priorities:
- * 15 Lowest, priority level reserved for PENDSV.
- * 14...4 Normal IRQs priority levels (0x80 used by SYSTICK).
- * 3 Used by SVCALL, do not share.
- * 2...0 Fast interrupts, can preempt the kernel but cannot use it
- * directly.
+ * 15...0 Lowest...Highest.
*
* DMA priorities:
* 0...3 Lowest...Highest.
@@ -41,7 +37,11 @@
#define STM32_SW STM32_SW_PLL
#define STM32_PLLSRC STM32_PLLSRC_HSE
#define STM32_PLLXTPRE STM32_PLLXTPRE_DIV1
-#define STM32_PLLCLKOUT 72000000
+#define STM32_PLLMUL_VALUE 9
+#define STM32_HPRE STM32_HPRE_DIV1
+#define STM32_PPRE1 STM32_PPRE1_DIV2
+#define STM32_PPRE2 STM32_PPRE2_DIV2
+#define STM32_ADCPRE STM32_ADCPRE_DIV4
/*
* ADC driver system settings.