Skip to content

Commit d6a2f79

Browse files
authored
Merge pull request #13669 from jeromecoutant/PR_L0_1_11_3
STM32L0 update drivers version to CUBE V1.11.3
2 parents 8d9dabe + a62736b commit d6a2f79

File tree

278 files changed

+179924
-72006
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

278 files changed

+179924
-72006
lines changed

targets/TARGET_STM/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ This table summarizes the STM32Cube versions currently used in Mbed OS master br
7070
| G0 | 1.3.0 | https://github.com/STMicroelectronics/STM32CubeG0 |
7171
| G4 | 1.1.0 | https://github.com/STMicroelectronics/STM32CubeG4 |
7272
| H7 | 1.7.0 | https://github.com/STMicroelectronics/STM32CubeH7 |
73-
| L0 | 1.10.0 | https://github.com/STMicroelectronics/STM32CubeL0 |
73+
| L0 | 1.11.3 | https://github.com/STMicroelectronics/STM32CubeL0 |
7474
| L1 | 1.8.1 | https://github.com/STMicroelectronics/STM32CubeL1 |
7575
| L4 | 1.14.0 | https://github.com/STMicroelectronics/STM32CubeL4 |
7676
| L5 | 1.3.0 | https://github.com/STMicroelectronics/STM32CubeL5 |
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
/* mbed Microcontroller Library
2+
* SPDX-License-Identifier: BSD-3-Clause
3+
******************************************************************************
4+
*
5+
* Copyright (c) 2016-2020 STMicroelectronics.
6+
* All rights reserved.
7+
*
8+
* This software component is licensed by ST under BSD 3-Clause license,
9+
* the "License"; You may not use this file except in compliance with the
10+
* License. You may obtain a copy of the License at:
11+
* opensource.org/licenses/BSD-3-Clause
12+
*
13+
******************************************************************************
14+
15+
*/
16+
#ifndef MBED_PERIPHERALNAMES_H
17+
#define MBED_PERIPHERALNAMES_H
18+
19+
#include "cmsis.h"
20+
21+
#ifdef __cplusplus
22+
extern "C" {
23+
#endif
24+
25+
typedef enum {
26+
ADC_1 = (int)ADC1_BASE
27+
} ADCName;
28+
29+
#if DEVICE_ANALOGOUT
30+
typedef enum {
31+
DAC_1 = (int)DAC_BASE
32+
} DACName;
33+
#endif
34+
35+
typedef enum {
36+
#if defined(USART1_BASE)
37+
UART_1 = (int)USART1_BASE,
38+
#endif
39+
#if defined(USART2_BASE)
40+
UART_2 = (int)USART2_BASE,
41+
#endif
42+
#if defined(USART4_BASE)
43+
UART_4 = (int)USART4_BASE,
44+
#endif
45+
#if defined(USART5_BASE)
46+
UART_5 = (int)USART5_BASE,
47+
#endif
48+
#if defined(LPUART1_BASE)
49+
LPUART_1 = (int)LPUART1_BASE
50+
#endif
51+
} UARTName;
52+
53+
#define DEVICE_SPI_COUNT 2
54+
typedef enum {
55+
SPI_1 = (int)SPI1_BASE,
56+
SPI_2 = (int)SPI2_BASE
57+
} SPIName;
58+
59+
typedef enum {
60+
I2C_1 = (int)I2C1_BASE,
61+
I2C_2 = (int)I2C2_BASE,
62+
#if defined(I2C3_BASE)
63+
I2C_3 = (int)I2C3_BASE
64+
#endif
65+
} I2CName;
66+
67+
typedef enum {
68+
PWM_2 = (int)TIM2_BASE,
69+
#if defined(TIM3_BASE)
70+
PWM_3 = (int)TIM3_BASE,
71+
#endif
72+
PWM_21 = (int)TIM21_BASE,
73+
PWM_22 = (int)TIM22_BASE
74+
} PWMName;
75+
76+
#if defined(USB_BASE)
77+
typedef enum {
78+
USB_FS = (int)USB_BASE,
79+
} USBName;
80+
#endif
81+
82+
#ifdef __cplusplus
83+
}
84+
#endif
85+
86+
#endif

targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMSIS/stm32l010x4.h

Lines changed: 5803 additions & 0 deletions
Large diffs are not rendered by default.

targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMSIS/stm32l010x6.h

Lines changed: 5860 additions & 0 deletions
Large diffs are not rendered by default.

targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMSIS/stm32l010x8.h

Lines changed: 5856 additions & 0 deletions
Large diffs are not rendered by default.

targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMSIS/stm32l010xb.h

Lines changed: 5932 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)