|
53 | 53 | #define STM32F0 |
54 | 54 | #endif /* STM32F0 */ |
55 | 55 |
|
56 | | -/* Uncomment the line below according to the target STM32 device used in your |
57 | | - application |
| 56 | +/** Uncomment the line below according to the target STM32 device used in your application. |
| 57 | + * stm32f0xxxx.h file contains: |
| 58 | + * - All the peripheral register's definitions, bits definitions and memory mapping for STM32F0xxxx devices |
| 59 | + * - IRQ channel definition |
| 60 | + * - Peripheral memory mapping and physical registers address definition |
| 61 | + * - Peripheral pointer declaration and driver header file inclusion |
| 62 | + * - Product miscellaneous configuration: assert macros… |
| 63 | + * Note: These CMSIS drivers (stm32f0xxxx.h) are always supporting features of the sub-family’s superset. |
58 | 64 | */ |
59 | 65 |
|
60 | 66 | #if !defined (STM32F030x6) && !defined (STM32F030x8) && \ |
|
68 | 74 | /* #define STM32F031x6 */ /*!< STM32F031x4, STM32F031x6 Devices (STM32F031xx microcontrollers where the Flash memory ranges between 16 and 32 Kbytes) */ |
69 | 75 | /* #define STM32F038xx */ /*!< STM32F038xx Devices (STM32F038xx microcontrollers where the Flash memory is 32 Kbytes) */ |
70 | 76 | /* #define STM32F042x6 */ /*!< STM32F042x4, STM32F042x6 Devices (STM32F042xx microcontrollers where the Flash memory ranges between 16 and 32 Kbytes) */ |
71 | | - /* #define STM32F048x6 */ /*!< STM32F048xx Devices (STM32F042xx microcontrollers where the Flash memory is 32 Kbytes) */ |
| 77 | + /* #define STM32F048xx */ /*!< STM32F048xx Devices (STM32F048xx microcontrollers where the Flash memory is 32 Kbytes) */ |
72 | 78 | /* #define STM32F051x8 */ /*!< STM32F051x4, STM32F051x6, STM32F051x8 Devices (STM32F051xx microcontrollers where the Flash memory ranges between 16 and 64 Kbytes) */ |
73 | 79 | /* #define STM32F058xx */ /*!< STM32F058xx Devices (STM32F058xx microcontrollers where the Flash memory is 64 Kbytes) */ |
74 | 80 | /* #define STM32F070x6 */ /*!< STM32F070x6 Devices (STM32F070x6 microcontrollers where the Flash memory ranges between 16 and 32 Kbytes) */ |
|
80 | 86 | /* #define STM32F091xC */ /*!< STM32F091xB, STM32F091xC Devices (STM32F091xx microcontrollers where the Flash memory ranges between 128 and 256 Kbytes) */ |
81 | 87 | /* #define STM32F098xx */ /*!< STM32F098xx Devices (STM32F098xx microcontrollers where the Flash memory is 256 Kbytes) */ |
82 | 88 | #endif |
83 | | - |
| 89 | +/* Legacy aliases */ |
| 90 | +#if defined (STM32F048x6) |
| 91 | + #define STM32F048xx |
| 92 | +#endif /* STM32F048x6 */ |
| 93 | + |
84 | 94 | /* Tip: To avoid modifying this file each time you need to switch between these |
85 | 95 | devices, you can define the device in your toolchain compiler preprocessor. |
86 | 96 | */ |
|
94 | 104 | #endif /* USE_HAL_DRIVER */ |
95 | 105 |
|
96 | 106 | /** |
97 | | - * @brief CMSIS Device version number V2.3.4 |
| 107 | + * @brief CMSIS Device version number V2.3.5 |
98 | 108 | */ |
99 | 109 | #define __STM32F0_DEVICE_VERSION_MAIN (0x02) /*!< [31:24] main version */ |
100 | 110 | #define __STM32F0_DEVICE_VERSION_SUB1 (0x03) /*!< [23:16] sub1 version */ |
101 | | -#define __STM32F0_DEVICE_VERSION_SUB2 (0x04) /*!< [15:8] sub2 version */ |
| 111 | +#define __STM32F0_DEVICE_VERSION_SUB2 (0x05) /*!< [15:8] sub2 version */ |
102 | 112 | #define __STM32F0_DEVICE_VERSION_RC (0x00) /*!< [7:0] release candidate */ |
103 | 113 | #define __STM32F0_DEVICE_VERSION ((__STM32F0_DEVICE_VERSION_MAIN << 24)\ |
104 | 114 | |(__STM32F0_DEVICE_VERSION_SUB1 << 16)\ |
|
0 commit comments