aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards/ST_NUCLEO64_L152RE
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-05-01 12:03:03 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-05-01 12:03:03 +0000
commitc52251df0953e1f37555fc2f89894ff206f7ed38 (patch)
tree588a793dff5f5166e5cfaf5118830de1e4f420c6 /os/hal/boards/ST_NUCLEO64_L152RE
parent0ad84f22ce0eb75e3107bd9039c52239b2059e1a (diff)
downloadChibiOS-c52251df0953e1f37555fc2f89894ff206f7ed38.tar.gz
ChibiOS-c52251df0953e1f37555fc2f89894ff206f7ed38.tar.bz2
ChibiOS-c52251df0953e1f37555fc2f89894ff206f7ed38.zip
Improved Nucleo64 board files
Added board files for 4 more Nucleo64 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9398 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/boards/ST_NUCLEO64_L152RE')
-rw-r--r--os/hal/boards/ST_NUCLEO64_L152RE/board.h3
-rw-r--r--os/hal/boards/ST_NUCLEO64_L152RE/board.mk4
-rw-r--r--os/hal/boards/ST_NUCLEO64_L152RE/cfg/board.chcfg2
3 files changed, 4 insertions, 5 deletions
diff --git a/os/hal/boards/ST_NUCLEO64_L152RE/board.h b/os/hal/boards/ST_NUCLEO64_L152RE/board.h
index 896dc7e98..31b9a648c 100644
--- a/os/hal/boards/ST_NUCLEO64_L152RE/board.h
+++ b/os/hal/boards/ST_NUCLEO64_L152RE/board.h
@@ -29,14 +29,13 @@
/*
* Board oscillators-related settings.
- * NOTE: HSE not fitted.
*/
#if !defined(STM32_LSECLK)
#define STM32_LSECLK 32768U
#endif
#if !defined(STM32_HSECLK)
-#define STM32_HSECLK 0U
+#define STM32_HSECLK 8000000U
#endif
#define STM32_HSE_BYPASS
diff --git a/os/hal/boards/ST_NUCLEO64_L152RE/board.mk b/os/hal/boards/ST_NUCLEO64_L152RE/board.mk
index 5dd01cb4d..aa4cf352f 100644
--- a/os/hal/boards/ST_NUCLEO64_L152RE/board.mk
+++ b/os/hal/boards/ST_NUCLEO64_L152RE/board.mk
@@ -1,5 +1,5 @@
# List of all the board related files.
-BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_L152RE/board.c
+BOARDSRC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO64_L152RE/board.c
# Required include directories
-BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_L152RE
+BOARDINC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO64_L152RE
diff --git a/os/hal/boards/ST_NUCLEO64_L152RE/cfg/board.chcfg b/os/hal/boards/ST_NUCLEO64_L152RE/cfg/board.chcfg
index ed7a2405e..45e2e1668 100644
--- a/os/hal/boards/ST_NUCLEO64_L152RE/cfg/board.chcfg
+++ b/os/hal/boards/ST_NUCLEO64_L152RE/cfg/board.chcfg
@@ -13,7 +13,7 @@
<board_functions></board_functions>
<subtype>STM32L152xE</subtype>
<clocks
- HSEFrequency="0"
+ HSEFrequency="8000000"
HSEBypass="true"
LSEFrequency="32768"
LSEBypass="false"