git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6343 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2013-10-01 15:35:45 +00:00
parent 96edef9ffa
commit cc4086a86c
1 changed files with 8 additions and 1 deletions

View File

@ -54,7 +54,7 @@
*/
#if defined(STM32F40XX) || defined(__DOXYGEN__)
#define PLATFORM_NAME "STM32F40x/STM32F41x High Performance"
#if defined(STM32F42XX)
#elif defined(STM32F42XX)
#define PLATFORM_NAME "STM32F42x/STM32F43x High Performance"
#else /* !defined(STM32F40XX) */
#define PLATFORM_NAME "STM32F2xx High Performance"
@ -567,6 +567,13 @@
/* Derived constants and error checks. */
/*===========================================================================*/
/*
* MCU variant check.
*/
#if defined(STM32F42XX)
#error "unsupported STM32F4XX variant"
#endif
#if defined(STM32F40XX) || defined(__DOXYGEN__)
/*
* Configuration-related checks.