From 4d7be5bf04f6784d92e3f9a9e389cd4dde3e237f Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 2 Aug 2015 10:33:23 +0000 Subject: STM32F7xx clock tree and initialization done. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8144 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/boards/ST_STM32F746G_DISCOVERY/board.h | 6 ++++-- os/hal/boards/ST_STM32F746G_DISCOVERY/board.mk | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'os/hal/boards/ST_STM32F746G_DISCOVERY') diff --git a/os/hal/boards/ST_STM32F746G_DISCOVERY/board.h b/os/hal/boards/ST_STM32F746G_DISCOVERY/board.h index 61a388d9d..65e1af549 100644 --- a/os/hal/boards/ST_STM32F746G_DISCOVERY/board.h +++ b/os/hal/boards/ST_STM32F746G_DISCOVERY/board.h @@ -33,13 +33,15 @@ * NOTE: LSE not fitted. */ #if !defined(STM32_LSECLK) -#define STM32_LSECLK 0U +#define STM32_LSECLK 32768U #endif #if !defined(STM32_HSECLK) -#define STM32_HSECLK 8000000U +#define STM32_HSECLK 25000000U #endif +#define STM32_HSE_BYPASS + /* * Board voltages. * Required for performance limits calculation. diff --git a/os/hal/boards/ST_STM32F746G_DISCOVERY/board.mk b/os/hal/boards/ST_STM32F746G_DISCOVERY/board.mk index a7cfca40d..6dc8339d9 100644 --- a/os/hal/boards/ST_STM32F746G_DISCOVERY/board.mk +++ b/os/hal/boards/ST_STM32F746G_DISCOVERY/board.mk @@ -1,5 +1,5 @@ # List of all the board related files. -BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32F476G_DISCOVERY/board.c +BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32F746G_DISCOVERY/board.c # Required include directories -BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32F476G_DISCOVERY +BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32F746G_DISCOVERY -- cgit v1.2.3