[FLYWOOF411] add board documentation
[inav/snaewe.git] / src / main / vcp / platform_config.h
blob6c0bf81115ab81749265c27708f44306bd2d9916
1 /**
2 ******************************************************************************
3 * @file platform_config.h
4 * @author MCD Application Team
5 * @version V4.0.0
6 * @date 21-January-2013
7 * @brief Evaluation board specific configuration file.
8 ******************************************************************************
9 * @attention
11 * <h2><center>&copy; COPYRIGHT 2013 STMicroelectronics</center></h2>
13 * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
14 * You may not use this file except in compliance with the License.
15 * You may obtain a copy of the License at:
17 * http://www.st.com/software_license_agreement_liberty_v2
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an "AS IS" BASIS,
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
25 ******************************************************************************
28 /* Define to prevent recursive inclusion -------------------------------------*/
29 #ifndef __PLATFORM_CONFIG_H
30 #define __PLATFORM_CONFIG_H
32 /* Includes ------------------------------------------------------------------*/
33 #if defined (STM32F303xC)
34 #include "stm32f30x.h"
35 #endif
37 /* Exported types ------------------------------------------------------------*/
38 /* Exported constants --------------------------------------------------------*/
40 /*Unique Devices IDs register set*/
42 #if defined (STM32F37X) || defined(STM32F303xC)
44 #define ID1 (0x1FFFF7AC)
45 #define ID2 (0x1FFFF7B0)
46 #define ID3 (0x1FFFF7B4)
48 #else /*STM32F1x*/
50 #define ID1 (0x1FFFF7E8)
51 #define ID2 (0x1FFFF7EC)
52 #define ID3 (0x1FFFF7F0)
54 #endif
56 /* Exported macro ------------------------------------------------------------*/
57 /* Exported functions ------------------------------------------------------- */
59 #endif /* __PLATFORM_CONFIG_H */
61 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/