Skip to content

Modify PinName file to keep correspondence with spec #10578

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
May 16, 2019
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
43 changes: 20 additions & 23 deletions targets/TARGET_TT/TARGET_TT_M3HQ/PinNames.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,19 @@ typedef enum {
PV0 = 17 << 3, PV1, PV2, PV3, PV4, PV5, PV6, PV7,

// Other mbed Pin Names
LED1 = PK4,
LED2 = PK5,
LED3 = PK6,
LED4 = PK7,
LED0 = PK4,
LED1 = PK5,
LED2 = PK6,
LED3 = PK7,

// External data bus Pin Names
D0 = PV7,
D1 = PV6,
D2 = PC4,
D3 = PK2,
D4 = PC3,
D5 = PJ0,
D6 = PN0,
D0 = PG3,
D1 = PG4,
D2 = PG5,
D3 = PG2,
D4 = PG6,
D5 = PA0,
D6 = PL5,
D7 = PL6,
D8 = PT0,
D9 = PP0,
Expand All @@ -85,16 +85,15 @@ typedef enum {
D14 = PA5,
D15 = PA4,

// Analogue out pins
A0 = PF2,
A1 = PF3,
A2 = PF4,
A3 = PF5,
A4 = PF6,
A5 = PF7,

DAC0 = PG0,
DAC1 = PG1,
// Analogue out pins
A0 = PF7,
A1 = PF6,
A2 = PF5,
A3 = PF4,
A4 = PF3,
A5 = PF2,

// DAP_UART
USBTX = PJ1,
Expand All @@ -103,10 +102,8 @@ typedef enum {
MBEDIF_RXD = USBRX,

// Switches
SW1 = PV0,
SW2 = PV1,
SW3 = PV2,
SW4 = PV3,
SW2 = PV3,
USER_BUTTON = PV3,

// I2C pins
SDA = D14,
Expand Down
13 changes: 5 additions & 8 deletions targets/TARGET_TT/TARGET_TT_M4G9/PinNames.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ typedef enum {
PY0 = 19 << 3, PY1, PY2, PY3, PY4,

// Other mbed Pin Names
LED1 = PE4,
LED2 = PE5,
LED3 = PE6,
LED4 = PE7,
LED0 = PE4,
LED1 = PE5,
LED2 = PE6,
LED3 = PE7,

// External data bus Pin Names
D0 = PJ0,
Expand Down Expand Up @@ -101,11 +101,8 @@ typedef enum {
MBED_CONF_APP_UART0_RX = PE2,

// Switches
SW2 = PL4,
USER_BUTTON = PL4,
SW1 = PL4,
SW2 = PL5,
SW3 = PV0,
SW4 = PV1,

// I2C pins
SDA = PG2,
Expand Down