|
56 | 56 | application |
57 | 57 | */ |
58 | 58 |
|
59 | | -#if !defined (STM32C011xx) && !defined (STM32C031xx) && !defined (STM32C071xx) |
| 59 | +#if !defined (STM32C011xx) && !defined (STM32C031xx) \ |
| 60 | + && !defined (STM32C051xx) && !defined (STM32C071xx) \ |
| 61 | + && !defined (STM32C091xx) && !defined (STM32C092xx) |
60 | 62 | /* #define STM32C011xx */ /*!< STM32C011xx Devices */ |
61 | 63 | /* #define STM32C031xx */ /*!< STM32C031xx Devices */ |
| 64 | + /* #define STM32C051xx */ /*!< STM32C051xx Devices */ |
62 | 65 | /* #define STM32C071xx */ /*!< STM32C071xx Devices */ |
| 66 | + /* #define STM32C091xx */ /*!< STM32C091xx Devices */ |
| 67 | + /* #define STM32C092xx */ /*!< STM32C092xx Devices */ |
63 | 68 | #endif |
64 | 69 |
|
65 | 70 | /* Tip: To avoid modifying this file each time you need to switch between these |
|
78 | 83 | * @brief CMSIS Device version number V1.0.0 |
79 | 84 | */ |
80 | 85 | #define __STM32C0_CMSIS_VERSION_MAIN (0x01U) /*!< [31:24] main version */ |
81 | | -#define __STM32C0_CMSIS_VERSION_SUB1 (0x02U) /*!< [23:16] sub1 version */ |
| 86 | +#define __STM32C0_CMSIS_VERSION_SUB1 (0x03U) /*!< [23:16] sub1 version */ |
82 | 87 | #define __STM32C0_CMSIS_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */ |
83 | 88 | #define __STM32C0_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */ |
84 | 89 | #define __STM32C0_CMSIS_VERSION ((__STM32C0_CMSIS_VERSION_MAIN << 24)\ |
|
98 | 103 | #include "stm32c011xx.h" |
99 | 104 | #elif defined(STM32C031xx) |
100 | 105 | #include "stm32c031xx.h" |
| 106 | +#elif defined(STM32C051xx) |
| 107 | + #include "stm32c051xx.h" |
101 | 108 | #elif defined(STM32C071xx) |
102 | 109 | #include "stm32c071xx.h" |
| 110 | +#elif defined(STM32C091xx) |
| 111 | + #include "stm32c091xx.h" |
| 112 | +#elif defined(STM32C092xx) |
| 113 | + #include "stm32c092xx.h" |
103 | 114 | #else |
104 | 115 | #error "Please select first the target STM32C0xx device used in your application (in stm32c0xx.h file)" |
105 | 116 | #endif |
|
0 commit comments