aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards/ST_NUCLEO_L152RE
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-08-06 09:21:52 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-08-06 09:21:52 +0000
commit3814399a1a06326128db62ea521e0ce4eb3e79da (patch)
tree4f3900353513593ee26acc739182524f392a1b61 /os/hal/boards/ST_NUCLEO_L152RE
parentadb186c90adbf6ae1fc37bbc68673943286715bf (diff)
downloadChibiOS-3814399a1a06326128db62ea521e0ce4eb3e79da.tar.gz
ChibiOS-3814399a1a06326128db62ea521e0ce4eb3e79da.tar.bz2
ChibiOS-3814399a1a06326128db62ea521e0ce4eb3e79da.zip
Updated STM32L1xx ST header files and related changes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8166 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/boards/ST_NUCLEO_L152RE')
-rw-r--r--os/hal/boards/ST_NUCLEO_L152RE/board.h3
-rw-r--r--os/hal/boards/ST_NUCLEO_L152RE/cfg/board.chcfg2
2 files changed, 2 insertions, 3 deletions
diff --git a/os/hal/boards/ST_NUCLEO_L152RE/board.h b/os/hal/boards/ST_NUCLEO_L152RE/board.h
index 776b88863..c06ac69f5 100644
--- a/os/hal/boards/ST_NUCLEO_L152RE/board.h
+++ b/os/hal/boards/ST_NUCLEO_L152RE/board.h
@@ -27,7 +27,6 @@
#define BOARD_ST_NUCLEO_L152RE
#define BOARD_NAME "STMicroelectronics NUCLEO-L152RE"
-
/*
* Board oscillators-related settings.
* NOTE: HSE not fitted.
@@ -45,7 +44,7 @@
/*
* MCU type as defined in the ST header file stm32l1xx.h.
*/
-#define STM32L1XX_MD
+#define STM32L152xE
/*
* IO pins assignments.
diff --git a/os/hal/boards/ST_NUCLEO_L152RE/cfg/board.chcfg b/os/hal/boards/ST_NUCLEO_L152RE/cfg/board.chcfg
index 9d3aa869c..0e34e62b2 100644
--- a/os/hal/boards/ST_NUCLEO_L152RE/cfg/board.chcfg
+++ b/os/hal/boards/ST_NUCLEO_L152RE/cfg/board.chcfg
@@ -11,7 +11,7 @@
<board_name>STMicroelectronics NUCLEO-L152RE</board_name>
<board_id>ST_NUCLEO_L152RE</board_id>
<board_functions></board_functions>
- <subtype>STM32L1XX_HD</subtype>
+ <subtype>STM32L152xE</subtype>
<clocks
HSEFrequency="0"
HSEBypass="true"