NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
platform_config.h
Go to the documentation of this file.
1 
28 /* Define to prevent recursive inclusion -------------------------------------*/
29 #ifndef __PLATFORM_CONFIG_H
30 #define __PLATFORM_CONFIG_H
31 
32 /* Includes ------------------------------------------------------------------*/
33 #if defined (STM32F10X_MD) || defined (STM32F10X_HD)
34 #include "stm32f10x.h"
35 #elif defined (STM32F303xC)
36 #include "stm32f30x.h"
37 #endif
38 
39 /* Exported types ------------------------------------------------------------*/
40 /* Exported constants --------------------------------------------------------*/
41 
42 /*Unique Devices IDs register set*/
43 
44 #if defined (STM32F37X) || defined(STM32F303xC)
45 
46 #define ID1 (0x1FFFF7AC)
47 #define ID2 (0x1FFFF7B0)
48 #define ID3 (0x1FFFF7B4)
49 
50 #else /*STM32F1x*/
51 
52 #define ID1 (0x1FFFF7E8)
53 #define ID2 (0x1FFFF7EC)
54 #define ID3 (0x1FFFF7F0)
55 
56 #endif
57 
58 /* Exported macro ------------------------------------------------------------*/
59 /* Exported functions ------------------------------------------------------- */
60 
61 #endif /* __PLATFORM_CONFIG_H */
62 
63 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/