|
16 | 16 | ******************************************************************************
|
17 | 17 | * @attention
|
18 | 18 | *
|
19 |
| - * Copyright (c) 2020(-2021) STMicroelectronics. |
| 19 | + * Copyright (c) 2020-2021 STMicroelectronics. |
20 | 20 | * All rights reserved.
|
21 | 21 | *
|
22 | 22 | * This software is licensed under terms that can be found in the LICENSE file
|
|
56 | 56 | application
|
57 | 57 | */
|
58 | 58 |
|
59 |
| -#if !defined (STM32WL55xx) && !defined (STM32WL54xx) && !defined (STM32WLE5xx) && !defined (STM32WLE4xx) |
| 59 | +#if !defined (STM32WL55xx) && !defined (STM32WL54xx) && !defined (STM32WLE5xx) && !defined (STM32WLE4xx) && !defined(STM32WL5Mxx) |
60 | 60 | /* #define STM32WL55xx */ /*!< STM32WL55xx Devices */
|
61 | 61 | /* #define STM32WL54xx */ /*!< STM32WL54xx Devices */
|
62 | 62 | /* #define STM32WLE5xx */ /*!< STM32WLE5xx Devices */
|
63 | 63 | /* #define STM32WLE4xx */ /*!< STM32WLE4xx Devices */
|
64 |
| -#endif |
| 64 | + /* #define STM32WL5Mxx */ /*!< STM32WL5Mxx Devices */ |
| 65 | +#endif /* STM32WL55xx ... */ |
65 | 66 |
|
66 | 67 | /* Tip: To avoid modifying this file each time you need to switch between these
|
67 | 68 | devices, you can define the device in your toolchain compiler preprocessor.
|
|
79 | 80 | * @brief CMSIS Device version number
|
80 | 81 | */
|
81 | 82 | #define __STM32WLxx_CMSIS_VERSION_MAIN (0x01U) /*!< [31:24] main version */
|
82 |
| -#define __STM32WLxx_CMSIS_VERSION_SUB1 (0x01U) /*!< [23:16] sub1 version */ |
| 83 | +#define __STM32WLxx_CMSIS_VERSION_SUB1 (0x02U) /*!< [23:16] sub1 version */ |
83 | 84 | #define __STM32WLxx_CMSIS_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
|
84 | 85 | #define __STM32WLxx_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */
|
85 | 86 | #define __STM32WLxx_CMSIS_DEVICE_VERSION ((__STM32WLxx_CMSIS_VERSION_MAIN << 24)\
|
|
103 | 104 | #include "stm32wl54xx.h"
|
104 | 105 | #elif defined(STM32WLE4xx)
|
105 | 106 | #include "stm32wle4xx.h"
|
| 107 | +#elif defined(STM32WL5Mxx) |
| 108 | + #include "stm32wl5mxx.h" |
106 | 109 | #else
|
107 | 110 | #error "Please select first the target STM32WLxx device used in your application, for instance xxx (in stm32wlxx.h file)"
|
108 |
| -#endif |
| 111 | +#endif /* STM32WL55xx ... */ |
109 | 112 |
|
110 | 113 | /**
|
111 | 114 | * @}
|
@@ -275,8 +278,3 @@ typedef enum
|
275 | 278 | /**
|
276 | 279 | * @}
|
277 | 280 | */
|
278 |
| - |
279 |
| - |
280 |
| - |
281 |
| - |
282 |
| -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |
0 commit comments