Skip to content

Commit 7ebadbf

Browse files
authored
Merge pull request #10676 from jeromecoutant/PR_COMMON_CMSIS
STM32: common cmsis.h and device.h files
2 parents 34b4564 + d919498 commit 7ebadbf

File tree

91 files changed

+210
-2648
lines changed

Some content is hidden

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

91 files changed

+210
-2648
lines changed

targets/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/device/cmsis.h

Lines changed: 0 additions & 38 deletions
This file was deleted.

targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/device/cmsis.h

Lines changed: 0 additions & 38 deletions
This file was deleted.

targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/device/cmsis.h

Lines changed: 0 additions & 38 deletions
This file was deleted.

targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/device/cmsis.h

Lines changed: 0 additions & 38 deletions
This file was deleted.

targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/device/cmsis.h

Lines changed: 0 additions & 38 deletions
This file was deleted.

targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/device/cmsis.h

Lines changed: 0 additions & 38 deletions
This file was deleted.

targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/device/cmsis.h

Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/* mbed Microcontroller Library
2+
* Copyright (c) 2019 ARM Limited
3+
* SPDX-License-Identifier: Apache-2.0
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
#ifndef MBED_CMSIS_H
19+
#define MBED_CMSIS_H
20+
21+
#include "stm32f0xx.h"
22+
#include "cmsis_nvic.h"
23+
24+
#endif

targets/TARGET_STM/TARGET_STM32F0/common_objects.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#include "PortNames.h"
3535
#include "PeripheralNames.h"
3636
#include "PinNames.h"
37+
#include "stm32f0xx_ll_usart.h"
3738

3839
#ifdef __cplusplus
3940
extern "C" {

targets/TARGET_STM/TARGET_STM32F0/device.h

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)