diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-08-06 09:21:52 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-08-06 09:21:52 +0000 |
commit | 3814399a1a06326128db62ea521e0ce4eb3e79da (patch) | |
tree | 4f3900353513593ee26acc739182524f392a1b61 /os/hal/boards | |
parent | adb186c90adbf6ae1fc37bbc68673943286715bf (diff) | |
download | ChibiOS-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')
-rw-r--r-- | os/hal/boards/ST_NUCLEO_L152RE/board.h | 3 | ||||
-rw-r--r-- | os/hal/boards/ST_NUCLEO_L152RE/cfg/board.chcfg | 2 | ||||
-rw-r--r-- | os/hal/boards/ST_STM32L_DISCOVERY/board.h | 3 | ||||
-rw-r--r-- | os/hal/boards/ST_STM32L_DISCOVERY/cfg/board.chcfg | 2 |
4 files changed, 4 insertions, 6 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" diff --git a/os/hal/boards/ST_STM32L_DISCOVERY/board.h b/os/hal/boards/ST_STM32L_DISCOVERY/board.h index 9bd47bee6..ccad0145c 100644 --- a/os/hal/boards/ST_STM32L_DISCOVERY/board.h +++ b/os/hal/boards/ST_STM32L_DISCOVERY/board.h @@ -27,7 +27,6 @@ #define BOARD_ST_STM32L_DISCOVERY
#define BOARD_NAME "ST STM32L-Discovery"
-
/*
* 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 STM32L152xB
/*
* IO pins assignments.
diff --git a/os/hal/boards/ST_STM32L_DISCOVERY/cfg/board.chcfg b/os/hal/boards/ST_STM32L_DISCOVERY/cfg/board.chcfg index 6b7e01085..1e6440077 100644 --- a/os/hal/boards/ST_STM32L_DISCOVERY/cfg/board.chcfg +++ b/os/hal/boards/ST_STM32L_DISCOVERY/cfg/board.chcfg @@ -11,7 +11,7 @@ <board_name>ST STM32L-Discovery</board_name> <board_id>ST_STM32L_DISCOVERY</board_id> <board_functions></board_functions> - <subtype>STM32L1XX_MD</subtype> + <subtype>STM32L152xB</subtype> <clocks HSEFrequency="0" HSEBypass="true" |