From 7ab0cff418bf49fcf1671dd72667b81a85c1ac37 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 14 Nov 2010 13:29:09 +0000 Subject: Improved STM32 HAL support. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2363 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- boards/OLIMEX_STM32_H103/board.h | 5 ++--- boards/OLIMEX_STM32_P103/board.h | 5 ++--- boards/ST_STM3210C_EVAL/board.h | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) (limited to 'boards') diff --git a/boards/OLIMEX_STM32_H103/board.h b/boards/OLIMEX_STM32_H103/board.h index 8010d415d..d0e42fbd9 100644 --- a/boards/OLIMEX_STM32_H103/board.h +++ b/boards/OLIMEX_STM32_H103/board.h @@ -37,10 +37,9 @@ #define STM32_HSECLK 8000000 /* - * MCU type, this macro is used by both the ST library and the ChibiOS/RT - * native STM32 HAL. + * MCU type, supported types are defined in ./os/hal/platforms/hal_lld.h. */ -#define STM32F10X_MD +#define STM32F103xB /* * IO pins assignments. diff --git a/boards/OLIMEX_STM32_P103/board.h b/boards/OLIMEX_STM32_P103/board.h index 31fa3419c..3ee715373 100644 --- a/boards/OLIMEX_STM32_P103/board.h +++ b/boards/OLIMEX_STM32_P103/board.h @@ -37,10 +37,9 @@ #define STM32_HSECLK 8000000 /* - * MCU type, this macro is used by both the ST library and the ChibiOS/RT - * native STM32 HAL. + * MCU type, supported types are defined in ./os/hal/platforms/hal_lld.h. */ -#define STM32F10X_MD +#define STM32F103xB /* * IO pins assignments. diff --git a/boards/ST_STM3210C_EVAL/board.h b/boards/ST_STM3210C_EVAL/board.h index 9117aa52d..8c382a8b8 100644 --- a/boards/ST_STM3210C_EVAL/board.h +++ b/boards/ST_STM3210C_EVAL/board.h @@ -37,10 +37,9 @@ #define STM32_HSECLK 25000000 /* - * MCU type, this macro is used by both the ST library and the ChibiOS/RT - * native STM32 HAL. + * MCU type, supported types are defined in ./os/hal/platforms/hal_lld.h. */ -#define STM32F10X_CL +#define STM32F107xC /* * IO pins assignments. -- cgit v1.2.3