mirror of https://github.com/ARMmbed/mbed-os.git
Change in license identifier, removed commented dead code
Change in license identifier Removed commented dead code Removed some tab spacepull/9782/head
parent
faf03e02dc
commit
16628d7b8d
|
@ -1,7 +1,7 @@
|
||||||
/* mbed Microcontroller Library
|
/* mbed Microcontroller Library
|
||||||
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*******************************************************************************
|
********************************************************1***********************
|
||||||
* Copyright (c) 2015, STMicroelectronics
|
* Copyright (c) 2015, STMicroelectronics
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -57,10 +57,6 @@ typedef enum {
|
||||||
LPUART_1 = (int)LPUART1_BASE
|
LPUART_1 = (int)LPUART1_BASE
|
||||||
} UARTName;
|
} UARTName;
|
||||||
|
|
||||||
//#define STDIO_UART_TX PA_2
|
|
||||||
//#define STDIO_UART_RX PA_3
|
|
||||||
//#define STDIO_UART UART_2
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
SPI_1 = (int)SPI1_BASE,
|
SPI_1 = (int)SPI1_BASE,
|
||||||
SPI_2 = (int)SPI2_BASE,
|
SPI_2 = (int)SPI2_BASE,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* mbed Microcontroller Library
|
/* mbed Microcontroller Library
|
||||||
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
* Copyright (c) 2018, STMicroelectronics
|
* Copyright (c) 2018, STMicroelectronics
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* mbed Microcontroller Library
|
/* mbed Microcontroller Library
|
||||||
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
* Copyright (c) 2018, STMicroelectronics
|
* Copyright (c) 2018, STMicroelectronics
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -185,17 +185,6 @@ typedef enum {
|
||||||
ADC_VBAT = 0xF2,
|
ADC_VBAT = 0xF2,
|
||||||
|
|
||||||
// STDIO for console print
|
// STDIO for console print
|
||||||
/*#ifdef MBED_CONF_TARGET_STDIO_UART_TX
|
|
||||||
STDIO_UART_TX = MBED_CONF_TARGET_STDIO_UART_TX,
|
|
||||||
#else
|
|
||||||
STDIO_UART_TX = PC_4,
|
|
||||||
#endif
|
|
||||||
#ifdef MBED_CONF_TARGET_STDIO_UART_RX
|
|
||||||
STDIO_UART_RX = MBED_CONF_TARGET_STDIO_UART_RX,
|
|
||||||
#else
|
|
||||||
STDIO_UART_RX = PC_5,
|
|
||||||
#endif*/
|
|
||||||
|
|
||||||
STDIO_UART_TX = PC_4,
|
STDIO_UART_TX = PC_4,
|
||||||
STDIO_UART_RX = PC_5,
|
STDIO_UART_RX = PC_5,
|
||||||
|
|
||||||
|
@ -237,17 +226,6 @@ typedef enum {
|
||||||
SYS_JTDO_SWO = PB_3,
|
SYS_JTDO_SWO = PB_3,
|
||||||
SYS_JTMS_SWDIO = PA_13,
|
SYS_JTMS_SWDIO = PA_13,
|
||||||
SYS_JTRST = PB_4,
|
SYS_JTRST = PB_4,
|
||||||
/* SYS_PVD_IN = PB_7,
|
|
||||||
SYS_TRACECLK = PE_2,
|
|
||||||
SYS_TRACED0 = PE_3,
|
|
||||||
SYS_TRACED1 = PE_4,
|
|
||||||
SYS_TRACED2 = PE_5,
|
|
||||||
SYS_TRACED3 = PE_6,
|
|
||||||
SYS_WKUP1 = PA_0,
|
|
||||||
SYS_WKUP2 = PC_13,
|
|
||||||
SYS_WKUP3 = PE_6,
|
|
||||||
SYS_WKUP4 = PA_2,
|
|
||||||
SYS_WKUP5 = PC_5,*/
|
|
||||||
|
|
||||||
/**** QSPI FLASH pins ****/
|
/**** QSPI FLASH pins ****/
|
||||||
QSPI_FLASH1_IO0 = PE_12,
|
QSPI_FLASH1_IO0 = PE_12,
|
||||||
|
@ -281,8 +259,6 @@ typedef enum {
|
||||||
IO14 = PC_3,
|
IO14 = PC_3,
|
||||||
IO15 = PC_2,
|
IO15 = PC_2,
|
||||||
|
|
||||||
//LED0 = PC_7,
|
|
||||||
|
|
||||||
PWM0 = PC_7,
|
PWM0 = PC_7,
|
||||||
PWM1 = PE_9,
|
PWM1 = PE_9,
|
||||||
PWM2 = PD_14,
|
PWM2 = PD_14,
|
||||||
|
@ -348,11 +324,11 @@ typedef enum {
|
||||||
AD3 = PB_0,
|
AD3 = PB_0,
|
||||||
AD4 = PC_1,
|
AD4 = PC_1,
|
||||||
AD5 = PC_0,
|
AD5 = PC_0,
|
||||||
//AD6 not used
|
// AD6 not used
|
||||||
AD7 = PC_5,
|
AD7 = PC_5,
|
||||||
AD8 = PC_4,
|
AD8 = PC_4,
|
||||||
|
|
||||||
COMP_A_P = PC_5,
|
COMP_A_P = PC_5,
|
||||||
COMP_A_N = PC_4,
|
COMP_A_N = PC_4,
|
||||||
|
|
||||||
CAPT0 = PC_3, // R18 must be populated/closed (default is open)
|
CAPT0 = PC_3, // R18 must be populated/closed (default is open)
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
/* mbed Microcontroller Library
|
/* mbed Microcontroller Library
|
||||||
* Copyright (c) 2006-2017 ARM Limited
|
* Copyright (c) 2006-2019 ARM Limited
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
Loading…
Reference in New Issue