Fixed bug #952.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12057 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
d8ede4fbf0
commit
ed72edd29f
|
@ -46,12 +46,16 @@
|
||||||
/* If the device type is not externally defined, for example from the Makefile,
|
/* If the device type is not externally defined, for example from the Makefile,
|
||||||
then a file named board.h is included. This file must contain a device
|
then a file named board.h is included. This file must contain a device
|
||||||
definition compatible with the vendor include file.*/
|
definition compatible with the vendor include file.*/
|
||||||
#if !defined (STM32F030x6) && !defined (STM32F030x8) && \
|
#if !defined (STM32F030x4) && !defined (STM32F030x6) && \
|
||||||
!defined (STM32F031x6) && !defined (STM32F038xx) && \
|
!defined (STM32F030x8) && !defined (STM32F030xC) && \
|
||||||
!defined (STM32F042x6) && !defined (STM32F048xx) && \
|
!defined (STM32F070x6) && !defined (STM32F070xB) && \
|
||||||
!defined (STM32F051x8) && !defined (STM32F058xx) && \
|
!defined (STM32F031x6) && !defined (STM32F051x8) && \
|
||||||
!defined (STM32F071xB) && !defined (STM32F072xB) && \
|
!defined (STM32F071xB) && !defined (STM32F091xC) && \
|
||||||
!defined (STM32F078xx)
|
!defined (STM32F042x6) && !defined (STM32F072xB) && \
|
||||||
|
!defined (STM32F038xx) && !defined (STM32F048xx) && \
|
||||||
|
!defined (STM32F058xx) && !defined (STM32F078xx) && \
|
||||||
|
!defined (STM32F098xx) \
|
||||||
|
|
||||||
#include "board.h"
|
#include "board.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@
|
||||||
* - STM32_HSE_BYPASS (optionally).
|
* - STM32_HSE_BYPASS (optionally).
|
||||||
* .
|
* .
|
||||||
* One of the following macros must also be defined:
|
* One of the following macros must also be defined:
|
||||||
* - STM32F030x6, STM32F030x8, STM32F030xC, STM32F070x6,
|
* - STM32F030x4, STM32F030x6, STM32F030x8, STM32F030xC,
|
||||||
* STM32F070xB for Value Line devices.
|
* STM32F070x6, STM32F070xB for Value Line devices.
|
||||||
* - STM32F031x6, STM32F051x8, STM32F071xB, STM32F091xC
|
* - STM32F031x6, STM32F051x8, STM32F071xB, STM32F091xC
|
||||||
* for Access Line devices.
|
* for Access Line devices.
|
||||||
* - STM32F042x6, STM32F072xB for USB Line devices.
|
* - STM32F042x6, STM32F072xB for USB Line devices.
|
||||||
|
@ -55,7 +55,10 @@
|
||||||
* @name Platform identification macros
|
* @name Platform identification macros
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
#if defined(STM32F030x6) || defined(__DOXYGEN__)
|
#if defined(STM32F030x4) || defined(__DOXYGEN__)
|
||||||
|
#define PLATFORM_NAME "STM32F030x4 Entry Level Value Line devices"
|
||||||
|
|
||||||
|
#elif defined(STM32F030x6)
|
||||||
#define PLATFORM_NAME "STM32F030x6 Entry Level Value Line devices"
|
#define PLATFORM_NAME "STM32F030x6 Entry Level Value Line devices"
|
||||||
|
|
||||||
#elif defined(STM32F030x8)
|
#elif defined(STM32F030x8)
|
||||||
|
|
|
@ -121,8 +121,13 @@
|
||||||
/* GPIO attributes.*/
|
/* GPIO attributes.*/
|
||||||
#define STM32_HAS_GPIOA TRUE
|
#define STM32_HAS_GPIOA TRUE
|
||||||
#define STM32_HAS_GPIOB TRUE
|
#define STM32_HAS_GPIOB TRUE
|
||||||
|
#if !defined(STM32F030x4)
|
||||||
#define STM32_HAS_GPIOC TRUE
|
#define STM32_HAS_GPIOC TRUE
|
||||||
#define STM32_HAS_GPIOD TRUE
|
#define STM32_HAS_GPIOD TRUE
|
||||||
|
#else
|
||||||
|
#define STM32_HAS_GPIOC FALSE
|
||||||
|
#define STM32_HAS_GPIOD FALSE
|
||||||
|
#endif
|
||||||
#define STM32_HAS_GPIOE FALSE
|
#define STM32_HAS_GPIOE FALSE
|
||||||
#define STM32_HAS_GPIOF TRUE
|
#define STM32_HAS_GPIOF TRUE
|
||||||
#define STM32_HAS_GPIOG FALSE
|
#define STM32_HAS_GPIOG FALSE
|
||||||
|
|
|
@ -126,6 +126,8 @@
|
||||||
- EX: Updated LIS302DL to 1.1.0 (backported to 18.2.1).
|
- EX: Updated LIS302DL to 1.1.0 (backported to 18.2.1).
|
||||||
- EX: Updated LPS25H to 1.1.0 (backported to 18.2.1).
|
- EX: Updated LPS25H to 1.1.0 (backported to 18.2.1).
|
||||||
- EX: Updated LSM303DLHC to 1.1.0 (backported to 18.2.1).
|
- EX: Updated LSM303DLHC to 1.1.0 (backported to 18.2.1).
|
||||||
|
- HAL: Fixed wrong registry entries for STM32F030x4 (bug #952)(backported
|
||||||
|
to 18.2.2).
|
||||||
- HAL: Fixed Invalid divider settings in Serial and UART STM32 drivers
|
- HAL: Fixed Invalid divider settings in Serial and UART STM32 drivers
|
||||||
when USART_CR1_OVER8 is specified (bug #951)(backported to 18.2.2
|
when USART_CR1_OVER8 is specified (bug #951)(backported to 18.2.2
|
||||||
and 17.6.5).
|
and 17.6.5).
|
||||||
|
|
Loading…
Reference in New Issue