Skip to content

Commit c31635f

Browse files
guialonsoalbCruz Monrreal II
authored andcommitted
Change in license identifier, removed commented dead code
Change in license identifier Removed commented dead code Removed some tab space
1 parent 3c223d9 commit c31635f

File tree

4 files changed

+13
-39
lines changed

4 files changed

+13
-39
lines changed

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L476xG/TARGET_RHOMBIO_L476DMW1K/PeripheralNames.h

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* mbed Microcontroller Library
2-
3-
* SPDX-License-Identifier: Apache-2.0
4-
*******************************************************************************
2+
*
3+
* SPDX-License-Identifier: BSD-3-Clause
4+
********************************************************1***********************
55
* Copyright (c) 2015, STMicroelectronics
66
* All rights reserved.
77
*
@@ -57,10 +57,6 @@ typedef enum {
5757
LPUART_1 = (int)LPUART1_BASE
5858
} UARTName;
5959

60-
//#define STDIO_UART_TX PA_2
61-
//#define STDIO_UART_RX PA_3
62-
//#define STDIO_UART UART_2
63-
6460
typedef enum {
6561
SPI_1 = (int)SPI1_BASE,
6662
SPI_2 = (int)SPI2_BASE,

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L476xG/TARGET_RHOMBIO_L476DMW1K/PeripheralPins.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* mbed Microcontroller Library
2-
3-
* SPDX-License-Identifier: Apache-2.0
2+
*
3+
* SPDX-License-Identifier: BSD-3-Clause
44
*******************************************************************************
55
* Copyright (c) 2018, STMicroelectronics
66
* All rights reserved.

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L476xG/TARGET_RHOMBIO_L476DMW1K/PinNames.h

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* mbed Microcontroller Library
2-
3-
* SPDX-License-Identifier: Apache-2.0
2+
*
3+
* SPDX-License-Identifier: BSD-3-Clause
44
*******************************************************************************
55
* Copyright (c) 2018, STMicroelectronics
66
* All rights reserved.
@@ -185,24 +185,13 @@ typedef enum {
185185
ADC_VBAT = 0xF2,
186186

187187
// STDIO for console print
188-
/*#ifdef MBED_CONF_TARGET_STDIO_UART_TX
189-
STDIO_UART_TX = MBED_CONF_TARGET_STDIO_UART_TX,
190-
#else
191-
STDIO_UART_TX = PC_4,
192-
#endif
193-
#ifdef MBED_CONF_TARGET_STDIO_UART_RX
194-
STDIO_UART_RX = MBED_CONF_TARGET_STDIO_UART_RX,
195-
#else
196-
STDIO_UART_RX = PC_5,
197-
#endif*/
198-
199188
STDIO_UART_TX = PC_4,
200189
STDIO_UART_RX = PC_5,
201190

202191
// Generic signals namings
203192
LED1 = PC_7, // LED Green
204193
LED2 = PC_7, // LED Green
205-
194+
206195
USER_BUTTON = PB_1,
207196
// Standardized button names
208197
BUTTON1 = USER_BUTTON,
@@ -237,17 +226,6 @@ typedef enum {
237226
SYS_JTDO_SWO = PB_3,
238227
SYS_JTMS_SWDIO = PA_13,
239228
SYS_JTRST = PB_4,
240-
/* SYS_PVD_IN = PB_7,
241-
SYS_TRACECLK = PE_2,
242-
SYS_TRACED0 = PE_3,
243-
SYS_TRACED1 = PE_4,
244-
SYS_TRACED2 = PE_5,
245-
SYS_TRACED3 = PE_6,
246-
SYS_WKUP1 = PA_0,
247-
SYS_WKUP2 = PC_13,
248-
SYS_WKUP3 = PE_6,
249-
SYS_WKUP4 = PA_2,
250-
SYS_WKUP5 = PC_5,*/
251229

252230
/**** QSPI FLASH pins ****/
253231
QSPI_FLASH1_IO0 = PE_12,
@@ -280,8 +258,6 @@ typedef enum {
280258
IO13 = PD_13,
281259
IO14 = PC_3,
282260
IO15 = PC_2,
283-
284-
//LED0 = PC_7,
285261

286262
PWM0 = PC_7,
287263
PWM1 = PE_9,
@@ -348,11 +324,11 @@ typedef enum {
348324
AD3 = PB_0,
349325
AD4 = PC_1,
350326
AD5 = PC_0,
351-
//AD6 not used
327+
// AD6 not used
352328
AD7 = PC_5,
353329
AD8 = PC_4,
354330

355-
COMP_A_P = PC_5,
331+
COMP_A_P = PC_5,
356332
COMP_A_N = PC_4,
357333

358334
CAPT0 = PC_3, // R18 must be populated/closed (default is open)

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L476xG/TARGET_RHOMBIO_L476DMW1K/system_clock.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/* mbed Microcontroller Library
2-
* Copyright (c) 2006-2017 ARM Limited
2+
* Copyright (c) 2006-2019 ARM Limited
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
35
*
46
* Licensed under the Apache License, Version 2.0 (the "License");
57
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)