ChibiOS/HAL STM32F4xx/F2xx hal_lld.h fixed typo, reordered file and improved documentation.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9405 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Rocco Marco Guglielmi 2016-05-03 13:47:07 +00:00
parent 359690b63c
commit e92b73c884
1 changed files with 37 additions and 39 deletions

View File

@ -26,16 +26,14 @@
* - STM32_VDD (as hundredths of Volt). * - STM32_VDD (as hundredths of Volt).
* . * .
* One of the following macros must also be defined: * One of the following macros must also be defined:
* - STM32F2XX for High-performance STM32 F-2 devices. * - STM32F2XX for High-performance STM32F2 devices.
* - STM32F405xx, STM32F415xx, STM32F407xx, STM32F417xx for * - STM32F405xx, STM32F415xx, STM32F407xx, STM32F417xx,
* High-performance STM32 F-4 devices. * STM32F446xx for High-performance STM32F4 devices of
* - STM32F427xx, STM32F437xx, STM32F429xx, STM32F439xx for * Foundation line.
* High-performance STM32 F-4 devices. * - STM32F401xC, STM32F401xE, STM32F410Cx, STM32F410Rx, STM32F411xE
* - STM32F401xC, STM32F401xE for High-performance STM32 F-4 devices. * for High-performance STM32F4 devices of Access line.
* - STM32F411xE for High-performance STM32 F-4 devices. * - STM32F427xx, STM32F437xx, STM32F429xx, STM32F439xx, STM32F469xx,
* - STM32F446xx for High-performance STM32 F-4 devices. * STM32F479xx for High-performance STM32F4 devices of Advanced line.
* * STM32F469xx, STM32F479xx for High-performance STM32 F-4 devices.
* .
* *
* @addtogroup HAL * @addtogroup HAL
* @{ * @{
@ -59,26 +57,23 @@
* @name Platform identification macros * @name Platform identification macros
* @{ * @{
*/ */
#if defined(STM32F479xx) || defined(__DOXYGEN__) #if defined(STM32F205xx) || defined(__DOXYGEN__)
#define PLATFORM_NAME "STM32F479 High Performance with DSP and FPU" #define PLATFORM_NAME "STM32F205 High Performance"
#elif defined(STM32F469xx) #elif defined(STM32F215xx)
#define PLATFORM_NAME "STM32F469 High Performance with DSP and FPU" #define PLATFORM_NAME "STM32F215 High Performance"
#elif defined(STM32F446xx) #elif defined(STM32F207xx)
#define PLATFORM_NAME "STM32F446 High Performance with DSP and FPU" #define PLATFORM_NAME "STM32F207 High Performance"
#elif defined(STM32F439xx) #elif defined(STM32F217xx)
#define PLATFORM_NAME "STM32F439 High Performance with DSP and FPU" #define PLATFORM_NAME "STM32F217 High Performance"
#elif defined(STM32F429xx) #elif defined(STM32F401xC)
#define PLATFORM_NAME "STM32F429 High Performance with DSP and FPU" #define PLATFORM_NAME "STM32F401xC High Performance with DSP and FPU"
#elif defined(STM32F437xx) #elif defined(STM32F401xE)
#define PLATFORM_NAME "STM32F437 High Performance with DSP and FPU" #define PLATFORM_NAME "STM32F401xE High Performance with DSP and FPU"
#elif defined(STM32F427xx)
#define PLATFORM_NAME "STM32F427 High Performance with DSP and FPU"
#elif defined(STM32F405xx) #elif defined(STM32F405xx)
#define PLATFORM_NAME "STM32F405 High Performance with DSP and FPU" #define PLATFORM_NAME "STM32F405 High Performance with DSP and FPU"
@ -92,12 +87,6 @@
#elif defined(STM32F417xx) #elif defined(STM32F417xx)
#define PLATFORM_NAME "STM32F417 High Performance with DSP and FPU" #define PLATFORM_NAME "STM32F417 High Performance with DSP and FPU"
#elif defined(STM32F401xC)
#define PLATFORM_NAME "STM32F401xC High Performance with DSP and FPU"
#elif defined(STM32F401xE)
#define PLATFORM_NAME "STM32F401xE High Performance with DSP and FPU"
#elif defined(STM32F410Cx) #elif defined(STM32F410Cx)
#define PLATFORM_NAME "STM32F410Cx High Performance with DSP and FPU" #define PLATFORM_NAME "STM32F410Cx High Performance with DSP and FPU"
@ -107,17 +96,26 @@
#elif defined(STM32F411xE) #elif defined(STM32F411xE)
#define PLATFORM_NAME "STM32F411xE High Performance with DSP and FPU" #define PLATFORM_NAME "STM32F411xE High Performance with DSP and FPU"
#elif defined(STM32F205xx) #elif defined(STM32F427xx)
#define PLATFORM_NAME "STM32F405 High Performance" #define PLATFORM_NAME "STM32F427 High Performance with DSP and FPU"
#elif defined(STM32F215xx) #elif defined(STM32F429xx)
#define PLATFORM_NAME "STM32F415 High Performance" #define PLATFORM_NAME "STM32F429 High Performance with DSP and FPU"
#elif defined(STM32F207xx) #elif defined(STM32F437xx)
#define PLATFORM_NAME "STM32F407 High Performance" #define PLATFORM_NAME "STM32F437 High Performance with DSP and FPU"
#elif defined(STM32F217xx) #elif defined(STM32F439xx)
#define PLATFORM_NAME "STM32F417 High Performance" #define PLATFORM_NAME "STM32F439 High Performance with DSP and FPU"
#elif defined(STM32F446xx)
#define PLATFORM_NAME "STM32F446 High Performance with DSP and FPU"
#elif defined(STM32F469xx)
#define PLATFORM_NAME "STM32F469 High Performance with DSP and FPU"
#elif defined(STM32F479xx)
#define PLATFORM_NAME "STM32F479 High Performance with DSP and FPU"
#else #else
#error "STM32F2xx/F4xx device not specified" #error "STM32F2xx/F4xx device not specified"