aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards/ST_STM32F746G_DISCOVERY
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-08-02 10:33:23 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-08-02 10:33:23 +0000
commit4d7be5bf04f6784d92e3f9a9e389cd4dde3e237f (patch)
tree88febc245bfcadf40a61f61ffeab5ee8ed9705c6 /os/hal/boards/ST_STM32F746G_DISCOVERY
parent0aee8c6229dbb72fcc40dda09f15823550d336fa (diff)
downloadChibiOS-4d7be5bf04f6784d92e3f9a9e389cd4dde3e237f.tar.gz
ChibiOS-4d7be5bf04f6784d92e3f9a9e389cd4dde3e237f.tar.bz2
ChibiOS-4d7be5bf04f6784d92e3f9a9e389cd4dde3e237f.zip
STM32F7xx clock tree and initialization done.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8144 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/boards/ST_STM32F746G_DISCOVERY')
-rw-r--r--os/hal/boards/ST_STM32F746G_DISCOVERY/board.h6
-rw-r--r--os/hal/boards/ST_STM32F746G_DISCOVERY/board.mk4
2 files changed, 6 insertions, 4 deletions
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