Skip to content

Reverting PinNames.h after PR #7774 changes #7995

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 1 commit into from
Sep 6, 2018
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
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,6 @@ typedef enum {

TSI_ELEC0 = PTB16,
TSI_ELEC1 = PTB17,

SPI_MOSI = PTD2,
SPI_MISO = PTD3,
SPI_CLK = PTD1,
SPI_PERSISTENT_MEM_CS = PTC2,

// Not connected
NC = (int)0xFFFFFFFF
Expand Down
5 changes: 0 additions & 5 deletions targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/PinNames.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,6 @@ typedef enum {
TSI_ELEC0 = PTB16,
TSI_ELEC1 = PTB17,

SPI_MOSI = PTD2,
SPI_MISO = PTD3,
SPI_SCK = PTD1,
SPI_PERSISTENT_MEM_CS = PTD0,

// Not connected
NC = (int)0xFFFFFFFF
} PinName;
Expand Down
5 changes: 0 additions & 5 deletions targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/PinNames.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,6 @@ typedef enum {
TSI_ELEC0 = PTB16,
TSI_ELEC1 = PTB17,

SPI_MOSI = PTD6,
SPI_MISO = PTD7,
SPI_SCK = PTD5,
SPI_PERSISTENT_MEM_CS = PTD4,

// Not connected
NC = (int)0xFFFFFFFF
} PinName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,6 @@ typedef enum {

DAC0_OUT = 0xFEFE, /* DAC does not have Pin Name in RM */

SPI_MOSI = PTE3,
SPI_MISO = PTE1,
SPI_SCK = PTE2,
SPI_PERSISTENT_MEM_CS = PTE4,

// Not connected
NC = (int)0xFFFFFFFF
} PinName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,6 @@ typedef enum {
A4 = PTC2,
A5 = PTC1,

SPI_MOSI = PTD6,
SPI_MISO = PTD7,
SPI_SCK = PTD5,
SPI_PERSISTENT_MEM_CS = PTD4,

// Not connected
NC = (int)0xFFFFFFFF
} PinName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,6 @@ typedef enum {

DAC0_OUT = 0xFEFE, /* DAC does not have Pin Name in RM */

SPI_MOSI = PTD6,
SPI_MISO = PTD7,
SPI_SCK = PTD5,
SPI_PERSISTENT_MEM_CS = PTD4,

// Not connected
NC = (int)0xFFFFFFFF
} PinName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,6 @@ typedef enum {
SPIS_PSELMISO = P1_3,
SPIS_PSELSS = P1_1,
SPIS_PSELSCK = P1_4,

SPI_MOSI = p20,
SPI_MISO = p21,
SPI_SCK = p19,
SPI_PERSISTENT_MEM_CS = p17,

I2C_SDA0 = p26,
I2C_SCL0 = p27,
Expand Down
5 changes: 0 additions & 5 deletions targets/TARGET_NUVOTON/TARGET_M451/PinNames.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,6 @@ typedef enum {
SW2 = PA_15,
SW3 = PA_14,

SPI_MOSI = PD_13,
SPI_MISO = PD_14,
SPI_SCK = PD_15,
SPI_PERSISTENT_MEM_CS = PD_12,

} PinName;

#ifdef __cplusplus
Expand Down
5 changes: 0 additions & 5 deletions targets/TARGET_NUVOTON/TARGET_M480/PinNames.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,6 @@ typedef enum {
SW2 = PG_15,
SW3 = PF_11,

SPI_MOSI = D11,
SPI_MISO = D12,
SPI_SCK = D13,
SPI_PERSISTENT_MEM_CS = D10,

} PinName;

#ifdef __cplusplus
Expand Down
5 changes: 0 additions & 5 deletions targets/TARGET_NUVOTON/TARGET_NUC472/PinNames.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,6 @@ typedef enum {
SW1 = PC_12,
SW2 = PC_13,

SPI_MOSI = PF_0,
SPI_MISO = PD_15,
SPI_SCK = PD_14,
SPI_PERSISTENT_MEM_CS = PD_13,

} PinName;

#ifdef __cplusplus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,6 @@ typedef enum {
SDSCLK = P1_29,
SDSSEL = P1_12,

SPI_MOSI = SDMOSI,
SPI_MISO = SDMISO,
SPI_SCK = SDSCLK,
SPI_PERSISTENT_MEM_CS = SDSSEL,

// Not connected
NC = (int)0xFFFFFFFF,
} PinName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,6 @@ typedef enum {
I2C_SDA2 = P0_10, // pin used by application board
I2C_SCL = I2C_SCL2,
I2C_SDA = I2C_SDA2,

SPI_MOSI = p5,
SPI_MISO = p6,
SPI_SCK = p7,
SPI_PERSISTENT_MEM_CS = p8

} PinName;

typedef enum {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@ typedef enum {
I2C_SCL = D15,
I2C_SDA = D14,

SPI_MOSI = p5,
SPI_MISO = p6,
SPI_SCK = p7,
SPI_PERSISTENT_MEM_CS = p8,

// Not connected
NC = (int)0xFFFFFFFF
} PinName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,7 @@ typedef enum {
A2 = P1_8,
A3 = P1_10,
A4 = P1_4,
A5 = P1_5,

SPI_MOSI = P0_20,
SPI_MISO = P0_18,
SPI_SCK = P0_19,
SPI_PERSISTENT_MEM_CS = P1_2

A5 = P1_5
} PinName;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@ typedef enum {
// Standardized button names
BUTTON1 = USER_BUTTON0,

SPI_MOSI = P5_6,
SPI_MISO = P5_7,
SPI_SCK = P5_4,
SPI_PERSISTENT_MEM_CS = P5_5,

// Not connected
NC = (int)0xFFFFFFFF
} PinName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,7 @@ typedef enum {
D15 = PB_2,
D16 = PA_1,
D17 = PA_0,
D18 = PE_5,

SPI_PERSISTENT_MEM_CS = D9
D18 = PE_5

} PinName;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ typedef enum {
SPI_MISO = PA_6,
SPI_SCK = PA_5,
SPI_CS = PB_6,
SPI_PERSISTENT_MEM_CS = PB_6,
PWM_OUT = PB_3,

/**** OSCILLATOR pins ****/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,9 @@ typedef enum {
SPI_MOSI = SPI1_MOSI,
SPI_MISO = SPI1_MISO,
SPI_SCK = SPI1_SCK,

SPI_CS1 = PA_3, //LCD CS
SPI_CS2 = PA_15, //SD Card CS

SPI_PERSISTENT_MEM_CS = SPI_CS2,

SERIAL_TX = PA_2,
SERIAL_RX = PA_3,
SERIAL_RTS = PA_0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ typedef enum {
SPI_MISO = P_7,
SPI_SCK = P_6,
SPI_CS = P_5,
SPI_PERSISTENT_MEM_CS = P_33,

// STDIO for console print
#ifdef MBED_CONF_TARGET_STDIO_UART_TX
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ typedef enum {
SPI_MISO = P_25,
SPI_SCK = P_24,
SPI_CS = P_22,
SPI_PERSISTENT_MEM_CS = P_36,

// STDIO for console print
#ifdef MBED_CONF_TARGET_STDIO_UART_TX
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,6 @@ typedef enum {
SPI_MISO = D12,
SPI_CLK = D13,
SPI_NSS = D10,
SPI_PERSISTENT_MEM_CS = SPI_NSS,


// STDIO for console print
#ifdef MBED_CONF_TARGET_STDIO_UART_TX
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ typedef enum {
SPI_MISO = SPI0_MISO,
SPI_SCK = SPI0_SCK,
SPI_CS = SPI0_CS,
SPI_PERSISTENT_MEM_CS = PG_4,

// STDIO for console print
#ifdef MBED_CONF_TARGET_STDIO_UART_TX
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,12 @@ typedef enum {
SPI0_SCK = D13,
SPI0_CS = D10,
SPI1_CS = D9,


SPI_MOSI = SPI0_MOSI,
SPI_MISO = SPI0_MISO,
SPI_SCK = SPI0_SCK,
SPI_CS = SPI0_CS,
SPI_PERSISTENT_MEM_CS = SPI_CS,


// Standardized button names
BUTTON1 = SW0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ typedef enum {
SPI_MISO = PB_4,
SPI_SCK = PB_3,
SPI_CS = PA_11,
SPI_PERSISTENT_MEM_CS = PA_11,
PWM_OUT = PB_0,

/**** OSCILLATOR pins ****/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ typedef enum {
SPI_MISO = D12,
SPI_SCK = D13,
SPI_CS = D10,
SPI_PERSISTENT_MEM_CS = D10,
PWM_OUT = D9,
#ifdef DEVICE_QSPI
QSPI_PIN_IO0 = PE_12,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ typedef enum {
SPI_MISO = PA_6,
SPI_SCK = PA_5,
SPI_CS = PB_6,
SPI_PERSISTENT_MEM_CS = PB_6,
PWM_OUT = PB_3,

/**** USB pins ****/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ typedef enum {
SPI_SCK = PA_5,
SPI_CS0 = PA_4,
SPI_CS = SPI_CS0,
SPI_PERSISTENT_MEM_CS = PB_12,


I2C1_SDA = PB_11,
I2C1_SCL = PB_10,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,7 @@ typedef enum {

/* Board Controller */
STDIO_UART_TX = USBTX,
STDIO_UART_RX = USBRX,

SPI_MOSI = PC6,
SPI_MISO = PC7,
SPI_SCK = PC8,
SPI_PERSISTENT_MEM_CS = PC9

STDIO_UART_RX = USBRX
} PinName;

#ifdef __cplusplus
Expand Down