diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-05-01 12:03:03 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-05-01 12:03:03 +0000 |
commit | c52251df0953e1f37555fc2f89894ff206f7ed38 (patch) | |
tree | 588a793dff5f5166e5cfaf5118830de1e4f420c6 /os/hal/boards/ST_NUCLEO64_L476RG | |
parent | 0ad84f22ce0eb75e3107bd9039c52239b2059e1a (diff) | |
download | ChibiOS-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_L476RG')
-rw-r--r-- | os/hal/boards/ST_NUCLEO64_L476RG/board.h | 5 | ||||
-rw-r--r-- | os/hal/boards/ST_NUCLEO64_L476RG/board.mk | 4 | ||||
-rw-r--r-- | os/hal/boards/ST_NUCLEO64_L476RG/cfg/board.chcfg | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/os/hal/boards/ST_NUCLEO64_L476RG/board.h b/os/hal/boards/ST_NUCLEO64_L476RG/board.h index fd53a7c7d..ac65bd974 100644 --- a/os/hal/boards/ST_NUCLEO64_L476RG/board.h +++ b/os/hal/boards/ST_NUCLEO64_L476RG/board.h @@ -29,7 +29,6 @@ /*
* Board oscillators-related settings.
- * NOTE: HSE not fitted.
*/
#if !defined(STM32_LSECLK)
#define STM32_LSECLK 32768U
@@ -38,9 +37,11 @@ #define STM32_LSEDRV (3U << 3U)
#if !defined(STM32_HSECLK)
-#define STM32_HSECLK 0U
+#define STM32_HSECLK 8000000U
#endif
+#define STM32_HSE_BYPASS
+
/*
* Board voltages.
* Required for performance limits calculation.
diff --git a/os/hal/boards/ST_NUCLEO64_L476RG/board.mk b/os/hal/boards/ST_NUCLEO64_L476RG/board.mk index 9be94d004..9ae9fec38 100644 --- a/os/hal/boards/ST_NUCLEO64_L476RG/board.mk +++ b/os/hal/boards/ST_NUCLEO64_L476RG/board.mk @@ -1,5 +1,5 @@ # List of all the board related files.
-BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_L476RG/board.c
+BOARDSRC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO64_L476RG/board.c
# Required include directories
-BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_L476RG
+BOARDINC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO64_L476RG
diff --git a/os/hal/boards/ST_NUCLEO64_L476RG/cfg/board.chcfg b/os/hal/boards/ST_NUCLEO64_L476RG/cfg/board.chcfg index df81d3703..64b5c630d 100644 --- a/os/hal/boards/ST_NUCLEO64_L476RG/cfg/board.chcfg +++ b/os/hal/boards/ST_NUCLEO64_L476RG/cfg/board.chcfg @@ -13,8 +13,8 @@ <board_functions></board_functions> <subtype>STM32L476xx</subtype> <clocks - HSEFrequency="0" - HSEBypass="false" + HSEFrequency="8000000" + HSEBypass="true" LSEFrequency="32768" LSEBypass="false" LSEDrive="3 High Drive (default)" |