Skip to content

Change the uart pin to DIP pin for XBED_LPC1768 #1602

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 2 commits into from
Mar 11, 2016
Merged
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 @@ -72,17 +72,19 @@ typedef enum {
LED3 = P1_21,
LED4 = P1_23,

USBTX = P0_2,
USBRX = P0_3,
//For USB UART
//USBTX = P0_2,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why to keep them commented out?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This platform is special. It doesn't have the mbed interface, I use the DIPDAP board as the interface board to debug it, so I need to change its UART pin setting. This pull request is used to change the default UART pins from USB-UART to DIP 25/26. But I still keep the code here for users who want to change the pin back to USB-UART.

//USBRX = P0_3,

//xbed lpc1768 Pin Names
LED5 = P2_6,
BTN1 = P2_8,
SDA = P0_27,
SCL = P0_28,
ISP = P2_10,
CLK = P1_27,

LED5 = P2_6,
BTN1 = P2_8,
SDA = P0_27,
SCL = P0_28,
ISP = P2_10,
CLK = P1_27,
USBTX = P2_0, //DIP26
USBRX = P2_1, //DIP25


// Arch Pro Pin Names
Expand Down