Skip to content

STM32L0 update drivers version to CUBE V1.11.3 #13669

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion targets/TARGET_STM/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ This table summarizes the STM32Cube versions currently used in Mbed OS master br
| G0 | 1.3.0 | https://github.com/STMicroelectronics/STM32CubeG0 |
| G4 | 1.1.0 | https://github.com/STMicroelectronics/STM32CubeG4 |
| H7 | 1.7.0 | https://github.com/STMicroelectronics/STM32CubeH7 |
| L0 | 1.10.0 | https://github.com/STMicroelectronics/STM32CubeL0 |
| L0 | 1.11.3 | https://github.com/STMicroelectronics/STM32CubeL0 |
| L1 | 1.8.1 | https://github.com/STMicroelectronics/STM32CubeL1 |
| L4 | 1.14.0 | https://github.com/STMicroelectronics/STM32CubeL4 |
| L5 | 1.3.0 | https://github.com/STMicroelectronics/STM32CubeL5 |
Expand Down
86 changes: 86 additions & 0 deletions targets/TARGET_STM/TARGET_STM32L0/PeripheralNames.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
/* mbed Microcontroller Library
* SPDX-License-Identifier: BSD-3-Clause
******************************************************************************
*
* Copyright (c) 2016-2020 STMicroelectronics.
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************

*/
#ifndef MBED_PERIPHERALNAMES_H
#define MBED_PERIPHERALNAMES_H

#include "cmsis.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef enum {
ADC_1 = (int)ADC1_BASE
} ADCName;

#if DEVICE_ANALOGOUT
typedef enum {
DAC_1 = (int)DAC_BASE
} DACName;
#endif

typedef enum {
#if defined(USART1_BASE)
UART_1 = (int)USART1_BASE,
#endif
#if defined(USART2_BASE)
UART_2 = (int)USART2_BASE,
#endif
#if defined(USART4_BASE)
UART_4 = (int)USART4_BASE,
#endif
#if defined(USART5_BASE)
UART_5 = (int)USART5_BASE,
#endif
#if defined(LPUART1_BASE)
LPUART_1 = (int)LPUART1_BASE
#endif
} UARTName;

#define DEVICE_SPI_COUNT 2
typedef enum {
SPI_1 = (int)SPI1_BASE,
SPI_2 = (int)SPI2_BASE
} SPIName;

typedef enum {
I2C_1 = (int)I2C1_BASE,
I2C_2 = (int)I2C2_BASE,
#if defined(I2C3_BASE)
I2C_3 = (int)I2C3_BASE
#endif
} I2CName;

typedef enum {
PWM_2 = (int)TIM2_BASE,
#if defined(TIM3_BASE)
PWM_3 = (int)TIM3_BASE,
#endif
PWM_21 = (int)TIM21_BASE,
PWM_22 = (int)TIM22_BASE
} PWMName;

#if defined(USB_BASE)
typedef enum {
USB_FS = (int)USB_BASE,
} USBName;
#endif

#ifdef __cplusplus
}
#endif

#endif
5,803 changes: 5,803 additions & 0 deletions targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMSIS/stm32l010x4.h

Large diffs are not rendered by default.

5,860 changes: 5,860 additions & 0 deletions targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMSIS/stm32l010x6.h

Large diffs are not rendered by default.

5,856 changes: 5,856 additions & 0 deletions targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMSIS/stm32l010x8.h

Large diffs are not rendered by default.

5,932 changes: 5,932 additions & 0 deletions targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMSIS/stm32l010xb.h

Large diffs are not rendered by default.

Loading