aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32F37x/hal_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-08 09:43:37 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-08 09:43:37 +0000
commit37d2197df1c9a4501e1d3a567274ea99fa7304e7 (patch)
treed57a04d984dc887fc5e9ec78ceb64de5e06593cc /os/hal/ports/STM32F37x/hal_lld.c
parent5ba0abd185b6f880d925042179947fe0728f5af7 (diff)
downloadChibiOS-37d2197df1c9a4501e1d3a567274ea99fa7304e7.tar.gz
ChibiOS-37d2197df1c9a4501e1d3a567274ea99fa7304e7.tar.bz2
ChibiOS-37d2197df1c9a4501e1d3a567274ea99fa7304e7.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6276 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32F37x/hal_lld.c')
-rw-r--r--os/hal/ports/STM32F37x/hal_lld.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/os/hal/ports/STM32F37x/hal_lld.c b/os/hal/ports/STM32F37x/hal_lld.c
index a47ab59fc..6234137b0 100644
--- a/os/hal/ports/STM32F37x/hal_lld.c
+++ b/os/hal/ports/STM32F37x/hal_lld.c
@@ -22,7 +22,6 @@
* @{
*/
-#include "ch.h"
#include "hal.h"
/*===========================================================================*/
@@ -103,17 +102,6 @@ void hal_lld_init(void) {
rccResetAPB1(0xFFFFFFFF);
rccResetAPB2(0xFFFFFFFF);
- /* SysTick initialization using the system clock.*/
- SysTick->LOAD = STM32_HCLK / CH_FREQUENCY - 1;
- SysTick->VAL = 0;
- SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
- SysTick_CTRL_ENABLE_Msk |
- SysTick_CTRL_TICKINT_Msk;
-
- /* DWT cycle counter enable.*/
- SCS_DEMCR |= SCS_DEMCR_TRCENA;
- DWT_CTRL |= DWT_CTRL_CYCCNTENA;
-
/* PWR clock enabled.*/
rccEnablePWRInterface(FALSE);